Advanced Shipment Tracking for WooCommerce - Version 2.7.9

Version Description

  • Updated translation files for all language
  • Updated Tracking page date to WP settings format
  • Updated TrackShip tracking page API functionality
  • Remove Front js and css from every page and load only on tracking page
Download this release

Release Info

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

Code changes from version 2.6 to 2.7.9

Files changed (108) hide show
  1. assets/css/admin.css +516 -178
  2. assets/css/customizer-styles.css +32 -9
  3. assets/css/front.css +202 -33
  4. assets/css/icons/ast-icon.png +0 -0
  5. assets/css/icons/invalid-v3.png +0 -0
  6. assets/css/icons/partial-shipped-icon.png +0 -0
  7. assets/css/icons/updated-tracking-icon.png +0 -0
  8. assets/css/welcome.css +180 -0
  9. assets/images/Tracking-Per-Item-addon-sidebar.png +0 -0
  10. assets/images/Tracking-Per-Item-addon.jpg +0 -0
  11. assets/images/ast-addons-notice-image.jpg +0 -0
  12. assets/images/t_layout_1.jpg +0 -0
  13. assets/images/t_layout_2.jpg +0 -0
  14. assets/images/tracking-1.png +0 -0
  15. assets/images/tracking-2.png +0 -0
  16. assets/images/trackship-sidebar-addons.png +0 -0
  17. assets/images/ts-banner.jpg +0 -0
  18. assets/js/admin.js +136 -45
  19. assets/js/customizer-scripts.js +196 -6
  20. assets/js/front.js +11 -0
  21. assets/js/preview-scripts.js +67 -0
  22. assets/js/settings.js +79 -15
  23. assets/js/shipping_row.js +289 -30
  24. assets/js/welcome.js +41 -0
  25. assets/shipment-provider-img/7-eleven.png +0 -0
  26. assets/shipment-provider-img/apc-overnight.png +0 -0
  27. assets/shipment-provider-img/bpost.png +0 -0
  28. assets/shipment-provider-img/brt.png +0 -0
  29. assets/shipment-provider-img/ceska-posta.png +0 -0
  30. assets/shipment-provider-img/cj-logistics.png +0 -0
  31. assets/shipment-provider-img/cj-packet.png +0 -0
  32. assets/shipment-provider-img/cjpacket.png +0 -0
  33. assets/shipment-provider-img/collectplus.png +0 -0
  34. assets/shipment-provider-img/correos-espana.png +0 -0
  35. assets/shipment-provider-img/dpd-fr.png +0 -0
  36. assets/shipment-provider-img/ekart.png +0 -0
  37. assets/shipment-provider-img/ethiopia-post.png +0 -0
  38. assets/shipment-provider-img/gls-denmark.png +0 -0
  39. assets/shipment-provider-img/gls-spain.png +0 -0
  40. assets/shipment-provider-img/jcex.png +0 -0
  41. assets/shipment-provider-img/kerry-express.png +0 -0
  42. assets/shipment-provider-img/landmark-global.png +0 -0
  43. assets/shipment-provider-img/lion-parcel.png +0 -0
  44. assets/shipment-provider-img/lithuania-post.png +0 -0
  45. assets/shipment-provider-img/loomis-express.png +0 -0
  46. assets/shipment-provider-img/magyar-posta.png +0 -0
  47. assets/shipment-provider-img/ontime.png +0 -0
  48. assets/shipment-provider-img/poste-italiane.png +0 -0
  49. assets/shipment-provider-img/redpack.png +0 -0
  50. assets/shipment-provider-img/russian-post.png +0 -0
  51. assets/shipment-provider-img/sagawa.png +0 -0
  52. assets/shipment-provider-img/saudi-post.png +0 -0
  53. assets/shipment-provider-img/serbia-post.png +0 -0
  54. assets/shipment-provider-img/shadowfax.png +0 -0
  55. assets/shipment-provider-img/spee-dee.png +0 -0
  56. assets/shipment-provider-img/thailand-post.png +0 -0
  57. assets/shipment-provider-img/toll-ipec.png +0 -0
  58. assets/shipment-provider-img/toll.png +0 -0
  59. assets/shipment-provider-img/trackon.png +0 -0
  60. assets/shipment-provider-img/yodel.png +0 -0
  61. assets/tracking.csv +0 -6
  62. includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php +33 -32
  63. includes/class-wc-advanced-shipment-tracking-admin.php +612 -757
  64. includes/class-wc-advanced-shipment-tracking-front.php +839 -533
  65. includes/class-wc-advanced-shipment-tracking-install.php +489 -98
  66. includes/class-wc-advanced-shipment-tracking-settings.php +959 -0
  67. includes/class-wc-advanced-shipment-tracking.php +208 -81
  68. includes/class-wc-advanced-shipment-welcome.php +365 -0
  69. includes/customizer/class-wc-availableforpickup-email-customizer.php +29 -10
  70. includes/customizer/class-wc-delivered-email-customizer.php +29 -10
  71. includes/customizer/class-wc-email-customizer.php +30 -12
  72. includes/customizer/class-wc-failure-email-customizer.php +30 -10
  73. includes/customizer/class-wc-intransit-email-customizer.php +29 -10
  74. includes/customizer/class-wc-outfordelivery-email-customizer.php +29 -10
  75. includes/customizer/class-wc-partial-shipped-email-customizer.php +421 -0
  76. includes/customizer/class-wc-returntosender-email-customizer.php +29 -10
  77. includes/customizer/class-wc-tracking-info-customizer.php +188 -67
  78. includes/customizer/class-wc-updated-tracking-email-customizer.php +421 -0
  79. includes/customizer/class-wcast-customizer.php +52 -2
  80. includes/customizer/custom-controls.php +1 -1
  81. includes/customizer/preview/partial_shipped_preview.php +30 -0
  82. includes/customizer/preview/updated_tracking_preview.php +30 -0
  83. includes/email-manager.php +84 -36
  84. includes/emails/class-shipment-delivered-email.php +10 -9
  85. includes/emails/class-shipment-partial-shipped-email.php +184 -0
  86. includes/emails/class-shipment-updated-tracking-email.php +184 -0
  87. includes/vendor/persist-admin-notices-dismissal/dismiss-notice.js +37 -0
  88. includes/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php +1 -1
  89. includes/views/admin_options_addons.php +133 -0
  90. includes/views/admin_options_bulk_upload.php +14 -9
  91. includes/views/admin_options_settings.php +113 -5
  92. includes/views/admin_options_shipping_provider.php +20 -13
  93. includes/views/admin_options_tools.php +33 -0
  94. includes/views/admin_options_trackship_integration.php +27 -243
  95. includes/views/admin_status_notifications.php +103 -0
  96. includes/views/admin_tracking_page_settings.php +118 -0
  97. includes/views/admin_trackship_dashboard.php +84 -0
  98. includes/views/zorem_admin_addons_sidebar.php +33 -0
  99. includes/views/zorem_admin_sidebar.php +51 -47
  100. includes/views/zorem_admin_ts_sidebar.php +0 -37
  101. lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
  102. lang/woo-advanced-shipment-tracking-bg_BG.po +1131 -1004
  103. lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
  104. lang/woo-advanced-shipment-tracking-da_DK.po +1120 -986
  105. lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
  106. lang/woo-advanced-shipment-tracking-de_DE.po +1183 -961
  107. lang/woo-advanced-shipment-tracking-el.mo +0 -0
  108. lang/woo-advanced-shipment-tracking-el.po +926 -919
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 {
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;
@@ -1579,20 +1640,29 @@ a.active{
1579
  .popupwrapper input[type=text],.trackingpopup_wrapper input[type=text]{
1580
  line-height: 24px;
1581
  color: #0d0d0d;
1582
- width: 90%;
1583
- margin-bottom: 10px;
1584
- /*border: 1px solid #ddd !important;*/
1585
  }
1586
  .popupwrapper input[type=text].image_path,.trackingpopup_wrapper input[type=text].image_path{
1587
- width: 68%;
1588
  }
1589
  .popupwrapper select,.popupwrapper .select2,.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
1590
  line-height: 24px;
1591
  color: #0d0d0d;
1592
- width: 90%;
1593
  margin-bottom: 10px;
1594
- height: 32px;
1595
- /*border: 1px solid #ddd !important;*/
 
 
 
 
 
 
 
 
 
 
1596
  }
1597
  .close-button{
1598
  background: #000 none repeat scroll 0 0;
@@ -1605,6 +1675,13 @@ a.active{
1605
  right: 10px;
1606
  height: 34px;
1607
  }
 
 
 
 
 
 
 
1608
  .provider-status .mdl-switch{
1609
  width: auto;
1610
  }
@@ -1688,6 +1765,7 @@ p.delivered_message {
1688
  .woocommerce.zorem_admin_layout table.form-table.heading-table{
1689
  margin: 25px 0 0;
1690
  border-bottom: 0;
 
1691
  }
1692
  #wc_ast_settings_form table.form-table.heading-table tr,#wc_ast_trackship_form table.form-table.heading-table tr,#wc_ast_upload_csv_form table.form-table.heading-table tr{
1693
  border-bottom: 0;
@@ -1698,6 +1776,7 @@ p.delivered_message {
1698
  .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1699
  margin: 0;
1700
  color:#005B9A;
 
1701
  }
1702
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1703
  text-align:right;
@@ -1709,6 +1788,7 @@ p.delivered_message {
1709
  margin: 25px 0 0;
1710
  border-bottom: 0;
1711
  padding: 15px;
 
1712
  }
1713
  .zorem_admin_layout h3.table-heading:after{
1714
  content:'';
@@ -1719,6 +1799,7 @@ p.delivered_message {
1719
  }
1720
  .woocommerce.zorem_admin_layout table.form-table th{
1721
  padding: 20px 24px 20px 15px;
 
1722
  }
1723
  .woocommerce.zorem_admin_layout table.form-table td{
1724
  padding: 15px 15px;
@@ -1726,6 +1807,7 @@ p.delivered_message {
1726
  .woocommerce.zorem_admin_layout table.form-table th label{
1727
  font-weight: 400;
1728
  color: #444;
 
1729
  }
1730
  .woocommerce.zorem_admin_layout table.form-table p.description{
1731
  font-size: 0.9em;
@@ -1756,6 +1838,13 @@ p.tracking-preview-desc {
1756
  width: auto;
1757
  max-width: 400px;
1758
  min-width: 90px;
 
 
 
 
 
 
 
1759
  }
1760
  .trackship-icon{
1761
  width: 70px;
@@ -1765,6 +1854,9 @@ p.tracking-preview-desc {
1765
  text-align:left;
1766
  }
1767
  .add_tracking_number_form input[type=checkbox]{
 
 
 
1768
  margin: 0px 4px 0 4px;
1769
  }
1770
  .d_table{
@@ -1875,6 +1967,13 @@ p.tracking-preview-desc {
1875
  width: 100%;
1876
  height: 100%;
1877
  }
 
 
 
 
 
 
 
1878
  @media (max-width: 767px) {
1879
  .notice.ast-admin-notice {
1880
  padding: 10px;
@@ -1981,7 +2080,8 @@ input.widget_tab_input {
1981
  display: none;
1982
  }
1983
  input.widget_tab_input:checked + label {
1984
- color: #74C2E1;
 
1985
  }
1986
  label.widget_tab_label{
1987
  text-decoration: none;
@@ -1992,17 +2092,20 @@ label.widget_tab_label{
1992
  display: inline-block;
1993
  margin-right: 12px;
1994
  line-height: 1;
1995
- outline: none;
1996
  }
1997
  label.widget_tab_label.first_label{
1998
  margin-left: 12px;
1999
  }
2000
- #tab_s_providers:checked ~ #content_s_providers,#tab_s_status:checked ~ #content_s_status{
2001
  display: block;
2002
  }
 
2003
  section.widget_tab_section {
2004
  display: none;
2005
  border-top:1px solid #eee;
 
 
2006
  }
2007
  /**** -------- ****/
2008
 
@@ -2038,7 +2141,225 @@ section.widget_tab_section {
2038
  padding: 0;
2039
  margin: 0;
2040
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2041
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2042
  /*** RTL CSS ***/
2043
  .rtl.shipment_tracking_admin_settings #wpcontent {
2044
  padding-right: 0;
@@ -2148,7 +2469,8 @@ section.widget_tab_section {
2148
  width: 25%;
2149
  }
2150
  #search_provider{
2151
- width: 200px;
 
2152
  }
2153
  .provider-thumb {
2154
  height: 40px;
@@ -2157,6 +2479,13 @@ section.widget_tab_section {
2157
  width: 60%;
2158
  }
2159
  }
 
 
 
 
 
 
 
2160
  @media screen and (max-width: 750px) {
2161
  .d_table{
2162
  display:block;
@@ -2178,6 +2507,12 @@ section.widget_tab_section {
2178
  padding: 15px 0 15px;
2179
  margin-left: 30px;
2180
  }
 
 
 
 
 
 
2181
  }
2182
  @media screen and (max-width: 500px) {
2183
  .provider{
@@ -2194,4 +2529,7 @@ section.widget_tab_section {
2194
  #search_provider{
2195
  width: 100%;
2196
  }
 
 
 
2197
  }
37
  width: 100%
38
  }
39
  #woocommerce-advanced-shipment-tracking input[type=checkbox]{
40
+ margin: 0px 4px 0 0px;
41
+ }
42
+ #woocommerce-advanced-shipment-tracking .ast-product-table input[type=checkbox]{
43
+ margin: 0px 4px 0 4px;
44
+ }
45
+ #woocommerce-advanced-shipment-tracking #change_order_to_shipped_field{
46
  margin: 0px 4px 0 4px;
47
  }
48
  #woocommerce-advanced-shipment-tracking .preview_tracking_link {
87
  display: none;
88
  padding: 0 30px 30px;
89
  border-top: 1px solid #ddd;
90
+ background: #f7fafc;
91
+ }
92
+ section.inner_tab_section {
93
+ display: none;
94
  }
95
  section.tpage_section{
96
  display: none;
97
  }
98
+ input.tab_input,input.inner_tab_input {
99
  display: none;
100
  }
101
  label.tab_label {
102
  text-decoration: none;
103
+ padding: 17px 0 15px;
 
104
  font-size: 14px;
105
  color: #393f4c;
106
  display: inline-block;
108
  line-height: 1;
109
  outline: none;
110
  }
111
+ label.inner_tab_label {
112
+ text-decoration: none;
113
+ padding: 15px 0 5px;
114
+ font-size: 13px;
115
+ color: #393f4c;
116
+ display: inline-block;
117
+ margin-right: 15px;
118
+ line-height: 1;
119
+ outline: none;
120
+ }
121
  label.tab_label.first_label {
122
  margin-left: 30px;
123
  }
130
  color: #74C2E1;
131
  cursor: pointer;
132
  }
133
+ input.tab_input:checked + label,input.inner_tab_input:checked + label {
134
  color: #74C2E1;
135
+ border-bottom: 2px solid #74C2E1;
136
  margin-bottom: -1px;
137
  }
138
  input.tab_input_1 {
152
  display: table-cell;
153
  vertical-align: top;
154
  }
155
+ #wc_ast_trackship_form {
156
+ border-top: 1px solid #eee;
157
+ }
158
  #content1 .tab_inner_container{
159
  display: block;
160
  }
161
  .tab_inner_container h4 {
162
  margin-top: 0;
163
  }
164
+ #tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10,#tab_trackship_dashboard:checked ~ #wc_ast_trackship_form #content_trackship_dashboard,#tab_tracking_page:checked ~ #wc_ast_trackship_form #content_tracking_page,#tab_status_notifications:checked ~ #wc_ast_trackship_form #content_status_notifications,#tab_tools:checked ~ #wc_ast_trackship_form #content_tools {
165
  display: block;
166
  }
167
  .shipping_add_field {
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;
1640
  .popupwrapper input[type=text],.trackingpopup_wrapper input[type=text]{
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;
1675
  right: 10px;
1676
  height: 34px;
1677
  }
1678
+ .change_order_to_shipped_field ul{
1679
+ margin: 5px 0 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;
1687
  }
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;
2080
  display: none;
2081
  }
2082
  input.widget_tab_input:checked + label {
2083
+ border-bottom-color: #74C2E1;
2084
+ color: #74C2E1;
2085
  }
2086
  label.widget_tab_label{
2087
  text-decoration: none;
2092
  display: inline-block;
2093
  margin-right: 12px;
2094
  line-height: 1;
2095
+ outline: none;
2096
  }
2097
  label.widget_tab_label.first_label{
2098
  margin-left: 12px;
2099
  }
2100
+ #tab_s_providers:checked ~ #content_s_providers,#tab_s_status:checked ~ #content_s_status,#tab_t_issues:checked ~ #content_t_issues{
2101
  display: block;
2102
  }
2103
+
2104
  section.widget_tab_section {
2105
  display: none;
2106
  border-top:1px solid #eee;
2107
+ height: 301px;
2108
+ overflow-y: auto;
2109
  }
2110
  /**** -------- ****/
2111
 
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
+ margin-bottom: 25px;
2164
+ }
2165
+ .ast_admin_content .ast_addons_section .form-table th.titledesc{
2166
+ width: 35%;
2167
+ }
2168
+ .ast_admin_content .ast_addons_section span.api_connected{
2169
+ line-height: 36px;
2170
+ height: 40px;
2171
+ padding: 10px 20px;
2172
+ font-size: 15px;
2173
+ }
2174
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td{
2175
+ padding:0;
2176
+ }
2177
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td img{
2178
+ width:100%;
2179
+ }
2180
+ .ast_addons_section .submit .btn_ast2{
2181
+ display: inline-block;
2182
+ float: none;
2183
+ }
2184
+ .ast_addons_section .submit .pesan{
2185
+ width: 65%;
2186
+ /*display: inline-block;*/
2187
+ vertical-align: bottom;
2188
+ margin-left: 5px;
2189
+ line-height: 15px;
2190
+ }
2191
+ .ast_addons_section .submit{
2192
+ margin: 0;
2193
+ }
2194
+ .ast_addons_section .submit .pesan.license_active{
2195
+ color:green;
2196
+ }
2197
+ .ast_addons_section .submit:after{
2198
+ display: block;
2199
+ content: '';
2200
+ clear: both;
2201
+ }
2202
+ .ts_addons_header,.tracking_item_addons_header{
2203
+ position: relative;
2204
+ display: inline-block;
2205
+ cursor: pointer;
2206
+ }
2207
+ .ts_addons_header:before,.tracking_item_addons_header:before{
2208
+ color: #eee;
2209
+ }
2210
+ .ts_addons_header:after,.tracking_item_addons_header:after{
2211
+ position:absolute;
2212
+ top: 50%;
2213
+ left: 50%;
2214
+ transform: translate(-50%, -50%);
2215
+ -webkit-transform: translate(-50%, -50%);
2216
+ content: "\f01d";
2217
+ font-family: FontAwesome;
2218
+ font-size: 100px;
2219
+ color: #fff;
2220
+ opacity: .8;
2221
+ text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
2222
+ }
2223
+ .woocommerce.zorem_admin_layout .license_div{
2224
+ /*height: 118px;*/
2225
+ background: #fff;
2226
+ border: 1px solid #eee;
2227
+ margin-top: 0;
2228
+ margin-bottom: 0px;
2229
+ vertical-align: middle;
2230
+ padding-top: 20px;
2231
+ padding-bottom: 20px;
2232
+ }
2233
+ .woocommerce.zorem_admin_layout .license_div table.form-table{
2234
+ background: 0;
2235
+ border: 0;
2236
+ }
2237
+ /*.woocommerce.zorem_admin_layout .license_div table.form-table tr{
2238
+ height:50px;
2239
+ }*/
2240
+ .ast_admin_content .ast_addons_section .license_div .form-table th.titledesc {
2241
+ padding: 0px 24px 0px 15px;
2242
+ vertical-align: middle;
2243
+ }
2244
+ .ast_admin_content .ast_addons_section .license_div .form-table td {
2245
+ padding: 0 15px;
2246
+ }
2247
+ #wc_ast_addons_form .license_div .form-table tr{
2248
+ border-bottom:0;
2249
+ }
2250
+ #woocommerce-advanced-shipment-tracking.postbox{
2251
+ background: #f9f9f9;
2252
+ }
2253
 
2254
+ .order-status-table tr.disable_row{
2255
+ background: #eee;
2256
+ opacity: 0.7;
2257
+ }
2258
+ .order-status-table tr.disable_row td{
2259
+ pointer-events: none;
2260
+ }
2261
+ .order-status-table tr.disable_row td:first-child{
2262
+ pointer-events: auto;
2263
+ }
2264
+ .order-status-table td:last-child{
2265
+ text-align:right;
2266
+ }
2267
+ .order-status-table .order-label{
2268
+ display: -webkit-inline-box;
2269
+ display: -webkit-inline-flex;
2270
+ display: inline-flex;
2271
+ line-height: 2.2em;
2272
+ color: #777;
2273
+ background: #e5e5e5;
2274
+ border-radius: 4px;
2275
+ border-bottom: 1px solid rgba(0,0,0,.05);
2276
+ margin: -.25em 0;
2277
+ cursor: inherit!important;
2278
+ white-space: nowrap;
2279
+ max-width: 100%;
2280
+ padding: 0 1em;
2281
+ }
2282
+ .order-status-table tr td.status-label-column{
2283
+ width:130px;
2284
+ }
2285
+ .form-table .multiple_checkbox {
2286
+ display: inline-block;
2287
+ padding-right: 5px;
2288
+ padding-bottom: 5px;
2289
+ min-width: 160px;
2290
+ }
2291
+ .order-status-table .wp-picker-container,.tracking_page_table .wp-picker-container {
2292
+ display: inline-block;
2293
+ vertical-align: middle;
2294
+ }
2295
+ .form-table.order-status-table td .send_email_label {
2296
+ margin: 0 5px !important;
2297
+ vertical-align: inherit;
2298
+ }
2299
+ .add_custom_p_a{
2300
+ font-weight: 500;
2301
+ font-size: 14px;
2302
+ display: block;
2303
+ text-align: center;
2304
+ margin-top: 14px;
2305
+ }
2306
+ .add_custom_inner .dashicons{
2307
+ display: block;
2308
+ text-align: center;
2309
+ margin: 10px auto;
2310
+ font-size: 35px;
2311
+ width: 40px;
2312
+ height: 38px;
2313
+ cursor: pointer;
2314
+ color:#005B9A;
2315
+ }
2316
+ .add_custom_provider_div{
2317
+ background: #fff;
2318
+ border: 1px solid rgba(116, 194, 225, 0.5);
2319
+ padding: 10px 10px 0px 10px;
2320
+ }
2321
+ .ast_admin_content .tracking-layout-table.form-table th.titledesc{
2322
+ width: 50%;
2323
+ }
2324
+ .tracking_color_label{
2325
+ line-height:30px;
2326
+ }
2327
+ .tracking_layout_options_div label{
2328
+ margin-bottom: 5px;
2329
+ display: block;
2330
+ }
2331
+ span.select_t_layout_section {
2332
+ display: inline-block;
2333
+ width: 45%;
2334
+ margin-right: 10px;
2335
+ margin-top: 5px;
2336
+ }
2337
+ .tracking-layout-table .radio-img {
2338
+ position: absolute;
2339
+ left: -9999px;
2340
+ }
2341
+
2342
+ .tracking-layout-table .radio-img:checked + label>img {
2343
+ border: 1px solid #74C2E1;
2344
+ }
2345
+
2346
+ /* Stuff after this is only to make things more pretty */
2347
+ .tracking-layout-table .radio-img + label>img {
2348
+ border: 1px solid #bdbdbd;
2349
+ width: 100%;
2350
+ border-radius: 5px;
2351
+ }
2352
+ .tracking_layout_preview_1,.tracking_layout_preview_2{
2353
+ text-align:center;
2354
+ }
2355
+ table.form-table.heading-table.disable_tracking_page {
2356
+ background: #f5f8fa;
2357
+ color: #222629;
2358
+ }
2359
+ .tracking_preview_iframe{
2360
+ width:100%;
2361
+ display:none;
2362
+ }
2363
  /*** RTL CSS ***/
2364
  .rtl.shipment_tracking_admin_settings #wpcontent {
2365
  padding-right: 0;
2469
  width: 25%;
2470
  }
2471
  #search_provider{
2472
+ width: 210px;
2473
+ min-width: 210px;
2474
  }
2475
  .provider-thumb {
2476
  height: 40px;
2479
  width: 60%;
2480
  }
2481
  }
2482
+ @media screen and (max-width: 820px) {
2483
+ .nav_doc_section{
2484
+ float: none;
2485
+ margin-left: 30px;
2486
+ margin-right: 0;
2487
+ }
2488
+ }
2489
  @media screen and (max-width: 750px) {
2490
  .d_table{
2491
  display:block;
2507
  padding: 15px 0 15px;
2508
  margin-left: 30px;
2509
  }
2510
+ .status_filter{
2511
+ width: auto;
2512
+ }
2513
+ .provider_settings{
2514
+ float: none;
2515
+ }
2516
  }
2517
  @media screen and (max-width: 500px) {
2518
  .provider{
2529
  #search_provider{
2530
  width: 100%;
2531
  }
2532
+ .plugin-logo{
2533
+ max-width: 300px;
2534
+ }
2535
  }
assets/css/customizer-styles.css CHANGED
@@ -1,13 +1,32 @@
1
  #accordion-section-default_controls_section>h3:before{
2
- font-family: 'Dashicons';
3
- font-size: 20px;
4
- font-weight: thin !important;
5
- position: relative;
6
- line-height: 0;
 
7
  vertical-align: middle;
8
- opacity: .6;
9
- top: -1px;
10
- content: "\f230";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  }
12
  #accordion-panel-wcast_emails_panel>h3:before{
13
  font-family: 'Dashicons';
@@ -33,7 +52,7 @@
33
  }
34
  #accordion-section-customer_delivered_email>h3:before{
35
  content: ' ';
36
- background-image: url(icons/delivered-v4.png);
37
  width: 20px;
38
  height: 20px;
39
  background-size: cover;
@@ -169,4 +188,8 @@
169
  }
170
  .customize-control-description{
171
  font-size: 12px;
 
 
 
 
172
  }
1
  #accordion-section-default_controls_section>h3:before{
2
+ content: ' ';
3
+ background-image: url(icons/ast-icon.png);
4
+ width: 20px;
5
+ height: 20px;
6
+ background-size: contain;
7
+ display: inline-block;
8
  vertical-align: middle;
9
+ background-repeat: no-repeat;
10
+ }
11
+ #accordion-section-customer_partial_shipped_email>h3:before{
12
+ content: ' ';
13
+ background-image: url(icons/partial-shipped-icon.png);
14
+ width: 20px;
15
+ height: 20px;
16
+ background-size: contain;
17
+ display: inline-block;
18
+ vertical-align: middle;
19
+ background-repeat: no-repeat;
20
+ }
21
+ #accordion-section-customer_updated_tracking_email>h3:before{
22
+ content: ' ';
23
+ background-image: url(icons/updated-tracking-icon.png);
24
+ width: 20px;
25
+ height: 20px;
26
+ background-size: contain;
27
+ display: inline-block;
28
+ vertical-align: middle;
29
+ background-repeat: no-repeat;
30
  }
31
  #accordion-panel-wcast_emails_panel>h3:before{
32
  font-family: 'Dashicons';
52
  }
53
  #accordion-section-customer_delivered_email>h3:before{
54
  content: ' ';
55
+ background-image: url(icons/Delivered-o.png);
56
  width: 20px;
57
  height: 20px;
58
  background-size: cover;
188
  }
189
  .customize-control-description{
190
  font-size: 12px;
191
+ }
192
+ .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/ast-icon.png ADDED
Binary file
assets/css/icons/invalid-v3.png CHANGED
Binary file
assets/css/icons/partial-shipped-icon.png ADDED
Binary file
assets/css/icons/updated-tracking-icon.png ADDED
Binary file
assets/css/welcome.css ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dashboard_page_ast-getting-started #wpcontent{
2
+ padding-left: 0px;
3
+ }
4
+ .dashboard_page_ast-getting-started #wpbody{
5
+ background: rgb(245, 248, 250);
6
+ }
7
+ .ast-admin-welcome-page {
8
+ position: relative;
9
+ -webkit-box-sizing: border-box;
10
+ box-sizing: border-box;
11
+ }
12
+ .ast-onboarding-header {
13
+ text-align: center;
14
+ }
15
+ .ast-header-navigation {
16
+ border-top: 4px solid #5f6197;
17
+ padding: 0 20px;
18
+ position: relative;
19
+ text-align: right;
20
+ }
21
+ @media (min-width:782px) {
22
+ .ast-header-navigation {
23
+ padding: 0 125px
24
+ }
25
+ }
26
+ .ast-exit-button {
27
+ background: #5f6197;
28
+ border-radius: 0 0 5px 5px;
29
+ color: #d7d7e5;
30
+ display: inline-block;
31
+ font-size: 14px;
32
+ line-height: 1;
33
+ padding: 9px 20px 12px;
34
+ text-decoration: none;
35
+ transition: color .1s ease;
36
+ -moz-transition: color .1s ease;
37
+ -ms-transition: color .1s ease;
38
+ -o-transition: color .1s ease;
39
+ -webkit-transition: color .1s ease;
40
+ }
41
+ .ast-onboarding-header h1 {
42
+ margin: 10px 0;
43
+ padding: 0 20px;
44
+ }
45
+ .ast-logo {
46
+ display: inline-block;
47
+ width: 400px;
48
+ max-width: 100%;
49
+ }
50
+
51
+ .ast-bg-img {
52
+ width: 100%;
53
+ padding-top: 66%;
54
+ position: relative;
55
+ }
56
+
57
+ .ast-logo .ast-bg-img {
58
+ padding-top: 0;
59
+ }
60
+
61
+ .ast-onboarding-wizard-container {
62
+ margin: 0 auto;
63
+ width: 750px;
64
+ }
65
+
66
+ .ast-onboarding-wizard-steps {
67
+ -webkit-box-align: center;
68
+ -ms-flex-align: center;
69
+ align-items: center;
70
+ display: -webkit-box;
71
+ display: -ms-flexbox;
72
+ display: flex;
73
+ margin-top: 15px;
74
+ }
75
+
76
+ .ast-onboarding-wizard-step {
77
+ border: 2px solid #005B9A;
78
+ border-radius: 50%;
79
+ -ms-flex-negative: 0;
80
+ flex-shrink: 0;
81
+ height: 16px;
82
+ width: 16px;
83
+ }
84
+
85
+ .ast-onboarding-wizard-step.ast-onboarding-wizard-step-active, .ast-onboarding-wizard-step.ast-onboarding-wizard-step-completed {
86
+ background-color: #005B9A;
87
+ border-color: #005B9A;
88
+ position: relative;
89
+ }
90
+ .ast-onboarding-wizard-step.ast-onboarding-wizard-step-completed:after {
91
+ color: #fff;
92
+ display: block;
93
+ font-size: 15px;
94
+ font-weight: 400;
95
+ left: -1px;
96
+ position: absolute;
97
+ text-align: center;
98
+ top: 0px;
99
+ width: 100%;
100
+ content: "\f147";
101
+ font-family: dashicons;
102
+ }
103
+ .ast-onboarding-wizard-step-line {
104
+ background: #74C2E1;
105
+ height: 3px;
106
+ margin: 0 2px;
107
+ width: 100%;
108
+ }
109
+
110
+ .ast-onboarding-wizard-container {
111
+ margin: 0 auto;
112
+ width: 750px;
113
+ }
114
+ .ast-onboarding-wizard-content {
115
+ background: #fff;
116
+ border: 1px solid #eee;
117
+ color: #777;
118
+ font-size: 14px;
119
+ margin: 30px 0 10px;
120
+ padding: 45px 30px 20px;
121
+ }
122
+ .ast-onboarding-wizard-content h2 {
123
+ color: #393f4a;
124
+ font-size: 24px;
125
+ font-weight: 500;
126
+ margin: 0 0 5px;
127
+ }
128
+ .ast-onboarding-wizard-content .ast-separator {
129
+ border-top: 1px solid #eee;
130
+ clear: both;
131
+ margin: 26px 0;
132
+ }
133
+ .ast-onboarding-step-shipping,.ast-onboarding-step-delivered,.ast-onboarding-step-trackship{
134
+ display:none;
135
+ }
136
+ .ast-onboarding-wizard-container section.tab_section{
137
+ display: block;
138
+ background: #fff;
139
+ padding: 0;
140
+ }
141
+ .ast-onboarding-wizard-container .provider {
142
+ width: 33%;
143
+ }
144
+ .ast-onboarding-wizard-logo .plugin-logo{
145
+ padding: 15px 0;
146
+ }
147
+ .woocommerce.zorem_admin_layout table.form-table th{
148
+ width: 50%;
149
+ }
150
+ #wc_ast_delivered_settings_form .form-table tr,.ast-onboarding-step-trackship .form-table tr{
151
+ border-bottom: 1px solid #eee;
152
+ }
153
+ @media screen and (max-width: 767px) {
154
+ .ast-onboarding-wizard-container{
155
+ max-width: 100%;
156
+ width: auto;
157
+ margin: 0 10px;
158
+ }
159
+ .ast-onboarding-wizard-logo .plugin-logo {
160
+ max-width: 250px;
161
+ }
162
+ }
163
+ @media screen and (min-width: 768px) and (max-width: 1269px) {
164
+ .ast-onboarding-wizard-container .provider{
165
+ width: 25%;
166
+ }
167
+ }
168
+ @media screen and (max-width: 767px) {
169
+ .ast-onboarding-wizard-container .provider{
170
+ width: 33.3%;
171
+ }
172
+ .ast-onboarding-wizard-content{
173
+ padding: 20px 10px 20px;
174
+ }
175
+ }
176
+ @media screen and (max-width: 500px) {
177
+ .provider,.ast-onboarding-wizard-container .provider{
178
+ width: 50%;
179
+ }
180
+ }
assets/images/Tracking-Per-Item-addon-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/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
  }
@@ -48,13 +69,30 @@ jQuery( function( $ ) {
48
  opacity: 0.6
49
  }
50
  } );
51
-
52
- if($('input#change_order_to_shipped').prop("checked") == true){
53
- var checked = 'yes';
54
- } else{
55
- var checked = 'no';
 
 
 
 
 
56
  }
 
 
 
 
 
 
 
 
 
 
 
57
 
 
58
  var data = {
59
  action: 'wc_shipment_tracking_save_form',
60
  order_id: woocommerce_admin_meta_boxes.post_id,
@@ -63,31 +101,45 @@ jQuery( function( $ ) {
63
  custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
64
  tracking_number: $( 'input#tracking_number' ).val(),
65
  date_shipped: $( 'input#date_shipped' ).val(),
 
66
  change_order_to_shipped: checked,
67
  security: $( '#wc_shipment_tracking_create_nonce' ).val()
68
  };
69
-
70
-
71
- $.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
72
- $( '#advanced-shipment-tracking-form' ).unblock();
73
- if ( response != '-1' ) {
74
- $( '#advanced-shipment-tracking-form' ).hide();
75
- $( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
76
- $( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
77
- $( '#tracking_provider' ).selectedIndex = 0;
78
- $( '#custom_tracking_provider' ).val( '' );
79
- $( 'input#custom_tracking_link' ).val( '' );
80
- $( 'input#tracking_number' ).val( '' );
81
- $( 'input#date_shipped' ).val( '' );
82
- if(checked == 'yes'){
83
- jQuery('#order_status').val('wc-completed');
84
- jQuery('#order_status').select2().trigger('change');
85
- jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
86
- //location.reload();
 
 
 
 
 
 
 
 
 
 
 
87
  }
 
 
 
88
  }
89
- });
90
-
91
  return false;
92
  },
93
 
@@ -221,11 +273,47 @@ function modelMatcher (params, data) {
221
  }
222
 
223
  jQuery(document).on("click", ".add_inline_tracking", function(){
 
 
 
 
 
 
 
 
 
224
  var order_id = jQuery(this).attr('href');
225
  order_id = order_id.replace("#", "");
226
  jQuery('.add_tracking_number_form #order_id').val(order_id);
227
- jQuery('.add_tracking_popup').show();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  });
 
 
 
 
 
 
 
 
229
  jQuery(document).on("click", ".popupclose", function(){
230
  jQuery('.add_tracking_popup').hide();
231
  });
@@ -250,7 +338,7 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
250
  showerror(tracking_number);
251
  error = true;
252
  } else{
253
- var pattern = /^[0-9a-zA-Z \b]+$/;
254
  if(!pattern.test(tracking_number.val())){
255
  showerror(tracking_number);
256
  error = true;
@@ -267,9 +355,28 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
267
  }
268
 
269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
  if(error == true){
271
  return false;
272
  }
 
273
  jQuery("#add_tracking_number_form").block({
274
  message: null,
275
  overlayCSS: {
@@ -283,9 +390,6 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
283
  type: 'POST',
284
  success: function(response) {
285
  location.reload();
286
- //jQuery(".provider_list").replaceWith(response);
287
- //form[0].reset();
288
- //jQuery("#add_tracking_number_form").unblock();
289
  },
290
  error: function(response) {
291
  console.log(response);
@@ -331,19 +435,6 @@ jQuery(document).on("click", ".inline_tracking_delete", function(){
331
  }
332
  });
333
 
334
- /*jQuery(document).on("submit", ".post-type-shop_order #posts-filter", function(){
335
- var form = jQuery('.post-type-shop_order #posts-filter');
336
- var bulk_select = jQuery('#bulk-action-selector-top').val();
337
-
338
- if(bulk_select == 'get_shipment_status'){
339
- var checked_checkbox = jQuery(".type-shop_order .check-column input[type='checkbox']:checked");
340
- if(checked_checkbox.length > 100){
341
- alert(ast_admin_js.i18n.get_shipment_status_message);
342
- return false;
343
- }
344
- }
345
- });*/
346
-
347
  function showerror(element){
348
  element.css("border","1px solid red");
349
  }
13
 
14
  // When a user enters a new tracking item
15
  save_form: function () {
16
+ var error;
17
  var tracking_number = jQuery("#tracking_number");
18
  var tracking_provider = jQuery("#tracking_provider");
19
+
20
  if( tracking_number.val() === '' ){
21
  showerror( tracking_number );error = true;
22
  } else{
23
+ var pattern = /^[0-9a-zA-Z- \b]+$/;
24
  if(!pattern.test(tracking_number.val())){
25
  showerror( tracking_number );
26
  error = true;
35
  jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
36
  hideerror(tracking_provider);
37
  }
38
+
39
+
40
+ if(jQuery("tr").hasClass("ASTProduct_row")){
41
+ var qty = false;
42
+ jQuery(".ASTProduct_row").each(function(index){
43
+ var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
44
+ if(ASTProduct_qty > 0){
45
+ qty = true;
46
+ return false;
47
+ }
48
+ });
49
+ }
50
+
51
+ if(qty == false){
52
+ jQuery('.qty_validation').show();
53
+ return false;
54
+ } else{
55
+ jQuery('.qty_validation').hide();
56
+ }
57
+
58
  if(error == true){
59
  return false;
60
  }
69
  opacity: 0.6
70
  }
71
  } );
72
+ var change_order_to_shipped = $('input[name=change_order_to_shipped]:checked').val();
73
+
74
+ if(change_order_to_shipped == 'change_order_to_partial_shipped'){
75
+ checked = 'change_order_to_partial_shipped';
76
+ } else if(change_order_to_shipped == 'change_order_to_shipped'){
77
+ checked = 'change_order_to_shipped';
78
+ } else if($('input#change_order_to_shipped').prop("checked") == true){
79
+ checked = 'change_order_to_shipped';
80
+ } else{
81
+ checked = 'no';
82
  }
83
+
84
+ var product_data = [];
85
+ jQuery(".ASTProduct_row").each(function(index){
86
+ var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
87
+ if(ASTProduct_qty > 0){
88
+ product_data.push({
89
+ product: jQuery(this).find('.product_id').val(),
90
+ qty: jQuery(this).find('input[type="number"]').val(),
91
+ });
92
+ }
93
+ });
94
 
95
+ var jsonString = JSON.stringify(product_data);
96
  var data = {
97
  action: 'wc_shipment_tracking_save_form',
98
  order_id: woocommerce_admin_meta_boxes.post_id,
101
  custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
102
  tracking_number: $( 'input#tracking_number' ).val(),
103
  date_shipped: $( 'input#date_shipped' ).val(),
104
+ productlist: jsonString,
105
  change_order_to_shipped: checked,
106
  security: $( '#wc_shipment_tracking_create_nonce' ).val()
107
  };
108
+
109
+ jQuery.ajax({
110
+ url: woocommerce_admin_meta_boxes.ajax_url,
111
+ data: data,
112
+ type: 'POST',
113
+ success: function(response) {
114
+ $( '#advanced-shipment-tracking-form' ).unblock();
115
+ if ( response == 'reload' ) {
116
+ location.reload(true);
117
+ return false;
118
+ }
119
+ if ( response != '-1' ) {
120
+ $( '#advanced-shipment-tracking-form' ).hide();
121
+ $( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
122
+ $( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
123
+ $( '#tracking_provider' ).selectedIndex = 0;
124
+ $( '#custom_tracking_provider' ).val( '' );
125
+ $( 'input#custom_tracking_link' ).val( '' );
126
+ $( 'input#tracking_number' ).val( '' );
127
+ $( 'input#date_shipped' ).val( '' );
128
+ if(checked == 'change_order_to_shipped'){
129
+ jQuery('#order_status').val('wc-completed');
130
+ jQuery('#order_status').select2().trigger('change');
131
+ jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
132
+ } else if(checked == 'change_order_to_partial_shipped'){
133
+ jQuery('#order_status').val('wc-partial-shipped');
134
+ jQuery('#order_status').select2().trigger('change');
135
+ jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
136
+ }
137
  }
138
+ },
139
+ error: function(response) {
140
+ console.log(response);
141
  }
142
+ });
 
143
  return false;
144
  },
145
 
273
  }
274
 
275
  jQuery(document).on("click", ".add_inline_tracking", function(){
276
+
277
+ jQuery(this).closest('.wc_actions').block({
278
+ message: null,
279
+ overlayCSS: {
280
+ background: "#fff",
281
+ opacity: .6
282
+ }
283
+ });
284
+
285
  var order_id = jQuery(this).attr('href');
286
  order_id = order_id.replace("#", "");
287
  jQuery('.add_tracking_number_form #order_id').val(order_id);
288
+
289
+ var ajax_data = {
290
+ action: 'ast_open_inline_tracking_form',
291
+ order_id: order_id,
292
+ };
293
+
294
+ jQuery.ajax({
295
+ url: ajaxurl,
296
+ data: ajax_data,
297
+ type: 'POST',
298
+ success: function(response) {
299
+ jQuery( ".add_tracking_popup" ).remove();
300
+ jQuery("body").append(response);
301
+ jQuery('.add_tracking_popup').show();
302
+ jQuery('.wc_actions').unblock();
303
+ },
304
+ error: function(response) {
305
+ jQuery('.wc_actions').unblock();
306
+ }
307
+ });
308
  });
309
+
310
+ jQuery(document).on("click", ".mark_shipped_checkbox", function(){
311
+ if(jQuery(this).prop("checked") == true){
312
+ jQuery('.mark_shipped_checkbox').prop('checked', false);
313
+ jQuery(this).prop('checked', true);
314
+ }
315
+ });
316
+
317
  jQuery(document).on("click", ".popupclose", function(){
318
  jQuery('.add_tracking_popup').hide();
319
  });
338
  showerror(tracking_number);
339
  error = true;
340
  } else{
341
+ var pattern = /^[0-9a-zA-Z- \b]+$/;
342
  if(!pattern.test(tracking_number.val())){
343
  showerror(tracking_number);
344
  error = true;
355
  }
356
 
357
 
358
+ if(jQuery("tr").hasClass("ASTProduct_row")){
359
+ var qty = false;
360
+ jQuery(".ASTProduct_row").each(function(index){
361
+ var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
362
+ if(ASTProduct_qty > 0){
363
+ qty = true;
364
+ return false;
365
+ }
366
+ });
367
+ }
368
+
369
+ if(qty == false){
370
+ jQuery('.qty_validation').show();
371
+ return false;
372
+ } else{
373
+ jQuery('.qty_validation').hide();
374
+ }
375
+
376
  if(error == true){
377
  return false;
378
  }
379
+
380
  jQuery("#add_tracking_number_form").block({
381
  message: null,
382
  overlayCSS: {
390
  type: 'POST',
391
  success: function(response) {
392
  location.reload();
 
 
 
393
  },
394
  error: function(response) {
395
  console.log(response);
435
  }
436
  });
437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
438
  function showerror(element){
439
  element.css("border","1px solid red");
440
  }
assets/js/customizer-scripts.js CHANGED
@@ -43,8 +43,181 @@ jQuery(document).ready(function() {
43
  jQuery('#customize-control-track_header_text').hide();
44
  }
45
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
 
 
 
 
 
 
47
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  jQuery(document).on("change", "#_customize-input-show_track_label", function(){
49
  if(jQuery(this).prop("checked") == true){
50
  jQuery('#customize-control-track_header_text').show();
@@ -52,6 +225,7 @@ jQuery(document).on("change", "#_customize-input-show_track_label", function(){
52
  jQuery('#customize-control-track_header_text').hide();
53
  }
54
  });
 
55
  jQuery(document).on("change", "#_customize-input-hide_table_header", function(){
56
  if(jQuery(this).prop("checked") == true){
57
  jQuery('#customize-control-provider_header_text').hide();
@@ -142,30 +316,46 @@ jQuery(document).on("change", "#customize-control-woocommerce_customer_delivered
142
  } );
143
  } );
144
  } ( wp.customize ) );
 
145
  (function ( api ) {
146
- api.section( 'default_controls_section', function( section ) {
147
  section.expanded.bind( function( isExpanded ) {
148
  var url;
149
  if ( isExpanded ) {
150
  jQuery('#save').trigger('click');
151
- url = wcast_customizer.tracking_preview_url;
152
  api.previewer.previewUrl.set( url );
153
  }
154
  } );
155
  } );
156
  } ( wp.customize ) );
157
- /*(function ( api ) {
158
- api.section( 'tracking_page_section', function( section ) {
 
159
  section.expanded.bind( function( isExpanded ) {
160
  var url;
161
  if ( isExpanded ) {
162
  jQuery('#save').trigger('click');
163
- url = wcast_customizer.tracking_page_preview_url;
164
  api.previewer.previewUrl.set( url );
165
  }
166
  } );
167
  } );
168
- } ( wp.customize ) );*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  (function ( api ) {
170
  api.section( 'customer_failure_email', function( section ) {
171
  section.expanded.bind( function( isExpanded ) {
43
  jQuery('#customize-control-track_header_text').hide();
44
  }
45
  }
46
+
47
+ if(jQuery('#_customize-input-tracking_number_link').prop("checked") == true){
48
+ jQuery('#customize-control-show_track_label').hide();
49
+ jQuery('#customize-control-shipment_link_header').hide();
50
+ jQuery('#customize-control-tracking_link_font_color').hide();
51
+ jQuery('#customize-control-tracking_link_bg_color').hide();
52
+ jQuery('#customize-control-tracking_link_border').hide();
53
+ jQuery('#customize-control-track_header_text').hide();
54
+ } else{
55
+ if(jQuery("#_customize-input-show_track_label").prop("checked") == true && jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
56
+ jQuery('#customize-control-track_header_text').show();
57
+ }
58
+ jQuery('#customize-control-show_track_label').show();
59
+ jQuery('#customize-control-shipment_link_header').show();
60
+ jQuery('#customize-control-tracking_link_font_color').show();
61
+ jQuery('#customize-control-tracking_link_bg_color').show();
62
+ jQuery('#customize-control-tracking_link_border').show();
63
+ }
64
+
65
+ var tracking_template = jQuery("#select_tracking_template").val();
66
+ if(tracking_template == 'simple_list'){
67
+ jQuery('#customize-control-table_content_header').hide();
68
+ jQuery('#customize-control-display_shipment_provider_image').hide();
69
+ jQuery('#customize-control-display_shipment_provider_name').hide();
70
+ jQuery('#customize-control-remove_date_from_tracking').hide();
71
+ jQuery('#customize-control-table_header_block').hide();
72
+ jQuery('#customize-control-hide_table_header').hide();
73
+ jQuery('#customize-control-provider_header_text').hide();
74
+ jQuery('#customize-control-tracking_number_header_text').hide();
75
+ jQuery('#customize-control-shipped_date_header_text').hide();
76
+ jQuery('#customize-control-shipped_date_header_text').hide();
77
+ jQuery('#customize-control-tracking_number_link').hide();
78
+ jQuery('#customize-control-show_track_label').hide();
79
+ jQuery('#customize-control-track_header_text').hide();
80
+ jQuery('#customize-control-table_header_font_size').hide();
81
+ jQuery('#customize-control-table_header_font_color').hide();
82
+ jQuery('#customize-control-table_header').hide();
83
+ jQuery('#customize-control-table_padding').hide();
84
+ jQuery('#customize-control-table_bg_color').hide();
85
+ jQuery('#customize-control-table_border_color').hide();
86
+ jQuery('#customize-control-table_border_size').hide();
87
+ jQuery('#customize-control-header_content_text_align').hide();
88
+ jQuery('#customize-control-table_content_font_size').hide();
89
+ jQuery('#customize-control-table_content_font_color').hide();
90
+ jQuery('#customize-control-table_content_line_height').hide();
91
+ jQuery('#customize-control-table_content_font_weight').hide();
92
+ jQuery('#customize-control-shipment_link_header').hide();
93
+ jQuery('#customize-control-tracking_link_font_color').hide();
94
+ jQuery('#customize-control-tracking_link_bg_color').hide();
95
+ jQuery('#customize-control-tracking_link_border').hide();
96
+ jQuery('#customize-control-simple_content_header').show();
97
+ jQuery('#customize-control-simple_provider_font_size').show();
98
+ jQuery('#customize-control-simple_provider_font_color').show();
99
+ jQuery('#customize-control-show_provider_border').show();
100
+ if(jQuery('#_customize-input-show_provider_border').prop("checked") == true){
101
+ jQuery('#customize-control-provider_border_color').show();
102
+ }
103
+ } else{
104
+ jQuery('#customize-control-simple_content_header').hide();
105
+ jQuery('#customize-control-simple_provider_font_size').hide();
106
+ jQuery('#customize-control-simple_provider_font_color').hide();
107
+ jQuery('#customize-control-show_provider_border').hide();
108
+ jQuery('#customize-control-provider_border_color').hide();
109
+ }
110
+ });
111
 
112
+ jQuery(document).on("click", "#_customize-input-show_provider_border", function(){
113
+ if(jQuery(this).prop("checked") == true){
114
+ jQuery('#customize-control-provider_border_color').show();
115
+ } else{
116
+ jQuery('#customize-control-provider_border_color').hide();
117
+ }
118
  });
119
+ jQuery(document).on("change", "#select_tracking_template", function(){
120
+ var tracking_template = jQuery(this).val();
121
+ if(tracking_template == 'simple_list'){
122
+ jQuery('#customize-control-table_content_header').hide();
123
+ jQuery('#customize-control-display_shipment_provider_image').hide();
124
+ jQuery('#customize-control-display_shipment_provider_name').hide();
125
+ jQuery('#customize-control-remove_date_from_tracking').hide();
126
+ jQuery('#customize-control-table_header_block').hide();
127
+ jQuery('#customize-control-hide_table_header').hide();
128
+ jQuery('#customize-control-provider_header_text').hide();
129
+ jQuery('#customize-control-tracking_number_header_text').hide();
130
+ jQuery('#customize-control-shipped_date_header_text').hide();
131
+ jQuery('#customize-control-shipped_date_header_text').hide();
132
+ jQuery('#customize-control-tracking_number_link').hide();
133
+ jQuery('#customize-control-show_track_label').hide();
134
+ jQuery('#customize-control-track_header_text').hide();
135
+ jQuery('#customize-control-table_header_font_size').hide();
136
+ jQuery('#customize-control-table_header_font_color').hide();
137
+ jQuery('#customize-control-table_header').hide();
138
+ jQuery('#customize-control-table_padding').hide();
139
+ jQuery('#customize-control-table_bg_color').hide();
140
+ jQuery('#customize-control-table_border_color').hide();
141
+ jQuery('#customize-control-table_border_size').hide();
142
+ jQuery('#customize-control-header_content_text_align').hide();
143
+ jQuery('#customize-control-table_content_font_size').hide();
144
+ jQuery('#customize-control-table_content_font_color').hide();
145
+ jQuery('#customize-control-table_content_line_height').hide();
146
+ jQuery('#customize-control-table_content_font_weight').hide();
147
+ jQuery('#customize-control-shipment_link_header').hide();
148
+ jQuery('#customize-control-tracking_link_font_color').hide();
149
+ jQuery('#customize-control-tracking_link_bg_color').hide();
150
+ jQuery('#customize-control-tracking_link_border').hide();
151
+ jQuery('#customize-control-simple_content_header').show();
152
+ jQuery('#customize-control-simple_provider_font_size').show();
153
+ jQuery('#customize-control-simple_provider_font_color').show();
154
+ jQuery('#customize-control-show_provider_border').show();
155
+ if(jQuery('#_customize-input-show_provider_border').prop("checked") == true){
156
+ jQuery('#customize-control-provider_border_color').show();
157
+ }
158
+ } else{
159
+ jQuery('#customize-control-simple_content_header').hide();
160
+ jQuery('#customize-control-simple_provider_font_size').hide();
161
+ jQuery('#customize-control-simple_provider_font_color').hide();
162
+ jQuery('#customize-control-show_provider_border').hide();
163
+ jQuery('#customize-control-provider_border_color').hide();
164
+ jQuery('#customize-control-table_content_header').show();
165
+ jQuery('#customize-control-display_shipment_provider_image').show();
166
+ jQuery('#customize-control-display_shipment_provider_name').show();
167
+ jQuery('#customize-control-remove_date_from_tracking').show();
168
+ jQuery('#customize-control-table_header_block').show();
169
+ jQuery('#customize-control-show_table_header').show();
170
+ jQuery('#customize-control-tracking_number_link').show();
171
+ jQuery('#customize-control-table_header').show();
172
+ jQuery('#customize-control-table_padding').show();
173
+ jQuery('#customize-control-table_bg_color').show();
174
+ jQuery('#customize-control-table_border_color').show();
175
+ jQuery('#customize-control-table_border_size').show();
176
+ jQuery('#customize-control-header_content_text_align').show();
177
+ jQuery('#customize-control-table_content_font_size').show();
178
+ jQuery('#customize-control-table_content_font_color').show();
179
+ jQuery('#customize-control-table_content_line_height').show();
180
+ jQuery('#customize-control-table_content_font_weight').show();
181
+ jQuery('#customize-control-hide_table_header').show();
182
+ if(jQuery('#_customize-input-hide_table_header').prop("checked") != true){
183
+ jQuery('#customize-control-provider_header_text').show();
184
+ jQuery('#customize-control-tracking_number_header_text').show();
185
+ jQuery('#customize-control-shipped_date_header_text').show();
186
+ jQuery('#customize-control-table_header_font_size').show();
187
+ jQuery('#customize-control-table_header_font_color').show();
188
+ }
189
+ if(jQuery("#_customize-input-show_track_label").prop("checked") == true && jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
190
+ jQuery('#customize-control-track_header_text').show();
191
+ }
192
+ if(jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
193
+ jQuery('#customize-control-show_track_label').show();
194
+ jQuery('#customize-control-shipment_link_header').show();
195
+ jQuery('#customize-control-tracking_link_font_color').show();
196
+ jQuery('#customize-control-tracking_link_bg_color').show();
197
+ jQuery('#customize-control-tracking_link_border').show();
198
+ }
199
+ }
200
+ });
201
+ jQuery(document).on("change", "#_customize-input-tracking_number_link", function(){
202
+ if(jQuery(this).prop("checked") == true){
203
+ jQuery('#customize-control-show_track_label').hide();
204
+ jQuery('#customize-control-track_header_text').hide();
205
+ jQuery('#customize-control-shipment_link_header').hide();
206
+ jQuery('#customize-control-tracking_link_font_color').hide();
207
+ jQuery('#customize-control-tracking_link_bg_color').hide();
208
+ jQuery('#customize-control-tracking_link_border').hide();
209
+ } else{
210
+ if(jQuery("#_customize-input-show_track_label").prop("checked") == true){
211
+ jQuery('#customize-control-track_header_text').show();
212
+ }
213
+ jQuery('#customize-control-show_track_label').show();
214
+ jQuery('#customize-control-shipment_link_header').show();
215
+ jQuery('#customize-control-tracking_link_font_color').show();
216
+ jQuery('#customize-control-tracking_link_bg_color').show();
217
+ jQuery('#customize-control-tracking_link_border').show();
218
+ }
219
+ });
220
+
221
  jQuery(document).on("change", "#_customize-input-show_track_label", function(){
222
  if(jQuery(this).prop("checked") == true){
223
  jQuery('#customize-control-track_header_text').show();
225
  jQuery('#customize-control-track_header_text').hide();
226
  }
227
  });
228
+
229
  jQuery(document).on("change", "#_customize-input-hide_table_header", function(){
230
  if(jQuery(this).prop("checked") == true){
231
  jQuery('#customize-control-provider_header_text').hide();
316
  } );
317
  } );
318
  } ( wp.customize ) );
319
+
320
  (function ( api ) {
321
+ api.section( 'customer_partial_shipped_email', function( section ) {
322
  section.expanded.bind( function( isExpanded ) {
323
  var url;
324
  if ( isExpanded ) {
325
  jQuery('#save').trigger('click');
326
+ url = wcast_customizer.partial_shipped_email_preview_url;
327
  api.previewer.previewUrl.set( url );
328
  }
329
  } );
330
  } );
331
  } ( wp.customize ) );
332
+
333
+ (function ( api ) {
334
+ api.section( 'customer_updated_tracking_email', function( section ) {
335
  section.expanded.bind( function( isExpanded ) {
336
  var url;
337
  if ( isExpanded ) {
338
  jQuery('#save').trigger('click');
339
+ url = wcast_customizer.updated_tracking_email_preview_url;
340
  api.previewer.previewUrl.set( url );
341
  }
342
  } );
343
  } );
344
+ } ( wp.customize ) );
345
+
346
+ (function ( api ) {
347
+ api.section( 'default_controls_section', function( section ) {
348
+ section.expanded.bind( function( isExpanded ) {
349
+ var url;
350
+ if ( isExpanded ) {
351
+ jQuery('#save').trigger('click');
352
+ url = wcast_customizer.tracking_preview_url;
353
+ api.previewer.previewUrl.set( url );
354
+ }
355
+ } );
356
+ } );
357
+ } ( wp.customize ) );
358
+
359
  (function ( api ) {
360
  api.section( 'customer_failure_email', function( section ) {
361
  section.expanded.bind( function( isExpanded ) {
assets/js/front.js CHANGED
@@ -53,4 +53,15 @@ jQuery(document).on("click", ".hide_table_rows", function(){
53
  jQuery(this).hide();
54
  jQuery(this).closest('.shipment_progress_div').find('.view_table_rows').show();
55
  jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').hide();
 
 
 
 
 
 
 
 
 
 
 
56
  });
53
  jQuery(this).hide();
54
  jQuery(this).closest('.shipment_progress_div').find('.view_table_rows').show();
55
  jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').hide();
56
+ });
57
+
58
+ jQuery(document).on("click", ".view_old_details", function(){
59
+ jQuery(this).hide();
60
+ jQuery(this).closest('.tracking-details').find('.hide_old_details').show();
61
+ jQuery(this).closest('.tracking-details').find('.old-details').fadeIn();
62
+ });
63
+ jQuery(document).on("click", ".hide_old_details", function(){
64
+ jQuery(this).hide();
65
+ jQuery(this).closest('.tracking-details').find('.view_old_details').show();
66
+ jQuery(this).closest('.tracking-details').find('.old-details').fadeOut();
67
  });
assets/js/preview-scripts.js CHANGED
@@ -224,6 +224,38 @@
224
  });
225
  });
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
 
228
  wp.customize( 'remove_trackship_branding', function( value ) {
229
  value.bind( function( remove_trackship_branding ) {
@@ -329,4 +361,39 @@
329
  }
330
  });
331
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  } )( jQuery );
224
  });
225
  });
226
 
227
+ wp.customize( 'woocommerce_customer_partial_shipped_order_settings[heading]', function( value ) {
228
+ value.bind( function( wcast_partial_shipped_email_heading ) {
229
+
230
+ var str = wcast_partial_shipped_email_heading;
231
+ var res = str.replace("{site_title}", wcast_preview.site_title);
232
+
233
+ var res = res.replace("{order_number}", wcast_preview.order_number);
234
+
235
+ if( wcast_partial_shipped_email_heading ){
236
+ $( '#header_wrapper h1' ).text(res);
237
+ } else{
238
+ $( '#header_wrapper h1' ).text('');
239
+ }
240
+ });
241
+ });
242
+
243
+ wp.customize( 'woocommerce_customer_updated_tracking_order_settings[heading]', function( value ) {
244
+ value.bind( function( wcast_updated_tracking_email_heading ) {
245
+
246
+ var str = wcast_updated_tracking_email_heading;
247
+ var res = str.replace("{site_title}", wcast_preview.site_title);
248
+
249
+ var res = res.replace("{order_number}", wcast_preview.order_number);
250
+
251
+ if( wcast_updated_tracking_email_heading ){
252
+ $( '#header_wrapper h1' ).text(res);
253
+ } else{
254
+ $( '#header_wrapper h1' ).text('');
255
+ }
256
+ });
257
+ });
258
+
259
 
260
  wp.customize( 'remove_trackship_branding', function( value ) {
261
  value.bind( function( remove_trackship_branding ) {
361
  }
362
  });
363
  });
364
+
365
+ wp.customize( 'simple_provider_font_size', function( setting ) {
366
+ /* Deferred callback for when setting exists */
367
+ setting.bind( function( simple_provider_font_size ) {
368
+ /* Update callback for setting change */
369
+ $( '.tracking_list_div' ).css( 'font-size',simple_provider_font_size );
370
+ } );
371
+ } );
372
+
373
+ wp.customize( 'simple_provider_font_color', function( setting ) {
374
+ /* Deferred callback for when setting exists */
375
+ setting.bind( function( simple_provider_font_color ) {
376
+ /* Update callback for setting change */
377
+ $( '.tracking_list_div' ).css( 'color',simple_provider_font_color );
378
+ } );
379
+ } );
380
+
381
+ wp.customize( 'show_provider_border', function( setting ) {
382
+ /* Deferred callback for when setting exists */
383
+ setting.bind( function( show_provider_border ) {
384
+ if( show_provider_border ){
385
+ $( '.tracking_list_div' ).css( 'border-bottom','1px solid' );;
386
+ }
387
+ else{
388
+ $( '.tracking_list_div' ).css( 'border-bottom','0' );;
389
+ }
390
+ } );
391
+ } );
392
+
393
+ wp.customize( 'provider_border_color', function( setting ) {
394
+ /* Deferred callback for when setting exists */
395
+ setting.bind( function( provider_border_color ) {
396
+ $( '.tracking_list_div' ).css( 'border-bottom','1px solid '+provider_border_color );
397
+ } );
398
+ } );
399
  } )( jQuery );
assets/js/settings.js CHANGED
@@ -9,19 +9,27 @@ jQuery(document).on("click", ".shipping_provider_tab li", function(){
9
  });
10
  jQuery(document).on("click", "#wc_ast_status_delivered", function(){
11
  if(jQuery(this).prop("checked") == true){
12
- jQuery('.status_label_color_th').show();
13
- jQuery('label.tab_label[for="tab5"]').show();
14
  } else{
15
- jQuery('.status_label_color_th').hide();
16
- jQuery('label.tab_label[for="tab5"]').hide();
17
- }
18
- var email_type = jQuery('#wc_ast_select_email_type').val();
19
- if(email_type == 'wc_email' && jQuery(this).prop("checked") == true){
20
- jQuery('.manage_delivered_order_email_link').show();
21
- } else{
22
- jQuery('.manage_delivered_order_email_link').hide();
 
23
  }
24
  });
 
 
 
 
 
 
 
 
25
  jQuery(document).on("change", "#wc_ast_select_email_type", function(){
26
  jQuery("#content2 ").block({
27
  message: null,
@@ -59,17 +67,73 @@ jQuery(document).on("change", "#wc_ast_select_email_type", function(){
59
  });
60
  jQuery( document ).ready(function() {
61
  jQuery(".woocommerce-help-tip").tipTip();
 
62
  if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
63
- jQuery('.status_label_color_th').show();
64
- jQuery('label.tab_label[for="tab5"]').show();
65
  } else{
66
- jQuery('.status_label_color_th').hide();
67
- jQuery('label.tab_label[for="tab5"]').hide();
 
 
 
 
 
68
  }
69
 
70
- jQuery('#wc_ast_status_label_color').wpColorPicker();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  jQuery('.color_field input').wpColorPicker();
72
  });
 
 
 
 
 
 
 
 
 
 
 
 
73
  jQuery(document).on("click", '#variable_tag #var_input', function(e){
74
  jQuery(this).focus();
75
  jQuery(this).select();
9
  });
10
  jQuery(document).on("click", "#wc_ast_status_delivered", function(){
11
  if(jQuery(this).prop("checked") == true){
12
+ jQuery(this).closest('tr').removeClass('disable_row');
 
13
  } else{
14
+ jQuery(this).closest('tr').addClass('disable_row');
15
+ }
16
+ });
17
+
18
+ jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
19
+ if(jQuery(this).prop("checked") == true){
20
+ jQuery(this).closest('tr').removeClass('disable_row');
21
+ } else{
22
+ jQuery(this).closest('tr').addClass('disable_row');
23
  }
24
  });
25
+ jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
26
+ if(jQuery(this).prop("checked") == true){
27
+ jQuery(this).closest('tr').removeClass('disable_row');
28
+ } else{
29
+ jQuery(this).closest('tr').addClass('disable_row');
30
+ }
31
+ });
32
+
33
  jQuery(document).on("change", "#wc_ast_select_email_type", function(){
34
  jQuery("#content2 ").block({
35
  message: null,
67
  });
68
  jQuery( document ).ready(function() {
69
  jQuery(".woocommerce-help-tip").tipTip();
70
+
71
  if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
72
+ jQuery('.status_label_color_th').show();
 
73
  } else{
74
+ jQuery('.status_label_color_th').hide();
75
+ }
76
+
77
+ if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
78
+ jQuery('.partial_shipped_status_label_color_th').show();
79
+ } else{
80
+ jQuery('.partial_shipped_status_label_color_th').hide();
81
  }
82
 
83
+ jQuery('#wc_ast_status_label_color').wpColorPicker({
84
+ change: function(e, ui) {
85
+ var color = ui.color.toString();
86
+ jQuery('.order-status-table .order-label.wc-delivered').css('background',color);
87
+ },
88
+ });
89
+ jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
90
+ change: function(e, ui) {
91
+ var color = ui.color.toString();
92
+ jQuery('.order-status-table .order-label.wc-partially-shipped').css('background',color);
93
+ },
94
+ });
95
+ jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
96
+ change: function(e, ui) {
97
+ var color = ui.color.toString();
98
+ jQuery('.order-status-table .order-label.wc-updated-tracking').css('background',color);
99
+ },
100
+ });
101
+ jQuery('#wc_ast_select_primary_color').wpColorPicker({
102
+ change: function(e, ui) {
103
+ var color = ui.color.toString();
104
+ jQuery('#tracking_preview_iframe').contents().find('.bg-secondary').css('background-color',color);
105
+ jQuery('#tracking_preview_iframe').contents().find('.tracker-progress-bar-with-dots .secondary .dot').css('border-color',color);
106
+ jQuery('#tracking_preview_iframe').contents().find('.text-secondary').css('color',color);
107
+ jQuery('#tracking_preview_iframe').contents().find('.progress-bar.bg-secondary:before').css('background-color',color);
108
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-number').css('color',color);
109
+ jQuery('#tracking_preview_iframe').contents().find('.view_table_rows').css('color',color);
110
+ jQuery('#tracking_preview_iframe').contents().find('.hide_table_rows').css('color',color);
111
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-detail.tracking-layout-2').css('color',color);
112
+ jQuery('#tracking_preview_iframe').contents().find('.view_old_details').css('color',color);
113
+ jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').css('color',color);
114
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-table tbody tr td').css('color',color);
115
+ },
116
+ });
117
+ jQuery('#wc_ast_select_border_color').wpColorPicker({
118
+ change: function(e, ui) {
119
+ var color = ui.color.toString();
120
+ jQuery('#tracking_preview_iframe').contents().find('.col.tracking-detail').css('border','1px solid '+color);
121
+ },
122
+ });
123
  jQuery('.color_field input').wpColorPicker();
124
  });
125
+ jQuery(document).on("change", "#wc_ast_status_label_font_color", function(){
126
+ var font_color = jQuery(this).val();
127
+ jQuery('.order-status-table .order-label.wc-delivered').css('color',font_color);
128
+ });
129
+ jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
130
+ var font_color = jQuery(this).val();
131
+ jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
132
+ });
133
+ jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
134
+ var font_color = jQuery(this).val();
135
+ jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
136
+ });
137
  jQuery(document).on("click", '#variable_tag #var_input', function(e){
138
  jQuery(this).focus();
139
  jQuery(this).select();
assets/js/shipping_row.js CHANGED
@@ -7,6 +7,7 @@
7
 
8
  var $wc_ast_settings_form = $("#wc_ast_settings_form");
9
  var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
 
10
 
11
 
12
  var wc_table_rate_rows = {
@@ -28,6 +29,7 @@
28
 
29
  $wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
30
  $wc_ast_trackship_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
 
31
 
32
  $(".tipTip").tipTip();
33
 
@@ -59,7 +61,45 @@
59
  $wc_ast_trackship_form.find(".spinner").removeClass("active");
60
  var snackbarContainer = document.querySelector('#demo-toast-example');
61
  var data = {message: 'Data saved successfully.'};
62
- snackbarContainer.MaterialSnackbar.showSnackbar(data);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  //$wc_ast_settings_form.find(".success_msg").show();
64
  });
65
 
@@ -201,6 +241,7 @@ jQuery(document).on("change", ".wc_ast_default_provider", function(){
201
  });
202
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
203
  jQuery('.csv_upload_status li').remove();
 
204
  jQuery('.progress_title').hide();
205
  var form = jQuery('#wc_ast_upload_csv_form');
206
  var error;
@@ -240,8 +281,11 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
240
  var reader = new FileReader();
241
  reader.onload = function (e) {
242
  var trackings = new Array();
243
- var rows = e.target.result.split("\r\n");
244
-
 
 
 
245
  for (var i = 1; i < rows.length; i++) {
246
  var cells = rows[i].split(",");
247
  if (cells.length > 1) {
@@ -256,7 +300,8 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
256
  }
257
  }
258
  }
259
- var csv_length = trackings.length;
 
260
  jQuery("#wc_ast_upload_csv_form")[0].reset();
261
  jQuery("#p1 .progressbar").css('background-color','rgb(63,81,181)');
262
  var querySelector = document.querySelector('#p1');
@@ -292,6 +337,7 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
292
 
293
  jQuery('.csv_upload_status').append(data);
294
  var progress = (index+1)*100/csv_length;
 
295
  jQuery('.progress_title').show();
296
  querySelector.MaterialProgress.setProgress(progress);
297
  if(progress == 100){
@@ -471,9 +517,9 @@ jQuery(document).on( "input", "#search_provider", function(){
471
  data: ajax_data,
472
  type: 'POST',
473
  success: function(response) {
474
- jQuery(".provider_list").replaceWith(response);
475
- //jQuery("#content1 ").unblock();
476
- componentHandler.upgradeAllRegistered();
477
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
478
  jQuery('.provider').each(function() {
479
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
@@ -483,11 +529,17 @@ jQuery(document).on( "input", "#search_provider", function(){
483
  var hascountry= country.indexOf(searchvalue)!==-1;
484
 
485
  if (hasprovider || hascountry) {
486
- jQuery(this).show();
487
- } else {
 
488
  jQuery(this).hide();
489
  }
490
  });
 
 
 
 
 
491
  },
492
  error: function(response) {
493
  }
@@ -502,6 +554,8 @@ jQuery(document).on("click", ".popupclose", function(){
502
  jQuery('.edit_provider_popup').hide();
503
  jQuery('.sync_provider_popup').hide();
504
  jQuery('.how_to_video_popup').hide();
 
 
505
  });
506
  jQuery(document).on("click", ".close_synch_popup", function(){
507
  jQuery('.sync_provider_popup').hide();
@@ -592,7 +646,7 @@ jQuery(document).on("click", ".remove", function(){
592
  var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
593
  if (r === true) {
594
  } else {
595
- $("#content1").unblock();
596
  return;
597
  }
598
  var id = jQuery(this).data('pid');
@@ -642,7 +696,7 @@ jQuery(document).on("click", ".edit_provider", function(){
642
  jQuery('.edit_provider_popup #thumb_url').val(image);
643
  jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
644
  jQuery('.edit_provider_popup #provider_id').val(id);
645
- $(".edit_provider_popup #shipping_country").val(shipping_country);
646
  jQuery('.edit_provider_popup').show();
647
  //console.log(provider_name);
648
  },
@@ -724,7 +778,7 @@ jQuery(document).on("click", ".reset_active", function(){
724
  var r = confirm( 'Do you really want to change all provider status to active?' );
725
  if (r === true) {
726
  } else {
727
- $("#content1").unblock();
728
  return;
729
  }
730
 
@@ -760,7 +814,7 @@ jQuery(document).on("click", ".reset_inactive", function(){
760
  var r = confirm( 'Do you really want to change all provider status to inactive?' );
761
  if (r === true) {
762
  } else {
763
- $("#content1").unblock();
764
  return;
765
  }
766
 
@@ -799,27 +853,32 @@ jQuery(document).on("click", ".sync_providers_btn", function(){
799
  data: ajax_data,
800
  type: 'POST',
801
  dataType: "json",
802
- success: function(response) {
803
- console.log(response.updated_data);
804
  jQuery('.sync_provider_popup .spinner').removeClass('active');
805
  jQuery(".provider_list").replaceWith(response.html);
806
  jQuery('.status_filter a').removeClass('active');
807
  jQuery("[data-status=active]").addClass('active');
808
 
809
- jQuery(".providers_added span").text(response.added);
810
- if(response.added > 0 ){
811
- jQuery( ".providers_added" ).append( response.added_html );
812
- }
813
-
814
- jQuery(".providers_updated span").text(response.updated);
815
- if(response.updated > 0 ){
816
- jQuery( ".providers_updated" ).append( response.updated_html );
817
- }
818
-
819
- jQuery(".providers_deleted span").text(response.deleted);
820
- if(response.deleted > 0 ){
821
- jQuery( ".providers_deleted" ).append( response.deleted_html );
 
 
 
 
 
822
  }
 
823
  jQuery(".synch_result").show();
824
  jQuery(".sync_providers_btn").hide();
825
  jQuery(".close_synch_popup").show();
@@ -881,7 +940,25 @@ jQuery(document).on("change", "#wcast_enable_delivered_email", function(){
881
  }
882
  componentHandler.upgradeAllRegistered();
883
  });
884
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
885
 
886
  jQuery(document).click(function(){
887
  var $trigger = jQuery(".dropdown");
@@ -964,19 +1041,201 @@ jQuery(document).on("click", ".bulk_shipment_status_button_for_empty_balance", f
964
  return false;
965
  });
966
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
967
  jQuery(document).on("click", ".tab_input", function(){
968
  var tab = jQuery(this).data('tab');
969
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
970
  window.history.pushState({path:url},'',url);
971
  });
 
 
 
 
 
972
 
973
  jQuery(document).on("click", ".open_video_popup", function(){
974
  jQuery('.how_to_video_popup').show();
975
  });
976
 
 
 
 
 
 
 
 
977
  jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
978
  jQuery('#how_to_video').each(function(index) {
979
  jQuery(this).attr('src', jQuery(this).attr('src'));
980
  return false;
981
  });
982
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  var $wc_ast_settings_form = $("#wc_ast_settings_form");
9
  var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
10
+ var $wc_ast_addons_form = $("#wc_ast_addons_form");
11
 
12
 
13
  var wc_table_rate_rows = {
29
 
30
  $wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
31
  $wc_ast_trackship_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
32
+ $wc_ast_addons_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_addons_form );
33
 
34
  $(".tipTip").tipTip();
35
 
61
  $wc_ast_trackship_form.find(".spinner").removeClass("active");
62
  var snackbarContainer = document.querySelector('#demo-toast-example');
63
  var data = {message: 'Data saved successfully.'};
64
+ snackbarContainer.MaterialSnackbar.showSnackbar(data);
65
+ });
66
+
67
+ },
68
+
69
+ save_wc_ast_addons_form: function( event ) {
70
+ event.preventDefault();
71
+
72
+ $wc_ast_addons_form.find(".spinner").addClass("active");
73
+ jQuery('.pesan').hide();
74
+ var action = jQuery('#ast-license-action').val();
75
+ //$wc_ast_settings_form.find(".success_msg").hide();
76
+ var ajax_data = $wc_ast_addons_form.serialize();
77
+
78
+ $.post( ajaxurl, ajax_data, function(data) {
79
+ $wc_ast_addons_form.find(".spinner").removeClass("active");
80
+ jQuery('.pesan').show();
81
+ //console.log(data);
82
+ var btn_value = 'Activate';
83
+ if(data.success == 'true'){
84
+ if(action == 'ast_product_license_activate'){
85
+ var btn_value = 'Deactivate';
86
+ jQuery('#ast-license-action').val('esre_license_deactivate');
87
+ jQuery('.pesan').html('Congratulation, your license successful activated');
88
+ jQuery('.activated').show();
89
+ window.location.reload();
90
+ } else {
91
+ jQuery('#ast-license-action').val('esre_license_activate');
92
+ jQuery('#ast_product_license_key').val('');
93
+ jQuery('#ast_product_license_email').val('');
94
+ jQuery('.pesan').html('<span style="color:green;">Congratulation, your license successful deactivated</span>');
95
+ jQuery('.activated').hide();
96
+ window.location.reload();
97
+ }
98
+ } else {
99
+ jQuery('.pesan').html('<span style="color:red;">'+data.message+'</span>');
100
+ }
101
+
102
+ jQuery('#saveS').prop('disabled', false).val(btn_value);
103
  //$wc_ast_settings_form.find(".success_msg").show();
104
  });
105
 
241
  });
242
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
243
  jQuery('.csv_upload_status li').remove();
244
+ jQuery('.bulk_upload_status_tr').hide();
245
  jQuery('.progress_title').hide();
246
  var form = jQuery('#wc_ast_upload_csv_form');
247
  var error;
281
  var reader = new FileReader();
282
  reader.onload = function (e) {
283
  var trackings = new Array();
284
+ var rows = e.target.result.split("\r\n");
285
+ if(rows.length <= 1){
286
+ alert('There are some issue with CSV file.');
287
+ return false;
288
+ }
289
  for (var i = 1; i < rows.length; i++) {
290
  var cells = rows[i].split(",");
291
  if (cells.length > 1) {
300
  }
301
  }
302
  }
303
+ var csv_length = trackings.length;
304
+
305
  jQuery("#wc_ast_upload_csv_form")[0].reset();
306
  jQuery("#p1 .progressbar").css('background-color','rgb(63,81,181)');
307
  var querySelector = document.querySelector('#p1');
337
 
338
  jQuery('.csv_upload_status').append(data);
339
  var progress = (index+1)*100/csv_length;
340
+ jQuery('.bulk_upload_status_tr').show();
341
  jQuery('.progress_title').show();
342
  querySelector.MaterialProgress.setProgress(progress);
343
  if(progress == 100){
517
  data: ajax_data,
518
  type: 'POST',
519
  success: function(response) {
520
+ jQuery(".provider_list").replaceWith(response);
521
+ componentHandler.upgradeAllRegistered();
522
+ var provider_found = false;
523
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
524
  jQuery('.provider').each(function() {
525
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
529
  var hascountry= country.indexOf(searchvalue)!==-1;
530
 
531
  if (hasprovider || hascountry) {
532
+ jQuery(this).show();
533
+ provider_found = true;
534
+ } else {
535
  jQuery(this).hide();
536
  }
537
  });
538
+ if(provider_found == false){
539
+ jQuery(".provider_list").append('<h3 class="not_found_label">No Shipping Providers Found.</h3>');
540
+ } else{
541
+ jQuery(".not_found_label").remove();
542
+ }
543
  },
544
  error: function(response) {
545
  }
554
  jQuery('.edit_provider_popup').hide();
555
  jQuery('.sync_provider_popup').hide();
556
  jQuery('.how_to_video_popup').hide();
557
+ jQuery('.ts_video_popup').hide();
558
+ jQuery('.tracking_item_video_popup').hide();
559
  });
560
  jQuery(document).on("click", ".close_synch_popup", function(){
561
  jQuery('.sync_provider_popup').hide();
646
  var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
647
  if (r === true) {
648
  } else {
649
+ jQuery("#content1").unblock();
650
  return;
651
  }
652
  var id = jQuery(this).data('pid');
696
  jQuery('.edit_provider_popup #thumb_url').val(image);
697
  jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
698
  jQuery('.edit_provider_popup #provider_id').val(id);
699
+ jQuery(".edit_provider_popup #shipping_country").val(shipping_country);
700
  jQuery('.edit_provider_popup').show();
701
  //console.log(provider_name);
702
  },
778
  var r = confirm( 'Do you really want to change all provider status to active?' );
779
  if (r === true) {
780
  } else {
781
+ jQuery("#content1").unblock();
782
  return;
783
  }
784
 
814
  var r = confirm( 'Do you really want to change all provider status to inactive?' );
815
  if (r === true) {
816
  } else {
817
+ jQuery("#content1").unblock();
818
  return;
819
  }
820
 
853
  data: ajax_data,
854
  type: 'POST',
855
  dataType: "json",
856
+ success: function(response) {
 
857
  jQuery('.sync_provider_popup .spinner').removeClass('active');
858
  jQuery(".provider_list").replaceWith(response.html);
859
  jQuery('.status_filter a').removeClass('active');
860
  jQuery("[data-status=active]").addClass('active');
861
 
862
+ if(response.sync_error == 1 ){
863
+ jQuery( ".sync_message" ).text( response.message );
864
+ jQuery( ".sync_providers_btn" ).text( 'Retry' );
865
+ } else{
866
+ jQuery(".providers_added span").text(response.added);
867
+ if(response.added > 0 ){
868
+ jQuery( ".providers_added" ).append( response.added_html );
869
+ }
870
+
871
+ jQuery(".providers_updated span").text(response.updated);
872
+ if(response.updated > 0 ){
873
+ jQuery( ".providers_updated" ).append( response.updated_html );
874
+ }
875
+
876
+ jQuery(".providers_deleted span").text(response.deleted);
877
+ if(response.deleted > 0 ){
878
+ jQuery( ".providers_deleted" ).append( response.deleted_html );
879
+ }
880
  }
881
+
882
  jQuery(".synch_result").show();
883
  jQuery(".sync_providers_btn").hide();
884
  jQuery(".close_synch_popup").show();
940
  }
941
  componentHandler.upgradeAllRegistered();
942
  });
943
+ jQuery(document).on("change", "#wc_ast_status_delivered", function(){
944
+ if(jQuery(this).prop("checked") == false){
945
+ jQuery('#wcast_enable_delivered_email')[0].checked = false;
946
+ }
947
+ if(jQuery(this).prop("checked") == true && jQuery("#wcast_enable_delivered_email").prop("checked") == true){
948
+ jQuery('.delivered_shipment_label').addClass('delivered_enabel');
949
+ jQuery('.delivered_shipment_label .email_heading').addClass('disabled_link');
950
+ jQuery('.delivered_shipment_label .edit_customizer_a').addClass('disabled_link');
951
+ jQuery('.delivered_shipment_label .delivered_message').addClass('disable_delivered');
952
+ jQuery('#wcast_enable_delivered_status_email').prop('disabled', true);
953
+ } else{
954
+ jQuery('.delivered_shipment_label').removeClass('delivered_enabel');
955
+ jQuery('.delivered_shipment_label .email_heading').removeClass('disabled_link');
956
+ jQuery('.delivered_shipment_label .edit_customizer_a').removeClass('disabled_link');
957
+ jQuery('.delivered_shipment_label .delivered_message').removeClass('disable_delivered');
958
+ jQuery('#wcast_enable_delivered_status_email').removeAttr('disabled');
959
+ }
960
+ componentHandler.upgradeAllRegistered();
961
+ });
962
 
963
  jQuery(document).click(function(){
964
  var $trigger = jQuery(".dropdown");
1041
  return false;
1042
  });
1043
 
1044
+ jQuery(document).on("click", ".bulk_shipment_status_button_for_do_connection", function(){
1045
+ jQuery("#content3").block({
1046
+ message: null,
1047
+ overlayCSS: {
1048
+ background: "#fff",
1049
+ opacity: .6
1050
+ }
1051
+ });
1052
+ var ajax_data = {
1053
+ action: 'bulk_shipment_status_for_do_connection_from_settings',
1054
+ };
1055
+ jQuery.ajax({
1056
+ url: ajaxurl,
1057
+ data: ajax_data,
1058
+ type: 'POST',
1059
+ success: function(response) {
1060
+ jQuery("#content3").unblock();
1061
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).after( "<div class='bulk_shipment_status_success'>Tracking info sent to Trackship for all Orders.</div>" );
1062
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).attr("disabled", true);
1063
+ },
1064
+ error: function(response) {
1065
+ console.log(response);
1066
+ }
1067
+ });
1068
+ return false;
1069
+ });
1070
+
1071
  jQuery(document).on("click", ".tab_input", function(){
1072
  var tab = jQuery(this).data('tab');
1073
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1074
  window.history.pushState({path:url},'',url);
1075
  });
1076
+ jQuery(document).on("click", ".inner_tab_input", function(){
1077
+ var tab = jQuery(this).data('tab');
1078
+ var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1079
+ window.history.pushState({path:url},'',url);
1080
+ });
1081
 
1082
  jQuery(document).on("click", ".open_video_popup", function(){
1083
  jQuery('.how_to_video_popup').show();
1084
  });
1085
 
1086
+ jQuery(document).on("click", ".ts_addons_header", function(){
1087
+ jQuery('.ts_video_popup').show();
1088
+ });
1089
+ jQuery(document).on("click", ".tracking_item_addons_header", function(){
1090
+ jQuery('.tracking_item_video_popup').show();
1091
+ });
1092
+
1093
  jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
1094
  jQuery('#how_to_video').each(function(index) {
1095
  jQuery(this).attr('src', jQuery(this).attr('src'));
1096
  return false;
1097
  });
1098
+ });
1099
+ jQuery(document).on("click", ".ts_video_popup .popupclose", function(){
1100
+ jQuery('#ts_video').each(function(index) {
1101
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1102
+ return false;
1103
+ });
1104
+ });
1105
+ jQuery(document).on("click", ".tracking_item_video_popup .popupclose", function(){
1106
+ jQuery('#trackin_per_item_video').each(function(index) {
1107
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1108
+ return false;
1109
+ });
1110
+ });
1111
+ jQuery(document).on("change", "#wc_ast_use_tracking_page", function(){
1112
+ if(jQuery(this).prop("checked") == true){
1113
+ jQuery('.tracking_page_table').show();
1114
+ jQuery('#tracking_preview_iframe').height( '' );
1115
+ jQuery(this).closest('table').removeClass('disable_tracking_page');
1116
+ setTimeout(
1117
+ function()
1118
+ {
1119
+ var iframe = document.getElementById("tracking_preview_iframe");
1120
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1121
+ }, 1000);
1122
+ } else{
1123
+ jQuery('.tracking_page_table').hide();
1124
+ jQuery(this).closest('table').addClass('disable_tracking_page');
1125
+ }
1126
+ });
1127
+
1128
+ jQuery(document).on("change", ".select_t_layout_section .radio-img", function(){
1129
+ jQuery('#tracking_preview_iframe').height( '' );
1130
+ var val = jQuery(this).val();
1131
+ if(val == 't_layout_1'){
1132
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').show();
1133
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').hide();
1134
+ } else{
1135
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').hide();
1136
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').show();
1137
+ }
1138
+ var iframe = document.getElementById("tracking_preview_iframe");
1139
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1140
+ });
1141
+
1142
+ jQuery('#tracking_preview_iframe').load(function(){
1143
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1144
+ iframe.find(".view_old_details").click(function(){
1145
+ jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').show();
1146
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeIn();
1147
+ jQuery('#tracking_preview_iframe').height( '' );
1148
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1149
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1150
+ });
1151
+ });
1152
+
1153
+ jQuery('#tracking_preview_iframe').load(function(){
1154
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1155
+ iframe.find(".hide_old_details").click(function(){
1156
+ jQuery('#tracking_preview_iframe').contents().find('.view_old_details').show();
1157
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeOut();
1158
+ jQuery('#tracking_preview_iframe').height( '' );
1159
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1160
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1161
+ });
1162
+ });
1163
+
1164
+ jQuery(document).on("click", "#wc_ast_hide_tracking_provider_image", function(){
1165
+ if(jQuery(this).prop("checked") == true){
1166
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').hide();
1167
+ } else{
1168
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').show();
1169
+ }
1170
+ });
1171
+ jQuery(document).on("click", "#wc_ast_hide_tracking_events", function(){
1172
+ jQuery('#tracking_preview_iframe').height( '' );
1173
+ if(jQuery(this).prop("checked") == true){
1174
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').hide();
1175
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').hide();
1176
+ } else{
1177
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').show();
1178
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').show();
1179
+ }
1180
+ var iframe = document.getElementById("tracking_preview_iframe");
1181
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1182
+ });
1183
+ jQuery(document).on("click", "#wc_ast_remove_trackship_branding", function(){
1184
+ jQuery('#tracking_preview_iframe').height( '' );
1185
+ if(jQuery(this).prop("checked") == true){
1186
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').hide();
1187
+ } else{
1188
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').show();
1189
+ }
1190
+ var iframe = document.getElementById("tracking_preview_iframe");
1191
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1192
+ });
1193
+ jQuery(document).on("click", ".tracking_page_label", function(){
1194
+ setTimeout(
1195
+ function()
1196
+ {
1197
+ jQuery('#tracking_preview_iframe').height( '' );
1198
+ var iframe = document.getElementById("tracking_preview_iframe");
1199
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1200
+ }, 1000);
1201
+ });
1202
+ jQuery( document ).ready(function() {
1203
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1204
+ jQuery('.tracking_page_table').show();
1205
+ } else{
1206
+ jQuery('.tracking_page_table').hide();
1207
+ }
1208
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1209
+ jQuery('#wc_ast_use_tracking_page').closest('table').removeClass('disable_tracking_page');
1210
+ } else{
1211
+ jQuery('#wc_ast_use_tracking_page').closest('table').addClass('disable_tracking_page');
1212
+ }
1213
+ });
1214
+ jQuery(function(){
1215
+ jQuery('#tracking_preview_iframe').load(function(){
1216
+ var tab = getUrlParameter('tab');
1217
+ if(tab == 'tracking-page'){
1218
+ jQuery(this).show();
1219
+ var iframe = document.getElementById("tracking_preview_iframe");
1220
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1221
+ } else{
1222
+ jQuery(this).show();
1223
+ }
1224
+ });
1225
+ });
1226
+
1227
+ var getUrlParameter = function getUrlParameter(sParam) {
1228
+ var sPageURL = window.location.search.substring(1),
1229
+ sURLVariables = sPageURL.split('&'),
1230
+ sParameterName,
1231
+ i;
1232
+
1233
+ for (i = 0; i < sURLVariables.length; i++) {
1234
+ sParameterName = sURLVariables[i].split('=');
1235
+
1236
+ if (sParameterName[0] === sParam) {
1237
+ return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
1238
+ }
1239
+ }
1240
+ };
1241
+
assets/js/welcome.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).on("click", ".ast-save-setup-settings", function(){
2
+ jQuery(".ast-onboarding-step-welcome").hide();
3
+ jQuery(".ast-onboarding-step-shipping").show();
4
+ jQuery(".ast-onboarding-step-delivered").hide();
5
+ jQuery(".ast-onboarding-step-trackship").hide();
6
+ jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
7
+ jQuery(".step-welcome").addClass('ast-onboarding-wizard-step-completed');
8
+ jQuery(".step-shipping").addClass('ast-onboarding-wizard-step-active');
9
+
10
+ var $wc_ast_settings_form = jQuery('#wc_ast_settings_form');
11
+ var ajax_data = $wc_ast_settings_form.serialize();
12
+
13
+ jQuery.post( ajaxurl, ajax_data, function(response) {
14
+ });
15
+ });
16
+
17
+ jQuery(document).on("click", ".ast-save-setup-providers", function(){
18
+ jQuery(".ast-onboarding-step-welcome").hide();
19
+ jQuery(".ast-onboarding-step-shipping").hide();
20
+ jQuery(".ast-onboarding-step-delivered").show();
21
+ jQuery(".ast-onboarding-step-trackship").hide();
22
+ jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
23
+ jQuery(".step-shipping").addClass('ast-onboarding-wizard-step-completed');
24
+ jQuery(".step-delivered").addClass('ast-onboarding-wizard-step-active');
25
+ });
26
+
27
+ jQuery(document).on("click", ".ast-save-setup-delivered", function(){
28
+ jQuery(".ast-onboarding-step-welcome").hide();
29
+ jQuery(".ast-onboarding-step-shipping").hide();
30
+ jQuery(".ast-onboarding-step-delivered").hide();
31
+ jQuery(".ast-onboarding-step-trackship").show();
32
+ jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
33
+ jQuery(".step-delivered").addClass('ast-onboarding-wizard-step-completed');
34
+ jQuery(".step-trackship").addClass('ast-onboarding-wizard-step-active');
35
+
36
+ var $wc_ast_settings_form = jQuery('#wc_ast_delivered_settings_form');
37
+ var ajax_data = $wc_ast_settings_form.serialize();
38
+
39
+ jQuery.post( ajaxurl, ajax_data, function(response) {
40
+ });
41
+ });
assets/shipment-provider-img/7-eleven.png CHANGED
Binary file
assets/shipment-provider-img/apc-overnight.png ADDED
Binary file
assets/shipment-provider-img/bpost.png ADDED
Binary file
assets/shipment-provider-img/brt.png ADDED
Binary file
assets/shipment-provider-img/ceska-posta.png CHANGED
Binary file
assets/shipment-provider-img/cj-logistics.png ADDED
Binary file
assets/shipment-provider-img/cj-packet.png ADDED
Binary file
assets/shipment-provider-img/cjpacket.png ADDED
Binary file
assets/shipment-provider-img/collectplus.png ADDED
Binary file
assets/shipment-provider-img/correos-espana.png ADDED
Binary file
assets/shipment-provider-img/dpd-fr.png ADDED
Binary file
assets/shipment-provider-img/ekart.png ADDED
Binary file
assets/shipment-provider-img/ethiopia-post.png ADDED
Binary file
assets/shipment-provider-img/gls-denmark.png ADDED
Binary file
assets/shipment-provider-img/gls-spain.png ADDED
Binary file
assets/shipment-provider-img/jcex.png ADDED
Binary file
assets/shipment-provider-img/kerry-express.png ADDED
Binary file
assets/shipment-provider-img/landmark-global.png ADDED
Binary file
assets/shipment-provider-img/lion-parcel.png ADDED
Binary file
assets/shipment-provider-img/lithuania-post.png ADDED
Binary file
assets/shipment-provider-img/loomis-express.png ADDED
Binary file
assets/shipment-provider-img/magyar-posta.png ADDED
Binary file
assets/shipment-provider-img/ontime.png ADDED
Binary file
assets/shipment-provider-img/poste-italiane.png ADDED
Binary file
assets/shipment-provider-img/redpack.png ADDED
Binary file
assets/shipment-provider-img/russian-post.png ADDED
Binary file
assets/shipment-provider-img/sagawa.png ADDED
Binary file
assets/shipment-provider-img/saudi-post.png ADDED
Binary file
assets/shipment-provider-img/serbia-post.png ADDED
Binary file
assets/shipment-provider-img/shadowfax.png ADDED
Binary file
assets/shipment-provider-img/spee-dee.png ADDED
Binary file
assets/shipment-provider-img/thailand-post.png ADDED
Binary file
assets/shipment-provider-img/toll-ipec.png ADDED
Binary file
assets/shipment-provider-img/toll.png ADDED
Binary file
assets/shipment-provider-img/trackon.png ADDED
Binary file
assets/shipment-provider-img/yodel.png ADDED
Binary file
assets/tracking.csv CHANGED
@@ -2,9 +2,3 @@ order_id,tracking_provider,tracking_number,date_shipped,status_shipped
2
  1,UPS,number123,12-03-2019,1
3
  2,USPS,dfsdf23123,12-03-2019,1
4
  3,DHL,dfsdf45swd,12-03-2019,0
5
- ,,,,
6
- ,,,,
7
- ,,,,
8
- ,,,,
9
- ,,,,
10
- ,,,,
2
  1,UPS,number123,12-03-2019,1
3
  2,USPS,dfsdf23123,12-03-2019,1
4
  3,DHL,dfsdf45swd,12-03-2019,0
 
 
 
 
 
 
includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php CHANGED
@@ -82,7 +82,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
82
  'schema' => array( $this, 'get_public_item_schema' ),
83
  ) );
84
 
85
- register_rest_route( $this->namespace, '/update_user_key', array(
86
  array(
87
  'methods' => WP_REST_Server::CREATABLE,
88
  'callback' => array( $this, 'update_user_key' ),
@@ -94,7 +94,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
94
  ) ),
95
  ),
96
  'schema' => array( $this, 'get_public_item_schema' ),
97
- ) );
98
 
99
  //disconnect_from_trackship
100
  register_rest_route( $this->namespace, '/disconnect_from_trackship', array(
@@ -132,6 +132,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
132
  ) );
133
 
134
  //check_wcast_installed_from_third_party_tool
 
135
  register_rest_route( $this->namespace, '/check_wcast_installed_from_third_party_tool', array(
136
  array(
137
  'methods' => 'GET',
@@ -153,12 +154,12 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
153
  return rest_ensure_response( $data );
154
  }
155
 
156
- /*
157
  * check_wcast_installed
158
  */
159
  public function check_wcast_installed( $request ){
160
  $wc_ast_api_key = get_option('wc_ast_api_key');
161
- $wc_ast_api_enabled = get_option('wc_ast_api_enabled');
162
  if(empty($wc_ast_api_key)){
163
  update_option('wc_ast_api_key',$request['user_key']);
164
  }
@@ -166,6 +167,13 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
166
  update_option('wc_ast_api_enabled',1);
167
  }
168
 
 
 
 
 
 
 
 
169
  $data = array(
170
  'status' => 'installed'
171
  );
@@ -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'] ),
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 );
 
 
 
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'] ),
includes/class-wc-advanced-shipment-tracking-admin.php CHANGED
@@ -5,11 +5,21 @@ if ( ! defined( 'ABSPATH' ) ) {
5
 
6
  class WC_Advanced_Shipment_Tracking_Admin {
7
 
 
 
 
 
 
 
8
  /**
9
  * Initialize the main plugin function
10
  */
11
  public function __construct() {
12
-
 
 
 
 
13
  global $wpdb;
14
  if( is_multisite() ){
15
  if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
@@ -55,44 +65,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
55
 
56
  //database check
57
  add_action( 'init', array( $this, 'database_table_check') );
58
-
59
- //rename order status + rename bulk action + rename filter
60
- add_filter( 'wc_order_statuses', array( $this, 'wc_renaming_order_status') );
61
- add_filter( 'woocommerce_register_shop_order_post_statuses', array( $this, 'filter_woocommerce_register_shop_order_post_statuses'), 10, 1 );
62
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'modify_bulk_actions'), 50, 1 );
63
-
64
- //new order status
65
- $newstatus = get_option( "wc_ast_status_delivered", 0);
66
- if( $newstatus == true ){
67
- //register order status
68
- add_action( 'init', array( $this, 'register_order_status') );
69
- //add status after completed
70
- add_filter( 'wc_order_statuses', array( $this, 'add_delivered_to_order_statuses') );
71
- //Custom Statuses in admin reports
72
- add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_custom_order_status_to_reports'), 20, 1 );
73
- // for automate woo to check order is paid
74
- add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'delivered_woocommerce_order_is_paid_statuses' ) );
75
- //add bulk action
76
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions'), 50, 1 );
77
- }
78
-
79
  //cron_schedules
80
- add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
81
- //cron hook
82
- //add_action( WC_Advanced_Shipment_Tracking_Cron::CRON_HOOK, array( $this, 'wc_ast_cron_callback' ) );
83
-
84
- //filter in shipped orders
85
- add_filter( 'is_order_shipped', array( $this, "check_tracking_exist" ),10,2);
86
- add_filter( 'is_order_shipped', array( $this, "check_order_status" ),5,2);
87
-
88
- $wc_ast_status_delivered = get_option('wc_ast_status_delivered');
89
- if($wc_ast_status_delivered == 1){
90
- add_action( 'woocommerce_order_actions', array( $this, 'add_order_meta_box_actions' ) );
91
- add_action( 'woocommerce_order_action_resend_delivered_order_notification', array( $this, 'process_order_meta_box_actions' ) );
92
- }
93
 
94
- //batch process cron hook
95
- //add_action( 'wc_ast_batch_process', array( $this, 'wc_ast_batch_process_callback' ) );
 
 
 
96
 
97
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
98
  if( $api_enabled == true ){
@@ -113,6 +94,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
113
  // Bulk shipment status sync for empty balance ajax call from settings
114
  add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
115
 
 
 
 
116
  // The results notice from bulk action on orders
117
  add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
118
 
@@ -122,9 +106,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
122
 
123
  // add bulk order filter for exported / non-exported orders
124
  add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
125
- add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
126
 
127
- add_action( 'wp_dashboard_setup', array( $this, 'ast_add_dashboard_widgets') );
 
128
  }
129
 
130
  // trigger when order status changed to shipped or completed
@@ -141,7 +126,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
141
 
142
  add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
143
 
144
- add_action( 'admin_footer', array( $this, 'footer_function') );
145
 
146
  // filter for shipment status
147
  add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
@@ -173,12 +158,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
173
 
174
  add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
175
 
176
- add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
177
 
178
- add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun') );
179
-
180
- // Hook for add admin body class in settings page
181
- add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
182
  }
183
 
184
  /*
@@ -199,143 +183,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
199
  require_once ABSPATH . '/wp-admin/includes/upgrade.php';
200
  }
201
  maybe_create_table( $table_name, $sql );
202
- }
203
-
204
- /*
205
- * Add class in admin settings page
206
- */
207
- public function ahipment_tracking_admin_body_class($classes){
208
- if( $_GET['page'] == 'woocommerce-advanced-shipment-tracking') {
209
- $classes .= 'shipment_tracking_admin_settings';
210
- }
211
- return $classes;
212
- }
213
-
214
- /*
215
- * Rename WooCommerce Order Status
216
- */
217
- function wc_renaming_order_status( $order_statuses ) {
218
-
219
- $enable = get_option( "wc_ast_status_shipped", 0);
220
- if( $enable == false )return $order_statuses;
221
-
222
- foreach ( $order_statuses as $key => $status ) {
223
- $new_order_statuses[ $key ] = $status;
224
- if ( 'wc-completed' === $key ) {
225
- $order_statuses['wc-completed'] = esc_html__( 'Shipped','woo-advanced-shipment-tracking' );
226
- }
227
- }
228
- return $order_statuses;
229
- }
230
-
231
- /*
232
- * define the woocommerce_register_shop_order_post_statuses callback
233
- * rename filter
234
- * rename from completed to shipped
235
- */
236
- function filter_woocommerce_register_shop_order_post_statuses( $array ) {
237
-
238
- $enable = get_option( "wc_ast_status_shipped", 0);
239
- if( $enable == false )return $array;
240
-
241
- if( isset( $array[ 'wc-completed' ] ) ){
242
- $array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
243
- }
244
- return $array;
245
- }
246
-
247
- /*
248
- * rename bulk action
249
- */
250
- function modify_bulk_actions($bulk_actions) {
251
-
252
- $enable = get_option( "wc_ast_status_shipped", 0);
253
- if( $enable == false )return $bulk_actions;
254
-
255
- if( isset( $bulk_actions['mark_completed'] ) ){
256
- $bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
257
- }
258
- return $bulk_actions;
259
- }
260
-
261
- /**
262
- * Register new status : Delivered
263
- **/
264
- function register_order_status() {
265
- register_post_status( 'wc-delivered', array(
266
- 'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
267
- 'public' => true,
268
- 'show_in_admin_status_list' => true,
269
- 'show_in_admin_all_list' => true,
270
- 'exclude_from_search' => false,
271
- 'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
272
- ) );
273
- $wc_ast_api_key = get_option('wc_ast_api_key');
274
- $api_enabled = get_option( "wc_ast_api_enabled", 0);
275
- if($wc_ast_api_key && $api_enabled){
276
- register_post_status( 'wc-updated-tracking', array(
277
- 'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
278
- 'public' => true,
279
- 'show_in_admin_status_list' => true,
280
- 'show_in_admin_all_list' => true,
281
- 'exclude_from_search' => false,
282
- 'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
283
- ) );
284
- }
285
- }
286
-
287
- /*
288
- * add status after completed
289
- */
290
- function add_delivered_to_order_statuses( $order_statuses ) {
291
- $new_order_statuses = array();
292
- foreach ( $order_statuses as $key => $status ) {
293
- $new_order_statuses[ $key ] = $status;
294
- if ( 'wc-completed' === $key ) {
295
- $new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
296
- //$new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
297
- }
298
- }
299
- $wc_ast_api_key = get_option('wc_ast_api_key');
300
- $api_enabled = get_option( "wc_ast_api_enabled", 0);
301
- if($wc_ast_api_key && $api_enabled){
302
- foreach ( $order_statuses as $key => $status ) {
303
- $new_order_statuses[ $key ] = $status;
304
- if ( 'wc-completed' === $key ) {
305
- //$new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
306
- $new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
307
- }
308
- }
309
- }
310
- return $new_order_statuses;
311
- }
312
-
313
- /*
314
- * Adding the custom order status to the default woocommerce order statuses
315
- */
316
- function include_custom_order_status_to_reports( $statuses ){
317
- if($statuses)$statuses[] = 'delivered';
318
- if($statuses)$statuses[] = 'updated-tracking';
319
- return $statuses;
320
- }
321
-
322
- /*
323
- * mark status as a paid.
324
- */
325
- function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
326
- $statuses[] = 'delivered';
327
- $statuses[] = 'updated-tracking';
328
- return $statuses;
329
- }
330
-
331
- /*
332
- * add bulk action
333
- * Change order status to delivered
334
- */
335
- function add_bulk_actions( $bulk_actions ){
336
- $bulk_actions['mark_delivered'] = __( 'Change status to delivered', 'woo-advanced-shipment-tracking' );
337
- return $bulk_actions;
338
- }
339
 
340
  /*
341
  * add_cron_interval
@@ -390,61 +239,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
390
  }
391
  //$orders = wc_get_orders( $args );print_r($orders);exit;
392
  return $orders = wc_get_orders( $args );
393
- }
394
-
395
- /*
396
- * cron callback
397
- */
398
- function wc_ast_cron_callback(){
399
-
400
- //get shipped orders
401
- $orders = $this->get_shipped_orders();
402
-
403
- foreach( $orders as $order ){
404
- $order_shipped = apply_filters( 'is_order_shipped', true, $order );
405
-
406
- if( $order_shipped ){
407
- $this->add_in_batch_process( $order->get_id() );
408
- }
409
- }
410
-
411
- if ( ! wp_next_scheduled( 'wc_ast_batch_process' ) ) {
412
- wp_schedule_event( time(), 'wc_ast_2min', 'wc_ast_batch_process' );
413
- }
414
- }
415
-
416
- /*
417
- * tracking number filter
418
- * if number not found. return false
419
- * if number found. return true
420
- */
421
- function check_tracking_exist( $value, $order ){
422
-
423
- if($value == true){
424
-
425
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
426
- if( $tracking_items ){
427
- return true;
428
- } else {
429
- return false;
430
- }
431
- }
432
- return $value;
433
- }
434
-
435
- /*
436
- * If order status is "Updated Tracking" or "Completed" than retrn true else return false
437
- */
438
- function check_order_status($value, $order){
439
- $order_status = $order->get_status();
440
-
441
- if($order_status == 'updated-tracking' || $order_status == 'completed'){
442
- return true;
443
- } else {
444
- return false;
445
- }
446
- return $value;
447
- }
448
 
449
  /*
450
  * add in batch process
@@ -466,30 +261,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
466
  global $wpdb;
467
  $table_name = $wpdb->prefix.'shipment_batch_process';
468
  $wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
469
- }
470
-
471
- /*
472
- * batch process cron func
473
- * this will run when data in table "shipment_batch_process"
474
- * if no data cron clear
475
- */
476
- function wc_ast_batch_process_callback(){
477
- error_reporting(E_ALL); ini_set('display_errors', 1);
478
- global $wpdb;
479
- $table_name = $wpdb->prefix.'shipment_batch_process';
480
- $result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 30", ARRAY_A );
481
- $result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 2", ARRAY_A );
482
-
483
- foreach( (array)$result as $row ){
484
- $order_id = $row['order_id'];
485
- $array = $this->shipment_api_call( $order_id );
486
- $this->remove_from_batch_process( $row['id'] );
487
- }
488
-
489
- if( count($result) == 0 ){
490
- wp_clear_scheduled_hook( 'wc_ast_batch_process' );
491
- }
492
- }
493
 
494
  /*
495
  * shipment api call
@@ -531,15 +303,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
531
 
532
  foreach ( $columns as $column_name => $column_info ) {
533
 
534
- $new_columns[ $column_name ] = $column_info;
535
-
536
- /*if ( 'order_status' === $column_name ) {
537
- $new_columns['woocommerce-advanced-shipment-tracking'] = __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' );
538
- $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
539
- }*/
540
 
541
- if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
542
- //$new_columns['shipment_status_old'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
543
  $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
544
  }
545
  }
@@ -579,9 +345,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
579
 
580
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
581
  $tracking_items = $ast->get_tracking_items( $post->ID );
582
- $shipment_status = get_post_meta( $post->ID, "shipment_status", true);
583
- //echo '<pre>';print_r($shipment_status);echo '</pre>';
584
-
 
 
 
 
585
  if ( count( $tracking_items ) > 0 ) {
586
  ?>
587
  <ul class="wcast-shipment-status-list">
@@ -593,11 +363,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
593
  $status = $shipment_status[$key]['status'];
594
  $status_date = $shipment_status[$key]['status_date'];
595
  if(isset($shipment_status[$key]['est_delivery_date'])){
596
- $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
597
  }
598
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
599
  $has_est_delivery = true;
600
- }
601
  ?>
602
  <li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
603
  <div class="wcast-shipment-status-icon">
@@ -605,10 +375,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
605
  </div>
606
  <div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
607
  <span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
608
- <span class="showif_has_est_delivery_1 ft11">(<?php echo date( "d/m", strtotime($status_date))?>)</span>
609
- <span class="showif_has_est_delivery_0 ft11">on <?php echo date( "d/m", strtotime($status_date))?></span>
610
  <?php if( $has_est_delivery){?>
611
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( "d/m", strtotime($est_delivery_date))?>)</span>
612
  <?php } ?>
613
  </div>
614
  </li>
@@ -648,6 +418,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
648
 
649
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
650
 
 
 
651
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version);
652
 
653
  wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
@@ -682,6 +454,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
682
 
683
  wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
684
 
 
 
685
  wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
686
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
687
  'i18n' => array(
@@ -701,7 +475,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
701
  * WC sub menu
702
  */
703
  public function register_woocommerce_menu() {
704
- add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_options', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
705
  }
706
 
707
  /*
@@ -762,9 +536,12 @@ class WC_Advanced_Shipment_Tracking_Admin {
762
  <input id="tab4" type="radio" name="tabs" class="tab_input" data-tab="bulk-upload" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'bulk-upload'){ echo 'checked'; } ?>>
763
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
764
 
765
- <input id="tab3" type="radio" name="tabs" class="tab_input" data-tab="trackship" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'trackship' || $_GET['tab'] == 'tracking-page' || $_GET['tab'] == 'shipment-status-notifications')){ echo 'checked'; } ?>>
766
  <label for="tab3" class="tab_label">TrackShip</label>
767
 
 
 
 
768
  <div class="nav_doc_section">
769
  <a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
770
  <a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
@@ -774,6 +551,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
774
  <?php require_once( 'views/admin_options_settings.php' );?>
775
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
776
  <?php require_once( 'views/admin_options_bulk_upload.php' );?>
 
 
777
  </div>
778
  </div>
779
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
@@ -786,8 +565,25 @@ class WC_Advanced_Shipment_Tracking_Admin {
786
  <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
787
  </div>
788
  </div>
789
- <div class="popupclose"></div>
790
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
791
  <?php
792
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
793
  <script>
@@ -799,7 +595,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
799
  /*
800
  * get html of fields
801
  */
802
- private function get_html( $arrays ){
803
 
804
  $checked = '';
805
  ?>
@@ -828,12 +624,22 @@ class WC_Advanced_Shipment_Tracking_Admin {
828
  <?php if( $array['type'] == 'checkbox' ){
829
  if($id === 'wcast_enable_delivered_email'){
830
  $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
831
- if($wcast_enable_delivered_email['enabled'] === 'yes'){
 
 
832
  $checked = 'checked';
833
  } else{
834
- $checked = '';
 
 
 
 
 
 
 
 
835
  }
836
- } else{
837
  if(get_option($id)){
838
  $checked = 'checked';
839
  } else{
@@ -858,56 +664,49 @@ class WC_Advanced_Shipment_Tracking_Admin {
858
  <?php
859
  $op = 1;
860
  foreach((array)$array['options'] as $key => $val ){
861
- if($val['type'] == 'default'){
862
  $multi_checkbox_data = get_option($id);
863
- if(!$multi_checkbox_data){
864
- $multi_checkbox_data = array();
865
- $multi_checkbox_data['show_in_completed'] = 1;
866
- $data_array = array('show_in_completed' => 1);
867
- update_option( 'wc_ast_unclude_tracking_info', $data_array );
868
- }
869
- if(isset($multi_checkbox_data[$key])){
870
  $checked="checked";
871
  } else{
872
  $checked="";
873
  }?>
874
- <span class="mdl-list__item-secondary-action multiple_checkbox">
875
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="<?php echo $key?>">
876
- <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="mdl-switch__input" <?php echo $checked; ?> value="1"/>
 
877
  <span class="multiple_label"><?php echo $val['status']; ?></span>
878
  </br>
879
  </label>
880
  </span>
881
- <?php }
 
 
882
  if($val['type'] == 'custom'){
883
- $multi_checkbox_data = get_option($id);
884
- if(!$multi_checkbox_data){
885
- $multi_checkbox_data = array();
886
- $multi_checkbox_data['show_in_completed'] = 1;
887
- $data_array = array('show_in_completed' => 1);
888
- update_option( 'wc_ast_unclude_tracking_info', $data_array );
889
- }
890
- if(isset($multi_checkbox_data[$key])){
891
  $checked="checked";
892
  } else{
893
  $checked="";
894
  }
895
  if($op == 1){ ?>
896
- <div style="margin: 10px 0 15px;">
897
  <strong style="font-weight: 700;padding-bottom: 3px;">
898
  <?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
899
  </strong>
900
  </div>
901
  <?php } ?>
902
- <span class="mdl-list__item-secondary-action multiple_checkbox">
903
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="<?php echo $key?>">
904
- <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="mdl-switch__input" <?php echo $checked; ?> value="1"/>
 
905
  <span class="multiple_label"><?php echo $val['status']; ?></span>
906
  </br>
907
  </label>
908
  </span>
909
  <?php $op++; }
910
- } ?>
 
911
 
912
  <?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
913
  <?php
@@ -937,8 +736,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
937
  <?php } elseif( $array['type'] == 'title' ){?>
938
  <?php }
939
  elseif( $array['type'] == 'key_field' ){ ?>
940
- <fieldset>
941
- <!--input class="input-text regular-input " type="text" name="<?php echo $id?>" id="<?php echo $id?>" style="" value="<?php echo get_option($id)?>" placeholder="" readonly-->
942
  <?php if($array['connected'] == true){ ?>
943
  <a href="https://my.trackship.info/" target="_blank">
944
  <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
@@ -1036,6 +834,31 @@ class WC_Advanced_Shipment_Tracking_Admin {
1036
  } else{
1037
  $disable_bulk_sync_zero_balance = true;
1038
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1039
 
1040
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
1041
 
@@ -1064,6 +887,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
1064
  'button_class' => 'bulk_shipment_status_button_for_empty_balance',
1065
  'class' => '',
1066
  ),
 
 
 
 
 
 
 
 
 
1067
  );
1068
  return $form_data;
1069
  }
@@ -1133,7 +965,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1133
  $slug = $post->post_name;
1134
 
1135
  if($slug != 'ts-shipment-tracking'){
1136
- $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' );
1137
  } else{
1138
  $page_desc = '';
1139
  }
@@ -1153,6 +985,17 @@ class WC_Advanced_Shipment_Tracking_Admin {
1153
  'show' => $show_trackship_field,
1154
  'class' => '',
1155
  ),
 
 
 
 
 
 
 
 
 
 
 
1156
  'wc_ast_select_primary_color' => array(
1157
  'type' => 'color',
1158
  'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
@@ -1164,7 +1007,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
1164
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1165
  'class' => 'color_field',
1166
  'show' => $show_trackship_field,
1167
- ),
 
 
 
 
 
 
1168
  'wc_ast_hide_tracking_events' => array(
1169
  'type' => 'checkbox',
1170
  'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
@@ -1181,6 +1030,23 @@ class WC_Advanced_Shipment_Tracking_Admin {
1181
  return $form_data;
1182
 
1183
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1184
 
1185
  /*
1186
  * settings form save
@@ -1203,6 +1069,132 @@ class WC_Advanced_Shipment_Tracking_Admin {
1203
  }
1204
  }
1205
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1206
  /*
1207
  * trigger when order status changed to shipped or completed or update tracking
1208
  * param $order_id
@@ -1248,6 +1240,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1248
  'wc-on-hold' => 'On hold',
1249
  'wc-completed' => 'Completed',
1250
  'wc-delivered' => 'Delivered',
 
1251
  'wc-cancelled' => 'Cancelled',
1252
  'wc-refunded' => 'Refunded',
1253
  'wc-failed' => 'Failed'
@@ -1344,31 +1337,30 @@ class WC_Advanced_Shipment_Tracking_Admin {
1344
  $form_data = array(
1345
  'wc_ast_status_delivered' => array(
1346
  'type' => 'checkbox',
1347
- 'title' => __( 'Enable custom order status “Delivered"', 'woo-advanced-shipment-tracking' ),
1348
- 'tooltip' => __( 'if you enable the delivered item, you will have the option to send delivered email notifications.', 'woo-advanced-shipment-tracking' ),
1349
  'show' => true,
1350
  'class' => '',
1351
  ),
1352
  'wc_ast_status_label_color' => array(
1353
  'type' => 'color',
1354
- 'title' => __( 'Delivered Label color', 'woo-advanced-shipment-tracking' ),
1355
  'class' => 'status_label_color_th',
1356
  'show' => true,
1357
  ),
1358
  'wc_ast_status_label_font_color' => array(
1359
  'type' => 'dropdown',
1360
- 'title' => __( 'Delivered Label font color', 'woo-advanced-shipment-tracking' ),
1361
  'options' => array(
1362
  "" =>__( 'Select', 'woocommerce' ),
1363
- "#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
1364
- "#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
1365
  ),
1366
  'class' => 'status_label_color_th',
1367
  'show' => true,
1368
  ),
1369
  'wcast_enable_delivered_email' => array(
1370
  'type' => 'checkbox',
1371
- 'title' => __( 'Enable the Delivered order status email', 'woo-advanced-shipment-tracking' ),
1372
  'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1373
  'class' => 'status_label_color_th',
1374
  'show' => true,
@@ -1376,6 +1368,88 @@ class WC_Advanced_Shipment_Tracking_Admin {
1376
  );
1377
  return $form_data;
1378
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1379
  }
1380
 
1381
  /*
@@ -1383,31 +1457,98 @@ class WC_Advanced_Shipment_Tracking_Admin {
1383
  */
1384
  function wc_ast_settings_form_update_callback(){
1385
  if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
1386
-
1387
  $data = $this->get_settings_data();
1388
 
1389
- foreach( $data as $key => $val ){
1390
- update_option( $key, $_POST[ $key ] );
 
 
1391
  }
1392
 
1393
  $data = $this->get_delivered_data();
1394
 
1395
  foreach( $data as $key => $val ){
1396
- if($key == 'wcast_enable_delivered_email'){
1397
- $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
1398
- if($_POST['wcast_enable_delivered_email'] == 1){
1399
- $enabled = 'yes';
1400
- } else{
1401
- $enabled = 'no';
1402
- }
1403
- $opt = array(
1404
- 'enabled' => $enabled,
1405
- 'subject' => $wcast_enable_delivered_email['subject'],
1406
- 'heading' => $wcast_enable_delivered_email['heading'],
1407
- );
1408
- update_option( 'woocommerce_customer_delivered_order_settings', $opt );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1409
  }
1410
- update_option( $key, $_POST[ $key ] );
1411
  }
1412
 
1413
  echo json_encode( array('success' => 'true') );die();
@@ -1419,16 +1560,32 @@ class WC_Advanced_Shipment_Tracking_Admin {
1419
  * change style of delivered order label
1420
  */
1421
  function footer_function(){
1422
- $bg_color = get_option('wc_ast_status_label_color');
1423
- $color = get_option('wc_ast_status_label_font_color','#fff');
1424
- ?>
1425
- <style>
1426
- .order-status.status-delivered{
1427
- background: <?php echo $bg_color; ?>;
 
 
 
 
 
 
 
1428
  color: <?php echo $color; ?>;
 
 
 
 
 
 
 
 
 
 
 
1429
  }
1430
- </style>
1431
- <?php
1432
  }
1433
 
1434
  /*
@@ -1454,13 +1611,14 @@ class WC_Advanced_Shipment_Tracking_Admin {
1454
  $woo_shippment_table_name = $this->table;
1455
  $shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1456
 
 
1457
  if($shippment_provider == 0){
1458
  echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
1459
  }
1460
  if(empty($tracking_number)){
1461
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1462
  }
1463
- if(preg_match('/[^a-z0-9 \b]+/i', $tracking_number)){
1464
  echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1465
  }
1466
  if(empty($date_shipped)){
@@ -1479,20 +1637,27 @@ class WC_Advanced_Shipment_Tracking_Admin {
1479
  if ( count( $tracking_items ) > 0 ) {
1480
  foreach ( $tracking_items as $key => $item ) {
1481
  $tracking_number = $item['tracking_number'];
1482
- if(in_array($tracking_number, array_column($_POST['trackings'], 'tracking_number'))) {
 
1483
 
1484
  } else{
1485
- unset( $tracking_items[ $key ] );
1486
- }
1487
  }
1488
  $wast->save_tracking_items( $order_id, $tracking_items );
1489
  }
1490
  }
1491
  }
1492
  if($tracking_provider && $tracking_number && $date_shipped){
1493
-
 
 
 
 
 
 
1494
  $args = array(
1495
- 'tracking_provider' => wc_clean( sanitize_title($_POST['tracking_provider']) ),
1496
  'tracking_number' => wc_clean( $_POST['tracking_number'] ),
1497
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
1498
  'status_shipped' => wc_clean( $_POST['status_shipped'] ),
@@ -1588,9 +1753,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1588
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
1589
  $tracking_items = $ast->get_tracking_items( $order_id, true );
1590
  if($tracking_items){
1591
- $shipment_status = get_post_meta( $order_id, "shipment_status", true);
1592
- //echo '<pre>';print_r($shipment_status);echo '</pre>';
1593
- //echo '<pre>';print_r($tracking_items);echo '</pre>';exit;
1594
  foreach ( $tracking_items as $key => $tracking_item ) {
1595
  if( !isset($shipment_status[$key]) ){
1596
  wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
@@ -1632,6 +1795,36 @@ class WC_Advanced_Shipment_Tracking_Admin {
1632
  echo $url;die();
1633
  }
1634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1635
  /**
1636
  * Add 'get_shipment_status' link to order actions select box on edit order page
1637
  *
@@ -1662,8 +1855,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
1662
  $count = intval( $_REQUEST['processed_count'] );
1663
 
1664
  printf( '<div id="message" class="updated fade"><p>' .
1665
- _n( 'Tracking info sent to Trackship for %s Order.',
1666
- 'Tracking info sent to Trackship for %s Orders.',
1667
  $count,
1668
  'get_shipment_status'
1669
  ) . '</p></div>', $count );
@@ -1780,26 +1973,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
1780
  $this->trigger_woocommerce_order_status_completed( $order_id );
1781
  }
1782
 
1783
- /*
1784
- * define the item in the meta box by adding an item to the $actions array
1785
- */
1786
- function add_order_meta_box_actions( $actions ) {
1787
- $actions['resend_delivered_order_notification'] = __( 'Resend delivered order notification', 'woo-advanced-shipment-tracking' );
1788
- return $actions;
1789
- }
1790
-
1791
- /*
1792
- * function call when resend delivered order email notification trigger
1793
- */
1794
- function process_order_meta_box_actions($order){
1795
- require_once( 'email-manager.php' );
1796
- $old_status = 'in_transit';
1797
- $new_status = 'delivered';
1798
- $order_id = $order->get_id();
1799
- //wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1800
- WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
1801
- }
1802
-
1803
  /*
1804
  * update preview order id in customizer
1805
  */
@@ -2006,10 +2179,19 @@ class WC_Advanced_Shipment_Tracking_Admin {
2006
  </div>
2007
  </div>
2008
  <?php } } else{
2009
- $status = 'active';
2010
  ?>
2011
- <h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $status); ?></h3>
2012
- <?php } ?>
 
 
 
 
 
 
 
 
 
2013
  </div>
2014
  <?php
2015
  }
@@ -2041,6 +2223,35 @@ class WC_Advanced_Shipment_Tracking_Admin {
2041
  exit;
2042
  }
2043
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2044
  /**
2045
  * Add custom shipping provider function
2046
  */
@@ -2049,20 +2260,25 @@ class WC_Advanced_Shipment_Tracking_Admin {
2049
  global $wpdb;
2050
 
2051
  $woo_shippment_table_name = $this->table;
2052
-
 
 
 
 
2053
  $data_array = array(
2054
  'shipping_country' => sanitize_text_field($_POST['shipping_country']),
2055
  'provider_name' => sanitize_text_field($_POST['shipping_provider']),
2056
- 'ts_slug' => sanitize_title($_POST['shipping_provider']),
2057
  'provider_url' => sanitize_text_field($_POST['tracking_url']),
2058
  'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
2059
  'display_in_order' => 1,
2060
  'shipping_default' => 0,
2061
  );
 
2062
  $result = $wpdb->insert( $woo_shippment_table_name, $data_array );
2063
 
2064
  $status = 'custom';
2065
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
2066
  $html = $this->get_provider_html($default_shippment_providers,$status);
2067
  echo $html;exit;
2068
  }
@@ -2158,168 +2374,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
2158
  exit;
2159
  }
2160
 
2161
- /**
2162
- * Synch provider function
2163
- */
2164
- public function sync_providers_fun(){
2165
- global $wpdb;
2166
-
2167
- $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
2168
- $resp = wp_remote_get( $url );
2169
- $providers = json_decode($resp['body'],true);
2170
-
2171
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
2172
-
2173
- foreach ( $default_shippment_providers as $key => $val ){
2174
- $shippment_providers[ $val->provider_name ] = $val;
2175
- }
2176
-
2177
- foreach ( $providers as $key => $val ){
2178
- $providers_name[ $val['provider_name'] ] = $val;
2179
- }
2180
-
2181
- $added = 0;
2182
- $updated = 0;
2183
- $deleted = 0;
2184
- $added_html = '';
2185
- $updated_html = '';
2186
- $deleted_html = '';
2187
-
2188
- foreach($providers as $provider){
2189
-
2190
- $provider_name = $provider['shipping_provider'];
2191
- $provider_url = $provider['provider_url'];
2192
- $shipping_country = $provider['shipping_country'];
2193
- $ts_slug = $provider['shipping_provider_slug'];
2194
-
2195
- if($shippment_providers[$provider_name]){
2196
- $db_provider_url = $shippment_providers[$provider_name]->provider_url;
2197
- $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
2198
- $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
2199
- if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
2200
- $data_array = array(
2201
- 'ts_slug' => $ts_slug,
2202
- 'provider_url' => $provider_url,
2203
- 'shipping_country' => $shipping_country,
2204
- );
2205
- $where_array = array(
2206
- 'provider_name' => $provider_name,
2207
- );
2208
- $wpdb->update( $this->table, $data_array, $where_array);
2209
- $updated_data[$updated] = array('provider_name' => $provider_name);
2210
- $updated++;
2211
- }
2212
- } else{
2213
- $img_url = $provider['img_url'];
2214
-
2215
- $img_slug = sanitize_title($provider_name);
2216
- $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
2217
-
2218
- $ch = curl_init();
2219
-
2220
- curl_setopt($ch, CURLOPT_HEADER, 0);
2221
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
2222
- curl_setopt($ch, CURLOPT_URL, $img_url);
2223
-
2224
- $data = curl_exec($ch);
2225
- curl_close($ch);
2226
-
2227
- file_put_contents($img, $data);
2228
-
2229
-
2230
- $data_array = array(
2231
- 'shipping_country' => sanitize_text_field($shipping_country),
2232
- 'provider_name' => sanitize_text_field($provider_name),
2233
- 'ts_slug' => $ts_slug,
2234
- 'provider_url' => sanitize_text_field($provider_url),
2235
- 'display_in_order' => 0,
2236
- 'shipping_default' => 1,
2237
- );
2238
- $result = $wpdb->insert( $this->table, $data_array );
2239
- $added_data[$added] = array('provider_name' => $provider_name);
2240
- $added++;
2241
- }
2242
- }
2243
- foreach($default_shippment_providers as $db_provider){
2244
- if(!isset($providers_name[$db_provider->provider_name])){
2245
- $where = array(
2246
- 'provider_name' => $db_provider->provider_name,
2247
- 'shipping_default' => 1
2248
- );
2249
- $wpdb->delete( $this->table, $where );
2250
- $deleted_data[$deleted] = array('provider_name' => $db_provider->provider_name);
2251
- $deleted++;
2252
- }
2253
- }
2254
- if($added > 0){
2255
- ob_start();
2256
- $added_html = $this->added_html($added_data);
2257
- $added_html = ob_get_clean();
2258
- }
2259
- if($updated > 0){
2260
- ob_start();
2261
- $updated_html = $this->updated_html($updated_data);
2262
- $updated_html = ob_get_clean();
2263
- }
2264
- if($deleted > 0){
2265
- ob_start();
2266
- $deleted_html = $this->deleted_html($deleted_data);
2267
- $deleted_html = ob_get_clean();
2268
- }
2269
-
2270
- $status = 'active';
2271
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
2272
- ob_start();
2273
- $html = $this->get_provider_html($default_shippment_providers,$status);
2274
- $html = ob_get_clean();
2275
- echo json_encode( array('added' => $added,'added_html' =>$added_html,'updated' => $updated,'updated_html' =>$updated_html,'deleted' => $deleted,'deleted_html' =>$deleted_html,'html' => $html) );exit;
2276
- }
2277
-
2278
- /**
2279
- * Output html of added provider from sync providers
2280
- */
2281
- public function added_html($added_data){ ?>
2282
- <ul class="updated_details" id="added_providers">
2283
- <?php
2284
- foreach ( $added_data as $added ){ ?>
2285
- <li><?php echo $added['provider_name']; ?></li>
2286
- <?php }
2287
- ?>
2288
- </ul>
2289
- <a class="view_synch_details" id="view_added_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
2290
- <a class="view_synch_details" id="hide_added_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
2291
- <?php }
2292
-
2293
- /**
2294
- * Output html of updated provider from sync providers
2295
- */
2296
- public function updated_html($updated_data){ ?>
2297
- <ul class="updated_details" id="updated_providers">
2298
- <?php
2299
- foreach ( $updated_data as $updated ){ ?>
2300
- <li><?php echo $updated['provider_name']; ?></li>
2301
- <?php }
2302
- ?>
2303
- </ul>
2304
- <a class="view_synch_details" id="view_updated_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
2305
- <a class="view_synch_details" id="hide_updated_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
2306
- <?php }
2307
-
2308
- /**
2309
- * Output html of deleted provider from sync providers
2310
- */
2311
- public function deleted_html($deleted_data){ ?>
2312
- <ul class="updated_details" id="deleted_providers">
2313
- <?php
2314
- foreach ( $deleted_data as $deleted ){ ?>
2315
- <li><?php echo $deleted['provider_name']; ?></li>
2316
- <?php }
2317
- ?>
2318
- </ul>
2319
- <a class="view_synch_details" id="view_deleted_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
2320
- <a class="view_synch_details" id="hide_deleted_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
2321
- <?php }
2322
-
2323
  /**
2324
  * Add bulk filter for Shipment status in orders list
2325
  *
@@ -2357,7 +2411,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
2357
  </select>
2358
  <?php
2359
  }
2360
- }
2361
 
2362
  /**
2363
  * Get the order count for orders by shipment status
@@ -2434,215 +2488,16 @@ class WC_Advanced_Shipment_Tracking_Admin {
2434
 
2435
  return $vars;
2436
  }
 
2437
  /**
2438
- * Add a new dashboard widget.
2439
- */
2440
- public function ast_add_dashboard_widgets() {
2441
- wp_add_dashboard_widget( 'trackship_dashboard_widget', 'Tracking Analytics <small>(last 30 days)</small>', array( $this, 'dashboard_widget_function') );
2442
- }
2443
- /**
2444
- * Output the contents of the dashboard widget
2445
- */
2446
- public function dashboard_widget_function( $post, $callback_args ) {
2447
-
2448
- wp_enqueue_script( 'amcharts');
2449
- wp_enqueue_script( 'amcharts-light-theme');
2450
-
2451
- // Get orders completed.
2452
- $args = array(
2453
- //'status' => 'wc-completed',
2454
- 'limit' => -1,
2455
- 'date_created' => '>' . ( time() - 2592000 ),
2456
- );
2457
- $orders = wc_get_orders( $args );
2458
- $shipment_trackers = 0;
2459
- $shipment_status_merge = array();
2460
- $tracking_item_merge = array();
2461
- foreach($orders as $order){
2462
- $order_id = $order->get_id();
2463
-
2464
- $ast = new WC_Advanced_Shipment_Tracking_Actions;
2465
- $tracking_items = $ast->get_tracking_items( $order_id, true );
2466
-
2467
- if($tracking_items){
2468
- $shipment_status = get_post_meta( $order_id, "shipment_status", true);
2469
- $shipment_status_merge = array_merge($shipment_status_merge, $shipment_status);
2470
- foreach ( $tracking_items as $key => $tracking_item ) {
2471
- if( isset($shipment_status[$key]) ){
2472
-
2473
- $tracking_item_merge[] = $tracking_item;
2474
- $shipment_trackers++;
2475
- }
2476
- }
2477
- }
2478
- }
2479
-
2480
- //echo '<pre>';print_r($tracking_item_merge);echo '</pre>';
2481
- $shipment_status_arr = array();
2482
-
2483
- foreach ($shipment_status_merge as $key => $item) {
2484
- $shipment_status_arr[$item['status']][$key] = $item;
2485
- }
2486
-
2487
- $tracking_provider_arr = array();
2488
-
2489
- foreach ($tracking_item_merge as $key => $item) {
2490
- $tracking_provider_arr[$item['formatted_tracking_provider']][$key] = $item;
2491
- }
2492
-
2493
- ksort($shipment_status_arr, SORT_NUMERIC);
2494
- ksort($tracking_provider_arr, SORT_NUMERIC);
2495
-
2496
-
2497
-
2498
- ?>
2499
- <script type="text/javascript">
2500
- AmCharts.makeChart("ast_dashboard_status_chart",
2501
- {
2502
- "type": "serial",
2503
- "categoryField": "shipment_status",
2504
- "startDuration": 1,
2505
- "handDrawScatter": 4,
2506
- "theme": "light",
2507
- "categoryAxis": {
2508
- "autoRotateAngle": 61.2,
2509
- "autoRotateCount": 0,
2510
- "autoWrap": true,
2511
- "gridPosition": "start",
2512
- "minHorizontalGap": 10,
2513
- "offset": 1
2514
- },
2515
- "trendLines": [],
2516
- "graphs": [
2517
- {
2518
- "balloonText": " [[shipment_status]] : [[value]]",
2519
- "bulletBorderThickness": 7,
2520
- "colorField": "color",
2521
- "fillAlphas": 1,
2522
- "id": "AmGraph-1",
2523
- "lineColorField": "color",
2524
- "title": "graph 1",
2525
- "type": "column",
2526
- "valueField": "count"
2527
- }
2528
- ],
2529
- "guides": [],
2530
- "valueAxes": [
2531
- {
2532
- "id": "ValueAxis-1",
2533
- "title": ""
2534
- }
2535
- ],
2536
- "allLabels": [],
2537
- "balloon": {},
2538
- "titles": [
2539
- {
2540
- "id": "Title-1",
2541
- "size": 15,
2542
- "text": ""
2543
- }
2544
- ],
2545
- "dataProvider": [
2546
- <?php
2547
- foreach($shipment_status_arr as $status => $array){ ?>
2548
- {
2549
- "shipment_status": "<?php echo apply_filters("trackship_status_filter",$status); ?>",
2550
- "count": <?php echo count($array); ?>,
2551
- "color": "#BBE285",
2552
- },
2553
- <?php
2554
- } ?>
2555
- ]
2556
- }
2557
- );
2558
- </script>
2559
- <script type="text/javascript">
2560
- AmCharts.makeChart("ast_dashboard_providers_chart",
2561
- {
2562
- "type": "serial",
2563
- "categoryField": "shipment_provider",
2564
- "startDuration": 1,
2565
- "handDrawScatter": 4,
2566
- "theme": "light",
2567
- "categoryAxis": {
2568
- "autoRotateAngle": 61.2,
2569
- "autoRotateCount": 0,
2570
- "autoWrap": true,
2571
- "gridPosition": "start",
2572
- "minHorizontalGap": 10,
2573
- "offset": 1
2574
- },
2575
- "trendLines": [],
2576
- "graphs": [
2577
- {
2578
- "balloonText": " [[shipment_provider]] : [[value]]",
2579
- "bulletBorderThickness": 7,
2580
- "colorField": "color",
2581
- "fillAlphas": 1,
2582
- "id": "AmGraph-1",
2583
- "lineColorField": "color",
2584
- "title": "graph 1",
2585
- "type": "column",
2586
- "valueField": "count"
2587
- }
2588
- ],
2589
- "guides": [],
2590
- "valueAxes": [
2591
- {
2592
- "id": "ValueAxis-1",
2593
- "title": ""
2594
- }
2595
- ],
2596
- "allLabels": [],
2597
- "balloon": {},
2598
- "titles": [
2599
- {
2600
- "id": "Title-1",
2601
- "size": 15,
2602
- "text": ""
2603
- }
2604
- ],
2605
- "dataProvider": [
2606
- <?php
2607
- foreach($tracking_provider_arr as $provider => $array){ ?>
2608
- {
2609
- "shipment_provider": "<?php echo $provider; ?>",
2610
- "count": <?php echo count($array); ?>,
2611
- "color": "#BBE285",
2612
- },
2613
- <?php
2614
- } ?>
2615
- ]
2616
- }
2617
- );
2618
- </script>
2619
- <div class="ast-dashborad-widget">
2620
-
2621
- <input id="tab_s_providers" type="radio" name="tabs" class="widget_tab_input" checked>
2622
- <label for="tab_s_providers" class="widget_tab_label first_label"><?php _e('Shipment Providers', 'woo-advanced-shipment-tracking'); ?></label>
2623
-
2624
- <input id="tab_s_status" type="radio" name="tabs" class="widget_tab_input">
2625
- <label for="tab_s_status" class="widget_tab_label"><?php _e('Shipment Status', 'woo-advanced-shipment-tracking'); ?></label>
2626
-
2627
- <section id="content_s_providers" class="widget_tab_section">
2628
- <?php if($tracking_provider_arr){ ?>
2629
- <div id="ast_dashboard_providers_chart" class="" style="width: 100%;height: 300px;"></div>
2630
- <?php } else{ ?>
2631
- <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
2632
- <?php } ?>
2633
- </section>
2634
-
2635
- <section id="content_s_status" class="widget_tab_section">
2636
- <?php if($shipment_status_arr){ ?>
2637
- <div id="ast_dashboard_status_chart" class="" style="width: 100%;height: 300px;"></div>
2638
- <?php } else{ ?>
2639
- <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
2640
- <?php } ?>
2641
- </section>
2642
-
2643
- </div>
2644
- <div class="widget_footer">
2645
- <a class="" href="https://my.trackship.info/analytics/" target="blank"><?php _e( 'View More Details In Trackship','woo-advanced-shipment-tracking' ); ?></a>
2646
- </div>
2647
- <?php }
2648
- }
5
 
6
  class WC_Advanced_Shipment_Tracking_Admin {
7
 
8
+ var $item_code = 'ast_per_product';
9
+ var $store_url = 'https://www.zorem.com/';
10
+ var $license_status;
11
+ var $license_key;
12
+ var $license_email;
13
+
14
  /**
15
  * Initialize the main plugin function
16
  */
17
  public function __construct() {
18
+
19
+ $this->license_status = 'ast_product_license_status';
20
+ $this->license_key = 'ast_product_license_key';
21
+ $this->license_email = 'ast_product_license_email';
22
+
23
  global $wpdb;
24
  if( is_multisite() ){
25
  if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
65
 
66
  //database check
67
  add_action( 'init', array( $this, 'database_table_check') );
68
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  //cron_schedules
70
+ add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
+ add_filter( 'cron_schedules', array( $this, 'ast_product_license_cron_schedule') );
73
+ add_action( 'ast_license_cron_hook', array( $this, 'check_license_valid' ) );
74
+ if (!wp_next_scheduled( 'ast_license_cron_hook' ) ) {
75
+ wp_schedule_event( time(), 'ast_product_license_cron_events', 'ast_license_cron_hook' );
76
+ }
77
 
78
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
79
  if( $api_enabled == true ){
94
  // Bulk shipment status sync for empty balance ajax call from settings
95
  add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
96
 
97
+ // Bulk shipment status sync for please do connection status ajax call from settings
98
+ add_action( 'wp_ajax_bulk_shipment_status_for_do_connection_from_settings', array( $this, 'bulk_shipment_status_for_do_connection_from_settings_fun' ) );
99
+
100
  // The results notice from bulk action on orders
101
  add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
102
 
106
 
107
  // add bulk order filter for exported / non-exported orders
108
  add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
109
+ add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
110
 
111
+ // add bulk order tracking number filter for exported / non-exported orders
112
+ add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
113
  }
114
 
115
  // trigger when order status changed to shipped or completed
126
 
127
  add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
128
 
129
+ add_action( 'admin_footer', array( $this, 'footer_function'),1 );
130
 
131
  // filter for shipment status
132
  add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
158
 
159
  add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
160
 
161
+ add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
162
 
163
+ if ( is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
164
+ if( $this->licence_valid() != 'true' )add_action( 'admin_notices', array( $this, 'ast_product_licence_notice') );
165
+ }
 
166
  }
167
 
168
  /*
183
  require_once ABSPATH . '/wp-admin/includes/upgrade.php';
184
  }
185
  maybe_create_table( $table_name, $sql );
186
+ }
187
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
 
189
  /*
190
  * add_cron_interval
239
  }
240
  //$orders = wc_get_orders( $args );print_r($orders);exit;
241
  return $orders = wc_get_orders( $args );
242
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
 
244
  /*
245
  * add in batch process
261
  global $wpdb;
262
  $table_name = $wpdb->prefix.'shipment_batch_process';
263
  $wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
264
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
265
 
266
  /*
267
  * shipment api call
303
 
304
  foreach ( $columns as $column_name => $column_info ) {
305
 
306
+ $new_columns[ $column_name ] = $column_info;
 
 
 
 
 
307
 
308
+ if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
 
309
  $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
310
  }
311
  }
345
 
346
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
347
  $tracking_items = $ast->get_tracking_items( $post->ID );
348
+ $shipment_status = get_post_meta( $post->ID, "shipment_status", true);
349
+ $wp_date_format = get_option( 'date_format' );
350
+ if($wp_date_format == 'd/m/Y'){
351
+ $date_format = 'd/m';
352
+ } else{
353
+ $date_format = 'm/d';
354
+ }
355
  if ( count( $tracking_items ) > 0 ) {
356
  ?>
357
  <ul class="wcast-shipment-status-list">
363
  $status = $shipment_status[$key]['status'];
364
  $status_date = $shipment_status[$key]['status_date'];
365
  if(isset($shipment_status[$key]['est_delivery_date'])){
366
+ $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
367
  }
368
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
369
  $has_est_delivery = true;
370
+ }
371
  ?>
372
  <li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
373
  <div class="wcast-shipment-status-icon">
375
  </div>
376
  <div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
377
  <span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
378
+ <span class="showif_has_est_delivery_1 ft11">(<?php echo date( $date_format, strtotime($status_date))?>)</span>
379
+ <span class="showif_has_est_delivery_0 ft11">on <?php echo date( $date_format, strtotime($status_date))?></span>
380
  <?php if( $has_est_delivery){?>
381
+ <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( $date_format, strtotime($est_delivery_date)); ?>)</span>
382
  <?php } ?>
383
  </div>
384
  </li>
418
 
419
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
420
 
421
+ wp_enqueue_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
422
+
423
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version);
424
 
425
  wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
454
 
455
  wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
456
 
457
+ wp_enqueue_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
458
+
459
  wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
460
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
461
  'i18n' => array(
475
  * WC sub menu
476
  */
477
  public function register_woocommerce_menu() {
478
+ add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_woocommerce', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
479
  }
480
 
481
  /*
536
  <input id="tab4" type="radio" name="tabs" class="tab_input" data-tab="bulk-upload" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'bulk-upload'){ echo 'checked'; } ?>>
537
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
538
 
539
+ <input id="tab3" type="radio" name="tabs" class="tab_input" data-tab="trackship" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'trackship' || $_GET['tab'] == 'tracking-page' || $_GET['tab'] == 'shipment-status-notifications' || $_GET['tab'] == 'trackship-dashboard' || $_GET['tab'] == 'tools')){ echo 'checked'; } ?>>
540
  <label for="tab3" class="tab_label">TrackShip</label>
541
 
542
+ <input id="tab6" type="radio" name="tabs" class="tab_input" data-tab="addons" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'addons')){ echo 'checked'; } ?>>
543
+ <label for="tab6" class="tab_label"><?php _e('Add-ons', 'woo-advanced-shipment-tracking'); ?></label>
544
+
545
  <div class="nav_doc_section">
546
  <a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
547
  <a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
551
  <?php require_once( 'views/admin_options_settings.php' );?>
552
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
553
  <?php require_once( 'views/admin_options_bulk_upload.php' );?>
554
+ <?php require_once( 'views/admin_options_addons.php' );?>
555
+
556
  </div>
557
  </div>
558
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
565
  <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
566
  </div>
567
  </div>
568
+ <div class="popupclose"></div>
569
+ </div>
570
+
571
+ <div id="" class="popupwrapper ts_video_popup" style="display:none;">
572
+ <div class="popuprow">
573
+ <div class="videoWrapper">
574
+ <iframe id="ts_video" src="https://www.youtube.com/embed/PhnqDorKN_c" frameborder="0" allowfullscreen></iframe>
575
+ </div>
576
+ </div>
577
+ <div class="popupclose"></div>
578
+ </div>
579
+ <div id="" class="popupwrapper tracking_item_video_popup" style="display:none;">
580
+ <div class="popuprow">
581
+ <div class="videoWrapper">
582
+ <iframe id="trackin_per_item_video" src="https://www.youtube.com/embed/L8uWc2sY_Go" frameborder="0" allowfullscreen></iframe>
583
+ </div>
584
+ </div>
585
+ <div class="popupclose"></div>
586
+ </div>
587
  <?php
588
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
589
  <script>
595
  /*
596
  * get html of fields
597
  */
598
+ public function get_html( $arrays ){
599
 
600
  $checked = '';
601
  ?>
624
  <?php if( $array['type'] == 'checkbox' ){
625
  if($id === 'wcast_enable_delivered_email'){
626
  $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
627
+ //echo '<pre>';print_r($wcast_enable_delivered_email);echo '</pre>';
628
+
629
+ if($wcast_enable_delivered_email['enabled'] == 'yes' || $wcast_enable_delivered_email['enabled'] == 1){
630
  $checked = 'checked';
631
  } else{
632
+ $checked = '';
633
+ }
634
+ } elseif($id === 'wcast_enable_partial_shipped_email'){
635
+ $wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
636
+
637
+ if($wcast_enable_partial_shipped_email['enabled'] == 'yes' || $wcast_enable_partial_shipped_email['enabled'] == 1){
638
+ $checked = 'checked';
639
+ } else{
640
+ $checked = '';
641
  }
642
+ } else{
643
  if(get_option($id)){
644
  $checked = 'checked';
645
  } else{
664
  <?php
665
  $op = 1;
666
  foreach((array)$array['options'] as $key => $val ){
667
+ if($val['type'] == 'default'){
668
  $multi_checkbox_data = get_option($id);
669
+ if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
 
 
 
 
 
 
670
  $checked="checked";
671
  } else{
672
  $checked="";
673
  }?>
674
+ <span class=" multiple_checkbox">
675
+ <label class="" for="<?php echo $key?>">
676
+ <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
677
+ <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
678
  <span class="multiple_label"><?php echo $val['status']; ?></span>
679
  </br>
680
  </label>
681
  </span>
682
+ <?php }
683
+ }
684
+ foreach((array)$array['options'] as $key => $val ){
685
  if($val['type'] == 'custom'){
686
+ $multi_checkbox_data = get_option($id);
687
+ if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
 
 
 
 
 
 
688
  $checked="checked";
689
  } else{
690
  $checked="";
691
  }
692
  if($op == 1){ ?>
693
+ <div style="margin: 10px 0;">
694
  <strong style="font-weight: 700;padding-bottom: 3px;">
695
  <?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
696
  </strong>
697
  </div>
698
  <?php } ?>
699
+ <span class="multiple_checkbox">
700
+ <label class="" for="<?php echo $key?>">
701
+ <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
702
+ <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
703
  <span class="multiple_label"><?php echo $val['status']; ?></span>
704
  </br>
705
  </label>
706
  </span>
707
  <?php $op++; }
708
+ }
709
+ ?>
710
 
711
  <?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
712
  <?php
736
  <?php } elseif( $array['type'] == 'title' ){?>
737
  <?php }
738
  elseif( $array['type'] == 'key_field' ){ ?>
739
+ <fieldset>
 
740
  <?php if($array['connected'] == true){ ?>
741
  <a href="https://my.trackship.info/" target="_blank">
742
  <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
834
  } else{
835
  $disable_bulk_sync_zero_balance = true;
836
  }
837
+
838
+ $completed_order_with_do_connection = 0;
839
+
840
+ foreach($orders as $order){
841
+ $order_id = $order->get_id();
842
+
843
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
844
+ $tracking_items = $ast->get_tracking_items( $order_id, true );
845
+ if($tracking_items){
846
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
847
+ foreach ( $tracking_items as $key => $tracking_item ) {
848
+ if(isset($shipment_status[$key]['status']) && $shipment_status[$key]['status'] == 'Please do connection'){
849
+ $completed_order_with_do_connection++;
850
+ }
851
+ }
852
+ }
853
+ }
854
+
855
+ if($completed_order_with_do_connection > 0){
856
+ $disable_bulk_sync_do_connection = false;
857
+ $show_bulk_sync_do_connection = true;
858
+ } else{
859
+ $disable_bulk_sync_do_connection = true;
860
+ $show_bulk_sync_do_connection = false;
861
+ }
862
 
863
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
864
 
887
  'button_class' => 'bulk_shipment_status_button_for_empty_balance',
888
  'class' => '',
889
  ),
890
+ 'wc_ast_bulk_shipment_status_for_please_do_connection' => array(
891
+ 'type' => 'button',
892
+ 'title' => sprintf(__('%s %s orders with “Please do connection”', 'woo-advanced-shipment-tracking'), $completed_order_with_do_connection , $completed_order_label),
893
+ 'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
894
+ 'show' => $show_bulk_sync_do_connection,
895
+ 'disable' => $disable_bulk_sync_do_connection,
896
+ 'button_class' => 'bulk_shipment_status_button_for_do_connection',
897
+ 'class' => '',
898
+ ),
899
  );
900
  return $form_data;
901
  }
965
  $slug = $post->post_name;
966
 
967
  if($slug != 'ts-shipment-tracking'){
968
+ $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' );
969
  } else{
970
  $page_desc = '';
971
  }
985
  'show' => $show_trackship_field,
986
  'class' => '',
987
  ),
988
+ 'wc_ast_select_tracking_page_layout' => array(
989
+ 'type' => 'radio',
990
+ 'title' => __( 'Tracking Page Layout', 'woo-advanced-shipment-tracking' ),
991
+ 'show' => $show_trackship_field,
992
+ 'options' => array(
993
+ "" =>__( 'Select', 'woocommerce' ),
994
+ "t_layout_1" =>__( 'Layout 1', '' ),
995
+ "t_layout_2" =>__( 'Layout 2', '' ),
996
+ ),
997
+ 'class' => '',
998
+ ),
999
  'wc_ast_select_primary_color' => array(
1000
  'type' => 'color',
1001
  'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
1007
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1008
  'class' => 'color_field',
1009
  'show' => $show_trackship_field,
1010
+ ),
1011
+ 'wc_ast_hide_tracking_provider_image' => array(
1012
+ 'type' => 'checkbox',
1013
+ 'title' => __( 'Hide Shipping Provider Image', 'woo-advanced-shipment-tracking' ),
1014
+ 'show' => $show_trackship_field,
1015
+ 'class' => '',
1016
+ ),
1017
  'wc_ast_hide_tracking_events' => array(
1018
  'type' => 'checkbox',
1019
  'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
1030
  return $form_data;
1031
 
1032
  }
1033
+
1034
+ /*
1035
+ * get ast per product addons licence data
1036
+ * return array
1037
+ */
1038
+ function get_ast_product_license_data(){
1039
+ $form_data = array(
1040
+ 'ast_product_license_key' => array(
1041
+ 'type' => 'text',
1042
+ 'title' => __( 'License Key', 'woo-advanced-shipment-tracking' ),
1043
+ 'show' => true,
1044
+ 'tooltip' => __( 'a Valid license is required to receive updates and support', 'woo-advanced-shipment-tracking' ),
1045
+ 'class' => '',
1046
+ ),
1047
+ );
1048
+ return $form_data;
1049
+ }
1050
 
1051
  /*
1052
  * settings form save
1069
  }
1070
  }
1071
 
1072
+ /*
1073
+ * AST per Product licence activate
1074
+ */
1075
+ function ast_product_license_activate_callback(){
1076
+
1077
+ if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_addons_form', 'wc_ast_addons_form' ) ) {
1078
+
1079
+ $data = $this->get_ast_product_license_data();
1080
+
1081
+ foreach( $data as $key => $val ){
1082
+ update_option( $key, sanitize_text_field( $_POST[ $key ] ) );
1083
+
1084
+ }
1085
+
1086
+ $return = $this->license_authorize_action( sanitize_text_field($_POST['ast_product_license_key']), 'activate' );
1087
+
1088
+ if($return->success == 'true'){
1089
+ update_option( $this->license_key, sanitize_text_field($_POST['ast_product_license_key']));
1090
+ }
1091
+ header('Content-type: application/json');
1092
+ echo json_encode($return, JSON_PRETTY_PRINT);
1093
+ die();
1094
+ }
1095
+ }
1096
+
1097
+ /*
1098
+ * AST per Product licence deactivate
1099
+ */
1100
+ function ast_product_license_deactivate_callback(){
1101
+
1102
+ if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_addons_form', 'wc_ast_addons_form' ) ) {
1103
+
1104
+ if(isset($_POST['ast_product_license_key'])){
1105
+ $return = $this->license_authorize_action( sanitize_text_field($_POST['ast_product_license_key']), 'deactivate' );
1106
+ if($return->success == 'true'){
1107
+ update_option( $this->license_key, '');
1108
+ update_option( $this->license_status, false);
1109
+ }
1110
+ header('Content-type: application/json');
1111
+ echo json_encode($return, JSON_PRETTY_PRINT);
1112
+ die();
1113
+ }
1114
+ }
1115
+ }
1116
+
1117
+ /*
1118
+ * License authorize with server
1119
+ */
1120
+ public function license_authorize_action( $purchase_code = '', $action = 'validate' ) {
1121
+ global $wp_version;
1122
+
1123
+ $domain = home_url();
1124
+
1125
+ $api_params = array(
1126
+ 'wc-api' => 'validate_serial_key',
1127
+ 'serial' => $purchase_code,
1128
+ 'sku' => 'tracking-per-item-ast-add-on',
1129
+ 'uuid' => $domain,
1130
+ );
1131
+
1132
+ $request = add_query_arg( $api_params, $this->store_url );
1133
+
1134
+ $response = wp_remote_get( $request, array( 'timeout' => 15, 'sslverify' => false ) );
1135
+
1136
+ if ( is_wp_error( $response ) )
1137
+ return false;
1138
+
1139
+ $authorize_data = json_decode( wp_remote_retrieve_body( $response ) );
1140
+
1141
+ if(empty($authorize_data) || $authorize_data === NULL || $authorize_data === false) return false;
1142
+ update_option( $this->license_status, $authorize_data->success);
1143
+ return $authorize_data;
1144
+ }
1145
+
1146
+ /*
1147
+ * Check license valid
1148
+ */
1149
+ public function check_license_valid($action = 'validate') {
1150
+ $license = $this->get_license_key();
1151
+ $authorize = $this->license_authorize_action($license, $action);
1152
+ if($authorize->success == 'true'){
1153
+ return true;
1154
+ }
1155
+ return false;
1156
+ }
1157
+
1158
+ /*
1159
+ * return licence valid
1160
+ * return licence status
1161
+ * return licence key
1162
+ * return licence email
1163
+ */
1164
+ public function licence_valid() {
1165
+ return get_option( $this->license_status, false);
1166
+ }
1167
+ public function get_license_status() {
1168
+ return get_option( $this->license_status, false);
1169
+ }
1170
+ public function get_license_key() {
1171
+ return get_option( $this->license_key, false);
1172
+ }
1173
+ public function get_license_email() {
1174
+ return get_option( $this->license_email, false);
1175
+ }
1176
+
1177
+ /*
1178
+ * cron function for License schedule
1179
+ */
1180
+ function ast_product_license_cron_schedule( $schedules ){
1181
+ $schedules[ 'ast_product_license_cron_events' ] = array(
1182
+ 'interval' => 86400,//
1183
+ 'display' => __( 'Every day' ),
1184
+ );
1185
+ return $schedules;
1186
+ }
1187
+
1188
+ /*
1189
+ * License notice
1190
+ */
1191
+ function ast_product_licence_notice() {
1192
+ $class = 'notice notice-error';
1193
+ $message = __( 'Opps! your <strong>Tracking Per Item Add-on for AST</strong> licence key is not activated. To buy license <a href="'.admin_url( '/admin.php?page=woocommerce-advanced-shipment-tracking&tab=addons' ).'">click here</a> to activate it.', 'woo-advanced-shipment-tracking' );
1194
+
1195
+ printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), $message );
1196
+ }
1197
+
1198
  /*
1199
  * trigger when order status changed to shipped or completed or update tracking
1200
  * param $order_id
1240
  'wc-on-hold' => 'On hold',
1241
  'wc-completed' => 'Completed',
1242
  'wc-delivered' => 'Delivered',
1243
+ //'wc-partial-shipped' => 'Partially Shipped',
1244
  'wc-cancelled' => 'Cancelled',
1245
  'wc-refunded' => 'Refunded',
1246
  'wc-failed' => 'Failed'
1337
  $form_data = array(
1338
  'wc_ast_status_delivered' => array(
1339
  'type' => 'checkbox',
1340
+ 'title' => __( 'Enable custom order status “Delivered"', '' ),
 
1341
  'show' => true,
1342
  'class' => '',
1343
  ),
1344
  'wc_ast_status_label_color' => array(
1345
  'type' => 'color',
1346
+ 'title' => __( 'Delivered Label color', '' ),
1347
  'class' => 'status_label_color_th',
1348
  'show' => true,
1349
  ),
1350
  'wc_ast_status_label_font_color' => array(
1351
  'type' => 'dropdown',
1352
+ 'title' => __( 'Delivered Label font color', '' ),
1353
  'options' => array(
1354
  "" =>__( 'Select', 'woocommerce' ),
1355
+ "#fff" =>__( 'Light', '' ),
1356
+ "#000" =>__( 'Dark', '' ),
1357
  ),
1358
  'class' => 'status_label_color_th',
1359
  'show' => true,
1360
  ),
1361
  'wcast_enable_delivered_email' => array(
1362
  'type' => 'checkbox',
1363
+ 'title' => __( 'Enable the Delivered order status email', '' ),
1364
  'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1365
  'class' => 'status_label_color_th',
1366
  'show' => true,
1368
  );
1369
  return $form_data;
1370
 
1371
+ }
1372
+
1373
+ /*
1374
+ * get updated tracking status settings array data
1375
+ * return array
1376
+ */
1377
+ function get_updated_tracking_data(){
1378
+ $form_data = array(
1379
+ 'wc_ast_status_updated_tracking' => array(
1380
+ 'type' => 'checkbox',
1381
+ 'title' => __( 'Enable custom order status “Updated Tracking"', '' ),
1382
+ 'show' => true,
1383
+ 'class' => '',
1384
+ ),
1385
+ 'wc_ast_status_updated_tracking_label_color' => array(
1386
+ 'type' => 'color',
1387
+ 'title' => __( 'Updated Tracking Label color', '' ),
1388
+ 'class' => 'updated_tracking_status_label_color_th',
1389
+ 'show' => true,
1390
+ ),
1391
+ 'wc_ast_status_updated_tracking_label_font_color' => array(
1392
+ 'type' => 'dropdown',
1393
+ 'title' => __( 'Updated Tracking Label font color', '' ),
1394
+ 'options' => array(
1395
+ "" =>__( 'Select', 'woocommerce' ),
1396
+ "#fff" =>__( 'Light', '' ),
1397
+ "#000" =>__( 'Dark', '' ),
1398
+ ),
1399
+ 'class' => 'updated_tracking_status_label_color_th',
1400
+ 'show' => true,
1401
+ ),
1402
+ 'wcast_enable_updated_tracking_email' => array(
1403
+ 'type' => 'checkbox',
1404
+ 'title' => __( 'Enable the Updated Tracking order status email', '' ),
1405
+ 'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_updated_tracking_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1406
+ 'class' => 'updated_tracking_status_label_color_th',
1407
+ 'show' => true,
1408
+ ),
1409
+ );
1410
+ return $form_data;
1411
+
1412
+ }
1413
+
1414
+ /*
1415
+ * get Partially Shipped array data
1416
+ * return array
1417
+ */
1418
+ function get_partial_shipped_data(){
1419
+ $form_data = array(
1420
+ 'wc_ast_status_partial_shipped' => array(
1421
+ 'type' => 'checkbox',
1422
+ 'title' => __( 'Enable custom order status “Partially Shipped"', '' ),
1423
+ 'show' => true,
1424
+ 'class' => '',
1425
+ ),
1426
+ 'wc_ast_status_partial_shipped_label_color' => array(
1427
+ 'type' => 'color',
1428
+ 'title' => __( 'Partially Shipped Label color', '' ),
1429
+ 'class' => 'partial_shipped_status_label_color_th',
1430
+ 'show' => true,
1431
+ ),
1432
+ 'wc_ast_status_partial_shipped_label_font_color' => array(
1433
+ 'type' => 'dropdown',
1434
+ 'title' => __( 'Partially Shipped Label font color', '' ),
1435
+ 'options' => array(
1436
+ "" =>__( 'Select', 'woocommerce' ),
1437
+ "#fff" =>__( 'Light', '' ),
1438
+ "#000" =>__( 'Dark', '' ),
1439
+ ),
1440
+ 'class' => 'partial_shipped_status_label_color_th',
1441
+ 'show' => true,
1442
+ ),
1443
+ 'wcast_enable_partial_shipped_email' => array(
1444
+ 'type' => 'checkbox',
1445
+ 'title' => __( 'Enable the Partially Shipped order status email', '' ),
1446
+ 'title_link'=> "<a class='settings_edit' href='".wcast_partial_shipped_customizer_email::get_customizer_url('customer_partial_shipped_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1447
+ 'class' => 'partial_shipped_status_label_color_th',
1448
+ 'show' => true,
1449
+ ),
1450
+ );
1451
+ return $form_data;
1452
+
1453
  }
1454
 
1455
  /*
1457
  */
1458
  function wc_ast_settings_form_update_callback(){
1459
  if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
1460
+
1461
  $data = $this->get_settings_data();
1462
 
1463
+ foreach( $data as $key => $val ){
1464
+ if(isset($_POST[ $key ])){
1465
+ update_option( $key, $_POST[ $key ] );
1466
+ }
1467
  }
1468
 
1469
  $data = $this->get_delivered_data();
1470
 
1471
  foreach( $data as $key => $val ){
1472
+ if($key == 'wcast_enable_delivered_email'){
1473
+ if(isset($_POST['wcast_enable_delivered_email'])){
1474
+ $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
1475
+ if($_POST['wcast_enable_delivered_email'] == 1){
1476
+ update_option( 'customizer_delivered_order_settings_enabled',$_POST['wcast_enable_delivered_email']);
1477
+ $enabled = 'yes';
1478
+ } else{
1479
+ update_option( 'customizer_delivered_order_settings_enabled','');
1480
+ $enabled = 'no';
1481
+ }
1482
+ $opt = array(
1483
+ 'enabled' => $enabled,
1484
+ 'subject' => $wcast_enable_delivered_email['subject'],
1485
+ 'heading' => $wcast_enable_delivered_email['heading'],
1486
+ 'recipient' => $wcast_enable_delivered_email['recipient'],
1487
+ 'email_type' => $wcast_enable_delivered_email['email_type'],
1488
+ );
1489
+ update_option( 'woocommerce_customer_delivered_order_settings', $opt );
1490
+ }
1491
+ }
1492
+ if(isset($_POST[ $key ])){
1493
+ update_option( $key, $_POST[ $key ] );
1494
+ }
1495
+ }
1496
+
1497
+ $data = $this->get_partial_shipped_data();
1498
+
1499
+ foreach( $data as $key => $val ){
1500
+ if($key == 'wcast_enable_partial_shipped_email'){
1501
+ if(isset($_POST['wcast_enable_partial_shipped_email'])){
1502
+ $wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
1503
+ if($_POST['wcast_enable_partial_shipped_email'] == 1){
1504
+ update_option( 'customizer_partial_shipped_order_settings_enabled',$_POST['wcast_enable_partial_shipped_email']);
1505
+ $enabled = 'yes';
1506
+ } else{
1507
+ update_option( 'customizer_partial_shipped_order_settings_enabled','');
1508
+ $enabled = 'no';
1509
+ }
1510
+
1511
+ $opt = array(
1512
+ 'enabled' => $enabled,
1513
+ 'subject' => $wcast_enable_partial_shipped_email['subject'],
1514
+ 'heading' => $wcast_enable_partial_shipped_email['heading'],
1515
+ 'email_type' => $wcast_enable_partial_shipped_email['email_type'],
1516
+ );
1517
+ update_option( 'woocommerce_customer_partial_shipped_order_settings', $opt );
1518
+ }
1519
+ }
1520
+ if(isset($_POST[ $key ])){
1521
+ update_option( $key, $_POST[ $key ] );
1522
+ }
1523
+ }
1524
+
1525
+ $data = $this->get_updated_tracking_data();
1526
+
1527
+ foreach( $data as $key => $val ){
1528
+ if($key == 'wcast_enable_updated_tracking_email'){
1529
+
1530
+ if(isset($_POST['wcast_enable_updated_tracking_email'])){
1531
+ $wcast_enable_updated_tracking_email = get_option('woocommerce_customer_updated_tracking_order_settings');
1532
+ if($_POST['wcast_enable_updated_tracking_email'] == 1){
1533
+ update_option( 'customizer_updated_tracking_order_settings_enabled',$_POST['wcast_enable_updated_tracking_email']);
1534
+ $enabled = 'yes';
1535
+ } else{
1536
+ update_option( 'customizer_updated_tracking_order_settings_enabled','');
1537
+ $enabled = 'no';
1538
+ }
1539
+
1540
+ $opt = array(
1541
+ 'enabled' => $enabled,
1542
+ 'subject' => $wcast_enable_updated_tracking_email['subject'],
1543
+ 'heading' => $wcast_enable_updated_tracking_email['heading'],
1544
+ 'email_type' => $wcast_enable_updated_tracking_email['email_type'],
1545
+ );
1546
+ update_option( 'woocommerce_customer_updated_tracking_order_settings', $opt );
1547
+ }
1548
+ }
1549
+ if(isset($_POST[ $key ])){
1550
+ update_option( $key, $_POST[ $key ] );
1551
  }
 
1552
  }
1553
 
1554
  echo json_encode( array('success' => 'true') );die();
1560
  * change style of delivered order label
1561
  */
1562
  function footer_function(){
1563
+ if ( !is_plugin_active( 'woocommerce-order-status-manager/woocommerce-order-status-manager.php' ) ) {
1564
+ $bg_color = get_option('wc_ast_status_label_color','#212c42');
1565
+ $color = get_option('wc_ast_status_label_font_color','#fff');
1566
+
1567
+ $ps_bg_color = get_option('wc_ast_status_partial_shipped_label_color','#0c0c0c');
1568
+ $ps_color = get_option('wc_ast_status_partial_shipped_label_font_color','#fff');
1569
+
1570
+ $ut_bg_color = get_option('wc_ast_status_updated_tracking_label_color','#d6d6d6');
1571
+ $ut_color = get_option('wc_ast_status_updated_tracking_label_font_color','#000');
1572
+ ?>
1573
+ <style>
1574
+ .order-status.status-delivered,.order-status-table .order-label.wc-delivered{
1575
+ background: <?php echo $bg_color; ?>;
1576
  color: <?php echo $color; ?>;
1577
+ }
1578
+ .order-status.status-partial-shipped,.order-status-table .order-label.wc-partially-shipped{
1579
+ background: <?php echo $ps_bg_color; ?>;
1580
+ color: <?php echo $ps_color; ?>;
1581
+ }
1582
+ .order-status.status-updated-tracking,.order-status-table .order-label.wc-updated-tracking{
1583
+ background: <?php echo $ut_bg_color; ?>;
1584
+ color: <?php echo $ut_color; ?>;
1585
+ }
1586
+ </style>
1587
+ <?php
1588
  }
 
 
1589
  }
1590
 
1591
  /*
1611
  $woo_shippment_table_name = $this->table;
1612
  $shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1613
 
1614
+
1615
  if($shippment_provider == 0){
1616
  echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
1617
  }
1618
  if(empty($tracking_number)){
1619
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1620
  }
1621
+ if(preg_match('/[^a-z0-9- \b]+/i', $tracking_number)){
1622
  echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1623
  }
1624
  if(empty($date_shipped)){
1637
  if ( count( $tracking_items ) > 0 ) {
1638
  foreach ( $tracking_items as $key => $item ) {
1639
  $tracking_number = $item['tracking_number'];
1640
+ unset( $tracking_items[ $key ] );
1641
+ /*if(in_array($tracking_number, array_column($_POST['trackings'], 'tracking_number'))) {
1642
 
1643
  } else{
1644
+
1645
+ } */
1646
  }
1647
  $wast->save_tracking_items( $order_id, $tracking_items );
1648
  }
1649
  }
1650
  }
1651
  if($tracking_provider && $tracking_number && $date_shipped){
1652
+
1653
+ $tracking_provider = $wpdb->get_var( "SELECT ts_slug FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1654
+
1655
+ if(!$tracking_provider){
1656
+ $tracking_provider = sanitize_title($_POST['tracking_provider']);
1657
+ }
1658
+
1659
  $args = array(
1660
+ 'tracking_provider' => wc_clean( $tracking_provider ),
1661
  'tracking_number' => wc_clean( $_POST['tracking_number'] ),
1662
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
1663
  'status_shipped' => wc_clean( $_POST['status_shipped'] ),
1753
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
1754
  $tracking_items = $ast->get_tracking_items( $order_id, true );
1755
  if($tracking_items){
1756
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
 
 
1757
  foreach ( $tracking_items as $key => $tracking_item ) {
1758
  if( !isset($shipment_status[$key]) ){
1759
  wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
1795
  echo $url;die();
1796
  }
1797
 
1798
+ /*
1799
+ * bulk shipment status action for "TrackShip balance is 0" status
1800
+ */
1801
+ public static function bulk_shipment_status_for_do_connection_from_settings_fun(){
1802
+ $args = array(
1803
+ 'status' => 'wc-completed',
1804
+ 'limit' => -1,
1805
+ 'date_created' => '>' . ( time() - 2592000 ),
1806
+ );
1807
+ $orders = wc_get_orders( $args );
1808
+
1809
+ foreach($orders as $order){
1810
+ $order_id = $order->get_id();
1811
+
1812
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
1813
+ $tracking_items = $ast->get_tracking_items( $order_id, true );
1814
+ if($tracking_items){
1815
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
1816
+ foreach ( $tracking_items as $key => $tracking_item ) {
1817
+ if($shipment_status[$key]['status'] == 'Please do connection'){
1818
+ wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
1819
+ }
1820
+ }
1821
+ }
1822
+ }
1823
+
1824
+ $url = admin_url('/edit.php?post_type=shop_order');
1825
+ echo $url;die();
1826
+ }
1827
+
1828
  /**
1829
  * Add 'get_shipment_status' link to order actions select box on edit order page
1830
  *
1855
  $count = intval( $_REQUEST['processed_count'] );
1856
 
1857
  printf( '<div id="message" class="updated fade"><p>' .
1858
+ _n( 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
1859
+ 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
1860
  $count,
1861
  'get_shipment_status'
1862
  ) . '</p></div>', $count );
1973
  $this->trigger_woocommerce_order_status_completed( $order_id );
1974
  }
1975
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1976
  /*
1977
  * update preview order id in customizer
1978
  */
2179
  </div>
2180
  </div>
2181
  <?php } } else{
2182
+ $p_status = 'active';
2183
  ?>
2184
+ <h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $p_status); ?></h3>
2185
+ <?php }
2186
+ if($status == 'custom'){ ?>
2187
+ <div class="provider">
2188
+ <div class="provider_inner add_custom_provider_div">
2189
+ <div class="add_custom_p_a"><?php _e("Add Custom Provider", "woo-advanced-shipment-tracking")?></div>
2190
+ <a href="javascript:void(0);" class="add_custom_inner add_custom_provider"><span class="dashicons dashicons-plus-alt"></span></a>
2191
+ </div>
2192
+ </div>
2193
+ <?php }
2194
+ ?>
2195
  </div>
2196
  <?php
2197
  }
2223
  exit;
2224
  }
2225
 
2226
+ /**
2227
+ * Create slug from title
2228
+ */
2229
+ public static function create_slug($text){
2230
+ // replace non letter or digits by -
2231
+ $text = preg_replace('~[^\pL\d]+~u', '-', $text);
2232
+
2233
+ // transliterate
2234
+ $text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
2235
+
2236
+ // remove unwanted characters
2237
+ $text = preg_replace('~[^-\w]+~', '', $text);
2238
+
2239
+ // trim
2240
+ $text = trim($text, '-');
2241
+
2242
+ // remove duplicate -
2243
+ $text = preg_replace('~-+~', '-', $text);
2244
+
2245
+ // lowercase
2246
+ $text = strtolower($text);
2247
+
2248
+ if (empty($text)) {
2249
+ return '';
2250
+ }
2251
+
2252
+ return $text;
2253
+ }
2254
+
2255
  /**
2256
  * Add custom shipping provider function
2257
  */
2260
  global $wpdb;
2261
 
2262
  $woo_shippment_table_name = $this->table;
2263
+ $provider_slug = $this->create_slug($_POST['shipping_provider']);
2264
+ if($provider_slug == ''){
2265
+ $provider_slug = sanitize_text_field($_POST['shipping_provider']);
2266
+ }
2267
+
2268
  $data_array = array(
2269
  'shipping_country' => sanitize_text_field($_POST['shipping_country']),
2270
  'provider_name' => sanitize_text_field($_POST['shipping_provider']),
2271
+ 'ts_slug' => $provider_slug,
2272
  'provider_url' => sanitize_text_field($_POST['tracking_url']),
2273
  'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
2274
  'display_in_order' => 1,
2275
  'shipping_default' => 0,
2276
  );
2277
+
2278
  $result = $wpdb->insert( $woo_shippment_table_name, $data_array );
2279
 
2280
  $status = 'custom';
2281
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
2282
  $html = $this->get_provider_html($default_shippment_providers,$status);
2283
  echo $html;exit;
2284
  }
2374
  exit;
2375
  }
2376
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2377
  /**
2378
  * Add bulk filter for Shipment status in orders list
2379
  *
2411
  </select>
2412
  <?php
2413
  }
2414
+ }
2415
 
2416
  /**
2417
  * Get the order count for orders by shipment status
2488
 
2489
  return $vars;
2490
  }
2491
+
2492
  /**
2493
+ * Process bulk filter action for shipment status orders
2494
+ *
2495
+ * @since 2.7.4
2496
+ * @param array $vars query vars without filtering
2497
+ * @return array $vars query vars with (maybe) filtering
2498
+ */
2499
+ public function filter_orders_by_tracking_number_query( $search_fields ){
2500
+ $search_fields[] = '_wc_shipment_tracking_items';
2501
+ return $search_fields;
2502
+ }
2503
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@@ -117,28 +122,26 @@ class WC_Advanced_Shipment_Tracking_Front {
117
  if(isset($_GET['order_id']) && isset($_GET['order_key'])){
118
 
119
  $order_id = $_GET['order_id'];
120
- $order = new WC_Order( $order_id );
121
  $order_key = $order->get_order_key();
122
 
123
  if($order_key != $_GET['order_key']){
124
  return;
125
  }
126
-
127
- if(!get_post_status( $order_id )){
128
  return;
129
- }
130
 
131
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
132
  $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
133
- } else {
134
- $order = new WC_Order( $order_id );
135
  $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
136
  }
137
-
138
  if(!$tracking_items){
139
  unset($order_id);
140
- }
141
-
142
  }
143
 
144
  ?>
@@ -172,218 +175,101 @@ class WC_Advanced_Shipment_Tracking_Front {
172
  $num = 1;
173
  $total_trackings = sizeof($tracking_items);
174
 
175
- foreach($tracking_items as $item){
176
 
177
  $tracking_number = $item['tracking_number'];
178
  $trackship_url = 'https://trackship.info';
179
  $tracking_provider = $item['tracking_provider'];
180
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
181
  $tracking_provider = $results->provider_name;
182
-
183
- /*** Update in 2.4.1
184
- * Change URL
185
- * Add User Key
186
- ***/
187
- $url = $trackship_url.'/wp-json/tracking/get_tracking_info';
188
- $args['body'] = array(
189
- 'tracking_number' => $tracking_number,
190
- 'order_id' => $order_id,
191
- 'domain' => get_home_url(),
192
- 'user_key' => $wc_ast_api_key,
193
- );
194
- $response = wp_remote_post( $url, $args );
195
- $data = $response['body'];
196
- $decoded_data = json_decode($data);
197
 
198
- $tracker = new \stdClass();
199
- $tracker->ep_status = '';
200
- if(!empty($decoded_data)){
201
- $tracker = $decoded_data[0];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  }
203
 
204
  $tracking_detail_org = '';
205
  $trackind_detail_by_status_rev = '';
206
 
207
  if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
208
- $tracking_detail_org = json_decode($tracker->tracking_detail);
 
209
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
210
- }
211
-
212
- if(!empty($decoded_data)){
213
-
214
- if($tracker->est_delivery_date){
215
- $unixTimestamp = strtotime($tracker->est_delivery_date);
216
- $day = date("l", $unixTimestamp);
217
  }
218
-
219
- if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
220
-
221
- if($tracker->ep_status == "return_to_sender" ){
222
- $state2_class = 'return_to_sender';
223
- } elseif($tracker->ep_status == "failure"){
224
- $state2_class = 'failure';
225
- } elseif($tracker->ep_status == "available_for_pickup"){
226
- $state2_class = 'available_for_pickup';
227
- } else{
228
- $state2_class = 'out_for_delivery';
229
- }
230
- ?>
231
 
232
  <div class="tracking-detail col">
233
  <?php if($total_trackings > 1 ){ ?>
234
  <p class="shipment_heading"><?php
235
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
236
- <?php } ?>
237
- <div class="tracking-header">
238
- <div class="col-md col-md-6">
239
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
240
- <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
241
- <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
242
- </div>
243
- <div class="col-md col-md-6">
244
- <?php
245
- if($tracker->est_delivery_date){
246
- ?>
247
- <div class="text-muted text-right">
248
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number"><?php echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date)); ?></span>
249
- </div>
250
- <?php } else{ ?>
251
- <div class="text-muted text-right">
252
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
253
- </div>
254
- <?php } ?>
255
- </div>
256
- </div>
257
- <?php
258
  if($tracker->ep_status == 'pending_trackship' || $tracker->ep_status == 'INVALID_TRACKING_NUM' || $tracker->ep_status == 'carrier_unsupported' || $tracker->ep_status == 'invalid_user_key' || $tracker->ep_status == 'wrong_shipping_provider' || $tracker->ep_status == 'deleted' || $tracker->ep_status == 'pending'){
259
-
260
- }
261
- elseif(isset($tracker->ep_status)){ ?>
262
- <div class="status-section desktop-section">
263
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
264
- <div class="progress">
265
- <div class="progress-bar"></div>
266
- </div>
267
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
268
- <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
269
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
270
- <?php
271
- if($tracker->ep_status == "unknown"){
272
- echo apply_filters("trackship_status_filter",'unknown');
273
- } else{
274
- echo apply_filters("trackship_status_filter",'pre_transit');
275
- }
276
- ?>
277
- </span>
278
-
279
- <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
280
- <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
281
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
282
- </span>
283
-
284
- <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
285
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
286
- <?php
287
- if($tracker->ep_status == "return_to_sender"){
288
- echo apply_filters("trackship_status_filter",'return_to_sender');
289
- } elseif($tracker->ep_status == "failure"){
290
- echo apply_filters("trackship_status_filter",'failure');
291
- } else{
292
- echo apply_filters("trackship_status_filter",'out_for_delivery');
293
- }
294
- ?>
295
- </span>
296
-
297
- <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
298
- <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
299
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
300
- </span>
301
- </div>
302
- </div>
303
- </div>
304
-
305
- <div class="status-section mobile-section">
306
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
307
- <div class="progress">
308
- <div class="progress-bar <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-secondary';} ?>"></div>
309
- </div>
310
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
311
-
312
- <div class="dot-div">
313
- <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
314
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
315
- <?php
316
- if($tracker->ep_status == "unknown"){
317
- echo apply_filters("trackship_status_filter",'unknown');
318
- } else{
319
- echo apply_filters("trackship_status_filter",'pre_transit');
320
- }
321
- ?>
322
- </span>
323
- </div>
324
-
325
- <div class="dot-div">
326
- <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
327
- <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
328
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
329
- </span>
330
- </div>
331
-
332
- <div class="dot-div">
333
- <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
334
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo ' past-state'; } ?>">
335
- <?php
336
- if($tracker->ep_status == "return_to_sender"){
337
- echo apply_filters("trackship_status_filter",'return_to_sender');
338
- } elseif($tracker->ep_status == "failure"){
339
- echo apply_filters("trackship_status_filter",'failure');
340
- } else{
341
- echo apply_filters("trackship_status_filter",'out_for_delivery');
342
- }
343
- ?>
344
- </span>
345
- </div>
346
-
347
- <div class="dot-div">
348
- <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
349
- <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
350
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
351
- </span>
352
- </div>
353
-
354
- </div>
355
- </div>
356
- </div>
357
- <?php } ?>
358
- <?php if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
359
- <div class="shipment_progress_div">
360
- <div class="shipment_progress_heading_div">
361
- <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
362
- </div>
363
- <table class="tracking-table">
364
- <tbody>
365
- <?php
366
- $i=0;
367
- foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
368
- <tr>
369
- <td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
370
- <?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
371
- <td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
372
- <td><?php echo $status_detail->message; ?></td>
373
- </tr>
374
- <?php }
375
- ?>
376
- </tbody>
377
- </table>
378
- <?php if(count($trackind_detail_by_status_rev) > 2){ ?>
379
-
380
- <a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
381
- <a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
382
- <?php } ?>
383
- </div>
384
- <?php } ?>
385
- </div>
386
- <?php } else{ ?>
387
  <div class="tracking-detail col">
388
  <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
389
  <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
@@ -399,51 +285,82 @@ class WC_Advanced_Shipment_Tracking_Front {
399
  <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
400
  </div>
401
  <?php }
402
-
403
  $form = ob_get_clean();
404
  return $form;
405
- }
406
  }
407
 
408
  public function get_tracking_info_fun(){
409
-
 
410
  global $wpdb;
411
  $wc_ast_api_key = get_option('wc_ast_api_key');
412
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
413
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
414
  if(!$wc_ast_api_key){
415
  return;
416
  }
417
 
418
- $order_id = $_POST['order_id'];
419
-
420
  $email = $_POST['order_email'];
421
 
422
  $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
423
  $order_id = $wast->get_formated_order_id($order_id);
424
 
425
- if(!get_post_status( $order_id )){
 
 
426
  echo '';
427
  exit;
428
  }
429
-
430
- $order = new WC_Order( $order_id );
431
  $order_email = $order->get_billing_email();
432
 
433
- if($order_email != $email){
434
  echo '';
435
  exit;
436
  }
437
 
438
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
439
- $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
440
- $order_key = get_post_meta( $order_id, 'order_key', true );
441
- } else {
442
- $order = new WC_Order( $order_id );
443
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
444
- $order_key = $order->order_key;
445
  }
446
-
447
  if(!$tracking_items){
448
  echo 'tracking_items_not_found';
449
  exit;
@@ -452,102 +369,215 @@ class WC_Advanced_Shipment_Tracking_Front {
452
  $num = 1;
453
  $total_trackings = sizeof($tracking_items);
454
 
455
- foreach($tracking_items as $item){
456
 
457
  $tracking_number = $item['tracking_number'];
458
  $trackship_url = 'https://trackship.info';
459
  $tracking_provider = $item['tracking_provider'];
460
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
461
  $tracking_provider = $results->provider_name;
462
-
463
- /*** Update in 2.4.1
464
- * Change URL
465
- * Add User Key
466
  ***/
467
- $url = $trackship_url.'/wp-json/tracking/get_tracking_info';
468
- $args['body'] = array(
469
- 'tracking_number' => $tracking_number,
470
- 'order_id' => $order_id,
471
- 'domain' => get_home_url(),
472
- 'user_key' => $wc_ast_api_key,
473
- );
474
-
475
- $response = wp_remote_post( $url, $args );
476
-
477
- $data = $response['body'];
478
- $decoded_data = json_decode($data);
479
-
480
- $tracker->ep_status = '';
481
-
482
- $tracker = $decoded_data[0];
 
 
 
 
 
 
 
 
 
 
 
 
 
483
 
484
  $tracking_detail_org = '';
485
  $trackind_detail_by_status_rev = '';
486
 
487
- if(!$tracker){
488
- header("Status: 404 Not Found");
489
- exit;
490
- }
491
-
492
- $tracking_detail_org = '';
493
- if($tracker->tracking_detail != 'null'){
494
- $tracking_detail_org = json_decode($tracker->tracking_detail);
495
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
496
- }
497
-
498
- if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
499
-
500
- if($tracker->ep_status == "return_to_sender" ){
501
- $state2_class = 'return_to_sender';
502
- } elseif($tracker->ep_status == "failure"){
503
- $state2_class = 'failure';
504
- } elseif($tracker->ep_status == "available_for_pickup"){
505
- $state2_class = 'available_for_pickup';
506
- } else{
507
- $state2_class = 'out_for_delivery';
508
- }
509
-
510
- $unixTimestamp = strtotime($decoded_data[0]->est_delivery_date);
511
-
512
- //Get the day of the week using PHP's date function.
513
- $day = date("l", $unixTimestamp);
514
- if($decoded_data){ ?>
515
 
516
  <div class="tracking-detail col">
517
  <?php if($total_trackings > 1 ){ ?>
518
  <p class="shipment_heading"><?php
519
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
520
- <?php } ?>
521
- <div class="tracking-header">
522
- <div class="col-md col-md-6">
523
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
524
- <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
525
- <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
526
- </div>
527
- <div class="col-md col-md-6">
528
- <?php
529
- if($tracker->est_delivery_date){
530
- ?>
531
- <div class="text-muted text-right">
532
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number"><?php echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date)); ?></span>
533
- </div>
534
- <?php } else{ ?>
535
- <div class="text-muted text-right">
536
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
537
- </div>
538
- <?php } ?>
539
- </div>
540
- </div>
541
- <?php
542
 
543
- if(isset($tracker->ep_status)){ ?>
 
 
 
544
 
545
- <div class="status-section desktop-section">
546
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
547
- <div class="progress">
548
- <div class="progress-bar"></div>
549
- </div>
550
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
551
  <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
552
  <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
553
  <?php
@@ -558,141 +588,248 @@ class WC_Advanced_Shipment_Tracking_Front {
558
  }
559
  ?>
560
  </span>
561
-
 
 
562
  <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
563
  <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
564
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
565
  </span>
566
-
 
 
567
  <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
568
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
569
- <?php
570
- if($tracker->ep_status == "return_to_sender"){
571
- echo apply_filters("trackship_status_filter",'return_to_sender');
572
- } elseif($tracker->ep_status == "failure"){
573
- echo apply_filters("trackship_status_filter",'failure');
574
- } else{
575
- echo apply_filters("trackship_status_filter",'out_for_delivery');
576
- }
577
- ?>
578
  </span>
579
-
 
 
580
  <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
581
  <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
582
  <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
583
  </span>
584
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
585
  </div>
 
586
  </div>
587
-
588
- <div class="status-section mobile-section">
589
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
590
- <div class="progress">
591
- <div class="progress-bar <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-secondary';} ?>"></div>
592
- </div>
593
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
594
-
595
- <div class="dot-div">
596
- <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
597
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
598
- <?php
599
- if($tracker->ep_status == "unknown"){
600
- echo apply_filters("trackship_status_filter",'unknown');
601
- } else{
602
- echo apply_filters("trackship_status_filter",'pre_transit');
603
- }
604
- ?>
605
- </span>
606
- </div>
607
-
608
- <div class="dot-div">
609
- <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
610
- <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
611
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
612
- </span>
613
- </div>
614
-
615
- <div class="dot-div">
616
- <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
617
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo ' past-state'; } ?>">
618
- <?php
619
- if($tracker->ep_status == "return_to_sender"){
620
- echo apply_filters("trackship_status_filter",'return_to_sender');
621
- } elseif($tracker->ep_status == "failure"){
622
- echo apply_filters("trackship_status_filter",'failure');
623
- } else{
624
- echo apply_filters("trackship_status_filter",'out_for_delivery');
625
- }
626
- ?>
627
- </span>
628
- </div>
629
-
630
- <div class="dot-div">
631
- <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
632
- <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
633
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
634
- </span>
635
- </div>
636
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
637
  </div>
 
638
  </div>
639
- </div>
640
- <?php }
641
-
642
- if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
643
-
644
- <div class="shipment_progress_div">
645
- <div class="shipment_progress_heading_div">
646
- <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
 
 
 
 
 
 
 
 
 
 
 
 
647
  </div>
648
- <table class="tracking-table">
649
- <tbody>
650
- <?php
651
- $i=0;
652
- foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
653
- <tr>
654
- <td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
655
- <?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
656
- <td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
657
- <td><?php echo $status_detail->message; ?></td>
658
- </tr>
659
- <?php }
660
- ?>
661
- </tbody>
662
- </table>
663
- <?php if(count($trackind_detail_by_status_rev) > 2){ ?>
664
-
665
- <a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
666
- <a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
667
- <?php } ?>
668
- </div>
669
- <?php } ?>
670
-
671
  </div>
672
-
673
- <?php } else{ ?>
674
-
675
- <div class="tracking-detail col">
676
- <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
677
- <h3 class="text-center"><?php _e( 'Invalid Tracking Number', 'woo-advanced-shipment-tracking' ); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678
  </div>
679
- <?php
680
- }
681
- $num++;
682
- }
683
-
684
- $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
685
-
686
- if($remove_trackship_branding != 1){ ?>
687
-
688
- <div class="trackship_branding">
689
- <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
690
- </div>
691
-
692
- <?php }
693
-
694
- exit;
695
- }
696
 
697
  /**
698
  * convert string to date
@@ -710,36 +847,43 @@ class WC_Advanced_Shipment_Tracking_Front {
710
  }
711
 
712
  public static function preview_tracking_page(){
 
 
 
713
 
714
- if($_GET['action'] != 'preview_tracking_page')return;
715
-
716
- get_header();
717
-
718
  $wc_ast_api_key = get_option('wc_ast_api_key');
719
  $primary_color = get_option('wc_ast_select_primary_color');
720
  $border_color = get_option('wc_ast_select_border_color');
721
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
 
 
722
  ?>
723
 
724
  <style>
 
 
 
725
  <?php if($primary_color){ ?>
726
  .bg-secondary{
727
- background-color:<?php echo $primary_color; ?> !important;
728
  }
729
  .tracker-progress-bar-with-dots .secondary .dot {
730
  border-color: <?php echo $primary_color; ?>;
731
  }
732
  .text-secondary{
733
- color: <?php echo $primary_color; ?> !important;
734
  }
735
  .progress-bar.bg-secondary:before{
736
  background-color: <?php echo $primary_color; ?>;
737
  }
738
  .tracking-number{
739
- color: <?php echo $primary_color; ?> !important;
740
  }
741
- .view_table_rows,.hide_table_rows{
742
- color: <?php echo $primary_color; ?> !important;
 
 
 
743
  }
744
  <?php }
745
  if($border_color){ ?>
@@ -749,118 +893,280 @@ class WC_Advanced_Shipment_Tracking_Front {
749
  <?php } ?>
750
  </style>
751
 
752
- <div class="tracking-detail col">
753
- <div class="tracking-header">
754
- <div class="col-md col-md-6">
755
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#4542</span><br>
756
- USPS: <span class="tracking-number">9405511899561468285343</span>
757
- <h1 class="shipment_status_heading text-success">Delivered</h1>
 
 
 
 
 
 
758
  </div>
759
- <div class="col-md col-md-6">
760
- <div class="text-muted text-right">
761
- <?php _e( 'Estimated Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <span class="tracking-number">Friday, Jun 28</span>
 
 
 
 
762
  </div>
763
  </div>
 
 
 
 
764
  </div>
765
  <div class="status-section desktop-section">
766
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
767
  <div class="progress">
768
- <div class="progress-bar bg-success" style=""></div>
769
  </div>
770
  <div style="background-color: transparent;" class="success">
771
- <span class="dot state-0 pre_transit past-state"></span>
772
- <span class="state-label past-state">
773
- Pre Transit
774
- </span>
775
  <span class="dot state-1 in_transit past-state"></span>
776
- <span class="state-label state-1 past-state">
777
- In Transit
778
- </span>
779
- <span class="dot state-2 out_for_delivery past-state"></span>
780
- <span class="state-label state-2 past-state">
781
- Out for delivery
782
- </span>
783
- <span class="dot state-3 delivered current-state"></span>
784
- <span class="state-label state-3 current-state">
785
- Delivered </span>
786
  </div>
787
  </div>
788
  </div>
789
  <div class="status-section mobile-section">
790
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
791
- <div class="progress">
792
- <div class="progress-bar bg-success" style=""></div>
793
  </div>
794
  <div style="background-color: transparent;" class="success">
795
  <div class="dot-div">
796
- <span class="dot state-0 pre_transit past-state"></span>
797
- <span class="state-label past-state">
798
- Pre Transit
799
- </span>
800
  </div>
801
  <div class="dot-div">
802
- <span class="dot state-1 in_transit past-state"></span>
803
- <span class="state-label state-1 past-state">
804
- In Transit
805
- </span>
806
  </div>
807
  <div class="dot-div">
808
- <span class="dot state-2 out_for_delivery past-state"></span>
809
- <span class="state-label state-2 past-state">
810
- Out for delivery
811
- </span>
812
  </div>
813
  <div class="dot-div">
814
- <span class="dot state-3 delivered current-state"></span>
815
- <span class="state-label state-3 current-state">
816
- Delivered </span>
817
  </div>
818
  </div>
819
  </div>
820
- </div>
821
-
822
- <?php if($hide_tracking_events != 1){ ?>
823
 
824
- <div class="shipment_progress_div">
825
- <div class="shipment_progress_heading_div">
826
- <h4 class="tracking-number h4-heading"><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
827
  </div>
828
- <table class="tracking-table">
829
- <tbody>
830
- <tr>
831
- <td>June 28, 2019 1:46 pm</td>
832
- <td>Delivered</td>
833
- <td>Delivered, Garage or Other Location at Address</td>
834
- </tr>
835
- <tr>
836
- <td>June 28, 2019 8:31 am</td>
837
- <td>Out for delivery</td>
838
- <td>Out for Delivery</td>
839
- </tr>
840
- <tr style="display: none;">
841
- <td>June 28, 2019 8:21 am</td>
842
- <td>In Transit</td>
843
- <td>Sorting Complete</td>
844
- </tr>
845
- </tbody>
846
- </table>
847
- <a class="view_table_rows" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
848
- <a class="hide_table_rows" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
849
- </div>
850
-
851
- <?php } ?>
852
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
853
  </div>
854
- <?php
855
-
856
- $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
857
 
858
- if($remove_trackship_branding != 1){ ?>
859
- <div class="trackship_branding">
860
- <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
 
 
 
 
 
 
 
 
 
 
861
  </div>
862
- <?php }
863
- get_footer();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
864
  exit;
865
  }
866
  }
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
122
  if(isset($_GET['order_id']) && isset($_GET['order_key'])){
123
 
124
  $order_id = $_GET['order_id'];
125
+ $order = wc_get_order( $order_id );
126
  $order_key = $order->get_order_key();
127
 
128
  if($order_key != $_GET['order_key']){
129
  return;
130
  }
131
+
132
+ if(empty($order)){
133
  return;
134
+ }
135
 
136
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
137
  $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
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
+ }
 
145
  }
146
 
147
  ?>
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
  }
337
 
338
+ $order_id = $_POST['order_id'];
 
339
  $email = $_POST['order_email'];
340
 
341
  $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
342
  $order_id = $wast->get_formated_order_id($order_id);
343
 
344
+ $order = wc_get_order( $order_id );
345
+
346
+ if(empty($order)){
347
  echo '';
348
  exit;
349
  }
350
+
 
351
  $order_email = $order->get_billing_email();
352
 
353
+ if(strtolower($order_email) != strtolower($email)){
354
  echo '';
355
  exit;
356
  }
357
 
358
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
359
+ $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
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';
376
  $tracking_provider = $item['tracking_provider'];
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 = '';
415
  $trackind_detail_by_status_rev = '';
416
 
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
847
  }
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
@@ -54,11 +54,19 @@ class WC_Advanced_Shipment_Tracking_Install {
54
  * init from parent mail class
55
  */
56
  public function init(){
57
- add_action( 'init', array( $this, 'update_database_check'));
 
58
  $wc_ast_api_key = get_option('wc_ast_api_key');
 
 
 
 
 
 
 
 
59
  if(!$wc_ast_api_key){
60
- //require_once( 'vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
61
- //add_action( 'admin_init', array( 'PAnD', 'init' ) );
62
  //add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
63
  }
64
  }
@@ -76,29 +84,10 @@ class WC_Advanced_Shipment_Tracking_Install {
76
 
77
  global $wpdb;
78
 
79
- $woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
80
- $woo_shippment_status_email_table = $wpdb->prefix . 'woo_shipment_status_email';
81
- // create the ECPT metabox database table
82
- if($wpdb->get_var("show tables like '$woo_shippment_status_email_table'") != $woo_shippment_status_email_table) {
83
- $charset_collate = $wpdb->get_charset_collate();
84
-
85
- $sql = "CREATE TABLE $woo_shippment_status_email_table (
86
- id int(11) NOT NULL AUTO_INCREMENT,
87
- enable int(11) NOT NULL DEFAULT '1',
88
- email_trigger text NOT NULL,
89
- email_label text NOT NULL,
90
- email_to text NOT NULL,
91
- shippment_status text NOT NULL,
92
- order_status text NOT NULL,
93
- email_subject text NOT NULL,
94
- email_heading text NOT NULL,
95
- email_content text NOT NULL,
96
- PRIMARY KEY (id)
97
- ) $charset_collate;";
98
- //echo $sql;exit;
99
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
100
- dbDelta( $sql );
101
- }
102
  if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
103
  {
104
  $charset_collate = $wpdb->get_charset_collate();
@@ -107,15 +96,14 @@ class WC_Advanced_Shipment_Tracking_Install {
107
  id mediumint(9) NOT NULL AUTO_INCREMENT,
108
  provider_name varchar(500) DEFAULT '' NOT NULL,
109
  ts_slug text NULL DEFAULT NULL,
110
- provider_url varchar(500) DEFAULT '' NOT NULL,
111
- shipping_country varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
112
- shipping_default tinyint(4) NOT NULL DEFAULT '0',
113
  custom_thumb_id int(11) NOT NULL DEFAULT '0',
114
  display_in_order tinyint(4) NOT NULL DEFAULT '1',
115
  sort_order int(11) NOT NULL DEFAULT '0',
116
  PRIMARY KEY (id)
117
- ) $charset_collate;";
118
- //echo $sql;exit;
119
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
120
  dbDelta( $sql );
121
 
@@ -1502,6 +1490,71 @@ class WC_Advanced_Shipment_Tracking_Install {
1502
  $this->update_shipping_providers();
1503
  update_option( 'wc_advanced_shipment_tracking', '3.3');
1504
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1505
  }
1506
  }
1507
 
@@ -1512,82 +1565,191 @@ class WC_Advanced_Shipment_Tracking_Install {
1512
  global $wpdb;
1513
  $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
1514
  $resp = wp_remote_get( $url );
1515
- $providers = json_decode($resp['body'],true);
1516
 
1517
- $providers_name = array();
1518
-
1519
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
1520
-
1521
- foreach ( $default_shippment_providers as $key => $val ){
1522
- $shippment_providers[ $val->provider_name ] = $val;
1523
- }
1524
-
1525
- foreach ( $providers as $key => $val ){
1526
- $providers_name[ $val['provider_name'] ] = $val;
1527
- }
1528
 
1529
- foreach($providers as $provider){
1530
 
1531
- $provider_name = $provider['shipping_provider'];
1532
- $provider_url = $provider['provider_url'];
1533
- $shipping_country = $provider['shipping_country'];
1534
- $ts_slug = $provider['shipping_provider_slug'];
1535
 
1536
- if(isset($shippment_providers[$provider_name])){
1537
- $db_provider_url = $shippment_providers[$provider_name]->provider_url;
1538
- $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
1539
- $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
1540
- if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
1541
- $data_array = array(
1542
- 'ts_slug' => $ts_slug,
1543
- 'provider_url' => $provider_url,
1544
- 'shipping_country' => $shipping_country,
1545
- );
1546
- $where_array = array(
1547
- 'provider_name' => $provider_name,
1548
- );
1549
- $wpdb->update( $this->table, $data_array, $where_array);
1550
- }
1551
- } else{
1552
- $img_url = $provider['img_url'];
1553
- $img_slug = sanitize_title($provider_name);
1554
- $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
1555
-
1556
- $ch = curl_init();
1557
-
1558
- curl_setopt($ch, CURLOPT_HEADER, 0);
1559
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1560
- curl_setopt($ch, CURLOPT_URL, $img_url);
1561
 
1562
- $data = curl_exec($ch);
1563
- curl_close($ch);
 
 
 
 
1564
 
1565
- file_put_contents($img, $data);
1566
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1567
 
1568
- $data_array = array(
1569
- 'shipping_country' => sanitize_text_field($shipping_country),
1570
- 'provider_name' => sanitize_text_field($provider_name),
1571
- 'ts_slug' => $ts_slug,
1572
- 'provider_url' => sanitize_text_field($provider_url),
1573
- 'display_in_order' => 0,
1574
- 'shipping_default' => 1,
1575
- );
1576
- $result = $wpdb->insert( $this->table, $data_array );
 
 
1577
  }
1578
- }
1579
- foreach($default_shippment_providers as $db_provider){
1580
-
1581
- if(!isset($providers_name[$db_provider->provider_name])){
1582
- $where = array(
1583
- 'provider_name' => $db_provider->provider_name,
1584
- 'shipping_default' => 1
1585
- );
1586
- $wpdb->delete( $this->table, $where );
1587
  }
1588
- }
1589
  }
1590
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1591
  /*
1592
  * Display admin notice on plugin install or update
1593
  */
@@ -1694,5 +1856,234 @@ class WC_Advanced_Shipment_Tracking_Install {
1694
  </div>
1695
  </div>
1696
  <?php
1697
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1698
  }
54
  * init from parent mail class
55
  */
56
  public function init(){
57
+ add_action( 'init', array( $this, 'update_database_check'));
58
+ add_action( 'wp_ajax_ast_hide_admin_menu_tooltip', array( $this, 'ast_mark_admin_menu_tooltip_hidden') );
59
  $wc_ast_api_key = get_option('wc_ast_api_key');
60
+
61
+ require_once( 'vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
62
+ add_action( 'admin_init', array( 'PAnD', 'init' ) );
63
+
64
+ if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
65
+ add_action( 'admin_notices', array( $this, 'admin_notice_for_addon' ) );
66
+ }
67
+
68
  if(!$wc_ast_api_key){
69
+ add_action( 'adminmenu', array( $this, 'admin_notice_menu_tooltip') );
 
70
  //add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
71
  }
72
  }
84
 
85
  global $wpdb;
86
 
87
+ // Add transient to trigger redirect.
88
+ set_transient( '_ast_activation_redirect', 1, 30 );
89
+
90
+ $woo_shippment_table_name = $this->table;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
92
  {
93
  $charset_collate = $wpdb->get_charset_collate();
96
  id mediumint(9) NOT NULL AUTO_INCREMENT,
97
  provider_name varchar(500) DEFAULT '' NOT NULL,
98
  ts_slug text NULL DEFAULT NULL,
99
+ provider_url varchar(500) DEFAULT '' NULL,
100
+ shipping_country varchar(45) DEFAULT '' NULL,
101
+ shipping_default tinyint(4) NULL DEFAULT '0',
102
  custom_thumb_id int(11) NOT NULL DEFAULT '0',
103
  display_in_order tinyint(4) NOT NULL DEFAULT '1',
104
  sort_order int(11) NOT NULL DEFAULT '0',
105
  PRIMARY KEY (id)
106
+ ) $charset_collate;";
 
107
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
108
  dbDelta( $sql );
109
 
1490
  $this->update_shipping_providers();
1491
  update_option( 'wc_advanced_shipment_tracking', '3.3');
1492
  }
1493
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.4', '<') ){
1494
+ $multi_checkbox_data = get_option('wc_ast_unclude_tracking_info');
1495
+ $data_array = array('completed' => 1);
1496
+ if($multi_checkbox_data){
1497
+ $data_array = array_merge($multi_checkbox_data,$data_array);
1498
+ }
1499
+ update_option( 'wc_ast_unclude_tracking_info', $data_array );
1500
+ update_option( 'wc_advanced_shipment_tracking', '3.4');
1501
+ }
1502
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.5', '<') ){
1503
+ $multi_checkbox_data = get_option('wc_ast_unclude_tracking_info');
1504
+ $data_array = array('partial-shipped' => 1);
1505
+ if($multi_checkbox_data){
1506
+ $data_array = array_merge($multi_checkbox_data,$data_array);
1507
+ }
1508
+ update_option( 'wc_ast_unclude_tracking_info', $data_array );
1509
+ update_option( 'wc_advanced_shipment_tracking', '3.5');
1510
+ }
1511
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.6', '<') ){
1512
+ set_theme_mod('display_shipment_provider_name', 1);
1513
+ set_theme_mod('select_tracking_template', 'default_table');
1514
+ set_theme_mod('simple_provider_font_size', '14');
1515
+ set_theme_mod('simple_provider_font_color', '#575f6d');
1516
+ set_theme_mod('show_provider_border', 1);
1517
+ set_theme_mod('provider_border_color', '#e0e0e0');
1518
+ update_option( 'wc_advanced_shipment_tracking', '3.6');
1519
+ }
1520
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.7', '<') ){
1521
+ global $wpdb;
1522
+
1523
+ $woo_shippment_table_name = $this->table;
1524
+ if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
1525
+ {
1526
+ $charset_collate = $wpdb->get_charset_collate();
1527
+
1528
+ $sql = "CREATE TABLE $woo_shippment_table_name (
1529
+ id mediumint(9) NOT NULL AUTO_INCREMENT,
1530
+ provider_name varchar(500) DEFAULT '' NOT NULL,
1531
+ ts_slug text NULL DEFAULT NULL,
1532
+ provider_url varchar(500) DEFAULT '' NULL,
1533
+ shipping_country varchar(45) DEFAULT '' NULL,
1534
+ shipping_default tinyint(4) NULL DEFAULT '0',
1535
+ custom_thumb_id int(11) NOT NULL DEFAULT '0',
1536
+ display_in_order tinyint(4) NOT NULL DEFAULT '1',
1537
+ sort_order int(11) NOT NULL DEFAULT '0',
1538
+ PRIMARY KEY (id)
1539
+ ) $charset_collate;";
1540
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
1541
+ dbDelta( $sql );
1542
+
1543
+ $providers = $this->provider_list();
1544
+
1545
+ foreach($providers as $shipping_provider){
1546
+ $shipping_provider['provider_name'];
1547
+ $success = $wpdb->insert($woo_shippment_table_name, array(
1548
+ "provider_name" => $shipping_provider['provider_name'],
1549
+ "ts_slug" => $shipping_provider['ts_slug'],
1550
+ "provider_url" => $shipping_provider['provider_url'],
1551
+ "shipping_country" => $shipping_provider['shipping_country'],
1552
+ "shipping_default" => $shipping_provider['shipping_default'],
1553
+ ));
1554
+ }
1555
+ }
1556
+ update_option( 'wc_advanced_shipment_tracking', '3.7');
1557
+ }
1558
  }
1559
  }
1560
 
1565
  global $wpdb;
1566
  $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
1567
  $resp = wp_remote_get( $url );
 
1568
 
1569
+ if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
 
 
 
 
 
 
 
 
 
 
1570
 
1571
+ $providers = json_decode($resp['body'],true);
1572
 
1573
+ $providers_name = array();
 
 
 
1574
 
1575
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
1576
+
1577
+ foreach ( $default_shippment_providers as $key => $val ){
1578
+ $shippment_providers[ $val->provider_name ] = $val;
1579
+ }
1580
+
1581
+ foreach ( $providers as $key => $val ){
1582
+ $providers_name[ $val['provider_name'] ] = $val;
1583
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1584
 
1585
+ foreach($providers as $provider){
1586
+
1587
+ $provider_name = $provider['shipping_provider'];
1588
+ $provider_url = $provider['provider_url'];
1589
+ $shipping_country = $provider['shipping_country'];
1590
+ $ts_slug = $provider['shipping_provider_slug'];
1591
 
1592
+ if(isset($shippment_providers[$provider_name])){
1593
+ $db_provider_url = $shippment_providers[$provider_name]->provider_url;
1594
+ $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
1595
+ $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
1596
+ if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
1597
+ $data_array = array(
1598
+ 'ts_slug' => $ts_slug,
1599
+ 'provider_url' => $provider_url,
1600
+ 'shipping_country' => $shipping_country,
1601
+ );
1602
+ $where_array = array(
1603
+ 'provider_name' => $provider_name,
1604
+ );
1605
+ $wpdb->update( $this->table, $data_array, $where_array);
1606
+ }
1607
+ } else{
1608
+ $img_url = $provider['img_url'];
1609
+ $img_slug = sanitize_title($provider_name);
1610
+ $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
1611
+
1612
+ $ch = curl_init();
1613
+
1614
+ curl_setopt($ch, CURLOPT_HEADER, 0);
1615
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1616
+ curl_setopt($ch, CURLOPT_URL, $img_url);
1617
+
1618
+ $data = curl_exec($ch);
1619
+ curl_close($ch);
1620
+
1621
+ file_put_contents($img, $data);
1622
 
1623
+
1624
+ $data_array = array(
1625
+ 'shipping_country' => sanitize_text_field($shipping_country),
1626
+ 'provider_name' => sanitize_text_field($provider_name),
1627
+ 'ts_slug' => $ts_slug,
1628
+ 'provider_url' => sanitize_text_field($provider_url),
1629
+ 'display_in_order' => 0,
1630
+ 'shipping_default' => 1,
1631
+ );
1632
+ $result = $wpdb->insert( $this->table, $data_array );
1633
+ }
1634
  }
1635
+ foreach($default_shippment_providers as $db_provider){
1636
+
1637
+ if(!isset($providers_name[$db_provider->provider_name])){
1638
+ $where = array(
1639
+ 'provider_name' => $db_provider->provider_name,
1640
+ 'shipping_default' => 1
1641
+ );
1642
+ $wpdb->delete( $this->table, $where );
1643
+ }
1644
  }
1645
+ }
1646
  }
1647
+
1648
+ /*
1649
+ * Display admin notice addons
1650
+ */
1651
+ public function admin_notice_for_addon(){
1652
+ if ( ! PAnD::is_admin_notice_active( 'disable-ast-addon-forever' ) ) {
1653
+ return;
1654
+ }
1655
+ ?>
1656
+ <style>
1657
+ .notice.addon-admin-notice {
1658
+ padding: 20px;
1659
+ background: #F6FBFF;
1660
+ border: 1px solid #eee;
1661
+ border-left: 4px solid #005B9A !important;
1662
+ }
1663
+ .rtl .notice.addon-admin-notice {
1664
+ border-right-color: #83bd31 !important;
1665
+ }
1666
+ .notice.addon-admin-notice .ast-admin-notice-inner {
1667
+ display: table;
1668
+ width: 100%;
1669
+ }
1670
+ .notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1671
+ .notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-content,
1672
+ .notice.addon-admin-notice .ast-admin-notice-inner .trackship-install-now {
1673
+ display: table-cell;
1674
+ vertical-align: middle;
1675
+ }
1676
+ .notice.addon-admin-notice .ast-admin-notice-icon {
1677
+ color: #83bd31;
1678
+ }
1679
+ .notice.addon-admin-notice .ast-admin-notice-icon .notice-logo{
1680
+ width: 200px;
1681
+ }
1682
+ .notice.addon-admin-notice .ast-admin-notice-content {
1683
+ padding: 0 20px;
1684
+ }
1685
+ .notice.addon-admin-notice p {
1686
+ padding: 0;
1687
+ margin: 0;
1688
+ }
1689
+ .notice.addon-admin-notice h3 {
1690
+ margin: 0 0 5px;
1691
+ color: #005B9A;
1692
+ }
1693
+ .notice.addon-admin-notice .trackship-install-now {
1694
+ text-align: center;
1695
+ }
1696
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button {
1697
+ padding: 5px 30px;
1698
+ height: auto;
1699
+ line-height: 20px;
1700
+ text-transform: capitalize;
1701
+ }
1702
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
1703
+ padding-right: 5px;
1704
+ }
1705
+ .rtl .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
1706
+ padding-right: 0;
1707
+ padding-left: 5px;
1708
+ }
1709
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button:active {
1710
+ transform: translateY(1px);
1711
+ }
1712
+ .addon-admin-notice .notice-dismiss:before{
1713
+ color: #005B9A;
1714
+ font: normal 20px/20px dashicons;
1715
+ }
1716
+ .wp-core-ui .btn_blue {
1717
+ background: #005B9A;
1718
+ text-shadow: none;
1719
+ border-color: #005B9A;
1720
+ box-shadow: none;
1721
+ font-size: 14px;
1722
+ line-height: 32px;
1723
+ height: 35px;
1724
+ padding: 0 20px;
1725
+ }
1726
+ .wp-core-ui .btn_blue:hover, .wp-core-ui .btn_blue:focus {
1727
+ background: #005B9A;
1728
+ border-color: rgba(0,0,0,0.05);
1729
+ color: #fff;
1730
+ text-shadow: none;
1731
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
1732
+ }
1733
+ </style>
1734
+ <div data-dismissible="disable-ast-addon-forever" class="notice updated is-dismissible addon-admin-notice">
1735
+ <div class="ast-admin-notice-inner">
1736
+ <div class="ast-admin-notice-icon">
1737
+ <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" />
1738
+ </div>
1739
+
1740
+ <div class="ast-admin-notice-content">
1741
+ <h3>New AST Add-on!</h3>
1742
+ <p>The Tracking Per Item add-on allows attaching the tracking numbers to specific order items.</p>
1743
+ </div>
1744
+
1745
+ <div data-dismissible="disable-ast-addon-forever" class="trackship-install-now">
1746
+ <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>
1747
+ </div>
1748
+ </div>
1749
+ </div>
1750
+ <?php
1751
+ }
1752
+
1753
  /*
1754
  * Display admin notice on plugin install or update
1755
  */
1856
  </div>
1857
  </div>
1858
  <?php
1859
+ }
1860
+ /**
1861
+ * Admin menu tooltip.
1862
+ */
1863
+ function admin_notice_menu_tooltip() {
1864
+
1865
+ $show_tooltip = get_option( 'ast_admin_menu_tooltip', 0 );
1866
+
1867
+ if ( $show_tooltip ) {
1868
+ // Dismissed less than 30 days ago.
1869
+ return;
1870
+ }
1871
+
1872
+ $url = 'https://trackship.info/?utm_source=wpadmin&utm_campaign=astpopup';
1873
+ ?>
1874
+ <div id="ast-admin-menu-tooltip" class="ast-admin-menu-tooltip-hide">
1875
+ <div class="ast-admin-menu-tooltip-header">
1876
+ <!--span class="ast-admin-menu-tooltip-icon"><span class="dashicons dashicons-megaphone"></span></span-->
1877
+ Automate your Post-Shipping Operations
1878
+ <a href="#" class="ast-admin-menu-tooltip-close"><span class="dashicons dashicons-dismiss"></span></a>
1879
+ </div>
1880
+ <div class="ast-admin-menu-tooltip-content">
1881
+ <img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="sidebar_ts_logo" style="max-width: 50%;">
1882
+ <p>TrackShip will auto-track your shipments with 140+ carriers around the globe and display real-time shipment status on your orders admin. You can automate the order management flow, direct customers to a tracking page on your store, automatically send shipment status notifications to your customer and more…</p>
1883
+ <p>
1884
+ <a href="<?php echo esc_url( $url ); ?>" target="blank" class="button button-primary btn_green2 btn_large">Try TrackShip for free!</a>
1885
+ </p>
1886
+ </div>
1887
+ </div>
1888
+ <style type="text/css">
1889
+ #ast-admin-menu-tooltip {
1890
+ position: absolute;
1891
+ left: 100%;
1892
+ top: 100%;
1893
+ background: #fff;
1894
+ margin-left: 16px;
1895
+ width: 350px;
1896
+ box-shadow: 0px 4px 7px 0px #ccc;
1897
+ }
1898
+
1899
+ #ast-admin-menu-tooltip:before {
1900
+ content: '';
1901
+ width: 0;
1902
+ height: 0;
1903
+ border-style: solid;
1904
+ border-width: 12px 12px 12px 0;
1905
+ border-color: transparent #fff transparent transparent;
1906
+ position: absolute;
1907
+ right: 100%;
1908
+ top: 130px;
1909
+ z-index: 10;
1910
+ }
1911
+
1912
+ #ast-admin-menu-tooltip:after {
1913
+ content: '';
1914
+ width: 0;
1915
+ height: 0;
1916
+ border-style: solid;
1917
+ border-width: 13px 13px 13px 0;
1918
+ border-color: transparent #ccc transparent transparent;
1919
+ position: absolute;
1920
+ right: 100%;
1921
+ margin-left: -1px;
1922
+ top: 129px;
1923
+ z-index: 5;
1924
+ }
1925
+
1926
+ #ast-admin-menu-tooltip.ast-tooltip-arrow-top:before {
1927
+ top: 55px;
1928
+ }
1929
+
1930
+ #ast-admin-menu-tooltip.ast-tooltip-arrow-top:after {
1931
+ top: 54px;
1932
+ }
1933
+
1934
+ .ast-admin-menu-tooltip-header {
1935
+ background: #83bd31;
1936
+ padding: 10px 12px;
1937
+ font-size: 14px;
1938
+ font-weight: 700;
1939
+ font-family: Arial, Helvetica, "Trebuchet MS", sans-serif;
1940
+ color: #fff;
1941
+ line-height: 1.6;
1942
+ }
1943
+
1944
+ .ast-admin-menu-tooltip-icon {
1945
+ background: #fff;
1946
+ border-radius: 50%;
1947
+ width: 28px;
1948
+ height: 25px;
1949
+ display: inline-block;
1950
+ color: #83bd31;
1951
+ text-align: center;
1952
+ padding: 3px 0 0;
1953
+ margin-right: 6px;
1954
+ }
1955
+
1956
+ .ast-admin-menu-tooltip-hide {
1957
+ display: none;
1958
+ }
1959
+
1960
+ .ast-admin-menu-tooltip-content {
1961
+ padding: 20px 15px 7px;
1962
+ }
1963
+
1964
+ .ast-admin-menu-tooltip-content strong {
1965
+ font-size: 14px;
1966
+ }
1967
+
1968
+ .ast-admin-menu-tooltip-content p strong {
1969
+ font-size: 13px;
1970
+ }
1971
+
1972
+ .ast-admin-menu-tooltip-close {
1973
+ color: #fff;
1974
+ text-decoration: none;
1975
+ position: absolute;
1976
+ right: 10px;
1977
+ top: 14px;
1978
+ display: block;
1979
+ }
1980
+
1981
+ .ast-admin-menu-tooltip-close:hover {
1982
+ color: #fff;
1983
+ text-decoration: none;
1984
+ }
1985
+
1986
+ .ast-admin-menu-tooltip-close .dashicons {
1987
+ font-size: 14px;
1988
+ }
1989
+
1990
+ @media ( max-width: 782px ) {
1991
+ #ast-admin-menu-tooltip {
1992
+ display: none;
1993
+ }
1994
+ }
1995
+ </style>
1996
+ <script type="text/javascript">
1997
+ if ( 'undefined' !== typeof jQuery ) {
1998
+ jQuery( function ( $ ) {
1999
+ var $tooltip = $( document.getElementById( 'ast-admin-menu-tooltip' ) );
2000
+ var $menuwrapper = $( document.getElementById( 'adminmenuwrap' ) );
2001
+ var $menuitem = $( document.getElementById( 'toplevel_page_woocommerce' ) );
2002
+
2003
+ if ( $menuitem.length ) {
2004
+ $menuwrapper.append( $tooltip );
2005
+ $tooltip.removeClass( 'ast-admin-menu-tooltip-hide' );
2006
+ }
2007
+
2008
+ function alignTooltip() {
2009
+ var sticky = $( 'body' ).hasClass( 'sticky-menu' );
2010
+
2011
+ var menuitem_pos = $menuitem.position();
2012
+
2013
+ var tooltip_top = menuitem_pos.top - 124;
2014
+
2015
+ if ( sticky && $( window ).height() > $menuwrapper.height() + 150 ) {
2016
+ $tooltip.removeClass( 'ast-tooltip-arrow-top' );
2017
+ } else {
2018
+ tooltip_top = menuitem_pos.top - 50;
2019
+ $tooltip.addClass( 'ast-tooltip-arrow-top' );
2020
+ }
2021
+
2022
+ $tooltip.css( {
2023
+ top: tooltip_top + 'px'
2024
+ } );
2025
+ }
2026
+
2027
+ var $document = $( document );
2028
+ var timeout = setTimeout( alignTooltip, 10 );
2029
+ $document.on( 'wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu', function () {
2030
+ if ( timeout ) {
2031
+ clearTimeout( timeout );
2032
+ }
2033
+ timeout = setTimeout( alignTooltip, 10 );
2034
+ } );
2035
+
2036
+ $( '.ast-admin-menu-tooltip-close' ).on( 'click', function ( e ) {
2037
+ e.preventDefault();
2038
+ hideTooltip();
2039
+ } );
2040
+
2041
+ function hideTooltip() {
2042
+ $tooltip.addClass( 'ast-admin-menu-tooltip-hide' );
2043
+ $.post( ajaxurl, {
2044
+ action: 'ast_hide_admin_menu_tooltip',
2045
+ nonce: '<?php echo esc_js( wp_create_nonce( 'ast-admin-tooltip-nonce' ) ); ?>',
2046
+ } );
2047
+ }
2048
+ } );
2049
+ }
2050
+ </script>
2051
+ <?php
2052
+ }
2053
+
2054
+ /**
2055
+ * Store the time when the float bar was hidden so it won't show again for 14 days.
2056
+ */
2057
+ function ast_mark_admin_menu_tooltip_hidden() {
2058
+ check_ajax_referer( 'ast-admin-tooltip-nonce', 'nonce' );
2059
+ update_option( 'ast_admin_menu_tooltip', time() );
2060
+ wp_send_json_success();
2061
+ }
2062
+
2063
+ /**
2064
+ * Create tracking page after store is connected
2065
+ */
2066
+ public function create_tracking_page(){
2067
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking_ts_page' ),'1.0', '<') ){
2068
+ $new_page_title = 'Shipment Tracking';
2069
+ $new_page_slug = 'ts-shipment-tracking';
2070
+ $new_page_content = '[wcast-track-order]';
2071
+ //don't change the code below, unless you know what you're doing
2072
+ $page_check = get_page_by_title($new_page_title);
2073
+
2074
+ if(!isset($page_check->ID)){
2075
+ $new_page = array(
2076
+ 'post_type' => 'page',
2077
+ 'post_title' => $new_page_title,
2078
+ 'post_name' => $new_page_slug,
2079
+ 'post_content' => $new_page_content,
2080
+ 'post_status' => 'publish',
2081
+ 'post_author' => 1,
2082
+ );
2083
+ $new_page_id = wp_insert_post($new_page);
2084
+ update_option( 'wc_ast_trackship_page_id', $new_page_id );
2085
+ }
2086
+ update_option( 'wc_advanced_shipment_tracking_ts_page', '1.0');
2087
+ }
2088
+ }
2089
  }
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
@@ -181,18 +181,25 @@ class WC_Advanced_Shipment_Tracking_Actions {
181
 
182
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
183
  if($wc_ast_status_shipped == 1){
184
- $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
 
185
  } else{
186
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
 
187
  }
 
 
188
  ?>
189
  <div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
190
  <div class="trackingpopup_row">
191
  <h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
192
  <form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
193
-
 
 
 
194
  <p class="form-field">
195
- <select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 90%;">
196
  <option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
197
  <?php
198
  foreach($shippment_countries as $s_c){
@@ -215,31 +222,40 @@ class WC_Advanced_Shipment_Tracking_Actions {
215
  <p class="form-field tracking_number_field ">
216
  <label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
217
  <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
218
- </p>
219
- <?php
220
- woocommerce_wp_text_input( array(
221
- 'id' => 'date_shipped',
222
- 'label' => __( 'Date shipped:', 'woo-advanced-shipment-tracking' ),
223
- 'placeholder' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ),
224
- 'description' => '',
225
- 'class' => 'date-picker-field',
226
- 'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
227
- ) );
228
- ?>
229
- <p class="form-field change_order_to_shipped_field ">
230
- <label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
231
- <input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
232
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  <p class="" style="text-align:left;">
234
  <input type="hidden" name="action" value="add_inline_tracking_number">
235
  <input type="hidden" name="order_id" id="order_id" value="">
236
- <input type="submit" name="Submit" value="Submit" class="button-primary btn_green">
237
  </p>
238
  </form>
239
  </div>
240
  <div class="popupclose"></div>
241
  </div>
242
  <?php
 
243
  }
244
 
245
  /**
@@ -256,21 +272,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
256
  $formatted = $this->get_formatted_tracking_item( $order_id, $item );
257
  ?>
258
  <div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
259
- <p class="tracking-content">
260
- <strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
261
-
262
- <?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
263
- - <?php
264
- $url = str_replace('%number%',$item['tracking_number'],$formatted['formatted_tracking_link']);
265
- echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Click here to track your shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . __( 'Track', 'woo-advanced-shipment-tracking' ) . '</a>', esc_url( $url ) ); ?>
266
- <?php endif; ?>
267
- <br/>
268
- <em><?php echo esc_html( $item['tracking_number'] ); ?></em>
269
- <?php $this->display_shipment_tracking_info( $order_id, $item );?>
270
- </p>
 
271
  <p class="meta">
272
  <?php /* translators: 1: shipping date */ ?>
273
- <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?>
274
  <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
275
  </p>
276
  </div>
@@ -284,6 +301,12 @@ class WC_Advanced_Shipment_Tracking_Actions {
284
  $shipment_status = get_post_meta( $order_id, "shipment_status", true);
285
  $tracking_id = $item['tracking_id'];
286
  $tracking_items = $this->get_tracking_items( $order_id );
 
 
 
 
 
 
287
  if ( count( $tracking_items ) > 0 ) {
288
  foreach ( $tracking_items as $key => $tracking_item ) {
289
  if( $tracking_id == $tracking_item['tracking_id'] ){
@@ -298,14 +321,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
298
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
299
  $has_est_delivery = true;
300
  }
301
- ?>
302
- </br>
303
  <span class="ast-shipment-status shipment-<?php echo sanitize_title($status)?>"><?php echo apply_filters( "trackship_status_icon_filter", "", $status )?> <strong><?php echo apply_filters("trackship_status_filter",$status)?></strong></span>
304
- <span class="">on <?php echo date( "d/m", strtotime($status_date))?></span>
305
  <br>
306
  <?php if( $has_est_delivery ){?>
307
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( "d/m", strtotime($est_delivery_date))?>)</span>
308
  <?php } ?>
 
309
  <?php
310
  }
311
  }
@@ -347,23 +371,31 @@ class WC_Advanced_Shipment_Tracking_Actions {
347
 
348
  $default_provider = get_option("wc_ast_default_provider" );
349
  $wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
 
350
  $value = 1;
351
  $cbvalue = '';
352
  if($wc_ast_default_mark_shipped == 1){
353
- $cbvalue = 1;
 
 
 
 
354
  }
355
 
356
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
357
  if($wc_ast_status_shipped == 1){
358
- $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
 
359
  } else{
360
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
 
361
  }
362
 
 
363
 
364
  echo '<div id="tracking-items">';
365
  if ( count( $tracking_items ) > 0 ) {
366
- foreach ( $tracking_items as $tracking_item ) {
367
  $this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
368
  }
369
  }
@@ -424,18 +456,31 @@ class WC_Advanced_Shipment_Tracking_Actions {
424
  'description' => '',
425
  'class' => 'date-picker-field',
426
  'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
427
- ) );
 
 
428
 
429
- woocommerce_wp_checkbox( array(
430
- 'id' => 'change_order_to_shipped',
431
- 'label' => __( $change_order_status_label, 'woo-advanced-shipment-tracking' ),
432
- 'description' => '',
433
- 'cbvalue' => $cbvalue,
434
- 'value' => $value,
435
- ) );
436
-
437
- echo '<button class="button button-primary button-save-form">' . __( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
438
- echo '<p class="preview_tracking_link">' . __( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . __( 'Click here to track your shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
 
 
 
 
 
 
 
 
 
 
 
439
 
440
  echo '</div>';
441
  $provider_array = array();
@@ -493,6 +538,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
493
 
494
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
495
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
 
 
496
  }
497
 
498
  /**
@@ -554,11 +601,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
554
 
555
  $tracking_item = $this->add_tracking_item( $order_id, $args );
556
 
557
- if($_POST['change_order_to_shipped'] == 'yes'){
558
  $order = new WC_Order($order_id);
559
  $order->update_status('completed');
560
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
561
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
 
 
 
 
 
 
 
 
 
 
 
562
  }
563
 
564
  $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
@@ -573,8 +631,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
573
  * Function for saving tracking items via AJAX
574
  */
575
  public function save_inline_tracking_number() {
576
- if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
577
-
578
  $order_id = wc_clean( $_POST['order_id'] );
579
  $args = array(
580
  'tracking_provider' => $_POST['tracking_provider'],
@@ -582,16 +639,26 @@ class WC_Advanced_Shipment_Tracking_Actions {
582
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
583
  );
584
 
585
- $tracking_item = $this->add_tracking_item( $order_id, $args );
586
 
587
- if($_POST['change_order_to_shipped'] == 'yes'){
588
  $order = new WC_Order($order_id);
589
  $order->update_status('completed');
590
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
591
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
592
- }
593
-
594
- $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
 
 
 
 
 
 
 
 
 
 
595
  }
596
  }
597
 
@@ -645,7 +712,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
645
  * Display Shipment info in the frontend (order view/tracking page).
646
  */
647
  public function show_tracking_info_order( $order_id ) {
648
- wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
649
  }
650
 
651
  /**
@@ -681,21 +748,21 @@ class WC_Advanced_Shipment_Tracking_Actions {
681
 
682
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
683
  $order = wc_get_order( $order_id );
684
- $order_status = $order->get_status();
685
- //echo '<pre>';print_r($wc_ast_unclude_tracking_info);echo '</pre>';exit;
686
 
687
- if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && !isset($wc_ast_unclude_tracking_info['show_in_customer_invoice'])){
688
  return;
689
- } elseif(!isset($wc_ast_unclude_tracking_info[$order_status])){
 
690
  return;
691
  }
692
-
693
  $tracking_items = $this->get_tracking_items( $order_id, true );
694
 
695
  if ( true === $plain_text ) {
696
- wc_get_template( 'emails/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
697
  } else {
698
- wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
699
  }
700
  }
701
 
@@ -805,6 +872,20 @@ class WC_Advanced_Shipment_Tracking_Actions {
805
  */
806
  public function get_formatted_tracking_item( $order_id, $tracking_item ) {
807
  $formatted = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
 
809
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
810
  $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
@@ -823,7 +904,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
823
  $formatted['formatted_tracking_provider'] = '';
824
  $formatted['formatted_tracking_link'] = '';
825
 
826
- if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider'] ) ) {
827
  $formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
828
  $formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
829
  } else {
@@ -846,7 +927,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
846
  $wc_ast_api_key = get_option('wc_ast_api_key');
847
  $use_tracking_page = get_option('wc_ast_use_tracking_page');
848
 
849
- if( $wc_ast_api_key && $use_tracking_page){
850
  $order_key = $order->get_order_key();
851
  $formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
852
  } else {
@@ -860,19 +941,39 @@ class WC_Advanced_Shipment_Tracking_Actions {
860
  $shipping_country = $order->get_shipping_country();
861
  } else{
862
  $shipping_country = $order->get_billing_country();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  }
864
 
865
  if($order->get_shipping_postcode() != null){
866
  $shipping_postal_code = $order->get_shipping_postcode();
867
  } else{
868
  $shipping_postal_code = $order->get_billing_postcode();
869
- }
870
-
871
- $country_code = array("%country_code%", str_replace(' ', '', "%2 $ s") );
872
- $link_format = str_replace($country_code, $shipping_country, $link_format);
873
-
874
- $postal_code = array("%postal_code%", str_replace(' ', '', "%2 $ s") );
875
- $link_format = str_replace($postal_code, $shipping_postal_code, $link_format);
 
 
 
 
876
 
877
  $formatted['formatted_tracking_link'] = $link_format;
878
  }
@@ -944,6 +1045,10 @@ class WC_Advanced_Shipment_Tracking_Actions {
944
  $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
945
  }
946
 
 
 
 
 
947
  if(isset($args['status_shipped'])){
948
  $tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
949
  }
@@ -963,11 +1068,21 @@ class WC_Advanced_Shipment_Tracking_Actions {
963
 
964
  $this->save_tracking_items( $order_id, $tracking_items );
965
 
966
- if( !empty($tracking_item['status_shipped'] )){
 
 
967
  $order = new WC_Order( $order_id );
968
  $order->update_status('completed');
969
  }
970
 
 
 
 
 
 
 
 
 
971
  $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
972
  $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
973
 
@@ -1029,10 +1144,17 @@ class WC_Advanced_Shipment_Tracking_Actions {
1029
  $this->save_tracking_items( $order_id, $tracking_items );
1030
  }
1031
 
1032
- if( !empty($tracking_item['status_shipped'] )){
 
 
1033
  $order = new WC_Order( $order_id );
1034
  $order->update_status('completed');
1035
  }
 
 
 
 
 
1036
  return $tracking_item;
1037
  }
1038
 
@@ -1171,7 +1293,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
1171
  tracking_number.css( "border-color", "red" );
1172
  error = true;
1173
  } else {
1174
- var pattern = /^[A-Za-z0-9]+$/;
1175
  if(!pattern.test(tracking_number.val())){
1176
  tracking_number.css( "border-color", "red" );
1177
  error = true;
@@ -1200,7 +1322,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
1200
  wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1201
  } elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
1202
  wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1203
- }
 
1204
  }
1205
  }
1206
 
@@ -1292,11 +1415,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
1292
  'post_type' => 'shop_order',
1293
  'posts_per_page' => '1',
1294
  'meta_query' => array(
1295
- 'relation' => 'AND',
1296
  array(
1297
- 'key' => '_ebay_extended_order_id',
1298
- 'value' => $order_id
1299
  ),
 
 
 
 
1300
  ),
1301
  'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
1302
  );
181
 
182
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
183
  if($wc_ast_status_shipped == 1){
184
+ $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
185
+ $shipped_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
186
  } else{
187
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
188
+ $shipped_label = __( 'Completed', 'woo-advanced-shipment-tracking' );
189
  }
190
+
191
+ $wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
192
  ?>
193
  <div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
194
  <div class="trackingpopup_row">
195
  <h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
196
  <form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
197
+ <p class="form-field tracking_number_field ">
198
+ <label for="tracking_number"><?php _e( 'Provider:', 'woo-advanced-shipment-tracking'); ?></label>
199
+ <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
200
+ </p>
201
  <p class="form-field">
202
+ <select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 100%;max-width: 100%;">
203
  <option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
204
  <?php
205
  foreach($shippment_countries as $s_c){
222
  <p class="form-field tracking_number_field ">
223
  <label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
224
  <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  </p>
226
+ <p class="form-field date_shipped_field">
227
+ <label for="date_shipped"><?php _e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
228
+ <input type="text" class="date-picker-field" style="" name="date_shipped" id="date_shipped" value="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ); ?>" placeholder="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ); ?>">
229
+ </p>
230
+ <?php
231
+
232
+ //do_action("ast_tracking_form_between_form", $post->ID);
233
+
234
+ if($wc_ast_status_partial_shipped){ ?>
235
+ <fieldset class="form-field change_order_to_shipped_field ">
236
+ <legend><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></legend>
237
+ <ul class="wc-radios">
238
+ <li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short" style=""><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
239
+ <li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short" style=""><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
240
+ </ul>
241
+ </fieldset>
242
+ <?php } else{ ?>
243
+ <p class="form-field change_order_to_shipped_field ">
244
+ <label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
245
+ <input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
246
+ </p>
247
+ <?php } ?>
248
  <p class="" style="text-align:left;">
249
  <input type="hidden" name="action" value="add_inline_tracking_number">
250
  <input type="hidden" name="order_id" id="order_id" value="">
251
+ <input type="submit" name="Submit" value="Save Tracking" class="button-primary btn_green">
252
  </p>
253
  </form>
254
  </div>
255
  <div class="popupclose"></div>
256
  </div>
257
  <?php
258
+ //wp_enqueue_script( 'wc-admin-meta-boxes' );
259
  }
260
 
261
  /**
272
  $formatted = $this->get_formatted_tracking_item( $order_id, $item );
273
  ?>
274
  <div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
275
+ <div class="tracking-content">
276
+ <div class="tracking-content-div">
277
+ <strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
278
+ <?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
279
+ - <?php
280
+ $url = str_replace('%number%',$item['tracking_number'],$formatted['formatted_tracking_link']);
281
+ echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . __( $item['tracking_number'] ) . '</a>', esc_url( $url ) ); ?>
282
+ <?php endif; ?>
283
+ </div>
284
+ <?php do_action('ast_after_tracking_number',$order_id,$item['tracking_id']); ?>
285
+ <?php
286
+ $this->display_shipment_tracking_info( $order_id, $item );?>
287
+ </div>
288
  <p class="meta">
289
  <?php /* translators: 1: shipping date */ ?>
290
+ <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( get_option( 'date_format' ), $item['date_shipped'] ) ) ); ?>
291
  <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
292
  </p>
293
  </div>
301
  $shipment_status = get_post_meta( $order_id, "shipment_status", true);
302
  $tracking_id = $item['tracking_id'];
303
  $tracking_items = $this->get_tracking_items( $order_id );
304
+ $wp_date_format = get_option( 'date_format' );
305
+ if($wp_date_format == 'd/m/Y'){
306
+ $date_format = 'd/m';
307
+ } else{
308
+ $date_format = 'm/d';
309
+ }
310
  if ( count( $tracking_items ) > 0 ) {
311
  foreach ( $tracking_items as $key => $tracking_item ) {
312
  if( $tracking_id == $tracking_item['tracking_id'] ){
321
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
322
  $has_est_delivery = true;
323
  }
324
+ ?>
325
+ <div class="ast-shipment-status-div">
326
  <span class="ast-shipment-status shipment-<?php echo sanitize_title($status)?>"><?php echo apply_filters( "trackship_status_icon_filter", "", $status )?> <strong><?php echo apply_filters("trackship_status_filter",$status)?></strong></span>
327
+ <span class="">on <?php echo date( $date_format, strtotime($status_date))?></span>
328
  <br>
329
  <?php if( $has_est_delivery ){?>
330
+ <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( $date_format, strtotime($est_delivery_date))?>)</span>
331
  <?php } ?>
332
+ </div>
333
  <?php
334
  }
335
  }
371
 
372
  $default_provider = get_option("wc_ast_default_provider" );
373
  $wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
374
+ $wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
375
  $value = 1;
376
  $cbvalue = '';
377
  if($wc_ast_default_mark_shipped == 1){
378
+ if($wc_ast_status_partial_shipped){
379
+ $cbvalue = 'change_order_to_shipped';
380
+ } else{
381
+ $cbvalue = 1;
382
+ }
383
  }
384
 
385
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
386
  if($wc_ast_status_shipped == 1){
387
+ $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
388
+ $shipped_label = 'Shipped';
389
  } else{
390
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
391
+ $shipped_label = 'Completed';
392
  }
393
 
394
+
395
 
396
  echo '<div id="tracking-items">';
397
  if ( count( $tracking_items ) > 0 ) {
398
+ foreach ( $tracking_items as $tracking_item ) {
399
  $this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
400
  }
401
  }
456
  'description' => '',
457
  'class' => 'date-picker-field',
458
  'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
459
+ ) );
460
+
461
+ do_action("ast_tracking_form_between_form", $post->ID);
462
 
463
+ if($wc_ast_status_partial_shipped){
464
+ ?>
465
+ <fieldset class="form-field change_order_to_shipped_field" style="margin-bottom: 10px;">
466
+ <span><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></span>
467
+ <ul class="wc-radios">
468
+ <li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short mark_shipped_checkbox" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
469
+ <li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short mark_shipped_checkbox"><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
470
+ </ul>
471
+ </fieldset>
472
+ <?php
473
+ } else{
474
+ woocommerce_wp_checkbox( array(
475
+ 'id' => 'change_order_to_shipped',
476
+ 'label' => __( $change_order_status_label, 'woo-advanced-shipment-tracking' ),
477
+ 'description' => '',
478
+ 'cbvalue' => $cbvalue,
479
+ 'value' => $value,
480
+ ) );
481
+ }
482
+ echo '<button class="button button-primary btn_green button-save-form">' . __( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
483
+ echo '<p class="preview_tracking_link">' . __( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
484
 
485
  echo '</div>';
486
  $provider_array = array();
538
 
539
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
540
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
541
+
542
+ do_action("ast_tracking_form_end_meta_box");
543
  }
544
 
545
  /**
601
 
602
  $tracking_item = $this->add_tracking_item( $order_id, $args );
603
 
604
+ if($_POST['change_order_to_shipped'] == 'change_order_to_shipped'){
605
  $order = new WC_Order($order_id);
606
  $order->update_status('completed');
607
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
608
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
609
+ } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
610
+ $order = new WC_Order($order_id);
611
+ $previous_order_status = $order->get_status();
612
+
613
+ if('partial-shipped' == $previous_order_status){
614
+ WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
615
+ }
616
+
617
+ $order->update_status('partial-shipped');
618
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
619
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
620
  }
621
 
622
  $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
631
  * Function for saving tracking items via AJAX
632
  */
633
  public function save_inline_tracking_number() {
634
+ if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
 
635
  $order_id = wc_clean( $_POST['order_id'] );
636
  $args = array(
637
  'tracking_provider' => $_POST['tracking_provider'],
639
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
640
  );
641
 
642
+ $tracking_item = $this->add_tracking_item( $order_id, $args );
643
 
644
+ if($_POST['change_order_to_shipped'] == 'change_order_to_shipped' || $_POST['change_order_to_shipped'] == 'yes'){
645
  $order = new WC_Order($order_id);
646
  $order->update_status('completed');
647
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
648
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
649
+ } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
650
+ $order = new WC_Order($order_id);
651
+
652
+ $previous_order_status = $order->get_status();
653
+
654
+ if('partial-shipped' == $previous_order_status){
655
+ WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
656
+ }
657
+
658
+ $order->update_status('partial-shipped');
659
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
660
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
661
+ }
662
  }
663
  }
664
 
712
  * Display Shipment info in the frontend (order view/tracking page).
713
  */
714
  public function show_tracking_info_order( $order_id ) {
715
+ wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
716
  }
717
 
718
  /**
748
 
749
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
750
  $order = wc_get_order( $order_id );
751
+ $order_status = $order->get_status();
 
752
 
753
+ if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && isset($wc_ast_unclude_tracking_info['show_in_customer_invoice']) && $wc_ast_unclude_tracking_info['show_in_customer_invoice'] == 0){
754
  return;
755
+ }
756
+ if(isset($wc_ast_unclude_tracking_info[$order_status]) && $wc_ast_unclude_tracking_info[$order_status] == 0 && !is_a( $email, 'WC_Email_Customer_Invoice' )){
757
  return;
758
  }
759
+
760
  $tracking_items = $this->get_tracking_items( $order_id, true );
761
 
762
  if ( true === $plain_text ) {
763
+ wc_get_template( 'emails/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
764
  } else {
765
+ wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
766
  }
767
  }
768
 
872
  */
873
  public function get_formatted_tracking_item( $order_id, $tracking_item ) {
874
  $formatted = array();
875
+ $tracking_items = $this->get_tracking_items( $order_id );
876
+
877
+ foreach($tracking_items as $key=>$item){
878
+ if($item['tracking_id'] == $tracking_item['tracking_id']){
879
+ $shipmet_key = $key;
880
+ }
881
+ }
882
+
883
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
884
+
885
+ $status = '';
886
+ if(isset($shipment_status[$shipmet_key])){
887
+ $status = $shipment_status[$shipmet_key]['status'];
888
+ }
889
 
890
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
891
  $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
904
  $formatted['formatted_tracking_provider'] = '';
905
  $formatted['formatted_tracking_link'] = '';
906
 
907
+ if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider']) ) {
908
  $formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
909
  $formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
910
  } else {
927
  $wc_ast_api_key = get_option('wc_ast_api_key');
928
  $use_tracking_page = get_option('wc_ast_use_tracking_page');
929
 
930
+ if( $wc_ast_api_key && $use_tracking_page && $status != 'carrier_unsupported'){
931
  $order_key = $order->get_order_key();
932
  $formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
933
  } else {
941
  $shipping_country = $order->get_shipping_country();
942
  } else{
943
  $shipping_country = $order->get_billing_country();
944
+ }
945
+
946
+ if($shipping_country){
947
+
948
+ if($tracking_item['tracking_provider'] == 'jp-post' && $shipping_country != 'JP'){
949
+ $local_en = '&locale=en';
950
+ $link_format = $link_format.$local_en;
951
+ }
952
+
953
+ if($tracking_item['tracking_provider'] == 'dhl-ecommerce'){
954
+ $link_format = str_replace('us-en', strtolower($shipping_country).'-en', $link_format);
955
+ }
956
+
957
+ if($tracking_item['tracking_provider'] == 'dhl-freight'){
958
+ $link_format = str_replace('global-en', strtolower($shipping_country).'-en', $link_format);
959
+ }
960
  }
961
 
962
  if($order->get_shipping_postcode() != null){
963
  $shipping_postal_code = $order->get_shipping_postcode();
964
  } else{
965
  $shipping_postal_code = $order->get_billing_postcode();
966
+ }
967
+
968
+ $shipping_country = str_replace(' ', '', $shipping_country);
969
+ $link_format = str_replace("%country_code%", $shipping_country, $link_format);
970
+
971
+ if($tracking_item['tracking_provider'] == 'apc-overnight'){
972
+ $shipping_postal_code = str_replace(' ', '+', $shipping_postal_code);
973
+ } else{
974
+ $shipping_postal_code = str_replace(' ', '', $shipping_postal_code);
975
+ }
976
+ $link_format = str_replace("%postal_code%", $shipping_postal_code, $link_format);
977
 
978
  $formatted['formatted_tracking_link'] = $link_format;
979
  }
1045
  $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
1046
  }
1047
 
1048
+ if(isset($args['products_list'])){
1049
+ $tracking_item['products_list'] = $args['products_list'];
1050
+ }
1051
+
1052
  if(isset($args['status_shipped'])){
1053
  $tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
1054
  }
1068
 
1069
  $this->save_tracking_items( $order_id, $tracking_items );
1070
 
1071
+ $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1072
+
1073
+ if( $status_shipped == 1){
1074
  $order = new WC_Order( $order_id );
1075
  $order->update_status('completed');
1076
  }
1077
 
1078
+ if( $status_shipped == 2){
1079
+ $wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
1080
+ if($wc_ast_status_partial_shipped){
1081
+ $order = new WC_Order( $order_id );
1082
+ $order->update_status('partial-shipped');
1083
+ }
1084
+ }
1085
+
1086
  $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
1087
  $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
1088
 
1144
  $this->save_tracking_items( $order_id, $tracking_items );
1145
  }
1146
 
1147
+ $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1148
+
1149
+ if( $status_shipped == 1){
1150
  $order = new WC_Order( $order_id );
1151
  $order->update_status('completed');
1152
  }
1153
+
1154
+ if( $status_shipped == 2){
1155
+ $order = new WC_Order( $order_id );
1156
+ $order->update_status('partial-shipped');
1157
+ }
1158
  return $tracking_item;
1159
  }
1160
 
1293
  tracking_number.css( "border-color", "red" );
1294
  error = true;
1295
  } else {
1296
+ var pattern = /^[0-9a-zA-Z- \b]+$/;
1297
  if(!pattern.test(tracking_number.val())){
1298
  tracking_number.css( "border-color", "red" );
1299
  error = true;
1322
  wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1323
  } elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
1324
  wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1325
+ }
1326
+ do_action( 'ast_trigger_ts_status_change',$order_id, $old_status, $new_status );
1327
  }
1328
  }
1329
 
1415
  'post_type' => 'shop_order',
1416
  'posts_per_page' => '1',
1417
  'meta_query' => array(
1418
+ 'relation' => 'OR',
1419
  array(
1420
+ 'key' => '_ebay_extended_order_id',
1421
+ 'value' => $order_id
1422
  ),
1423
+ array(
1424
+ 'key' => '_ebay_order_id',
1425
+ 'value' => $order_id
1426
+ ),
1427
  ),
1428
  'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
1429
  );
includes/class-wc-advanced-shipment-welcome.php ADDED
@@ -0,0 +1,365 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Class AST_Welcome
5
+ */
6
+ class AST_Welcome {
7
+
8
+ /**
9
+ * AST_Welcome constructor.
10
+ */
11
+ public function __construct() {
12
+
13
+ // If we are not in admin or admin ajax, return
14
+ if ( ! is_admin() ) {
15
+ return;
16
+ }
17
+
18
+ add_action( 'admin_init', array( $this, 'maybe_redirect' ), 9999 );
19
+ add_action( 'admin_menu', array( $this, 'register_welcome_page' ) );
20
+ add_action( 'admin_head', array( $this, 'hide_menu' ) );
21
+
22
+ add_action( 'admin_enqueue_scripts', array( $this, 'welcome_scripts' ) );
23
+ add_action( 'in_admin_header', array( $this, 'remove_all_admin_notice' ), 1000 );
24
+ }
25
+
26
+ /**
27
+ * Register the pages to be used for the Welcome screen.
28
+ *
29
+ * These pages will be removed from the Dashboard menu, so they will
30
+ * not actually show. Sneaky, sneaky.
31
+ *
32
+ * @since 1.0.0
33
+ */
34
+ public function register_welcome_page() {
35
+
36
+ // Getting started - shows after installation.
37
+ add_dashboard_page(
38
+ esc_html__( 'Welcome to Advanced Shipment Tracking', 'woo-advanced-shipment-tracking' ),
39
+ esc_html__( 'Welcome to Advanced Shipment Tracking', 'woo-advanced-shipment-tracking' ),
40
+ apply_filters( 'ast_welcome_cap', 'manage_options' ),
41
+ 'ast-getting-started',
42
+ array( $this, 'welcome_screen' )
43
+ );
44
+ }
45
+
46
+ /**
47
+ * Removed the dashboard pages from the admin menu.
48
+ *
49
+ * This means the pages are still available to us, but hidden.
50
+ *
51
+ * @since 1.0.0
52
+ */
53
+ public function hide_menu() {
54
+ remove_submenu_page( 'index.php', 'ast-getting-started' );
55
+ }
56
+
57
+ /**
58
+ * Load the welcome screen content.
59
+ */
60
+ public function welcome_screen() { ?>
61
+ <div class="ast-admin-welcome-page">
62
+ <header class="ast-onboarding-header">
63
+ <!--nav class="ast-header-navigation"><a href="https://www.inearu.com/wp-admin/admin.php?page=ast_settings" class="ast-exit-button"><i class="monstericon-times-circle"></i><span>Exit Setup</span></a></nav-->
64
+ <h1 class="ast-onboarding-wizard-logo"><div class="ast-logo"><div class="ast-bg-img"><img class="plugin-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ast-logo.png"></div></div></h1></header>
65
+ <div class="ast-onboarding-wizard-container">
66
+ <div class="ast-onboarding-wizard-steps">
67
+ <!---->
68
+ <div class="ast-onboarding-wizard-step step-welcome ast-onboarding-wizard-step-active"></div>
69
+ <div class="ast-onboarding-wizard-step-line"></div>
70
+ <div class="ast-onboarding-wizard-step step-shipping"></div>
71
+ <div class="ast-onboarding-wizard-step-line"></div>
72
+ <div class="ast-onboarding-wizard-step step-delivered"></div>
73
+ <div class="ast-onboarding-wizard-step-line"></div>
74
+ <div class="ast-onboarding-wizard-step step-trackship"></div>
75
+ </div>
76
+ </div>
77
+ <div class="ast-onboarding-wizard-container">
78
+ <div class="woocommerce zorem_admin_layout ast-onboarding-wizard-content">
79
+ <div class="ast-onboarding-step-welcome">
80
+ <header>
81
+ <h2>General Settings</h2>
82
+ </header>
83
+ <div class="ast-onboarding-wizard-form">
84
+ <div class="ast-separator"></div>
85
+ <form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
86
+ <?php
87
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
88
+ $admin->get_html( $admin->get_settings_data() ); ?>
89
+ <div class="submit">
90
+ <button name="save" class="button-primary ast-save-setup-settings btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
91
+ <div class="spinner"></div>
92
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
93
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
94
+ </div>
95
+ </form>
96
+ </div>
97
+ </div>
98
+ <div class="ast-onboarding-step-shipping">
99
+ <header>
100
+ <h2>Shipping Providers</h2>
101
+ </header>
102
+ <div class="ast-onboarding-wizard-form">
103
+ <div class="ast-separator"></div>
104
+ <?php
105
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
106
+ global $order;
107
+ $WC_Countries = new WC_Countries();
108
+ $countries = $WC_Countries->get_countries();
109
+
110
+ global $wpdb;
111
+ $woo_shippment_table_name = $admin->table;
112
+
113
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name WHERE display_in_order = 1" );
114
+
115
+ foreach($default_shippment_providers as $key => $value){
116
+ $search = array('(US)', '(UK)');
117
+ $replace = array('', '');
118
+ if($value->shipping_country && $value->shipping_country != 'Global'){
119
+ $country = str_replace($search, $replace, $WC_Countries->countries[$value->shipping_country]);
120
+ $default_shippment_providers[$key]->country = $country;
121
+ } elseif($value->shipping_country && $value->shipping_country == 'Global'){
122
+ $default_shippment_providers[$key]->country = 'Global';
123
+ }
124
+ }
125
+ //$admin->get_html( $admin->get_settings_data() );
126
+ require_once( 'views/admin_options_shipping_provider.php' );
127
+ ?>
128
+ <div class="submit">
129
+ <button name="save" class="button-primary ast-save-setup-providers btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
130
+ <div class="spinner"></div>
131
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
132
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
133
+ </div>
134
+ </div>
135
+ </div>
136
+ <div class="ast-onboarding-step-delivered">
137
+ <header>
138
+ <h2>Delivered Order Status</h2>
139
+ </header>
140
+ <div class="ast-onboarding-wizard-form">
141
+ <div class="ast-separator"></div>
142
+ <form method="post" id="wc_ast_delivered_settings_form" action="" enctype="multipart/form-data">
143
+ <?php
144
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
145
+ $admin->get_html( $admin->get_delivered_data() );?>
146
+ <div class="submit">
147
+ <button name="save" class="button-primary ast-save-setup-delivered btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
148
+ <div class="spinner"></div>
149
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
150
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
151
+ </div>
152
+ </form>
153
+ </div>
154
+ </div>
155
+ <div class="ast-onboarding-step-trackship">
156
+
157
+ <?php
158
+ $wc_ast_api_key = get_option('wc_ast_api_key');
159
+ if($wc_ast_api_key){
160
+ $url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
161
+ $args['body'] = array(
162
+ 'user_key' => $wc_ast_api_key,
163
+ );
164
+ $response = wp_remote_post( $url, $args );
165
+ $plan_data = json_decode($response['body']);
166
+ ?>
167
+ <header>
168
+ <?php if($wc_ast_api_key){ ?>
169
+ <h2>TrackShip</h2>
170
+ <?php } else{ ?>
171
+ <h2>Connect TrackShip to Your Website</h2>
172
+ <?php } ?>
173
+ </header>
174
+ <table class="form-table heading-table">
175
+ <tbody>
176
+ <tr valign="top">
177
+ <td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
178
+ </tr>
179
+ </tbody>
180
+ </table>
181
+ <table class="form-table">
182
+ <tbody>
183
+ <tr valign="top">
184
+ <td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
185
+ <td class="forminp">
186
+ <fieldset>
187
+ <a href="https://my.trackship.info/" target="_blank">
188
+ <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
189
+ </a>
190
+ </fieldset>
191
+ </td>
192
+ </tr>
193
+ <tr valign="top">
194
+ <td><label><?php _e( 'Trackers Balance', 'woo-advanced-shipment-tracking' ); ?></label></td>
195
+ <td class="forminp">
196
+ <fieldset>
197
+ <strong><?php echo get_option('trackers_balance'); ?></strong>
198
+ </fieldset>
199
+ </td>
200
+ </tr>
201
+ <tr valign="top">
202
+ <td><label><?php _e( 'Current Plan', 'woo-advanced-shipment-tracking' ); ?></label></td>
203
+ <td class="forminp">
204
+ <fieldset>
205
+ <strong>
206
+ <?php
207
+ if(isset($plan_data->subscription_plan)){
208
+ echo $plan_data->subscription_plan;
209
+ }
210
+ ?>
211
+ </strong>
212
+ </fieldset>
213
+ </td>
214
+ </tr>
215
+ <tr valign="top">
216
+ <td colspan="2">
217
+ <?php _e( 'You are now connected with TrackShip! TrackShip makes it effortless to automate your post shipping operations and get tracking and delivery status updates directly in the WooCommerce admin.', 'woo-advanced-shipment-tracking' ); ?>
218
+ </td>
219
+ </tr>
220
+ <tr valign="top">
221
+ <td colspan="2">
222
+ <a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
223
+ <a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
224
+ </td>
225
+ </tr>
226
+ </tbody>
227
+ </table>
228
+
229
+ <?php } else{ ?>
230
+ <div class="section-content trackship_section">
231
+ <div class="trackship-upsell-overlay">
232
+ <div class="trackship-upsell-top">
233
+ <h3><img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="trackship_logo"></h3>
234
+ <p class="trackship-upsell-subtitle">TracksShip is a premium shipment tracking API flatform that fully integrates with WooCommerce with the Advanced Shipment Tracking. TrackShip automates the order management workflows, reduces customer inquiries, reduces time spent on customer service, and improves the post-purchase experience and satisfaction of your customers.</p>
235
+ <p class="trackship-upsell-subtitle">You must have account TracksShip and connect your store in order to activate these advanced features:</p>
236
+ </div>
237
+ <div class="trackship-upsell-content">
238
+ <ul>
239
+ <li>Automatically track your shipments with 100+ shipping providers.</li>
240
+ <li>Display Shipment Status and latest shipment status, update date and est. delivery date on WooCommerce orders admin.</li>
241
+ <li>Option to manually get shipment tracking updates for orders.</li>
242
+ <li>Automatically change order status to Delivered once the shipment is delivered to your customers.</li>
243
+ <li>Option to filter orders with invalid tracking numbers or by shipment status event in orders admin</li>
244
+ <li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
245
+ <li>Direct customers to a Tracking page on your store.</li>
246
+ </ul>
247
+ <div class="text-center"><a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
248
+ </div>
249
+ </div>
250
+ </div>
251
+ <?php } ?>
252
+ <div class="submit">
253
+ <a href="<?php echo admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' ); ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></a>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ <!---->
259
+ </div>
260
+ <?php }
261
+
262
+ /**
263
+ * Check if we should do any redirect.
264
+ */
265
+ public function maybe_redirect() {
266
+
267
+ // Bail if no activation redirect.
268
+ if ( ! get_transient( '_ast_activation_redirect' ) ) {
269
+ return;
270
+ }
271
+
272
+ // Delete the redirect transient.
273
+ delete_transient( '_ast_activation_redirect' );
274
+
275
+ // Bail if activating from network, or bulk.
276
+ if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) { // WPCS: CSRF ok, input var ok.
277
+ return;
278
+ }
279
+
280
+ $redirect = admin_url( 'index.php?page=ast-getting-started' );
281
+ wp_safe_redirect( $redirect );
282
+ exit;
283
+ }
284
+
285
+ /**
286
+ * Scripts for loading the welcome screen Vue instance.
287
+ */
288
+ public function welcome_scripts() {
289
+
290
+ if(!isset($_GET['page'])) {
291
+ return;
292
+ }
293
+
294
+ if( $_GET['page'] != 'ast-getting-started') {
295
+ return;
296
+ }
297
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
298
+
299
+ wp_enqueue_style( 'font-awesome', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/font-awesome.min.css', array(), '4.7' );
300
+
301
+ wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
302
+ wp_enqueue_script( 'select2');
303
+
304
+ wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
305
+
306
+ wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version);
307
+
308
+ wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
309
+ 'i18n' => array(
310
+ 'get_shipment_status_message' => __( 'Get Shipment Status is limited to 100 orders at a time, please select up to 100 orders.', 'woo-advanced-shipment-tracking' ),
311
+ ),
312
+ ) );
313
+
314
+ wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
315
+ wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
316
+ wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
317
+
318
+ wp_enqueue_script( 'selectWoo');
319
+ wp_enqueue_script( 'wc-enhanced-select');
320
+
321
+ wp_register_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
322
+ wp_enqueue_style( 'woocommerce_admin_styles' );
323
+
324
+ wp_register_script( 'jquery-tiptip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery' ), WC_VERSION, true );
325
+ wp_enqueue_script( 'jquery-tiptip' );
326
+ wp_enqueue_script( 'jquery-blockui' );
327
+ wp_enqueue_script( 'wp-color-picker' );
328
+ wp_enqueue_script( 'jquery-ui-sortable' );
329
+ wp_enqueue_script('media-upload');
330
+ wp_enqueue_script('thickbox');
331
+ wp_enqueue_style('thickbox');
332
+
333
+ wp_enqueue_style( 'material-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/material.css', array(), wc_advanced_shipment_tracking()->version );
334
+ wp_enqueue_script( 'material-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/material.min.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
335
+
336
+ wp_enqueue_script( 'ajax-queue', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/jquery.ajax.queue.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version);
337
+
338
+ wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
339
+
340
+ wp_enqueue_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
341
+ wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
342
+ 'i18n' => array(
343
+ 'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
344
+ 'delete_provider' => __( 'Really delete this entry? This will not be undo.', 'woo-advanced-shipment-tracking' ),
345
+ 'upload_only_csv_file' => __( 'You can upload only csv file.', 'woo-advanced-shipment-tracking' ),
346
+ 'browser_not_html' => __( 'This browser does not support HTML5.', 'woo-advanced-shipment-tracking' ),
347
+ 'upload_valid_csv_file' => __( 'Please upload a valid CSV file.', 'woo-advanced-shipment-tracking' ),
348
+ ),
349
+ 'delete_rates_nonce' => wp_create_nonce( "delete-rate" ),
350
+ ) );
351
+ wp_enqueue_media();
352
+
353
+ wp_enqueue_style( 'shipment_tracking_welcome_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/welcome.css', array(), wc_advanced_shipment_tracking()->version );
354
+ wp_enqueue_script( 'shipment_tracking_welcome_script', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/welcome.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
355
+ }
356
+
357
+ public function remove_all_admin_notice(){
358
+ if( isset($_GET['page']) && $_GET['page'] == 'ast-getting-started'){
359
+ remove_all_actions('admin_notices');
360
+ remove_all_actions('all_admin_notices');
361
+ }
362
+ }
363
+ }
364
+
365
+ new AST_Welcome();
includes/customizer/class-wc-availableforpickup-email-customizer.php CHANGED
@@ -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,8 +378,8 @@ 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_username}<br>{order_number}<br>{est_delivery_date}</code>',
382
  'section' => 'customer_availableforpickup_email',
383
  )
384
  ) );
@@ -410,11 +411,21 @@ class wcast_availableforpickup_customizer_email {
410
  $preview_id = get_theme_mod('wcast_availableforpickup_email_preview_order_id');
411
 
412
 
413
- $email_heading = get_theme_mod('wcast_availableforpickup_email_heading');
 
 
 
 
 
414
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
415
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
416
 
417
- $email_content = get_theme_mod('wcast_availableforpickup_email_content');
 
 
 
 
 
418
  $wcast_show_tracking_details = get_theme_mod('wcast_availableforpickup_show_tracking_details');
419
  $wcast_show_order_details = get_theme_mod('wcast_availableforpickup_show_order_details');
420
  $wcast_show_billing_address = get_theme_mod('wcast_availableforpickup_show_billing_address');
@@ -429,6 +440,13 @@ class wcast_availableforpickup_customizer_email {
429
  return;
430
  }
431
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
432
  $mailer = WC()->mailer();
433
 
434
  // get the preview email subject
@@ -449,7 +467,8 @@ class wcast_availableforpickup_customizer_email {
449
  if($wcast_show_tracking_details == 1){
450
  ob_start();
451
  wc_get_template( 'emails/tracking-info.php', array(
452
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
453
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
454
  $message .= ob_get_clean();
455
  }
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
  )
385
  ) );
411
  $preview_id = get_theme_mod('wcast_availableforpickup_email_preview_order_id');
412
 
413
 
414
+ $email_heading = get_theme_mod('wcast_availableforpickup_email_heading',$this->defaults['wcast_availableforpickup_email_heading']);
415
+
416
+ if($email_heading == ''){
417
+ $email_heading = $this->defaults['wcast_availableforpickup_email_heading'];
418
+ }
419
+
420
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
421
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
422
 
423
+ $email_content = get_theme_mod('wcast_availableforpickup_email_content',$this->defaults['wcast_availableforpickup_email_content']);
424
+
425
+ if($email_content == ''){
426
+ $email_content = $this->defaults['wcast_availableforpickup_email_content'];
427
+ }
428
+
429
  $wcast_show_tracking_details = get_theme_mod('wcast_availableforpickup_show_tracking_details');
430
  $wcast_show_order_details = get_theme_mod('wcast_availableforpickup_show_order_details');
431
  $wcast_show_billing_address = get_theme_mod('wcast_availableforpickup_show_billing_address');
440
  return;
441
  }
442
  $order = wc_get_order( $preview_id );
443
+
444
+ if(!$order){
445
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
446
+ echo $content;
447
+ return;
448
+ }
449
+
450
  $mailer = WC()->mailer();
451
 
452
  // get the preview email subject
467
  if($wcast_show_tracking_details == 1){
468
  ob_start();
469
  wc_get_template( 'emails/tracking-info.php', array(
470
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
471
+ 'order_id' => $preview_id,
472
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
473
  $message .= ob_get_clean();
474
  }
includes/customizer/class-wc-delivered-email-customizer.php CHANGED
@@ -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,8 +380,8 @@ 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_username}<br>{order_number}<br>{est_delivery_date}</code>',
384
  'section' => 'customer_delivered_status_email',
385
  )
386
  ) );
@@ -412,11 +413,21 @@ class wcast_delivered_customizer_email {
412
  $preview_id = get_theme_mod('wcast_delivered_status_email_preview_order_id');
413
 
414
 
415
- $email_heading = get_theme_mod('wcast_delivered_status_email_heading');
 
 
 
 
 
416
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
417
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
418
 
419
- $email_content = get_theme_mod('wcast_delivered_status_email_content');
 
 
 
 
 
420
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
421
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
422
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
@@ -431,6 +442,13 @@ class wcast_delivered_customizer_email {
431
  return;
432
  }
433
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
434
  $mailer = WC()->mailer();
435
 
436
  // get the preview email subject
@@ -451,7 +469,8 @@ class wcast_delivered_customizer_email {
451
  if($wcast_show_tracking_details == 1){
452
  ob_start();
453
  wc_get_template( 'emails/tracking-info.php', array(
454
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
455
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
456
  $message .= ob_get_clean();
457
  }
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
  )
387
  ) );
413
  $preview_id = get_theme_mod('wcast_delivered_status_email_preview_order_id');
414
 
415
 
416
+ $email_heading = get_theme_mod('wcast_delivered_status_email_heading',$this->defaults['wcast_delivered_status_email_heading']);
417
+
418
+ if($email_heading == ''){
419
+ $email_heading = $this->defaults['wcast_delivered_status_email_heading'];
420
+ }
421
+
422
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
423
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
424
 
425
+ $email_content = get_theme_mod('wcast_delivered_status_email_content',$this->defaults['wcast_delivered_status_email_content']);
426
+
427
+ if($email_content == ''){
428
+ $email_content = $this->defaults['wcast_delivered_status_email_content'];
429
+ }
430
+
431
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
432
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
433
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
442
  return;
443
  }
444
  $order = wc_get_order( $preview_id );
445
+
446
+ if(!$order){
447
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
448
+ echo $content;
449
+ return;
450
+ }
451
+
452
  $mailer = WC()->mailer();
453
 
454
  // get the preview email subject
469
  if($wcast_show_tracking_details == 1){
470
  ob_start();
471
  wc_get_template( 'emails/tracking-info.php', array(
472
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
473
+ 'order_id' => $preview_id,
474
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
475
  $message .= ob_get_clean();
476
  }
includes/customizer/class-wc-email-customizer.php CHANGED
@@ -40,7 +40,7 @@ class wcast_initialise_customizer_email {
40
 
41
  add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
 
43
- add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
  }
45
 
46
  public function enqueue_preview_scripts() {
@@ -166,7 +166,7 @@ class wcast_initialise_customizer_email {
166
  )
167
  ) );
168
  // Display Shipment Provider image/thumbnail
169
- $wp_customize->add_setting( 'woocommerce_customer_delivered_order_settings[enabled]',
170
  array(
171
  'default' => $this->defaults['wcast_enable_delivered_email'],
172
  'transport' => 'postMessage',
@@ -174,7 +174,7 @@ class wcast_initialise_customizer_email {
174
  'sanitize_callback' => ''
175
  )
176
  );
177
- $wp_customize->add_control( 'woocommerce_customer_delivered_order_settings[enabled]',
178
  array(
179
  'label' => __( 'Enable Delivered order status email', 'woo-advanced-shipment-tracking' ),
180
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
@@ -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,8 +411,8 @@ 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_username}<br>{order_number}</code>',
415
  'section' => 'customer_delivered_email',
416
  )
417
  ) );
@@ -543,10 +544,27 @@ class wcast_initialise_customizer_email {
543
  return $order;
544
  }
545
 
546
- }
547
  }
548
  /**
549
  * Initialise our Customizer settings
550
  */
551
 
552
- $wcast_customizer_settings = new wcast_initialise_customizer_email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
 
43
+ add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
  }
45
 
46
  public function enqueue_preview_scripts() {
166
  )
167
  ) );
168
  // Display Shipment Provider image/thumbnail
169
+ $wp_customize->add_setting( 'customizer_delivered_order_settings_enabled',
170
  array(
171
  'default' => $this->defaults['wcast_enable_delivered_email'],
172
  'transport' => 'postMessage',
174
  'sanitize_callback' => ''
175
  )
176
  );
177
+ $wp_customize->add_control( 'customizer_delivered_order_settings_enabled',
178
  array(
179
  'label' => __( 'Enable Delivered order status email', 'woo-advanced-shipment-tracking' ),
180
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
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
  )
418
  ) );
544
  return $order;
545
  }
546
 
547
+ }
548
  }
549
  /**
550
  * Initialise our Customizer settings
551
  */
552
 
553
+ $wcast_customizer_settings = new wcast_initialise_customizer_email();
554
+ add_action( 'customize_save_customizer_delivered_order_settings_enabled', 'woocommerce_customer_delivered_order_settings_fun', 100, 1 );
555
+
556
+ /**
557
+ * Update Delivered order email enable/disable
558
+ *
559
+ */
560
+ function woocommerce_customer_delivered_order_settings_fun($data){
561
+ $post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
562
+ $delivered_order_settings = get_option( 'woocommerce_customer_delivered_order_settings');
563
+
564
+ if(isset($post_values['customizer_delivered_order_settings_enabled']) && ($post_values['customizer_delivered_order_settings_enabled'] == 1)){
565
+ $delivered_order_settings['enabled'] = 'yes';
566
+ } else{
567
+ $delivered_order_settings['enabled'] = 'no';
568
+ }
569
+ update_option( 'woocommerce_customer_delivered_order_settings',$delivered_order_settings);
570
+ }
includes/customizer/class-wc-failure-email-customizer.php CHANGED
@@ -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,8 +379,8 @@ 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_username}<br>{order_number}<br>{est_delivery_date}</code>',
383
  'section' => 'customer_failure_email',
384
  )
385
  ) );
@@ -411,11 +412,21 @@ class wcast_failure_customizer_email {
411
  $preview_id = get_theme_mod('wcast_failure_email_preview_order_id');
412
 
413
 
414
- $email_heading = get_theme_mod('wcast_failure_email_heading');
 
 
 
 
 
415
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
416
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
417
 
418
- $email_content = get_theme_mod('wcast_failure_email_content');
 
 
 
 
 
419
  $wcast_show_tracking_details = get_theme_mod('wcast_failure_show_tracking_details');
420
  $wcast_show_order_details = get_theme_mod('wcast_failure_show_order_details');
421
  $wcast_show_billing_address = get_theme_mod('wcast_failure_show_billing_address');
@@ -429,7 +440,15 @@ class wcast_failure_customizer_email {
429
  echo $content;
430
  return;
431
  }
 
432
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
433
  $mailer = WC()->mailer();
434
 
435
  // get the preview email subject
@@ -450,7 +469,8 @@ class wcast_failure_customizer_email {
450
  if($wcast_show_tracking_details == 1){
451
  ob_start();
452
  wc_get_template( 'emails/tracking-info.php', array(
453
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
454
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
455
  $message .= ob_get_clean();
456
  }
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
  )
386
  ) );
412
  $preview_id = get_theme_mod('wcast_failure_email_preview_order_id');
413
 
414
 
415
+ $email_heading = get_theme_mod('wcast_failure_email_heading',$this->defaults['wcast_failure_email_heading']);
416
+
417
+ if($email_heading == ''){
418
+ $email_heading = $this->defaults['wcast_failure_email_heading'];
419
+ }
420
+
421
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
422
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
423
 
424
+ $email_content = get_theme_mod('wcast_failure_email_content',$this->defaults['wcast_failure_email_content']);
425
+
426
+ if($email_content == ''){
427
+ $email_content = $this->defaults['wcast_failure_email_content'];
428
+ }
429
+
430
  $wcast_show_tracking_details = get_theme_mod('wcast_failure_show_tracking_details');
431
  $wcast_show_order_details = get_theme_mod('wcast_failure_show_order_details');
432
  $wcast_show_billing_address = get_theme_mod('wcast_failure_show_billing_address');
440
  echo $content;
441
  return;
442
  }
443
+
444
  $order = wc_get_order( $preview_id );
445
+
446
+ if(!$order){
447
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
448
+ echo $content;
449
+ return;
450
+ }
451
+
452
  $mailer = WC()->mailer();
453
 
454
  // get the preview email subject
469
  if($wcast_show_tracking_details == 1){
470
  ob_start();
471
  wc_get_template( 'emails/tracking-info.php', array(
472
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
473
+ 'order_id' => $preview_id,
474
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
475
  $message .= ob_get_clean();
476
  }
includes/customizer/class-wc-intransit-email-customizer.php CHANGED
@@ -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,8 +383,8 @@ 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_username}<br>{order_number}<br>{est_delivery_date}</code>',
387
  'section' => 'customer_intransit_email',
388
  )
389
  ) );
@@ -414,11 +415,21 @@ class wcast_intransit_customizer_email {
414
  $emails = $wc_emails->get_emails();
415
  $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
416
 
417
- $email_heading = get_theme_mod('wcast_intransit_email_heading');
 
 
 
 
 
418
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
419
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
420
 
421
- $email_content = get_theme_mod('wcast_intransit_email_content');
 
 
 
 
 
422
  $wcast_show_tracking_details = get_theme_mod('wcast_intransit_show_tracking_details');
423
  $wcast_show_order_details = get_theme_mod('wcast_intransit_show_order_details');
424
  $wcast_show_billing_address = get_theme_mod('wcast_intransit_show_billing_address');
@@ -434,6 +445,13 @@ class wcast_intransit_customizer_email {
434
  }
435
 
436
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
437
  $mailer = WC()->mailer();
438
 
439
  // get the preview email subject
@@ -454,7 +472,8 @@ class wcast_intransit_customizer_email {
454
  if($wcast_show_tracking_details == 1){
455
  ob_start();
456
  wc_get_template( 'emails/tracking-info.php', array(
457
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
458
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
459
  $message .= ob_get_clean();
460
  }
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
  )
390
  ) );
415
  $emails = $wc_emails->get_emails();
416
  $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
417
 
418
+ $email_heading = get_theme_mod('wcast_intransit_email_heading',$this->defaults['wcast_intransit_email_heading']);
419
+
420
+ if($email_heading == ''){
421
+ $email_heading = $this->defaults['wcast_intransit_email_heading'];
422
+ }
423
+
424
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
425
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
426
 
427
+ $email_content = get_theme_mod('wcast_intransit_email_content',$this->defaults['wcast_intransit_email_content']);
428
+
429
+ if($email_content == ''){
430
+ $email_content = $this->defaults['wcast_intransit_email_content'];
431
+ }
432
+
433
  $wcast_show_tracking_details = get_theme_mod('wcast_intransit_show_tracking_details');
434
  $wcast_show_order_details = get_theme_mod('wcast_intransit_show_order_details');
435
  $wcast_show_billing_address = get_theme_mod('wcast_intransit_show_billing_address');
445
  }
446
 
447
  $order = wc_get_order( $preview_id );
448
+
449
+ if(!$order){
450
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
451
+ echo $content;
452
+ return;
453
+ }
454
+
455
  $mailer = WC()->mailer();
456
 
457
  // get the preview email subject
472
  if($wcast_show_tracking_details == 1){
473
  ob_start();
474
  wc_get_template( 'emails/tracking-info.php', array(
475
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
476
+ 'order_id' => $preview_id,
477
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
478
  $message .= ob_get_clean();
479
  }
includes/customizer/class-wc-outfordelivery-email-customizer.php CHANGED
@@ -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,8 +381,8 @@ 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_username}<br>{order_number}<br>{est_delivery_date}</code>',
385
  'section' => 'customer_outfordelivery_email',
386
  )
387
  ) );
@@ -412,11 +413,21 @@ class wcast_outfordelivery_customizer_email {
412
  $emails = $wc_emails->get_emails();
413
  $preview_id = get_theme_mod('wcast_outfordelivery_email_preview_order_id');
414
 
415
- $email_heading = get_theme_mod('wcast_outfordelivery_email_heading');
 
 
 
 
 
416
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
417
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
418
 
419
- $email_content = get_theme_mod('wcast_outfordelivery_email_content');
 
 
 
 
 
420
  $wcast_show_tracking_details = get_theme_mod('wcast_outfordelivery_show_tracking_details');
421
  $wcast_show_order_details = get_theme_mod('wcast_outfordelivery_show_order_details');
422
  $wcast_show_billing_address = get_theme_mod('wcast_outfordelivery_show_billing_address');
@@ -432,6 +443,13 @@ class wcast_outfordelivery_customizer_email {
432
  }
433
 
434
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
435
  $mailer = WC()->mailer();
436
 
437
  // get the preview email subject
@@ -452,7 +470,8 @@ class wcast_outfordelivery_customizer_email {
452
  if($wcast_show_tracking_details == 1){
453
  ob_start();
454
  wc_get_template( 'emails/tracking-info.php', array(
455
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
456
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
457
  $message .= ob_get_clean();
458
  }
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
  )
388
  ) );
413
  $emails = $wc_emails->get_emails();
414
  $preview_id = get_theme_mod('wcast_outfordelivery_email_preview_order_id');
415
 
416
+ $email_heading = get_theme_mod('wcast_outfordelivery_email_heading',$this->defaults['wcast_outfordelivery_email_heading']);
417
+
418
+ if($email_heading == ''){
419
+ $email_heading = $this->defaults['wcast_outfordelivery_email_heading'];
420
+ }
421
+
422
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
423
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
424
 
425
+ $email_content = get_theme_mod('wcast_outfordelivery_email_content',$this->defaults['wcast_outfordelivery_email_content']);
426
+
427
+ if($email_content == ''){
428
+ $email_content = $this->defaults['wcast_outfordelivery_email_content'];
429
+ }
430
+
431
  $wcast_show_tracking_details = get_theme_mod('wcast_outfordelivery_show_tracking_details');
432
  $wcast_show_order_details = get_theme_mod('wcast_outfordelivery_show_order_details');
433
  $wcast_show_billing_address = get_theme_mod('wcast_outfordelivery_show_billing_address');
443
  }
444
 
445
  $order = wc_get_order( $preview_id );
446
+
447
+ if(!$order){
448
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
449
+ echo $content;
450
+ return;
451
+ }
452
+
453
  $mailer = WC()->mailer();
454
 
455
  // get the preview email subject
470
  if($wcast_show_tracking_details == 1){
471
  ob_start();
472
  wc_get_template( 'emails/tracking-info.php', array(
473
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
474
+ 'order_id' => $preview_id,
475
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
476
  $message .= ob_get_clean();
477
  }
includes/customizer/class-wc-partial-shipped-email-customizer.php ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customizer Setup and Custom Controls
4
+ *
5
+ */
6
+
7
+ /**
8
+ * Adds the individual sections, settings, and controls to the theme customizer
9
+ */
10
+ class wcast_partial_shipped_customizer_email {
11
+ // Get our default values
12
+ public function __construct() {
13
+ // Get our Customizer defaults
14
+ $this->defaults = $this->wcast_generate_defaults();
15
+
16
+ // Register our sample default controls
17
+ add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
18
+
19
+ // Only proceed if this is own request.
20
+ if ( ! wcast_partial_shipped_customizer_email::is_own_customizer_request() && ! wcast_partial_shipped_customizer_email::is_own_preview_request() ) {
21
+ return;
22
+ }
23
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_panels' ) );
24
+ // Register our sections
25
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
26
+
27
+ // Remove unrelated components.
28
+ add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
29
+
30
+ // Remove unrelated sections.
31
+ add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
32
+
33
+ // Unhook divi front end.
34
+ add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
35
+
36
+ // Unhook Flatsome js
37
+ add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
38
+
39
+ add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
40
+
41
+ add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
+
43
+ add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
+ }
45
+
46
+ public function enqueue_preview_scripts() {
47
+ wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
48
+ wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
49
+ // Send variables to Javascript
50
+ $preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
51
+ wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
52
+ 'site_title' => $this->get_blogname(),
53
+ 'order_number' => $preview_id,
54
+ ));
55
+ }
56
+
57
+ /**
58
+ * Get blog name formatted for emails.
59
+ *
60
+ * @return string
61
+ */
62
+ public function get_blogname() {
63
+ return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
64
+ }
65
+
66
+ /**
67
+ * Checks to see if we are opening our custom customizer preview
68
+ *
69
+ * @access public
70
+ * @return bool
71
+ */
72
+ public static function is_own_preview_request() {
73
+ return isset( $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-partial-shipped-email-customizer-preview'];
74
+ }
75
+
76
+ /**
77
+ * Checks to see if we are opening our custom customizer controls
78
+ *
79
+ * @access public
80
+ * @return bool
81
+ */
82
+ public static function is_own_customizer_request() {
83
+ return isset( $_REQUEST['email'] ) && $_REQUEST['email'] === 'customer_partial_shipped_email';
84
+ }
85
+
86
+ /**
87
+ * Get Customizer URL
88
+ *
89
+ */
90
+ public static function get_customizer_url($email) {
91
+ $customizer_url = add_query_arg( array(
92
+ 'wcast-customizer' => '1',
93
+ 'email' => $email,
94
+ 'url' => urlencode( add_query_arg( array( 'wcast-partial-shipped-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
95
+ 'return' => urlencode( wcast_partial_shipped_customizer_email::get_email_settings_page_url() ),
96
+ ), admin_url( 'customize.php' ) );
97
+
98
+ return $customizer_url;
99
+ }
100
+
101
+ /**
102
+ * Get WooCommerce email settings page URL
103
+ *
104
+ * @access public
105
+ * @return string
106
+ */
107
+ public static function get_email_settings_page_url() {
108
+ return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
109
+ }
110
+
111
+ /**
112
+ * code for initialize default value for customizer
113
+ */
114
+ public function wcast_generate_defaults() {
115
+ $customizer_defaults = array(
116
+ 'wcast_partial_shipped_email_subject' => __( 'Your {site_title} order is now partially shipped', 'woo-advanced-shipment-tracking' ),
117
+ 'wcast_partial_shipped_email_heading' => __( 'Your Order is Partially Shipped', 'woocommerce' ),
118
+ 'wcast_partial_shipped_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} has been partially shipped.", 'woo-advanced-shipment-tracking' ),
119
+ 'wcast_enable_partial_shipped_email' => 'no',
120
+ );
121
+
122
+ return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
123
+ }
124
+
125
+ /**
126
+ * Register our sample default controls
127
+ */
128
+ public function wcast_register_sample_default_controls( $wp_customize ) {
129
+ /**
130
+ * Load all our Customizer Custom Controls
131
+ */
132
+ require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
133
+
134
+ $wp_customize->add_setting( 'partial_shipped_order_email_heading',
135
+ array(
136
+ 'default' => '',
137
+ 'transport' => 'postMessage',
138
+ 'sanitize_callback' => ''
139
+ )
140
+ );
141
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'partial_shipped_order_email_heading',
142
+ array(
143
+ 'label' => __( 'Partially Shipped status email', 'woo-advanced-shipment-tracking' ),
144
+ 'description' => __( 'This section lets you customize the Email Content.', 'woo-advanced-shipment-tracking' ),
145
+ 'section' => 'customer_partial_shipped_email'
146
+ )
147
+ ) );
148
+ // Display Shipment Provider image/thumbnail
149
+ $wp_customize->add_setting( 'customizer_partial_shipped_order_settings_enabled',
150
+ array(
151
+ 'default' => $this->defaults['wcast_enable_partial_shipped_email'],
152
+ 'transport' => 'postMessage',
153
+ 'type' => 'option',
154
+ 'sanitize_callback' => ''
155
+ )
156
+ );
157
+ $wp_customize->add_control( 'customizer_partial_shipped_order_settings_enabled',
158
+ array(
159
+ 'label' => __( 'Enable Partially Shipped order status email', 'woo-advanced-shipment-tracking' ),
160
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
161
+ 'section' => 'customer_partial_shipped_email',
162
+ 'type' => 'checkbox',
163
+
164
+ )
165
+ );
166
+
167
+ // Preview Order
168
+ $wp_customize->add_setting( 'wcast_partial_shipped_preview_order_id',
169
+ array(
170
+ 'default' => 'mockup',
171
+ 'transport' => 'refresh',
172
+ 'sanitize_callback' => ''
173
+ )
174
+ );
175
+ $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_partial_shipped_preview_order_id',
176
+ array(
177
+ 'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
178
+ 'description' => '',
179
+ 'section' => 'customer_partial_shipped_email',
180
+ 'input_attrs' => array(
181
+ 'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
182
+ 'class' => 'preview_order_select',
183
+ ),
184
+ 'choices' => wcast_customizer()->get_order_ids(),
185
+ )
186
+ ) );
187
+
188
+ // Header Text
189
+ $wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[subject]',
190
+ array(
191
+ 'default' => $this->defaults['wcast_partial_shipped_email_subject'],
192
+ 'transport' => 'postMessage',
193
+ 'type' => 'option',
194
+ 'sanitize_callback' => ''
195
+ )
196
+ );
197
+ $wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[subject]',
198
+ array(
199
+ 'label' => __( 'Subject', 'woocommerce' ),
200
+ 'description' => esc_html__( 'Available variables:', '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
+ );
210
+
211
+ // Header Text
212
+ $wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[heading]',
213
+ array(
214
+ 'default' => $this->defaults['wcast_partial_shipped_email_heading'],
215
+ 'transport' => 'postMessage',
216
+ 'type' => 'option',
217
+ 'sanitize_callback' => ''
218
+ )
219
+ );
220
+ $wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[heading]',
221
+ array(
222
+ 'label' => __( 'Email heading', 'woocommerce' ),
223
+ 'description' => esc_html__( 'Available variables:', '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
+ );
233
+
234
+
235
+ // Test of TinyMCE control
236
+ $wp_customize->add_setting( 'wcast_partial_shipped_email_content',
237
+ array(
238
+ 'default' => $this->defaults['wcast_partial_shipped_email_content'],
239
+ 'transport' => 'refresh',
240
+ 'sanitize_callback' => 'wp_kses_post'
241
+ )
242
+ );
243
+ $wp_customize->add_control( new Skyrocket_TinyMCE_Custom_control( $wp_customize, 'wcast_partial_shipped_email_content',
244
+ array(
245
+ 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
246
+ 'description' => __( 'Available variables:', '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
+ ) );
255
+
256
+ $wp_customize->add_setting( 'wcast_partial_shipped_code_block',
257
+ array(
258
+ 'default' => '',
259
+ 'transport' => 'postMessage',
260
+ 'sanitize_callback' => ''
261
+ )
262
+ );
263
+ $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_partial_shipped_code_block',
264
+ array(
265
+ 'label' => __( 'Available 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
+ )
269
+ ) );
270
+ }
271
+
272
+ /**
273
+ * Set up preview
274
+ *
275
+ * @access public
276
+ * @return void
277
+ */
278
+ public function set_up_preview() {
279
+
280
+ // Make sure this is own preview request.
281
+ if ( ! wcast_partial_shipped_customizer_email::is_own_preview_request() ) {
282
+ return;
283
+ }
284
+ include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/partial_shipped_preview.php';
285
+ exit;
286
+ }
287
+
288
+ /**
289
+ * code for preview of delivered order status email
290
+ */
291
+ public function preview_partial_shipped_email(){
292
+ // Load WooCommerce emails.
293
+ $wc_emails = WC_Emails::instance();
294
+ $emails = $wc_emails->get_emails();
295
+ $preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
296
+
297
+ if($preview_id == '' || $preview_id == 'mockup') {
298
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
299
+ echo $content;
300
+ return;
301
+ }
302
+
303
+ $email_type = 'WC_Email_Customer_Partial_Shipped_Order';
304
+
305
+ if ( false === $email_type ) {
306
+ return false;
307
+ }
308
+
309
+
310
+
311
+ // Reference email.
312
+ if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
313
+ $email = $emails[ $email_type ];
314
+ }
315
+ $order_status = 'partial-shipped';
316
+ // Get an order
317
+ $order = self::get_wc_order_for_preview( $order_status, $preview_id );
318
+
319
+ // Make sure gateways are running in case the email needs to input content from them.
320
+ WC()->payment_gateways();
321
+ // Make sure shipping is running in case the email needs to input content from it.
322
+ WC()->shipping();
323
+
324
+ $email->object = $order;
325
+ $email->find['order-date'] = '{order_date}';
326
+ $email->find['order-number'] = '{order_number}';
327
+ if ( is_object( $order ) ) {
328
+ $email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
329
+ $email->replace['order-number'] = $email->object->get_order_number();
330
+ // Other properties
331
+ $email->recipient = $email->object->get_billing_email();
332
+ }
333
+
334
+ // Get email content and apply styles.
335
+ $content = $email->get_content();
336
+
337
+ $content = $email->style_inline( $content );
338
+ $content = apply_filters( 'woocommerce_mail_content', $content );
339
+
340
+ echo $content;
341
+ }
342
+
343
+ /**
344
+ * Get WooCommerce order for preview
345
+ *
346
+ * @access public
347
+ * @param string $order_status
348
+ * @return object
349
+ */
350
+ public static function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
351
+ if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
352
+ return wc_get_order( $order_id );
353
+ } else {
354
+ // Use mockup order
355
+
356
+ // Instantiate order object
357
+ $order = new WC_Order();
358
+
359
+ // Other order properties
360
+ $order->set_props( array(
361
+ 'id' => 1,
362
+ 'status' => ( null === $order_status ? 'processing' : $order_status ),
363
+ 'billing_first_name' => 'Sherlock',
364
+ 'billing_last_name' => 'Holmes',
365
+ 'billing_company' => 'Detectives Ltd.',
366
+ 'billing_address_1' => '221B Baker Street',
367
+ 'billing_city' => 'London',
368
+ 'billing_postcode' => 'NW1 6XE',
369
+ 'billing_country' => 'GB',
370
+ 'billing_email' => 'sherlock@holmes.co.uk',
371
+ 'billing_phone' => '02079304832',
372
+ 'date_created' => date( 'Y-m-d H:i:s' ),
373
+ 'total' => 24.90,
374
+ ) );
375
+
376
+ // Item #1
377
+ $order_item = new WC_Order_Item_Product();
378
+ $order_item->set_props( array(
379
+ 'name' => 'A Study in Scarlet',
380
+ 'subtotal' => '9.95',
381
+ 'sku' => 'kwd_ex_1',
382
+ ) );
383
+ $order->add_item( $order_item );
384
+
385
+ // Item #2
386
+ $order_item = new WC_Order_Item_Product();
387
+ $order_item->set_props( array(
388
+ 'name' => 'The Hound of the Baskervilles',
389
+ 'subtotal' => '14.95',
390
+ 'sku' => 'kwd_ex_2',
391
+ ) );
392
+ $order->add_item( $order_item );
393
+
394
+ // Return mockup order
395
+ return $order;
396
+ }
397
+
398
+ }
399
+ }
400
+ /**
401
+ * Initialise our Customizer settings
402
+ */
403
+
404
+ $wcast_partial_shipped_customizer_settings = new wcast_partial_shipped_customizer_email();
405
+ add_action( 'customize_save_customizer_partial_shipped_order_settings_enabled', 'woocommerce_customer_partial_shipped_order_settings_fun', 100, 1 );
406
+
407
+ /**
408
+ * Update Delivered order email enable/disable
409
+ *
410
+ */
411
+ function woocommerce_customer_partial_shipped_order_settings_fun($data){
412
+ $post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
413
+ $partial_shipped_order_settings = get_option( 'woocommerce_customer_partial_shipped_order_settings');
414
+
415
+ if(isset($post_values['customizer_partial_shipped_order_settings_enabled']) && ($post_values['customizer_partial_shipped_order_settings_enabled'] == 1)){
416
+ $partial_shipped_order_settings['enabled'] = 'yes';
417
+ } else{
418
+ $partial_shipped_order_settings['enabled'] = 'no';
419
+ }
420
+ update_option( 'woocommerce_customer_partial_shipped_order_settings',$partial_shipped_order_settings);
421
+ }
includes/customizer/class-wc-returntosender-email-customizer.php CHANGED
@@ -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,8 +379,8 @@ 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_username}<br>{order_number}<br>{est_delivery_date}</code>',
383
  'section' => 'customer_returntosender_email',
384
  )
385
  ) );
@@ -410,11 +411,21 @@ class wcast_returntosender_customizer_email {
410
  $emails = $wc_emails->get_emails();
411
  $preview_id = get_theme_mod('wcast_returntosender_email_preview_order_id');
412
 
413
- $email_heading = get_theme_mod('wcast_returntosender_email_heading');
 
 
 
 
 
414
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
415
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
416
 
417
- $email_content = get_theme_mod('wcast_returntosender_email_content');
 
 
 
 
 
418
  $wcast_show_tracking_details = get_theme_mod('wcast_returntosender_show_tracking_details');
419
  $wcast_show_order_details = get_theme_mod('wcast_returntosender_show_order_details');
420
  $wcast_show_billing_address = get_theme_mod('wcast_returntosender_show_billing_address');
@@ -430,6 +441,13 @@ class wcast_returntosender_customizer_email {
430
  }
431
 
432
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
433
  $mailer = WC()->mailer();
434
 
435
  // get the preview email subject
@@ -450,7 +468,8 @@ class wcast_returntosender_customizer_email {
450
  if($wcast_show_tracking_details == 1){
451
  ob_start();
452
  wc_get_template( 'emails/tracking-info.php', array(
453
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
454
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
455
  $message .= ob_get_clean();
456
  }
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
  )
386
  ) );
411
  $emails = $wc_emails->get_emails();
412
  $preview_id = get_theme_mod('wcast_returntosender_email_preview_order_id');
413
 
414
+ $email_heading = get_theme_mod('wcast_returntosender_email_heading',$this->defaults['wcast_returntosender_email_heading']);
415
+
416
+ if($email_heading == ''){
417
+ $email_heading = $this->defaults['wcast_returntosender_email_heading'];
418
+ }
419
+
420
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
421
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
422
 
423
+ $email_content = get_theme_mod('wcast_returntosender_email_content',$this->defaults['wcast_returntosender_email_content']);
424
+
425
+ if($email_content == ''){
426
+ $email_content = $this->defaults['wcast_returntosender_email_content'];
427
+ }
428
+
429
  $wcast_show_tracking_details = get_theme_mod('wcast_returntosender_show_tracking_details');
430
  $wcast_show_order_details = get_theme_mod('wcast_returntosender_show_order_details');
431
  $wcast_show_billing_address = get_theme_mod('wcast_returntosender_show_billing_address');
441
  }
442
 
443
  $order = wc_get_order( $preview_id );
444
+
445
+ if(!$order){
446
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
447
+ echo $content;
448
+ return;
449
+ }
450
+
451
  $mailer = WC()->mailer();
452
 
453
  // get the preview email subject
468
  if($wcast_show_tracking_details == 1){
469
  ob_start();
470
  wc_get_template( 'emails/tracking-info.php', array(
471
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
472
+ 'order_id' => $preview_id,
473
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
474
  $message .= ob_get_clean();
475
  }
includes/customizer/class-wc-tracking-info-customizer.php CHANGED
@@ -146,6 +146,11 @@ class wcast_initialise_customizer_settings {
146
  'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
147
  'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
148
  'display_tracking_info_at' => 'before_order',
 
 
 
 
 
149
  );
150
 
151
  return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
@@ -176,7 +181,7 @@ class wcast_initialise_customizer_settings {
176
  $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_preview_order_id',
177
  array(
178
  'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
179
- 'description' => esc_html__( 'select from last 20 orders one order that you added tracking info in order to preview and design the tracking info table.', 'woo-advanced-shipment-tracking' ),
180
  'section' => 'default_controls_section',
181
  'input_attrs' => array(
182
  'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
@@ -184,22 +189,8 @@ class wcast_initialise_customizer_settings {
184
  ),
185
  'choices' => wcast_customizer()->get_order_ids(),
186
  )
187
- ) );
188
-
189
- $wp_customize->add_setting( 'general_settings_header',
190
- array(
191
- 'default' => '',
192
- 'transport' => 'postMessage',
193
- 'sanitize_callback' => ''
194
- )
195
- );
196
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'general_settings_header',
197
- array(
198
- 'label' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
199
- 'section' => 'default_controls_section'
200
- )
201
  ) );
202
-
203
  // Tracking Display Position
204
  $wp_customize->add_setting( 'display_tracking_info_at',
205
  array(
@@ -218,7 +209,7 @@ class wcast_initialise_customizer_settings {
218
  'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
219
  )
220
  )
221
- );
222
 
223
  // Header Text
224
  $wp_customize->add_setting( 'header_text_change',
@@ -230,7 +221,7 @@ class wcast_initialise_customizer_settings {
230
  );
231
  $wp_customize->add_control( 'header_text_change',
232
  array(
233
- 'label' => __( 'Main Header text', 'woo-advanced-shipment-tracking' ),
234
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
235
  'section' => 'default_controls_section',
236
  'type' => 'text',
@@ -263,6 +254,113 @@ class wcast_initialise_customizer_settings {
263
  )
264
  );
265
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  // Test of Toggle Switch Custom Control
267
  $wp_customize->add_setting( 'table_content_header',
268
  array(
@@ -273,27 +371,44 @@ class wcast_initialise_customizer_settings {
273
  );
274
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_content_header',
275
  array(
276
- 'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
277
  'section' => 'default_controls_section'
278
  )
279
  ) );
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  // Display Shipment Provider image/thumbnail
282
  $wp_customize->add_setting( 'display_shipment_provider_image',
283
  array(
284
  'default' => $this->defaults['display_shipment_provider_image'],
285
- 'transport' => 'postMessage',
286
  'sanitize_callback' => ''
287
  )
288
  );
289
  $wp_customize->add_control( 'display_shipment_provider_image',
290
  array(
291
- 'label' => __( 'Display Shipment Provider image', 'woo-advanced-shipment-tracking' ),
292
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
293
  'section' => 'default_controls_section',
294
  'type' => 'checkbox'
295
  )
296
- );
297
 
298
  // Remove date from tracking info
299
  $wp_customize->add_setting( 'remove_date_from_tracking',
@@ -305,7 +420,24 @@ class wcast_initialise_customizer_settings {
305
  );
306
  $wp_customize->add_control( 'remove_date_from_tracking',
307
  array(
308
- 'label' => __( 'Hide date', 'woo-advanced-shipment-tracking' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
310
  'section' => 'default_controls_section',
311
  'type' => 'checkbox'
@@ -322,7 +454,7 @@ class wcast_initialise_customizer_settings {
322
  );
323
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header_block',
324
  array(
325
- 'label' => __( 'Table Header', 'woo-advanced-shipment-tracking' ),
326
  'section' => 'default_controls_section'
327
  )
328
  ) );
@@ -337,7 +469,7 @@ class wcast_initialise_customizer_settings {
337
  );
338
  $wp_customize->add_control( 'hide_table_header',
339
  array(
340
- 'label' => __( 'Hide Header', 'woo-advanced-shipment-tracking' ),
341
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
342
  'section' => 'default_controls_section',
343
  'type' => 'checkbox'
@@ -354,7 +486,7 @@ class wcast_initialise_customizer_settings {
354
  );
355
  $wp_customize->add_control( 'provider_header_text',
356
  array(
357
- 'label' => __( 'Provider Header Text', 'woo-advanced-shipment-tracking' ),
358
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
359
  'section' => 'default_controls_section',
360
  'type' => 'text',
@@ -376,7 +508,7 @@ class wcast_initialise_customizer_settings {
376
  );
377
  $wp_customize->add_control( 'tracking_number_header_text',
378
  array(
379
- 'label' => __( 'Tracking Number Header Text', 'woo-advanced-shipment-tracking' ),
380
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
381
  'section' => 'default_controls_section',
382
  'type' => 'text',
@@ -397,7 +529,7 @@ class wcast_initialise_customizer_settings {
397
  );
398
  $wp_customize->add_control( 'shipped_date_header_text',
399
  array(
400
- 'label' => __( 'Shipped Date Header Text', 'woo-advanced-shipment-tracking' ),
401
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
402
  'section' => 'default_controls_section',
403
  'type' => 'text',
@@ -408,6 +540,7 @@ class wcast_initialise_customizer_settings {
408
  ),
409
  )
410
  );
 
411
  // Show track label
412
  $wp_customize->add_setting( 'show_track_label',
413
  array(
@@ -423,7 +556,8 @@ class wcast_initialise_customizer_settings {
423
  'section' => 'default_controls_section',
424
  'type' => 'checkbox'
425
  )
426
- );
 
427
  // Track Header Text
428
  $wp_customize->add_setting( 'track_header_text',
429
  array(
@@ -434,7 +568,7 @@ class wcast_initialise_customizer_settings {
434
  );
435
  $wp_customize->add_control( 'track_header_text',
436
  array(
437
- 'label' => __( 'Track Header Text', 'woo-advanced-shipment-tracking' ),
438
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
439
  'section' => 'default_controls_section',
440
  'type' => 'text',
@@ -456,7 +590,7 @@ class wcast_initialise_customizer_settings {
456
  );
457
  $wp_customize->add_control( 'table_header_font_size',
458
  array(
459
- 'label' => __( 'Table header font size', 'woo-advanced-shipment-tracking' ),
460
  'section' => 'default_controls_section',
461
  'type' => 'select',
462
  'choices' => $font_size_array
@@ -473,7 +607,7 @@ class wcast_initialise_customizer_settings {
473
  );
474
  $wp_customize->add_control( 'table_header_font_color',
475
  array(
476
- 'label' => __( 'Table header font color', 'woo-advanced-shipment-tracking' ),
477
  'section' => 'default_controls_section',
478
  'type' => 'color'
479
  )
@@ -489,7 +623,7 @@ class wcast_initialise_customizer_settings {
489
  );
490
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
491
  array(
492
- 'label' => __( 'Table Design', 'woo-advanced-shipment-tracking' ),
493
  'section' => 'default_controls_section'
494
  )
495
  ) );
@@ -529,18 +663,6 @@ class wcast_initialise_customizer_settings {
529
  'type' => 'color',
530
  )
531
  );
532
- /* $wp_customize->add_control( new Skyrocket_Customize_Alpha_Color_Control( $wp_customize, 'table_bg_color',
533
- array(
534
- 'label' => __( 'Content font weight', 'woo-advanced-shipment-tracking' ),
535
- 'section' => 'default_controls_section',
536
- 'input_attrs' => array(
537
- 'default' => $this->defaults['table_bg_color'],
538
- 'step' => 100,
539
- 'min' => 100,
540
- 'max' => 900,
541
- ),
542
- )
543
- ));*/
544
 
545
  // Table Border color
546
  $wp_customize->add_setting( 'table_border_color',
@@ -592,7 +714,7 @@ class wcast_initialise_customizer_settings {
592
  );
593
  $wp_customize->add_control( 'header_content_text_align',
594
  array(
595
- 'label' => __( 'Table text align', 'woo-advanced-shipment-tracking' ),
596
  'section' => 'default_controls_section',
597
  'type' => 'select',
598
  'choices' => array(
@@ -604,39 +726,38 @@ class wcast_initialise_customizer_settings {
604
  )
605
  );
606
 
607
-
608
- // Table content font size
609
- $wp_customize->add_setting( 'table_content_font_size',
610
  array(
611
- 'default' => $this->defaults['table_content_font_size'],
612
  'transport' => 'postMessage',
613
  'sanitize_callback' => ''
614
  )
615
  );
616
- $wp_customize->add_control( 'table_content_font_size',
617
  array(
618
- 'label' => __( 'Table content font size', 'woo-advanced-shipment-tracking' ),
619
  'section' => 'default_controls_section',
620
- 'type' => 'select',
621
- 'choices' => $font_size_array
622
  )
623
- );
624
 
625
- // Table content font color
626
- $wp_customize->add_setting( 'table_content_font_color',
627
  array(
628
- 'default' => $this->defaults['table_content_font_color'],
629
  'transport' => 'postMessage',
630
  'sanitize_callback' => ''
631
  )
632
  );
633
- $wp_customize->add_control( 'table_content_font_color',
634
  array(
635
- 'label' => __( 'Table content font color', 'woo-advanced-shipment-tracking' ),
636
  'section' => 'default_controls_section',
637
- 'type' => 'color'
 
638
  )
639
- );
640
 
641
  // Table content line height
642
  $wp_customize->add_setting( 'table_content_line_height',
@@ -691,7 +812,7 @@ class wcast_initialise_customizer_settings {
691
 
692
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
693
  array(
694
- 'label' => __( 'Track Button Design', 'woo-advanced-shipment-tracking' ),
695
  'section' => 'default_controls_section'
696
  )
697
  ) );
@@ -705,7 +826,7 @@ class wcast_initialise_customizer_settings {
705
  );
706
  $wp_customize->add_control( 'tracking_link_font_color',
707
  array(
708
- 'label' => __( 'Track Link Font Color', 'woo-advanced-shipment-tracking' ),
709
  'section' => 'default_controls_section',
710
  'type' => 'color'
711
  )
@@ -721,7 +842,7 @@ class wcast_initialise_customizer_settings {
721
  );
722
  $wp_customize->add_control( 'tracking_link_bg_color',
723
  array(
724
- 'label' => __( 'Track Link Background Color', 'woo-advanced-shipment-tracking' ),
725
  'section' => 'default_controls_section',
726
  'type' => 'color'
727
  )
@@ -736,7 +857,7 @@ class wcast_initialise_customizer_settings {
736
  );
737
  $wp_customize->add_control( 'tracking_link_border',
738
  array(
739
- 'label' => __( 'Track link Border', 'woo-advanced-shipment-tracking' ),
740
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
741
  'section' => 'default_controls_section',
742
  'type' => 'checkbox'
@@ -788,7 +909,7 @@ class wcast_initialise_customizer_settings {
788
  $order_status = 'completed';
789
 
790
  if($preview_id == '' || $preview_id == 'mockup') {
791
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
792
  echo $content;
793
  return;
794
  }
146
  'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
147
  'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
148
  'display_tracking_info_at' => 'before_order',
149
+ 'select_tracking_template' => 'default_table',
150
+ 'simple_provider_font_size' => '14',
151
+ 'simple_provider_font_color' => '#575f6d',
152
+ 'show_provider_border' => 1,
153
+ 'provider_border_color' => '#e0e0e0',
154
  );
155
 
156
  return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
181
  $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_preview_order_id',
182
  array(
183
  'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
184
+ 'description' => esc_html__( 'Select an order to preview and design the tracking info display.', 'woo-advanced-shipment-tracking' ),
185
  'section' => 'default_controls_section',
186
  'input_attrs' => array(
187
  'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
189
  ),
190
  'choices' => wcast_customizer()->get_order_ids(),
191
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  ) );
193
+
194
  // Tracking Display Position
195
  $wp_customize->add_setting( 'display_tracking_info_at',
196
  array(
209
  'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
210
  )
211
  )
212
+ );
213
 
214
  // Header Text
215
  $wp_customize->add_setting( 'header_text_change',
221
  );
222
  $wp_customize->add_control( 'header_text_change',
223
  array(
224
+ 'label' => __( 'Tracking Header text', 'woo-advanced-shipment-tracking' ),
225
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
226
  'section' => 'default_controls_section',
227
  'type' => 'text',
254
  )
255
  );
256
 
257
+ // Preview Order
258
+ $wp_customize->add_setting( 'select_tracking_template',
259
+ array(
260
+ 'default' => $this->defaults['select_tracking_template'],
261
+ 'transport' => 'refresh',
262
+ 'sanitize_callback' => ''
263
+ )
264
+ );
265
+ $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'select_tracking_template',
266
+ array(
267
+ 'label' => __( 'Tracking display template', 'woo-advanced-shipment-tracking' ),
268
+ 'section' => 'default_controls_section',
269
+ 'input_attrs' => array(
270
+ 'placeholder' => __( 'Tracking display template', 'woo-advanced-shipment-tracking' ),
271
+ 'class' => 'tracking_template_select',
272
+ ),
273
+ 'choices' => array(
274
+ '' => __( 'Select Template', 'woo-advanced-shipment-tracking' ),
275
+ 'default_table' => __( 'Table Layout', 'woo-advanced-shipment-tracking' ),
276
+ 'simple_list' => 'Simple Layout',
277
+ ),
278
+ )
279
+ ) );
280
+
281
+ // Test of Toggle Switch Custom Control
282
+ $wp_customize->add_setting( 'simple_content_header',
283
+ array(
284
+ 'default' => '',
285
+ 'transport' => 'postMessage',
286
+ 'sanitize_callback' => ''
287
+ )
288
+ );
289
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'simple_content_header',
290
+ array(
291
+ 'label' => __( 'Simple Layout Design', 'woo-advanced-shipment-tracking' ),
292
+ 'section' => 'default_controls_section'
293
+ )
294
+ ) );
295
+
296
+ // Simple Layout Provider font size
297
+ $wp_customize->add_setting( 'simple_provider_font_size',
298
+ array(
299
+ 'default' => $this->defaults['simple_provider_font_size'],
300
+ 'transport' => 'postMessage',
301
+ 'sanitize_callback' => ''
302
+ )
303
+ );
304
+ $wp_customize->add_control( 'simple_provider_font_size',
305
+ array(
306
+ 'label' => __( 'Provider font size', 'woo-advanced-shipment-tracking' ),
307
+ 'section' => 'default_controls_section',
308
+ 'type' => 'select',
309
+ 'choices' => $font_size_array
310
+ )
311
+ );
312
+
313
+ // Table header font color
314
+ $wp_customize->add_setting( 'simple_provider_font_color',
315
+ array(
316
+ 'default' => $this->defaults['simple_provider_font_color'],
317
+ 'transport' => 'postMessage',
318
+ 'sanitize_callback' => ''
319
+ )
320
+ );
321
+ $wp_customize->add_control( 'simple_provider_font_color',
322
+ array(
323
+ 'label' => __( 'Provider font color', 'woo-advanced-shipment-tracking' ),
324
+ 'section' => 'default_controls_section',
325
+ 'type' => 'color'
326
+ )
327
+ );
328
+
329
+ // Show track label
330
+ $wp_customize->add_setting( 'show_provider_border',
331
+ array(
332
+ 'default' => $this->defaults['show_provider_border'],
333
+ 'transport' => 'postMessage',
334
+ 'sanitize_callback' => ''
335
+ )
336
+ );
337
+ $wp_customize->add_control( 'show_provider_border',
338
+ array(
339
+ 'label' => __( 'Show bottom border', 'woo-advanced-shipment-tracking' ),
340
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
341
+ 'section' => 'default_controls_section',
342
+ 'type' => 'checkbox'
343
+ )
344
+ );
345
+
346
+ // Table header font color
347
+ $wp_customize->add_setting( 'provider_border_color',
348
+ array(
349
+ 'default' => $this->defaults['provider_border_color'],
350
+ 'transport' => 'postMessage',
351
+ 'sanitize_callback' => ''
352
+ )
353
+ );
354
+ $wp_customize->add_control( 'provider_border_color',
355
+ array(
356
+ 'label' => __( 'Bottom border color', 'woo-advanced-shipment-tracking' ),
357
+ 'section' => 'default_controls_section',
358
+ 'type' => 'color'
359
+ )
360
+ );
361
+
362
+
363
+
364
  // Test of Toggle Switch Custom Control
365
  $wp_customize->add_setting( 'table_content_header',
366
  array(
371
  );
372
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_content_header',
373
  array(
374
+ 'label' => __( 'Table layout Design', 'woo-advanced-shipment-tracking' ),
375
  'section' => 'default_controls_section'
376
  )
377
  ) );
378
 
379
+ // Hide Shipment Provider name
380
+ $wp_customize->add_setting( 'display_shipment_provider_name',
381
+ array(
382
+ 'default' => '',
383
+ 'transport' => 'refresh',
384
+ 'sanitize_callback' => ''
385
+ )
386
+ );
387
+ $wp_customize->add_control( 'display_shipment_provider_name',
388
+ array(
389
+ 'label' => __( 'Display shipping provider name', 'woo-advanced-shipment-tracking' ),
390
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
391
+ 'section' => 'default_controls_section',
392
+ 'type' => 'checkbox'
393
+ )
394
+ );
395
+
396
  // Display Shipment Provider image/thumbnail
397
  $wp_customize->add_setting( 'display_shipment_provider_image',
398
  array(
399
  'default' => $this->defaults['display_shipment_provider_image'],
400
+ 'transport' => 'refresh',
401
  'sanitize_callback' => ''
402
  )
403
  );
404
  $wp_customize->add_control( 'display_shipment_provider_image',
405
  array(
406
+ 'label' => __( 'Display shipping provider image', 'woo-advanced-shipment-tracking' ),
407
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
408
  'section' => 'default_controls_section',
409
  'type' => 'checkbox'
410
  )
411
+ );
412
 
413
  // Remove date from tracking info
414
  $wp_customize->add_setting( 'remove_date_from_tracking',
420
  );
421
  $wp_customize->add_control( 'remove_date_from_tracking',
422
  array(
423
+ 'label' => __( 'Hide the ship date', 'woo-advanced-shipment-tracking' ),
424
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
425
+ 'section' => 'default_controls_section',
426
+ 'type' => 'checkbox'
427
+ )
428
+ );
429
+
430
+ // Use tracking number as a link
431
+ $wp_customize->add_setting( 'tracking_number_link',
432
+ array(
433
+ 'default' => '',
434
+ 'transport' => 'refresh',
435
+ 'sanitize_callback' => ''
436
+ )
437
+ );
438
+ $wp_customize->add_control( 'tracking_number_link',
439
+ array(
440
+ 'label' => __( 'Use tracking number as a link', 'woo-advanced-shipment-tracking' ),
441
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
442
  'section' => 'default_controls_section',
443
  'type' => 'checkbox'
454
  );
455
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header_block',
456
  array(
457
+ 'label' => __( 'Table Headers', 'woo-advanced-shipment-tracking' ),
458
  'section' => 'default_controls_section'
459
  )
460
  ) );
469
  );
470
  $wp_customize->add_control( 'hide_table_header',
471
  array(
472
+ 'label' => __( 'Hide Table Headers', 'woo-advanced-shipment-tracking' ),
473
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
474
  'section' => 'default_controls_section',
475
  'type' => 'checkbox'
486
  );
487
  $wp_customize->add_control( 'provider_header_text',
488
  array(
489
+ 'label' => __( 'Provider header text', 'woo-advanced-shipment-tracking' ),
490
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
491
  'section' => 'default_controls_section',
492
  'type' => 'text',
508
  );
509
  $wp_customize->add_control( 'tracking_number_header_text',
510
  array(
511
+ 'label' => __( 'Tracking Number header text', 'woo-advanced-shipment-tracking' ),
512
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
513
  'section' => 'default_controls_section',
514
  'type' => 'text',
529
  );
530
  $wp_customize->add_control( 'shipped_date_header_text',
531
  array(
532
+ 'label' => __( 'Ship date header text', 'woo-advanced-shipment-tracking' ),
533
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
534
  'section' => 'default_controls_section',
535
  'type' => 'text',
540
  ),
541
  )
542
  );
543
+
544
  // Show track label
545
  $wp_customize->add_setting( 'show_track_label',
546
  array(
556
  'section' => 'default_controls_section',
557
  'type' => 'checkbox'
558
  )
559
+ );
560
+
561
  // Track Header Text
562
  $wp_customize->add_setting( 'track_header_text',
563
  array(
568
  );
569
  $wp_customize->add_control( 'track_header_text',
570
  array(
571
+ 'label' => __( 'Track header text', 'woo-advanced-shipment-tracking' ),
572
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
573
  'section' => 'default_controls_section',
574
  'type' => 'text',
590
  );
591
  $wp_customize->add_control( 'table_header_font_size',
592
  array(
593
+ 'label' => __( 'Headers font size', 'woo-advanced-shipment-tracking' ),
594
  'section' => 'default_controls_section',
595
  'type' => 'select',
596
  'choices' => $font_size_array
607
  );
608
  $wp_customize->add_control( 'table_header_font_color',
609
  array(
610
+ 'label' => __( 'Headers font color', 'woo-advanced-shipment-tracking' ),
611
  'section' => 'default_controls_section',
612
  'type' => 'color'
613
  )
623
  );
624
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
625
  array(
626
+ 'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
627
  'section' => 'default_controls_section'
628
  )
629
  ) );
663
  'type' => 'color',
664
  )
665
  );
 
 
 
 
 
 
 
 
 
 
 
 
666
 
667
  // Table Border color
668
  $wp_customize->add_setting( 'table_border_color',
714
  );
715
  $wp_customize->add_control( 'header_content_text_align',
716
  array(
717
+ 'label' => __( 'Content Text align', 'woo-advanced-shipment-tracking' ),
718
  'section' => 'default_controls_section',
719
  'type' => 'select',
720
  'choices' => array(
726
  )
727
  );
728
 
729
+ // Table content font color
730
+ $wp_customize->add_setting( 'table_content_font_color',
 
731
  array(
732
+ 'default' => $this->defaults['table_content_font_color'],
733
  'transport' => 'postMessage',
734
  'sanitize_callback' => ''
735
  )
736
  );
737
+ $wp_customize->add_control( 'table_content_font_color',
738
  array(
739
+ 'label' => __( 'Content font color', 'woo-advanced-shipment-tracking' ),
740
  'section' => 'default_controls_section',
741
+ 'type' => 'color'
 
742
  )
743
+ );
744
 
745
+ // Table content font size
746
+ $wp_customize->add_setting( 'table_content_font_size',
747
  array(
748
+ 'default' => $this->defaults['table_content_font_size'],
749
  'transport' => 'postMessage',
750
  'sanitize_callback' => ''
751
  )
752
  );
753
+ $wp_customize->add_control( 'table_content_font_size',
754
  array(
755
+ 'label' => __( 'Content font size', 'woo-advanced-shipment-tracking' ),
756
  'section' => 'default_controls_section',
757
+ 'type' => 'select',
758
+ 'choices' => $font_size_array
759
  )
760
+ );
761
 
762
  // Table content line height
763
  $wp_customize->add_setting( 'table_content_line_height',
812
 
813
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
814
  array(
815
+ 'label' => __( 'Tracking Link', 'woo-advanced-shipment-tracking' ),
816
  'section' => 'default_controls_section'
817
  )
818
  ) );
826
  );
827
  $wp_customize->add_control( 'tracking_link_font_color',
828
  array(
829
+ 'label' => __( 'Font Color', 'woo-advanced-shipment-tracking' ),
830
  'section' => 'default_controls_section',
831
  'type' => 'color'
832
  )
842
  );
843
  $wp_customize->add_control( 'tracking_link_bg_color',
844
  array(
845
+ 'label' => __( 'Background color', 'woo-advanced-shipment-tracking' ),
846
  'section' => 'default_controls_section',
847
  'type' => 'color'
848
  )
857
  );
858
  $wp_customize->add_control( 'tracking_link_border',
859
  array(
860
+ 'label' => __( 'Border', 'woo-advanced-shipment-tracking' ),
861
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
862
  'section' => 'default_controls_section',
863
  'type' => 'checkbox'
909
  $order_status = 'completed';
910
 
911
  if($preview_id == '' || $preview_id == 'mockup') {
912
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'To preview the tracking display, please add tracking information to at least one order and choose it in the preview order selection.', 'woo-advanced-shipment-tracking' ) . '</div>';
913
  echo $content;
914
  return;
915
  }
includes/customizer/class-wc-updated-tracking-email-customizer.php ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customizer Setup and Custom Controls
4
+ *
5
+ */
6
+
7
+ /**
8
+ * Adds the individual sections, settings, and controls to the theme customizer
9
+ */
10
+ class wcast_updated_tracking_customizer_email {
11
+ // Get our default values
12
+ public function __construct() {
13
+ // Get our Customizer defaults
14
+ $this->defaults = $this->wcast_generate_defaults();
15
+
16
+ // Register our sample default controls
17
+ add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
18
+
19
+ // Only proceed if this is own request.
20
+ if ( ! wcast_updated_tracking_customizer_email::is_own_customizer_request() && ! wcast_updated_tracking_customizer_email::is_own_preview_request() ) {
21
+ return;
22
+ }
23
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_panels' ) );
24
+ // Register our sections
25
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
26
+
27
+ // Remove unrelated components.
28
+ add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
29
+
30
+ // Remove unrelated sections.
31
+ add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
32
+
33
+ // Unhook divi front end.
34
+ add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
35
+
36
+ // Unhook Flatsome js
37
+ add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
38
+
39
+ add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
40
+
41
+ add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
+
43
+ add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
+ }
45
+
46
+ public function enqueue_preview_scripts() {
47
+ wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
48
+ wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
49
+ // Send variables to Javascript
50
+ $preview_id = get_theme_mod('wcast_updated_tracking_preview_order_id');
51
+ wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
52
+ 'site_title' => $this->get_blogname(),
53
+ 'order_number' => $preview_id,
54
+ ));
55
+ }
56
+
57
+ /**
58
+ * Get blog name formatted for emails.
59
+ *
60
+ * @return string
61
+ */
62
+ public function get_blogname() {
63
+ return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
64
+ }
65
+
66
+ /**
67
+ * Checks to see if we are opening our custom customizer preview
68
+ *
69
+ * @access public
70
+ * @return bool
71
+ */
72
+ public static function is_own_preview_request() {
73
+ return isset( $_REQUEST['wcast-updated-tracking-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-updated-tracking-email-customizer-preview'];
74
+ }
75
+
76
+ /**
77
+ * Checks to see if we are opening our custom customizer controls
78
+ *
79
+ * @access public
80
+ * @return bool
81
+ */
82
+ public static function is_own_customizer_request() {
83
+ return isset( $_REQUEST['email'] ) && $_REQUEST['email'] === 'customer_updated_tracking_email';
84
+ }
85
+
86
+ /**
87
+ * Get Customizer URL
88
+ *
89
+ */
90
+ public static function get_customizer_url($email) {
91
+ $customizer_url = add_query_arg( array(
92
+ 'wcast-customizer' => '1',
93
+ 'email' => $email,
94
+ 'url' => urlencode( add_query_arg( array( 'wcast-updated-tracking-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
95
+ 'return' => urlencode( wcast_updated_tracking_customizer_email::get_email_settings_page_url() ),
96
+ ), admin_url( 'customize.php' ) );
97
+
98
+ return $customizer_url;
99
+ }
100
+
101
+ /**
102
+ * Get WooCommerce email settings page URL
103
+ *
104
+ * @access public
105
+ * @return string
106
+ */
107
+ public static function get_email_settings_page_url() {
108
+ return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
109
+ }
110
+
111
+ /**
112
+ * code for initialize default value for customizer
113
+ */
114
+ public function wcast_generate_defaults() {
115
+ $customizer_defaults = array(
116
+ 'wcast_updated_tracking_email_subject' => __( 'Your {site_title} order is now updated tracking', 'woo-advanced-shipment-tracking' ),
117
+ 'wcast_updated_tracking_email_heading' => __( 'Tracking information Update', 'woocommerce' ),
118
+ 'wcast_updated_tracking_email_content' => __( "Hi there. we thought you'd like to know that the shipment tracking for your recent order from {site_title} has been updated.", 'woo-advanced-shipment-tracking' ),
119
+ 'wcast_enable_updated_tracking_email' => 'no',
120
+ );
121
+
122
+ return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
123
+ }
124
+
125
+ /**
126
+ * Register our sample default controls
127
+ */
128
+ public function wcast_register_sample_default_controls( $wp_customize ) {
129
+ /**
130
+ * Load all our Customizer Custom Controls
131
+ */
132
+ require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
133
+
134
+ $wp_customize->add_setting( 'updated_tracking_order_email_heading',
135
+ array(
136
+ 'default' => '',
137
+ 'transport' => 'postMessage',
138
+ 'sanitize_callback' => ''
139
+ )
140
+ );
141
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'updated_tracking_order_email_heading',
142
+ array(
143
+ 'label' => __( 'Updated Tracking status email', 'woo-advanced-shipment-tracking' ),
144
+ 'description' => __( 'This section lets you customize the Email Content.', 'woo-advanced-shipment-tracking' ),
145
+ 'section' => 'customer_updated_tracking_email'
146
+ )
147
+ ) );
148
+ // Display Shipment Provider image/thumbnail
149
+ $wp_customize->add_setting( 'customizer_updated_tracking_order_settings_enabled',
150
+ array(
151
+ 'default' => $this->defaults['wcast_enable_updated_tracking_email'],
152
+ 'transport' => 'postMessage',
153
+ 'type' => 'option',
154
+ 'sanitize_callback' => ''
155
+ )
156
+ );
157
+ $wp_customize->add_control( 'customizer_updated_tracking_order_settings_enabled',
158
+ array(
159
+ 'label' => __( 'Enable Updated Tracking order status email', 'woo-advanced-shipment-tracking' ),
160
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
161
+ 'section' => 'customer_updated_tracking_email',
162
+ 'type' => 'checkbox',
163
+
164
+ )
165
+ );
166
+
167
+ // Preview Order
168
+ $wp_customize->add_setting( 'wcast_updated_tracking_preview_order_id',
169
+ array(
170
+ 'default' => 'mockup',
171
+ 'transport' => 'refresh',
172
+ 'sanitize_callback' => ''
173
+ )
174
+ );
175
+ $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_updated_tracking_preview_order_id',
176
+ array(
177
+ 'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
178
+ 'description' => '',
179
+ 'section' => 'customer_updated_tracking_email',
180
+ 'input_attrs' => array(
181
+ 'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
182
+ 'class' => 'preview_order_select',
183
+ ),
184
+ 'choices' => wcast_customizer()->get_order_ids(),
185
+ )
186
+ ) );
187
+
188
+ // Header Text
189
+ $wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[subject]',
190
+ array(
191
+ 'default' => $this->defaults['wcast_updated_tracking_email_subject'],
192
+ 'transport' => 'postMessage',
193
+ 'type' => 'option',
194
+ 'sanitize_callback' => ''
195
+ )
196
+ );
197
+ $wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[subject]',
198
+ array(
199
+ 'label' => __( 'Subject', 'woocommerce' ),
200
+ 'description' => esc_html__( 'Available variables:', '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
@@ -63,6 +63,22 @@ class WC_Advanced_Shipment_Tracking_Customizer {
63
  )
64
  );
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  $wp_customize->add_section( 'customer_failure_email',
67
  array(
68
  'title' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ),
@@ -131,6 +147,8 @@ class WC_Advanced_Shipment_Tracking_Customizer {
131
  wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
132
  'ajax_url' => admin_url('admin-ajax.php'),
133
  'email_preview_url' => $this->get_email_preview_url(),
 
 
134
  'tracking_preview_url' => $this->get_tracking_preview_url(),
135
  'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
136
  'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
@@ -157,6 +175,30 @@ class WC_Advanced_Shipment_Tracking_Customizer {
157
  return $email_preview_url;
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  /**
161
  * Get Customizer URL
162
  *
@@ -332,7 +374,7 @@ class WC_Advanced_Shipment_Tracking_Customizer {
332
  */
333
  public static function is_own_section( $key ) {
334
 
335
- if ($key === 'default_controls_section' || $key === 'tracking_page_section' || $key === 'customer_delivered_email' || $key === 'customer_failure_email' || $key === 'customer_intransit_email' || $key === 'customer_outfordelivery_email' || $key === 'customer_delivered_status_email' || $key === 'customer_returntosender_email' || $key === 'customer_availableforpickup_email') {
336
  return true;
337
  }
338
 
@@ -374,11 +416,19 @@ class WC_Advanced_Shipment_Tracking_Customizer {
374
  'posts_per_page' => 20,
375
  )
376
  );
 
 
377
  if ( $orders->posts ) {
378
  foreach ( $orders->posts as $order ) {
379
  // Get order object.
380
  $order_object = new WC_Order( $order->ID );
381
- $order_array[ $order_object->get_id() ] = $order_object->get_id() . ' - ' . $order_object->get_billing_first_name() . ' ' . $order_object->get_billing_last_name();
 
 
 
 
 
 
382
  }
383
  }
384
  return $order_array;
63
  )
64
  );
65
 
66
+ $wp_customize->add_section( 'customer_partial_shipped_email',
67
+ array(
68
+ 'title' => __( 'Partially Shipped status email', 'woo-advanced-shipment-tracking' ),
69
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
70
+ 'panel' => 'wcast_naviation_panel'
71
+ )
72
+ );
73
+
74
+ $wp_customize->add_section( 'customer_updated_tracking_email',
75
+ array(
76
+ 'title' => __( 'Updated Tracking status email', 'woo-advanced-shipment-tracking' ),
77
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
78
+ 'panel' => 'wcast_naviation_panel'
79
+ )
80
+ );
81
+
82
  $wp_customize->add_section( 'customer_failure_email',
83
  array(
84
  'title' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ),
147
  wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
148
  'ajax_url' => admin_url('admin-ajax.php'),
149
  'email_preview_url' => $this->get_email_preview_url(),
150
+ 'partial_shipped_email_preview_url' => $this->get_partial_shipped_email_preview_url(),
151
+ 'updated_tracking_email_preview_url' => $this->get_updated_tracking_email_preview_url(),
152
  'tracking_preview_url' => $this->get_tracking_preview_url(),
153
  'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
154
  'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
175
  return $email_preview_url;
176
  }
177
 
178
+ /**
179
+ * Get Customizer URL
180
+ *
181
+ */
182
+ public static function get_partial_shipped_email_preview_url() {
183
+ $email_preview_url = add_query_arg( array(
184
+ 'wcast-partial-shipped-email-customizer-preview' => '1',
185
+ ), home_url( '' ) );
186
+
187
+ return $email_preview_url;
188
+ }
189
+
190
+ /**
191
+ * Get Customizer URL
192
+ *
193
+ */
194
+ public static function get_updated_tracking_email_preview_url() {
195
+ $email_preview_url = add_query_arg( array(
196
+ 'wcast-updated-tracking-email-customizer-preview' => '1',
197
+ ), home_url( '' ) );
198
+
199
+ return $email_preview_url;
200
+ }
201
+
202
  /**
203
  * Get Customizer URL
204
  *
374
  */
375
  public static function is_own_section( $key ) {
376
 
377
+ if ($key === 'default_controls_section' || $key === 'tracking_page_section' || $key === 'customer_delivered_email' || $key === 'customer_partial_shipped_email' || $key === 'customer_updated_tracking_email' || $key === 'customer_failure_email' || $key === 'customer_intransit_email' || $key === 'customer_outfordelivery_email' || $key === 'customer_delivered_status_email' || $key === 'customer_returntosender_email' || $key === 'customer_availableforpickup_email') {
378
  return true;
379
  }
380
 
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/partial_shipped_preview.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Exit if accessed directly
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ ?>
8
+
9
+ <head>
10
+
11
+ <meta charset="<?php bloginfo('charset'); ?>" />
12
+ <meta name="viewport" content="width=device-width" />
13
+ <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
14
+ </head>
15
+
16
+ <body class="ast_preview_body">
17
+ <div id="overlay"></div>
18
+ <div id="ast_preview_wrapper" style="display: block;">
19
+
20
+ <?php wcast_partial_shipped_customizer_email::preview_partial_shipped_email(); ?>
21
+
22
+ </div>
23
+
24
+ <?php
25
+ do_action( 'woomail_footer' );
26
+ wp_footer(); ?>
27
+
28
+ </body>
29
+
30
+ </html>
includes/customizer/preview/updated_tracking_preview.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Exit if accessed directly
3
+ if (!defined('ABSPATH')) {
4
+ exit;
5
+ }
6
+
7
+ ?>
8
+
9
+ <head>
10
+
11
+ <meta charset="<?php bloginfo('charset'); ?>" />
12
+ <meta name="viewport" content="width=device-width" />
13
+ <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
14
+ </head>
15
+
16
+ <body class="ast_preview_body">
17
+ <div id="overlay"></div>
18
+ <div id="ast_preview_wrapper" style="display: block;">
19
+
20
+ <?php wcast_updated_tracking_customizer_email::preview_updated_tracking_email(); ?>
21
+
22
+ </div>
23
+
24
+ <?php
25
+ do_action( 'woomail_footer' );
26
+ wp_footer(); ?>
27
+
28
+ </body>
29
+
30
+ </html>
includes/email-manager.php CHANGED
@@ -24,7 +24,15 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
24
  // Include the email class file if it's not included already
25
  if ( ! isset( $emails[ 'WC_Email_Customer_Delivered_Order' ] ) ) {
26
  $emails[ 'WC_Email_Customer_Delivered_Order' ] = include_once( 'emails/class-shipment-delivered-email.php' );
27
- }
 
 
 
 
 
 
 
 
28
  return $emails;
29
  }
30
 
@@ -35,6 +43,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
35
  $order_id = $order->get_id();
36
  $wcast_customizer_settings = new wcast_initialise_customizer_email();
37
  $email_subject = get_theme_mod('wcast_delivered_email_subject',$wcast_customizer_settings->defaults['wcast_delivered_email_subject']);
 
 
 
 
 
38
  $subject = $this->email_subject($email_subject,$order_id,$order);
39
 
40
  $email_to = get_theme_mod('wcast_delivered_email_to',$wcast_customizer_settings->defaults['wcast_delivered_email_to']);
@@ -46,8 +59,18 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
46
  $email_to = explode(",",$email_to);
47
 
48
  foreach($email_to as $email){
49
- $email_heading = get_theme_mod('wcast_delivered_email_heading',$wcast_customizer_settings->defaults['wcast_delivered_email_heading']);
50
- $email_content = get_theme_mod('wcast_delivered_email_content',$wcast_customizer_settings->defaults['wcast_delivered_email_content']);
 
 
 
 
 
 
 
 
 
 
51
  $wcast_show_tracking_details = get_theme_mod('wcast_show_tracking_details');
52
  $wcast_show_order_details = get_theme_mod('wcast_show_order_details');
53
  $wcast_show_billing_address = get_theme_mod('wcast_show_billing_address');
@@ -69,7 +92,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
69
  if($wcast_show_tracking_details == 1){
70
  ob_start();
71
  wc_get_template( 'emails/tracking-info.php', array(
72
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
73
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
74
  $message .= ob_get_clean();
75
  }
@@ -136,6 +160,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
136
  $status_class = 'wcast_'.$status.'_customizer_email';
137
  $wcast_status_customizer_email = new $status_class();
138
  $email_subject = get_theme_mod('wcast_'.$status.'_email_subject',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject']);
 
 
 
 
 
139
  $subject = $this->email_subject($email_subject,$order_id,$order);
140
  $email_to = get_theme_mod('wcast_'.$status.'_email_to',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_to']);
141
  $enable = get_theme_mod('wcast_enable_'.$status.'_email');
@@ -144,7 +173,17 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
144
  if($enable == 1){
145
  foreach($email_to as $email){
146
  $email_heading = get_theme_mod('wcast_'.$status.'_email_heading',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading']);
147
- $email_content = get_theme_mod('wcast_'.$status.'_email_content',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content']);
 
 
 
 
 
 
 
 
 
 
148
  $wcast_show_tracking_details = get_theme_mod('wcast_'.$status.'_show_tracking_details');
149
  $wcast_show_order_details = get_theme_mod('wcast_'.$status.'_show_order_details');
150
  $wcast_show_billing_address = get_theme_mod('wcast_'.$status.'_show_billing_address');
@@ -169,7 +208,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
169
 
170
  ob_start();
171
  wc_get_template( 'emails/tracking-info.php', array(
172
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
173
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
174
  $message .= ob_get_clean();
175
  }
@@ -237,15 +277,30 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
237
 
238
  $wcast_delivered_customizer_email = new wcast_delivered_customizer_email();
239
  $email_subject = get_theme_mod('wcast_delivered_status_email_subject',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject']);
 
 
 
 
 
240
  $subject = $this->email_subject($email_subject,$order_id,$order);
241
- $email_to = get_theme_mod('wcast_delivered_status_email_to',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_to']);
242
  $enable = get_theme_mod('wcast_enable_delivered_status_email');
243
  $email_to = explode(",",$email_to);
244
 
245
  if($enable == 1){
246
  foreach($email_to as $email){
247
  $email_heading = get_theme_mod('wcast_delivered_status_email_heading',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading']);
 
 
 
 
 
248
  $email_content = get_theme_mod('wcast_delivered_status_email_content',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content']);
 
 
 
 
 
249
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
250
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
251
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
@@ -270,7 +325,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
270
 
271
  ob_start();
272
  wc_get_template( 'emails/tracking-info.php', array(
273
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
274
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
275
  $message .= ob_get_clean();
276
  }
@@ -390,10 +446,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
390
  /**
391
  * code for format email content
392
  */
393
- public function email_content($email_content, $order_id, $order){
394
  $customer_email = $order->get_billing_email();
395
  $first_name = $order->get_billing_first_name();
396
  $last_name = $order->get_billing_last_name();
 
397
  $user = $order->get_user();
398
  if($user){
399
  $username = $user->user_login;
@@ -408,7 +465,14 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
408
  $email_content = str_replace( '{customer_email}', $customer_email, $email_content );
409
  $email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
410
  $email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
411
- $email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
 
 
 
 
 
 
 
412
  if(isset($username)){
413
  $email_content = str_replace( '{customer_username}', $username, $email_content );
414
  } else{
@@ -447,37 +511,21 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
447
  */
448
  public function get_est_delivery_date($order_id, $order){
449
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
450
- $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
451
-
452
- //$get_order_key = get_post_meta( $order_id, 'order_key', true );
453
  } else {
454
  $order = new WC_Order( $order_id );
455
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
456
- //$get_order_key = $order->order_key;
457
  }
458
- $html = '';
459
 
 
 
 
460
  if($tracking_items){
461
- foreach($tracking_items as $item){
462
- $tracking_number = $item['tracking_number'];
463
- $trackship_url = 'https://trackship.info';
464
- $url = $trackship_url.'/wp-json/wc/v1/get_tracking_info_by_number';
465
- $args['body'] = array(
466
- 'tracking_number' => $tracking_number
467
- );
468
- $response = wp_remote_post( $url, $args );
469
- $data = $response['body'];
470
- $decoded_data = json_decode($data);
471
-
472
- if(!empty($decoded_data)){
473
- $tracker = $decoded_data[0];
474
- //echo '<pre>';print_r($tracker);echo '</pre>';
475
- if($tracker->est_delivery_date){
476
- $unixTimestamp = strtotime($tracker->est_delivery_date);
477
- //Get the day of the week using PHP's date function.
478
- $day = date("l", $unixTimestamp);
479
- $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>';
480
- }
481
  }
482
  }
483
  }
24
  // Include the email class file if it's not included already
25
  if ( ! isset( $emails[ 'WC_Email_Customer_Delivered_Order' ] ) ) {
26
  $emails[ 'WC_Email_Customer_Delivered_Order' ] = include_once( 'emails/class-shipment-delivered-email.php' );
27
+ }
28
+
29
+ if ( ! isset( $emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] ) ) {
30
+ $emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] = include_once( 'emails/class-shipment-partial-shipped-email.php' );
31
+ }
32
+
33
+ if ( ! isset( $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] ) ) {
34
+ $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] = include_once( 'emails/class-shipment-updated-tracking-email.php' );
35
+ }
36
  return $emails;
37
  }
38
 
43
  $order_id = $order->get_id();
44
  $wcast_customizer_settings = new wcast_initialise_customizer_email();
45
  $email_subject = get_theme_mod('wcast_delivered_email_subject',$wcast_customizer_settings->defaults['wcast_delivered_email_subject']);
46
+
47
+ if($email_subject == ''){
48
+ $email_subject = $wcast_customizer_settings->defaults['wcast_delivered_email_subject'];
49
+ }
50
+
51
  $subject = $this->email_subject($email_subject,$order_id,$order);
52
 
53
  $email_to = get_theme_mod('wcast_delivered_email_to',$wcast_customizer_settings->defaults['wcast_delivered_email_to']);
59
  $email_to = explode(",",$email_to);
60
 
61
  foreach($email_to as $email){
62
+ $email_heading = get_theme_mod('wcast_delivered_email_heading',$wcast_customizer_settings->defaults['wcast_delivered_email_heading']);
63
+
64
+ if($email_heading == ''){
65
+ $email_heading = $wcast_customizer_settings->defaults['wcast_delivered_email_heading'];
66
+ }
67
+
68
+ $email_content = get_theme_mod('wcast_delivered_email_content',$wcast_customizer_settings->defaults['wcast_delivered_email_content']);
69
+
70
+ if($email_content == ''){
71
+ $email_content = $wcast_customizer_settings->defaults['wcast_delivered_email_content'];
72
+ }
73
+
74
  $wcast_show_tracking_details = get_theme_mod('wcast_show_tracking_details');
75
  $wcast_show_order_details = get_theme_mod('wcast_show_order_details');
76
  $wcast_show_billing_address = get_theme_mod('wcast_show_billing_address');
92
  if($wcast_show_tracking_details == 1){
93
  ob_start();
94
  wc_get_template( 'emails/tracking-info.php', array(
95
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
96
+ 'order_id' => $order_id,
97
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
98
  $message .= ob_get_clean();
99
  }
160
  $status_class = 'wcast_'.$status.'_customizer_email';
161
  $wcast_status_customizer_email = new $status_class();
162
  $email_subject = get_theme_mod('wcast_'.$status.'_email_subject',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject']);
163
+
164
+ if($email_subject == ''){
165
+ $email_subject = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject'];
166
+ }
167
+
168
  $subject = $this->email_subject($email_subject,$order_id,$order);
169
  $email_to = get_theme_mod('wcast_'.$status.'_email_to',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_to']);
170
  $enable = get_theme_mod('wcast_enable_'.$status.'_email');
173
  if($enable == 1){
174
  foreach($email_to as $email){
175
  $email_heading = get_theme_mod('wcast_'.$status.'_email_heading',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading']);
176
+
177
+ if($email_heading == ''){
178
+ $email_heading = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading'];
179
+ }
180
+
181
+ $email_content = get_theme_mod('wcast_'.$status.'_email_content',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content']);
182
+
183
+ if($email_content == ''){
184
+ $email_content = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content'];
185
+ }
186
+
187
  $wcast_show_tracking_details = get_theme_mod('wcast_'.$status.'_show_tracking_details');
188
  $wcast_show_order_details = get_theme_mod('wcast_'.$status.'_show_order_details');
189
  $wcast_show_billing_address = get_theme_mod('wcast_'.$status.'_show_billing_address');
208
 
209
  ob_start();
210
  wc_get_template( 'emails/tracking-info.php', array(
211
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
212
+ 'order_id' => $order_id,
213
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
214
  $message .= ob_get_clean();
215
  }
277
 
278
  $wcast_delivered_customizer_email = new wcast_delivered_customizer_email();
279
  $email_subject = get_theme_mod('wcast_delivered_status_email_subject',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject']);
280
+
281
+ if($email_subject == ''){
282
+ $email_subject = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject'];
283
+ }
284
+
285
  $subject = $this->email_subject($email_subject,$order_id,$order);
286
+ $email_to = get_theme_mod('wcast_delivered_status_email_to',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_to']);
287
  $enable = get_theme_mod('wcast_enable_delivered_status_email');
288
  $email_to = explode(",",$email_to);
289
 
290
  if($enable == 1){
291
  foreach($email_to as $email){
292
  $email_heading = get_theme_mod('wcast_delivered_status_email_heading',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading']);
293
+
294
+ if($email_heading == ''){
295
+ $email_heading = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading'];
296
+ }
297
+
298
  $email_content = get_theme_mod('wcast_delivered_status_email_content',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content']);
299
+
300
+ if($email_content == ''){
301
+ $email_content = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content'];
302
+ }
303
+
304
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
305
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
306
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
325
 
326
  ob_start();
327
  wc_get_template( 'emails/tracking-info.php', array(
328
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
329
+ 'order_id' => $order_id,
330
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
331
  $message .= ob_get_clean();
332
  }
446
  /**
447
  * code for format email content
448
  */
449
+ public function email_content($email_content, $order_id, $order){
450
  $customer_email = $order->get_billing_email();
451
  $first_name = $order->get_billing_first_name();
452
  $last_name = $order->get_billing_last_name();
453
+ $company_name = $order->get_billing_company();
454
  $user = $order->get_user();
455
  if($user){
456
  $username = $user->user_login;
465
  $email_content = str_replace( '{customer_email}', $customer_email, $email_content );
466
  $email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
467
  $email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
468
+ $email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
469
+
470
+ if(isset($company_name)){
471
+ $email_content = str_replace( '{customer_company_name}', $company_name, $email_content );
472
+ } else{
473
+ $email_content = str_replace( '{customer_company_name}','', $email_content );
474
+ }
475
+
476
  if(isset($username)){
477
  $email_content = str_replace( '{customer_username}', $username, $email_content );
478
  } else{
511
  */
512
  public function get_est_delivery_date($order_id, $order){
513
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
514
+ $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
 
 
515
  } else {
516
  $order = new WC_Order( $order_id );
517
+ $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
 
518
  }
 
519
 
520
+ $html = '';
521
+ $wc_ast_api_key = get_option('wc_ast_api_key');
522
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
523
  if($tracking_items){
524
+ foreach($tracking_items as $key => $item){
525
+ $tracking_number = $item['tracking_number'];
526
+ if(isset($shipment_status[$key]['est_delivery_date']) && $shipment_status[$key]['est_delivery_date'] != ''){
527
+ $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
528
+ $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>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
529
  }
530
  }
531
  }
includes/emails/class-shipment-delivered-email.php CHANGED
@@ -56,7 +56,7 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
56
  $recipients = array_map( 'trim', explode( ',', $recipient ) );
57
  return implode( ', ', $recipients );
58
  }
59
-
60
  /**
61
  * Trigger the sending of this email.
62
  *
@@ -75,8 +75,8 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
75
  $this->object = $order;
76
  $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
77
  $this->placeholders['{order_number}'] = $this->object->get_order_number();
78
- }
79
-
80
  if ( $this->is_enabled() && $this->get_delivered_recipient() ) {
81
  $this->send( $this->get_delivered_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
82
  }
@@ -158,7 +158,8 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
158
  if($wcast_show_tracking_details == 1){
159
  ob_start();
160
  wc_get_template( 'emails/tracking-info.php', array(
161
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
162
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
163
  $message .= ob_get_clean();
164
  }
@@ -230,12 +231,12 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
230
  /**
231
  * Initialise settings form fields.
232
  */
233
- public function init_form_fields() {
234
  $this->form_fields = array(
235
  'enabled' => array(
236
  'title' => __( 'Enable/Disable', 'woocommerce' ),
237
  'type' => 'checkbox',
238
- 'label' => __( 'Enable this email notification', 'woocommerce' ),
239
  'default' => 'yes',
240
  ),
241
  'recipient' => array(
@@ -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
  ),
@@ -285,4 +286,4 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
285
 
286
  endif;
287
 
288
- return new WC_Email_Customer_Delivered_Order();
56
  $recipients = array_map( 'trim', explode( ',', $recipient ) );
57
  return implode( ', ', $recipients );
58
  }
59
+
60
  /**
61
  * Trigger the sending of this email.
62
  *
75
  $this->object = $order;
76
  $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
77
  $this->placeholders['{order_number}'] = $this->object->get_order_number();
78
+ }
79
+
80
  if ( $this->is_enabled() && $this->get_delivered_recipient() ) {
81
  $this->send( $this->get_delivered_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
82
  }
158
  if($wcast_show_tracking_details == 1){
159
  ob_start();
160
  wc_get_template( 'emails/tracking-info.php', array(
161
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
162
+ 'order_id' => $order_id
163
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
164
  $message .= ob_get_clean();
165
  }
231
  /**
232
  * Initialise settings form fields.
233
  */
234
+ public function init_form_fields() {
235
  $this->form_fields = array(
236
  'enabled' => array(
237
  'title' => __( 'Enable/Disable', 'woocommerce' ),
238
  'type' => 'checkbox',
239
+ 'label' => __( 'Enable this email notification', 'woocommerce' ),
240
  'default' => 'yes',
241
  ),
242
  'recipient' => array(
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
  ),
286
 
287
  endif;
288
 
289
+ return new WC_Email_Customer_Delivered_Order();
includes/emails/class-shipment-partial-shipped-email.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class WC_Email_Customer_Partial_Shipped_Order file.
4
+ *
5
+ * @package WooCommerce\Emails
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'WC_Email_Customer_Partial_Shipped_Order', false ) ) :
13
+
14
+ /**
15
+ * Customer Completed Order Email.
16
+ *
17
+ * Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
18
+ *
19
+ * @class WC_Email_Customer_Partial_Shipped_Order
20
+ * @version 2.0.0
21
+ * @package WooCommerce/Classes/Emails
22
+ * @extends WC_Email
23
+ */
24
+ class WC_Email_Customer_Partial_Shipped_Order extends WC_Email {
25
+
26
+ /**
27
+ * Constructor.
28
+ */
29
+ public function __construct() {
30
+ $this->id = 'customer_partial_shipped_order';
31
+ $this->customer_email = true;
32
+ $this->title = __( 'Partially Shipped order', 'woocommerce' );
33
+ $this->description = __( 'Order partially shipped emails are sent to customers when their orders are marked partially shipped and usually indicate that their orders have been partially shipped.', 'woocommerce' );
34
+ $this->template_html = 'emails/customer-partial-shipped-order.php';
35
+ $this->template_plain = 'emails/plain/customer-completed-order.php';
36
+ $this->placeholders = array(
37
+ '{order_date}' => '',
38
+ '{order_number}' => '',
39
+ );
40
+ $this->template_base = AST_TEMPLATE_PATH;
41
+ // Triggers for this email.
42
+ //add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
43
+
44
+ // Call parent constructor.
45
+ parent::__construct();
46
+ }
47
+
48
+ /**
49
+ * Trigger the sending of this email.
50
+ *
51
+ * @param int $order_id The order ID.
52
+ * @param WC_Order|false $order Order object.
53
+ */
54
+ public function trigger( $order_id, $order = false ) {
55
+ $this->setup_locale();
56
+
57
+ if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
58
+ $order = wc_get_order( $order_id );
59
+ }
60
+
61
+ if ( is_a( $order, 'WC_Order' ) ) {
62
+ $this->object = $order;
63
+ $this->recipient = $this->object->get_billing_email();
64
+ $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
65
+ $this->placeholders['{order_number}'] = $this->object->get_order_number();
66
+ }
67
+
68
+ if ( $this->is_enabled() && $this->get_recipient() ) {
69
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
70
+ }
71
+
72
+ $this->restore_locale();
73
+ }
74
+
75
+ /**
76
+ * Get email subject.
77
+ *
78
+ * @since 3.1.0
79
+ * @return string
80
+ */
81
+ public function get_default_subject() {
82
+ return __( 'Your {site_title} order is now partially shipped', 'woocommerce' );
83
+ }
84
+
85
+ /**
86
+ * Get email heading.
87
+ *
88
+ * @since 3.1.0
89
+ * @return string
90
+ */
91
+ public function get_default_heading() {
92
+ return __( 'Your Order is Partially Shipped', 'woocommerce' );
93
+ }
94
+
95
+ /**
96
+ * Get content html.
97
+ *
98
+ * @return string
99
+ */
100
+ public function get_content_html() {
101
+ $template = $this->get_template( 'template_html' );
102
+ $local_file = $this->get_theme_template_file( $template );
103
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
104
+ //echo $local_file;exit;
105
+ return wc_get_template_html(
106
+ $this->template_html,
107
+ array(
108
+ 'order' => $this->object,
109
+ 'email_heading' => $this->get_heading(),
110
+ 'additional_content' => $this->get_additional_content(),
111
+ 'sent_to_admin' => false,
112
+ 'plain_text' => false,
113
+ 'email' => $this,
114
+ )
115
+ );
116
+ } else{
117
+ return wc_get_template_html(
118
+ 'emails/customer-partial-shipped-order.php',
119
+ array(
120
+ 'order' => $this->object,
121
+ 'email_heading' => $this->get_heading(),
122
+ 'additional_content' => $this->get_additional_content(),
123
+ 'sent_to_admin' => false,
124
+ 'plain_text' => false,
125
+ 'email' => $this,
126
+ ),
127
+ 'woocommerce-advanced-shipment-tracking/',
128
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
129
+ );
130
+ }
131
+ }
132
+
133
+ /**
134
+ * Get content plain.
135
+ *
136
+ * @return string
137
+ */
138
+ public function get_content_plain() {
139
+ $template = $this->get_template( 'template_html' );
140
+ $local_file = $this->get_theme_template_file( $template );
141
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
142
+ //echo $local_file;exit;
143
+ return wc_get_template_html(
144
+ $this->template_html,
145
+ array(
146
+ 'order' => $this->object,
147
+ 'email_heading' => $this->get_heading(),
148
+ 'additional_content' => $this->get_additional_content(),
149
+ 'sent_to_admin' => false,
150
+ 'plain_text' => false,
151
+ 'email' => $this,
152
+ )
153
+ );
154
+ } else{
155
+ return wc_get_template_html(
156
+ 'emails/customer-partial-shipped-order.php',
157
+ array(
158
+ 'order' => $this->object,
159
+ 'email_heading' => $this->get_heading(),
160
+ 'additional_content' => $this->get_additional_content(),
161
+ 'sent_to_admin' => false,
162
+ 'plain_text' => false,
163
+ 'email' => $this,
164
+ ),
165
+ 'woocommerce-advanced-shipment-tracking/',
166
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
167
+ );
168
+ }
169
+ }
170
+
171
+ /**
172
+ * Default content to show below main email content.
173
+ *
174
+ * @since 3.7.0
175
+ * @return string
176
+ */
177
+ public function get_default_additional_content() {
178
+ return __( 'Thanks for shopping with us.', 'woocommerce' );
179
+ }
180
+ }
181
+
182
+ endif;
183
+
184
+ return new WC_Email_Customer_Partial_Shipped_Order();
includes/emails/class-shipment-updated-tracking-email.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class WC_Email_Customer_Updated_Tracking_Order file.
4
+ *
5
+ * @package WooCommerce\Emails
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'WC_Email_Customer_Updated_Tracking_Order', false ) ) :
13
+
14
+ /**
15
+ * Customer Completed Order Email.
16
+ *
17
+ * Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
18
+ *
19
+ * @class WC_Email_Customer_Updated_Tracking_Order
20
+ * @version 2.0.0
21
+ * @package WooCommerce/Classes/Emails
22
+ * @extends WC_Email
23
+ */
24
+ class WC_Email_Customer_Updated_Tracking_Order extends WC_Email {
25
+
26
+ /**
27
+ * Constructor.
28
+ */
29
+ public function __construct() {
30
+ $this->id = 'customer_updated_tracking_order';
31
+ $this->customer_email = true;
32
+ $this->title = __( 'Updated Tracking order', 'woocommerce' );
33
+ $this->description = __( 'Order updated tracking emails are sent to customers when their orders are marked updated tracking and usually indicate that their orders have been updated tracking.', 'woocommerce' );
34
+ $this->template_html = 'emails/customer-updated-tracking-order.php';
35
+ $this->template_plain = 'emails/plain/customer-updated-tracking-order.php';
36
+ $this->placeholders = array(
37
+ '{order_date}' => '',
38
+ '{order_number}' => '',
39
+ );
40
+ $this->template_base = AST_TEMPLATE_PATH;
41
+ // Triggers for this email.
42
+ //add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
43
+
44
+ // Call parent constructor.
45
+ parent::__construct();
46
+ }
47
+
48
+ /**
49
+ * Trigger the sending of this email.
50
+ *
51
+ * @param int $order_id The order ID.
52
+ * @param WC_Order|false $order Order object.
53
+ */
54
+ public function trigger( $order_id, $order = false ) {
55
+ $this->setup_locale();
56
+
57
+ if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
58
+ $order = wc_get_order( $order_id );
59
+ }
60
+
61
+ if ( is_a( $order, 'WC_Order' ) ) {
62
+ $this->object = $order;
63
+ $this->recipient = $this->object->get_billing_email();
64
+ $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
65
+ $this->placeholders['{order_number}'] = $this->object->get_order_number();
66
+ }
67
+
68
+ if ( $this->is_enabled() && $this->get_recipient() ) {
69
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
70
+ }
71
+
72
+ $this->restore_locale();
73
+ }
74
+
75
+ /**
76
+ * Get email subject.
77
+ *
78
+ * @since 3.1.0
79
+ * @return string
80
+ */
81
+ public function get_default_subject() {
82
+ return __( 'Your {site_title} order is now updated tracking', 'woocommerce' );
83
+ }
84
+
85
+ /**
86
+ * Get email heading.
87
+ *
88
+ * @since 3.1.0
89
+ * @return string
90
+ */
91
+ public function get_default_heading() {
92
+ return __( 'Tracking information Update', 'woocommerce' );
93
+ }
94
+
95
+ /**
96
+ * Get content html.
97
+ *
98
+ * @return string
99
+ */
100
+ public function get_content_html() {
101
+ $template = $this->get_template( 'template_html' );
102
+ $local_file = $this->get_theme_template_file( $template );
103
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
104
+ //echo $local_file;exit;
105
+ return wc_get_template_html(
106
+ $this->template_html,
107
+ array(
108
+ 'order' => $this->object,
109
+ 'email_heading' => $this->get_heading(),
110
+ 'additional_content' => $this->get_additional_content(),
111
+ 'sent_to_admin' => false,
112
+ 'plain_text' => false,
113
+ 'email' => $this,
114
+ )
115
+ );
116
+ } else{
117
+ return wc_get_template_html(
118
+ 'emails/customer-updated-tracking-order.php',
119
+ array(
120
+ 'order' => $this->object,
121
+ 'email_heading' => $this->get_heading(),
122
+ 'additional_content' => $this->get_additional_content(),
123
+ 'sent_to_admin' => false,
124
+ 'plain_text' => false,
125
+ 'email' => $this,
126
+ ),
127
+ 'woocommerce-advanced-shipment-tracking/',
128
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
129
+ );
130
+ }
131
+ }
132
+
133
+ /**
134
+ * Get content plain.
135
+ *
136
+ * @return string
137
+ */
138
+ public function get_content_plain() {
139
+ $template = $this->get_template( 'template_html' );
140
+ $local_file = $this->get_theme_template_file( $template );
141
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
142
+ //echo $local_file;exit;
143
+ return wc_get_template_html(
144
+ $this->template_html,
145
+ array(
146
+ 'order' => $this->object,
147
+ 'email_heading' => $this->get_heading(),
148
+ 'additional_content' => $this->get_additional_content(),
149
+ 'sent_to_admin' => false,
150
+ 'plain_text' => false,
151
+ 'email' => $this,
152
+ )
153
+ );
154
+ } else{
155
+ return wc_get_template_html(
156
+ 'emails/customer-updated-tracking-order.php',
157
+ array(
158
+ 'order' => $this->object,
159
+ 'email_heading' => $this->get_heading(),
160
+ 'additional_content' => $this->get_additional_content(),
161
+ 'sent_to_admin' => false,
162
+ 'plain_text' => false,
163
+ 'email' => $this,
164
+ ),
165
+ 'woocommerce-advanced-shipment-tracking/',
166
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
167
+ );
168
+ }
169
+ }
170
+
171
+ /**
172
+ * Default content to show below main email content.
173
+ *
174
+ * @since 3.7.0
175
+ * @return string
176
+ */
177
+ public function get_default_additional_content() {
178
+ return __( 'Thanks for shopping with us.', 'woocommerce' );
179
+ }
180
+ }
181
+
182
+ endif;
183
+
184
+ return new WC_Email_Customer_Updated_Tracking_Order();
includes/vendor/persist-admin-notices-dismissal/dismiss-notice.js CHANGED
@@ -25,6 +25,43 @@
25
 
26
  // We can also pass the url value separately from ajaxurl for front end AJAX implementations
27
  $.post( ajaxurl, data );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
  );
30
  }
25
 
26
  // We can also pass the url value separately from ajaxurl for front end AJAX implementations
27
  $.post( ajaxurl, data );
28
+
29
+ }
30
+ );
31
+ $( 'div[data-dismissible] a.button-primary' ).click(
32
+ function (event) {
33
+ event.preventDefault();
34
+ var $this = $( this );
35
+
36
+ var attr_value, option_name, dismissible_length, data;
37
+ var href = $(this).attr('href');
38
+ attr_value = $this.parent().attr( 'data-dismissible' ).split( '-' );
39
+
40
+ // remove the dismissible length from the attribute value and rejoin the array.
41
+ dismissible_length = attr_value.pop();
42
+
43
+ option_name = attr_value.join( '-' );
44
+
45
+ data = {
46
+ 'action': 'dismiss_admin_notice',
47
+ 'option_name': option_name,
48
+ 'dismissible_length': dismissible_length,
49
+ 'nonce': dismissible_notice.nonce
50
+ };
51
+
52
+ // We can also pass the url value separately from ajaxurl for front end AJAX implementations
53
+ jQuery.ajax({
54
+ url: ajaxurl,
55
+ data: data,
56
+ type: 'POST',
57
+ success: function(response) {
58
+ window.location.replace(href);
59
+ },
60
+ error: function(response) {
61
+ console.log(response);
62
+ }
63
+ });
64
+
65
  }
66
  );
67
  }
includes/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php CHANGED
@@ -90,7 +90,7 @@ if ( ! class_exists( 'PAnD' ) ) {
90
  'dismissible-notices',
91
  $js_url,
92
  array( 'jquery', 'common' ),
93
- false,
94
  true
95
  );
96
 
90
  'dismissible-notices',
91
  $js_url,
92
  array( 'jquery', 'common' ),
93
+ wc_advanced_shipment_tracking()->version,
94
  true
95
  );
96
 
includes/views/admin_options_addons.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * html code for tools tab
4
+ */
5
+ ?>
6
+ <section id="content6" class="tab_section">
7
+ <div class="d_table" style="">
8
+ <div class="tab_inner_container">
9
+ <form method="post" id="wc_ast_addons_form" class="addons_inner_container" action="" enctype="multipart/form-data">
10
+ <div class="ast_addons_section">
11
+ <table class="form-table heading-table">
12
+ <tbody>
13
+ <tr valign="top" class="addons_header ts_addons_header">
14
+ <td>
15
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ts-banner.jpg">
16
+ </td>
17
+ </tr>
18
+ <tr valign="top">
19
+ <td>
20
+ <h3 style=""><?php _e( 'TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
21
+ </td>
22
+ </tr>
23
+ </tbody>
24
+ </table>
25
+ <table class="form-table">
26
+ <tbody>
27
+ <tr style="height: 140px;">
28
+ <td>
29
+ <?php
30
+ $wc_ast_api_key = get_option('wc_ast_api_key');
31
+ if($wc_ast_api_key){
32
+ echo '<p>';
33
+ _e( 'You are now connected with TrackShip! TrackShip makes it effortless to automate your post shipping operations and get tracking and delivery status updates directly in the WooCommerce admin.', 'woo-advanced-shipment-tracking' );
34
+ echo '</p>';
35
+ } else{ ?>
36
+ <p style="margin-top: 4px;"><?php _e( 'TracksShip is a premium shipment tracking API flatform that fully integrates with WooCommerce with the Advanced Shipment Tracking. TrackShip automates the order management workflows, reduces customer inquiries, reduces time spent on customer service, and improves the post-purchase experience and satisfaction of your customers.', 'woo-advanced-shipment-tracking' ); ?></p>
37
+ <p style="margin-top: 4px;"><?php _e( 'You must have account TracksShip and connect your store in order to activate these advanced features:', 'woo-advanced-shipment-tracking' ); ?></p>
38
+ <?php } ?>
39
+ </td>
40
+ </tr>
41
+ <tr>
42
+ <td class="forminp">
43
+ <?php if($wc_ast_api_key){ ?>
44
+ <fieldset>
45
+ <a href="https://my.trackship.info/" target="_blank" class="button-primary btn_green2 btn_large">
46
+ <span class=""><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
47
+ </a>
48
+ </fieldset>
49
+ <?php } else{ ?>
50
+ <fieldset>
51
+ <a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_ast2 btn_large"><?php _e( 'SIGNUP NOW', 'woo-advanced-shipment-tracking' ); ?></a>
52
+ </fieldset>
53
+ <?php } ?>
54
+ </td>
55
+ </tr>
56
+ </tbody>
57
+ </table>
58
+ </div>
59
+ <div class="ast_addons_section">
60
+ <table class="form-table heading-table">
61
+ <tbody>
62
+ <tr valign="top" class="addons_header tracking_item_addons_header">
63
+ <td>
64
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/Tracking-Per-Item-addon.jpg">
65
+ </td>
66
+ </tr>
67
+ <tr valign="top">
68
+ <td>
69
+ <h3 style="">Tracking Per Item Add-on</h3>
70
+ </td>
71
+ </tr>
72
+ </tbody>
73
+ </table>
74
+ <?php if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
75
+ ?>
76
+ <table class="form-table">
77
+ <tbody>
78
+ <tr style="height: 140px;">
79
+ <td>
80
+ <p style="margin-top: 4px;"><?php _e( 'The Tracking Per Item add-on extends the AST plugin and allows you to attach tracking numbers to specific line items and to line item quantities.', 'woo-advanced-shipment-tracking' ); ?></p>
81
+ </td>
82
+ </tr>
83
+ </tbody>
84
+ </table>
85
+ <table class="form-table">
86
+ <tbody>
87
+ <tr valign="top">
88
+ <td class="button-column">
89
+ <div class="submit">
90
+ <a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/" target="blank" class="button-primary btn_ast2 btn_large"><?php _e( 'Get This Add-on >', 'woo-advanced-shipment-tracking' ); ?></a>
91
+ </div>
92
+ </td>
93
+ </tr>
94
+ </tbody>
95
+ </table>
96
+ <?php } else{ ?>
97
+ <div class="license_div">
98
+ <?php
99
+ $this->get_html( $this->get_ast_product_license_data() );
100
+ ?>
101
+ </div>
102
+ <table class="form-table">
103
+ <tbody>
104
+ <tr valign="top">
105
+ <td class="button-column">
106
+ <div class="submit">
107
+ <?php
108
+ if($this->licence_valid() == 'true'){ ?>
109
+ <a href="https://www.zorem.com/my-account/manage-license-key/" class="button-primary btn_green2 btn_large" target="blank"><?php _e('Active','woo-advanced-shipment-tracking');?> <span class="dashicons dashicons-yes"></span></a>
110
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Deactivate"><?php _e('Deactivate','woo-advanced-shipment-tracking');?></button>
111
+ <?php } else{ ?>
112
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e('Activate','woo-advanced-shipment-tracking');?></button>
113
+ <?php }
114
+ ?>
115
+ <p class="pesan"></p>
116
+ <div class="spinner"></div>
117
+ <?php wp_nonce_field( 'wc_ast_addons_form', 'wc_ast_addons_form' );?>
118
+ <input type="hidden" id="ast-license-action" name="action" value="<?=$this->licence_valid() == 'true' ? 'ast_product_license_deactivate':'ast_product_license_activate';?>" />
119
+ </div>
120
+ </td>
121
+ </tr>
122
+ </tbody>
123
+ </table>
124
+ <?php
125
+ } ?>
126
+ </div>
127
+ </form>
128
+ </div>
129
+ <?php
130
+ include 'zorem_admin_addons_sidebar.php';
131
+ ?>
132
+ </div>
133
+ </section>
includes/views/admin_options_bulk_upload.php CHANGED
@@ -34,14 +34,19 @@
34
  <input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
35
  </div>
36
  </th>
37
- </tr>
38
- </tbody>
39
- </table>
40
- <div id="p1" class="mdl-progress mdl-js-progress" style="display:none;"></div>
41
- <h3 class="progress_title" style="display:none;"><?php _e('Upload Progress - ', 'woo-advanced-shipment-tracking'); ?><span class="progress_number"></span></h3>
42
- <ol class="csv_upload_status">
43
-
44
- </ol>
 
 
 
 
 
45
  <h3 class="table-heading"><?php _e('Sample CSV', 'woo-advanced-shipment-tracking'); ?></h3>
46
  <table class="form-table">
47
  <tbody>
@@ -49,7 +54,7 @@
49
  <td>
50
  <p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
51
  </td>
52
- <td>
53
  <a class="button-primary btn_ast2 btn_large" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv file', 'woo-advanced-shipment-tracking'); ?></a>
54
  </td>
55
  </tr>
34
  <input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
35
  </div>
36
  </th>
37
+ </tr>
38
+ <tr class="bulk_upload_status_tr" style="display:none;">
39
+ <td scope="row" colspan="2">
40
+ <div id="p1" class="mdl-progress mdl-js-progress" style="display:none;"></div>
41
+ <h3 class="progress_title" style="display:none;"><?php _e('Upload Progress - ', 'woo-advanced-shipment-tracking'); ?>
42
+ <span class="progress_number"></span>
43
+ </h3>
44
+ <ol class="csv_upload_status">
45
+ </ol>
46
+ </td>
47
+ </tr>
48
+ </tbody>
49
+ </table>
50
  <h3 class="table-heading"><?php _e('Sample CSV', 'woo-advanced-shipment-tracking'); ?></h3>
51
  <table class="form-table">
52
  <tbody>
54
  <td>
55
  <p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
56
  </td>
57
+ <td style="text-align:right;">
58
  <a class="button-primary btn_ast2 btn_large" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv file', 'woo-advanced-shipment-tracking'); ?></a>
59
  </td>
60
  </tr>
includes/views/admin_options_settings.php CHANGED
@@ -48,7 +48,7 @@
48
  <td>
49
  <p style=""><?php _e( 'You can customize the tracking info display on emails and my account', 'woo-advanced-shipment-tracking' ); ?></p>
50
  </td>
51
- <td>
52
  <a href="<?php echo wcast_initialise_customizer_settings::get_customizer_url('default_controls_section','settings') ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Launch Customizer', 'woo-advanced-shipment-tracking' ); ?> <span class="dashicons dashicons-welcome-view-site"></span></a>
53
  </td>
54
  </tr>
@@ -59,13 +59,120 @@
59
  <tbody>
60
  <tr valign="top">
61
  <td>
62
- <h3 style=""><?php _e( 'Delivered Order Status', 'woo-advanced-shipment-tracking' ); ?></h3>
63
  </td>
64
  </tr>
65
  </tbody>
66
  </table>
67
- <?php $this->get_html( $this->get_delivered_data() );?>
68
- <p class="description-below-table"><?php echo sprintf(__('<strong>PLEASE NOTE</strong> - If you use the custom order status "Delivered", when you deactivate the plugin, you must register this order status in function.php in order to see these orders in the orders admin. You can find the <a href="%s" target="blank">snippet</a> to use in functions.php here or you can manually change all your "delivered" order to "completed" before deactivating the plugin.', 'woo-advanced-shipment-tracking'), 'https://gist.github.com/zorem/6f09162fe91eab180a76a621ce523441'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  <table class="form-table">
70
  <tbody>
71
  <tr valign="top">
@@ -79,7 +186,8 @@
79
  </td>
80
  </tr>
81
  </tbody>
82
- </table>
 
83
  </form>
84
  </div>
85
  <?php include 'zorem_admin_sidebar.php';?>
48
  <td>
49
  <p style=""><?php _e( 'You can customize the tracking info display on emails and my account', 'woo-advanced-shipment-tracking' ); ?></p>
50
  </td>
51
+ <td style="text-align:right;">
52
  <a href="<?php echo wcast_initialise_customizer_settings::get_customizer_url('default_controls_section','settings') ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Launch Customizer', 'woo-advanced-shipment-tracking' ); ?> <span class="dashicons dashicons-welcome-view-site"></span></a>
53
  </td>
54
  </tr>
59
  <tbody>
60
  <tr valign="top">
61
  <td>
62
+ <h3 style=""><?php _e( 'Custom Order Statuses', 'woo-advanced-shipment-tracking' ); ?></h3>
63
  </td>
64
  </tr>
65
  </tbody>
66
  </table>
67
+
68
+ <table class="form-table order-status-table">
69
+ <tbody>
70
+ <tr valign="top" class="<?php if(!get_option('wc_ast_status_delivered')){echo 'disable_row'; } ?>">
71
+ <td class="forminp" style="width: 30px;">
72
+ <span class="mdl-list__item-secondary-action">
73
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_status_delivered">
74
+ <input type="hidden" name="wc_ast_status_delivered" value="0"/>
75
+ <input type="checkbox" id="wc_ast_status_delivered" name="wc_ast_status_delivered" class="mdl-switch__input" <?php if(get_option('wc_ast_status_delivered')){echo 'checked'; } ?> value="1"/>
76
+ </label>
77
+ </span>
78
+ </td>
79
+ <td class="forminp 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 ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * html code for tools tab
4
+ */
5
+ ?>
6
+ <section id="content_tools" class="inner_tab_section">
7
+ <div class="tab_inner_container">
8
+ <div class="d_table" style="">
9
+ <div class="tab_inner_container">
10
+ <table class="form-table heading-table">
11
+ <tbody>
12
+ <tr valign="top">
13
+ <td>
14
+ <h3 style=""><?php _e( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ); ?></h3>
15
+ </td>
16
+ </tr>
17
+ </tbody>
18
+ </table>
19
+ <table class="form-table">
20
+ <tbody>
21
+ <tr>
22
+ <td>
23
+ <p><?php _e( 'You can send all your orders from the last 30 days to get shipment status from TrackShip:', 'woo-advanced-shipment-tracking' ); ?></p>
24
+ </td>
25
+ </tr>
26
+ </tbody>
27
+ </table>
28
+ <?php $this->get_html( $this->get_trackship_bulk_actions_data() ); ?>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <?php include 'zorem_admin_sidebar.php'; ?>
33
+ </section>
includes/views/admin_options_trackship_integration.php CHANGED
@@ -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,243 +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'){ echo 'delivered_enabel'; } ?>">
208
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Delivered-512.png">
209
- <span class="email_status_span">
210
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
211
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_delivered_status_email">
212
- <input type="checkbox" name="wcast_enable_delivered_status_email" id="wcast_enable_delivered_status_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_delivered_status_email == 1 && $wcast_enable_delivered_email['enabled'] != 'yes') { echo 'checked'; } ?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled'; }?> />
213
- </label>
214
- </span>
215
- </span>
216
- <a href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>" class="email_heading <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>"><?php _e('Delivered', 'woo-advanced-shipment-tracking'); ?></a>
217
- <a class="edit_customizer_a <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>" href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
218
- <p class="shipment_about"><?php _e('The shipment was delivered successfully', 'woo-advanced-shipment-tracking'); ?></p>
219
- <p class="delivered_message <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disable_delivered'; }?>"><?php _e("You already have delivered email enabled, to enable this email you'll need to disable the order status delivered in settings.", 'woo-advanced-shipment-tracking'); ?></p>
220
- </div>
221
-
222
- <div class="headig_label <?php if($wcast_enable_failure_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
223
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/failure-512.png">
224
- <span class="email_status_span">
225
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
226
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_failure_email">
227
- <input type="checkbox" name="wcast_enable_failure_email" id="wcast_enable_failure_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_failure_email == 1) { echo 'checked'; } ?> />
228
- </label>
229
- </span>
230
- </span>
231
- <a href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Failed Attempt', 'woo-advanced-shipment-tracking'); ?></a>
232
- <a class="edit_customizer_a" href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
233
- <p class="shipment_about"><?php _e('Carrier attempted to deliver but failed, and usually leaves a notice and will try to deliver the package again.', 'woo-advanced-shipment-tracking'); ?></p>
234
- </div>
235
- </section>
236
-
237
- <table class="form-table heading-table">
238
- <tbody>
239
- <tr valign="top">
240
- <td>
241
- <h3 style=""><?php _e( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ); ?></h3>
242
- </td>
243
- </tr>
244
- </tbody>
245
- </table>
246
- <table class="form-table">
247
- <tbody>
248
- <tr>
249
- <td>
250
- <p><?php _e( 'You can send all your orders from the last 30 days to get shipment status from TrackShip:', 'woo-advanced-shipment-tracking' ); ?></p>
251
- </td>
252
- </tr>
253
- </tbody>
254
- </table>
255
- <?php $this->get_html( $this->get_trackship_bulk_actions_data() ); ?>
256
-
257
  <?php } else{ ?>
258
  <div class="section-content trackship_section">
259
  <div class="trackship-upsell-overlay">
@@ -272,7 +61,7 @@
272
  <li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
273
  <li>Direct customers to a Tracking page on your store.</li>
274
  </ul>
275
- <div class="text-center"><a href="https://trackship.info/" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
276
  </div>
277
  </div>
278
  </div>
@@ -280,10 +69,5 @@
280
  ?>
281
  </form>
282
  </div>
283
- <?php
284
- if($wc_ast_api_key){
285
- include 'zorem_admin_sidebar.php';
286
- }
287
- ?>
288
  </div>
289
  </section>
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">
61
  <li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
62
  <li>Direct customers to a Tracking page on your store.</li>
63
  </ul>
64
+ <div class="text-center"><a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
65
  </div>
66
  </div>
67
  </div>
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,52 +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/" class="button button-primary btn_green2 btn_large" target="_blank"><span>Try TrackShip for free!</span><i class="icon-angle-right"></i></a>
 
 
 
 
 
 
 
 
25
  </div>
26
- <?php } ?>
27
-
28
- <div class="zorem-sidebar__section">
29
- <h3>More plugins by zorem</h3>
30
- <?php
31
- $plugin_array = array(
32
- array(
33
- 'name' => 'Shop Manager Admin Bar for WooCommerce',
34
- 'url' => 'https://wordpress.org/plugins/woo-shop-manager-admin-bar/',
35
- 'img' => 'woocommerce-shop-manager-admin-bar-thumbnail.jpg',
36
- ),
37
- array(
38
- 'name' => 'Ajax Login/Register for WooCommerce',
39
- 'url' => 'https://wordpress.org/plugins/woo-ajax-loginregister/',
40
- 'img' => 'WooCommerce-Ajax-Login-Register-thumbnail.jpg',
41
- ),
42
- array(
43
- 'name' => 'Sales Report Email for WooCommerce',
44
- 'url' => 'https://wordpress.org/plugins/woo-advanced-sales-report-email/',
45
- 'img' => 'woocommerce-advanced-sales-report-email-thumbnail.jpg',
46
- ),
47
- );
48
- ?>
49
- <ul>
50
- <?php foreach($plugin_array as $plugin){ ?>
51
- <li><img class="plugin_thumbnail" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/<?php echo $plugin['img']?>"><a class="plugin_url" href="<?php echo $plugin['url']?>" target="_blank"><?php echo $plugin['name']?></a></li>
52
- <?php }?>
53
- </ul>
54
- </div>
55
  </div>
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,37 +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
- $plugin_array = array(
19
- array(
20
- 'name' => 'Shop Manager Admin Bar for WooCommerce',
21
- 'url' => 'https://wordpress.org/plugins/woo-shop-manager-admin-bar/',
22
- 'img' => 'woocommerce-shop-manager-admin-bar-thumbnail.jpg',
23
- ),
24
- array(
25
- 'name' => 'Ajax Login/Register for WooCommerce',
26
- 'url' => 'https://wordpress.org/plugins/woo-ajax-loginregister/',
27
- 'img' => 'WooCommerce-Ajax-Login-Register-thumbnail.jpg',
28
- ),
29
- );
30
- ?>
31
- <ul>
32
- <?php foreach($plugin_array as $plugin){ ?>
33
- <li><img class="plugin_thumbnail" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/<?php echo $plugin['img']?>"><a class="plugin_url" href="<?php echo $plugin['url']?>" target="_blank"><?php echo $plugin['name']?></a></li>
34
- <?php }?>
35
- </ul>
36
- </div>
37
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/woo-advanced-shipment-tracking-bg_BG.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-bg_BG.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-09-06 11:42+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:44+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Bulgarian\n"
9
  "Language: bg_BG\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,9 +12,9 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,505 +23,365 @@ msgstr ""
23
  "Моля, инсталирайте и активирайте% sWooCommerce% s за усъвършенствано "
24
  "проследяване на пратки в WooCommerce!"
25
 
26
- #. Name of the plugin
27
- #: woocommerce-advanced-shipment-tracking.php:389
28
- msgid "Advanced Shipment Tracking for WooCommerce"
29
- msgstr ""
30
-
31
- #: woocommerce-advanced-shipment-tracking.php:390
32
- #: includes/views/admin_options_settings.php:21
33
- #, php-format
34
- msgid ""
35
- "<strong>PLEASE NOTE</strong> - If you use the custom order status "
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-admin.php:209
44
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
45
- msgid "Shipped"
46
- msgstr "Доставят"
47
-
48
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
49
- #, php-format
50
- msgid "Shipped <span class=\"count\">(%s)</span>"
51
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
52
- msgstr[0] "Доставя се <span class = \"count\"> (% s) </span>"
53
- msgstr[1] "Доставя се <span class = \"count\"> (% s) </span>"
54
-
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
56
- msgid "Change status to shipped"
57
- msgstr "Промяна на състоянието на Изпратена"
58
-
59
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
60
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
61
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
62
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
63
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
64
- #: includes/customizer/class-wcast-customizer.php:104
65
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
66
- #: includes/views/admin_options_trackship_integration.php:134
67
- msgid "Delivered"
68
- msgstr "Доставени"
69
-
70
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
71
  #, php-format
72
- msgid "Delivered <span class=\"count\">(%s)</span>"
73
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
74
- msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
75
- msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
76
 
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
78
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
79
- msgid "Updated Tracking"
80
- msgstr "Актуализирано проследяване"
81
-
82
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
83
  #, php-format
84
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
85
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
86
- msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
87
- msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
88
-
89
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
90
- msgid "Change status to delivered"
91
- msgstr "Промяна на състоянието на Доставена"
92
-
93
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
 
 
 
 
94
  msgid "Shipment status"
95
- msgstr "Състояние на превоза"
96
 
97
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
 
98
  msgid ""
99
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
100
  "100 orders."
101
  msgstr ""
 
 
102
 
103
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
104
- msgid "Order"
105
- msgstr "Поръчка"
106
-
107
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
108
- msgid "Item"
109
- msgstr "Вещ"
110
-
111
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
112
- msgid "Line Item"
113
- msgstr "Договорена покупка"
114
-
115
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
116
- msgid "Class"
117
- msgstr "клас"
118
-
119
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
120
- msgid "Delete the selected rates?"
121
- msgstr "Изтриване на избраните цени?"
122
-
123
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
124
- msgid "Duplicate the selected rates?"
125
- msgstr "Дали дублира избраните цени?"
126
-
127
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
128
- msgid "Really want to bulk change all provider status?"
129
- msgstr "Наистина ли искате да промените групово целия статус на доставчика?"
130
-
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
132
- #: includes/views/admin_options_settings.php:26
133
  msgid "Data saved successfully."
134
  msgstr "Данните са запазени успешно."
135
 
136
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
 
137
  msgid "Really delete this entry? This will not be undo."
138
  msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
139
 
140
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
 
141
  msgid "You can upload only csv file."
142
  msgstr "Можете да качите само csv файл."
143
 
144
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
 
145
  msgid "This browser does not support HTML5."
146
  msgstr "Този браузър не поддържа HTML5."
147
 
148
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
 
149
  msgid "Please upload a valid CSV file."
150
  msgstr "Моля, качете валиден CSV файл."
151
 
152
- #: includes/class-wc-advanced-shipment-tracking-admin.php:731
153
- #: includes/class-wc-advanced-shipment-tracking-install.php:1587
154
- msgid "Advanced Shipment Tracking"
155
- msgstr ""
156
-
157
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
158
  msgid "Shipping Providers"
159
  msgstr "Доставка доставчици"
160
 
161
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
162
- msgid "Settings"
163
- msgstr "Настройки"
164
-
165
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
166
  msgid "Bulk Upload"
167
- msgstr "Масово качване"
168
 
169
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
170
- msgid "TrackShip"
171
- msgstr ""
172
 
173
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  msgid "Connected"
175
  msgstr ""
176
  "свързан\n"
177
 
178
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
179
- msgid ""
180
- "Auto-track all your shipments, get real-time shipment tracking updates "
181
- "without leaving your stores admin."
182
- msgstr ""
183
- "Автоматично проследявайте всичките си пратки, получавайте актуализации за "
184
- "проследяване на пратки в реално време, без да оставяте администраторите на "
185
- "магазините си.\n"
 
 
 
 
186
 
187
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
188
  #, php-format
189
- msgid ""
190
- "You must have account and connect your store to %s in order to activate "
191
- "these advanced features."
192
- msgstr ""
193
- "Трябва да имате профил и да свържете магазина си с% s, за да активирате тези "
194
- "разширени функции.\n"
195
 
196
  #: includes/class-wc-advanced-shipment-tracking-admin.php:892
197
  #, php-format
198
- msgid "50 free Trackers for every new account! Get your %s account now>>"
199
- msgstr ""
200
- "50 безплатни Trackers за всеки нов акаунт! Вземете профила си от% s сега >>\n"
201
-
202
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
203
- msgid "TrackShip Connection Status"
204
- msgstr "Състояние на връзката към TrackShip"
205
 
206
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
207
- #: includes/emails/class-shipment-delivered-email.php:226
208
  msgid "Enable/Disable"
209
  msgstr "Включване / Изключване"
210
 
211
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
212
  msgid "Set order status Delivered when order is delivered"
213
- msgstr "Задаване на статус на поръчката Доставено при доставка"
214
-
215
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
216
- #, php-format
217
- msgid ""
218
- "You have %s %s orders that you can track with TrackShip, you can send these "
219
- "shipments to TrackShip in Bulk."
220
- msgstr ""
221
 
222
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
223
- msgid "Get Shipment Status"
224
- msgstr ""
225
-
226
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
227
  msgid ""
228
- "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
229
  "for the tracking page to work."
230
  msgstr ""
 
 
231
 
232
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
 
233
  msgid "Select Tracking Page"
234
- msgstr ""
235
- "Изберете Страница за проследяване\n"
236
 
237
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
238
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
239
- msgid "Remove Trackship branding from tracking page"
240
  msgstr ""
241
- "Премахване на марката „Следи“ от страницата за проследяване\n"
 
242
 
243
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
244
- msgid "Use the tracking page in the customer email/my account tracking link"
 
245
  msgstr ""
246
- "Използвайте страницата за проследяване в имейла на клиента / връзката за "
247
- "проследяване на профила ми\n"
248
 
249
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
250
  msgid "Select primary color for tracking page"
251
- msgstr ""
252
- "Изберете основния цвят за страницата за проследяване\n"
253
 
254
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
255
  msgid "Select content border color for tracking page"
 
 
 
 
 
256
  msgstr ""
257
- "Изберете цвят на границата на съдържанието за проследяващата страница\n"
258
 
259
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
260
- msgid ""
261
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
262
- "state"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  msgstr ""
 
 
264
 
265
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
266
  msgid ""
267
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
268
  "will be selected by default when adding tracking info to orders."
269
  msgstr ""
 
 
 
270
 
271
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
272
- msgid "Completed"
273
- msgstr "завършен"
274
-
275
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
276
- msgid ""
277
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
278
- "state"
279
  msgstr ""
 
 
280
 
281
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
282
  msgid ""
283
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
284
  "will be selected by default when adding tracking info to orders."
285
  msgstr ""
 
 
 
286
 
287
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
288
  msgid "Rename the “Completed” Order status to “Shipped”"
289
- msgstr "Преименувайте статуса на „Завършено“ на „Доставено“"
290
 
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
292
- msgid "On which customer order status email to include tracking info?"
293
  msgstr ""
294
- "Кой имейл за състоянието на поръчката на клиента да включва информация за "
295
- "проследяване?"
296
-
297
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
298
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
299
- msgid "Cancelled"
300
- msgstr "Отменен"
301
-
302
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
303
- msgid "Customer Invoice"
304
- msgstr "Фактура за клиенти"
305
-
306
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
307
- msgid "Refunded"
308
- msgstr "Възстановени"
309
 
310
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
311
- msgid "Processing"
312
- msgstr "обработване"
313
-
314
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
315
- msgid "Failed"
316
- msgstr "Се провали"
317
-
318
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
319
  msgid "Show tracking info in Invoice"
320
  msgstr "Показване на информация за проследяване във фактура"
321
 
322
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
323
  msgid "Show tracking info in Packing Slip"
324
  msgstr "Показване на информация за проследяване в опаковъчен лист"
325
 
326
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
327
- msgid "Enable a New Custom order status - “Delivered”"
328
- msgstr ""
329
- "Активиране на ново състояние на персонализираната поръчка - „Доставено“"
330
-
331
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
332
- msgid ""
333
- "if you enable the delivered item, you will have the option to send delivered "
334
- "email notifications."
335
- msgstr ""
336
- "ако активирате доставения елемент, ще имате възможност да изпращате "
337
- "изпратени известия по имейл."
338
-
339
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
340
- msgid "Delivered Status Label color"
341
- msgstr "Цвят на етикета за състоянието"
342
-
343
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
344
- #: includes/customizer/class-wcast-customizer.php:58
345
- #: includes/customizer/class-wc-email-customizer.php:155
346
- msgid "Delivered order status email"
347
- msgstr "Предоставен е имейл за състоянието на поръчката"
348
-
349
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
350
- #: includes/views/admin_options_trackship_integration.php:80
351
- #: includes/views/admin_options_trackship_integration.php:94
352
- #: includes/views/admin_options_trackship_integration.php:108
353
- #: includes/views/admin_options_trackship_integration.php:121
354
- #: includes/views/admin_options_trackship_integration.php:135
355
- #: includes/views/admin_options_trackship_integration.php:150
356
- msgid "Edit"
357
- msgstr "редактиране"
358
-
359
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
360
- msgid ""
361
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
362
- "plugin"
363
- msgstr ""
364
- "Когато деактивирате плъгина, променете поръчките „Доставено“ до „Изпълнено“"
365
-
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
367
- msgid "No, I will use the snippet"
368
- msgstr "Не, ще използвам фрагмента"
369
-
370
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
371
- msgid "Yes, change all Delivered orders to Completed"
372
- msgstr "Да, променете всички поръчки за Доставката до Завършени"
373
-
374
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
375
- #, php-format
376
- msgid ""
377
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
378
- "deactivate the plugin, you must register this order status in function.php "
379
- "in order to see these orders in the orders admin. You can find the snippet "
380
- "to use in functions.php %s or we can set to change all your \"delivered\" "
381
- "order to \"completed\"."
382
- msgstr ""
383
- "ВНИМАНИЕ - Ако използвате състоянието на поръчката \"Доставено\", когато "
384
- "деактивирате плъгина, трябва да регистрирате състоянието на поръчката в "
385
- "function.php, за да видите тези поръчки в администраторите на поръчките. "
386
- "Можете да намерите фрагмента, който да използвате в functions.php% s или "
387
- "можем да настроим да променим цялата си \"доставена\" поръчка на "
388
- "\"завършена\"."
389
-
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
391
- msgid "Get shipment status"
392
- msgstr "Получете статус на пратката"
393
-
394
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
395
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
396
- #: includes/customizer/class-wcast-customizer.php:74
397
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
398
- #: includes/views/admin_options_trackship_integration.php:79
399
  msgid "In Transit"
400
  msgstr "Транзитно"
401
 
402
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
403
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
404
- #: includes/customizer/class-wcast-customizer.php:66
405
  msgid "Pre Transit"
406
  msgstr "Предварително преминаване"
407
 
408
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
409
- msgid "Out for delivery"
410
- msgstr "За доставка"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
411
 
412
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
413
- #: includes/customizer/class-wcast-customizer.php:89
414
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
415
- #: includes/views/admin_options_trackship_integration.php:107
 
416
  msgid "Available For Pickup"
417
  msgstr "Предлага се за пикап"
418
 
419
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
420
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
421
- #: includes/customizer/class-wcast-customizer.php:82
422
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
423
- #: includes/views/admin_options_trackship_integration.php:93
424
  msgid "Return To Sender"
425
  msgstr "Върнете се към подателя"
426
 
427
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
428
- msgid "Delivery Failure"
429
- msgstr ""
430
- "Неизпълнение на доставката\n"
 
 
 
431
 
432
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
433
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
434
  msgid "Unknown"
435
- msgstr ""
436
- "неизвестен\n"
437
 
438
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
439
  msgid "Pending TrackShip"
440
- msgstr ""
441
- "В очакване на TrackShip\n"
442
 
443
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
444
- msgid "Invalid Tracking"
445
- msgstr ""
446
- "Невалидно проследяване\n"
447
 
448
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
449
- msgid "Carrier unsupported"
450
- msgstr "Превозвачът не се поддържа"
 
451
 
452
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
453
  msgid "Invalid User Key"
454
- msgstr ""
455
 
456
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
457
- msgid "Resend delivered order notification"
458
- msgstr "Изпратете отново известието за доставената поръчка"
459
 
460
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
461
  msgid "Shipped Order"
462
- msgstr "Доставка на поръчка"
463
 
464
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
465
  msgid "Mark order as delivered"
466
  msgstr "Маркирайте поръчката като доставена"
467
 
468
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
469
  msgid "Add Tracking"
470
- msgstr ""
471
 
472
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
473
  msgid "Change order status to"
474
  msgstr "Промяна на състоянието на поръчката на"
475
 
476
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
477
- #: includes/views/admin_options_shipping_provider.php:88
478
  #, php-format
479
  msgid "You don't have any %s shipping providers."
480
  msgstr "Нямате доставчици за доставки на% s."
481
 
482
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
483
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
484
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
485
- msgid "view details"
486
- msgstr "Разгледайте детайлите"
487
-
488
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
489
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
490
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
491
- msgid "hide details"
492
- msgstr "скрий подробности"
493
-
494
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
495
- msgid "Available for Pickup"
496
- msgstr ""
497
-
498
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
499
- msgid "Out for Delivery"
500
- msgstr ""
501
-
502
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
503
- #: includes/customizer/class-wcast-customizer.php:112
504
- #: includes/customizer/class-wc-failure-email-customizer.php:113
505
- #: includes/views/admin_options_trackship_integration.php:149
506
- msgid "Failed Attempt"
507
- msgstr "Неуспешен опит"
508
-
509
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
510
- msgid "Carrier Unsupported"
511
- msgstr ""
512
-
513
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
514
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
515
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
516
- msgid "Invalid Tracking Number"
517
- msgstr ""
518
- "Невалиден номер за проследяване\n"
519
 
520
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
521
  msgid "Filter by shipment status"
522
- msgstr ""
523
 
524
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
525
  msgid ""
526
  "To track your order please enter your Order ID in the box below and press "
527
  "the \"Track\" button. This was given to you on your receipt and in the "
@@ -531,189 +391,358 @@ msgstr ""
531
  "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
532
  "в имейла за потвърждение, който трябваше да получите.\n"
533
 
534
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
535
- msgid "Order ID"
536
- msgstr ""
537
- "ID на поръчката\n"
538
-
539
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
540
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
541
  msgid "Found in your order confirmation email."
542
  msgstr ""
543
  "Намерен в имейла за потвърждение на поръчката.\n"
544
 
545
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
546
  msgid "Order Email"
547
  msgstr ""
548
  "Имейл за поръчка\n"
549
 
550
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
551
- #: includes/class-wc-advanced-shipment-tracking.php:260
552
- #: includes/class-wc-advanced-shipment-tracking.php:637
553
- #: includes/class-wc-advanced-shipment-tracking.php:763
554
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
555
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
556
- #: includes/views/html-tracking-info-design-preview.php:69
557
- #: templates/emails/tracking-info.php:152
558
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
559
  msgid "Track"
560
  msgstr "път"
561
 
562
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
563
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
 
 
564
  #, php-format
565
  msgid "Shipment - %s (out of %s)"
566
  msgstr ""
567
  "Пратка -% s (от% s)\n"
568
 
569
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
570
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
571
- msgid "Order: "
572
- msgstr "Поръчка:"
573
 
574
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
575
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
576
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
577
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
578
- msgid "Estimated Delivery Date: "
579
- msgstr "Очаквана дата за доставка:"
 
 
 
580
 
581
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
582
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
583
  msgid "Tracking Details"
584
  msgstr "Детайли за проследяване"
585
 
586
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
587
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
 
 
588
  msgid "view more"
589
  msgstr "Виж повече"
590
 
591
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
592
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
 
 
593
  msgid "view less"
594
  msgstr "вижте по-малко"
595
 
596
- #. esc_html__( '%1$s %2$s.' ),
597
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
598
- #, php-format
599
- msgid ""
600
- "We added many improvements to %1$s, please help and give us a review :) "
601
- "Thanks!"
602
- msgstr ""
603
- "Добавихме много подобрения към% 1 $ s, моля, помогнете и ни дайте преглед :) "
604
- "Благодаря!"
605
-
606
- #: includes/class-wc-advanced-shipment-tracking.php:93
607
- #: includes/class-wc-advanced-shipment-tracking.php:244
608
- #: includes/customizer/class-wcast-customizer.php:30
609
  msgid "Shipment Tracking"
610
  msgstr "Проследяване на пратките"
611
 
612
- #: includes/class-wc-advanced-shipment-tracking.php:179
613
- #: includes/class-wc-advanced-shipment-tracking.php:351
614
- msgid "Change order to Shipped?"
615
- msgstr ""
 
616
 
617
- #: includes/class-wc-advanced-shipment-tracking.php:181
618
- #: includes/class-wc-advanced-shipment-tracking.php:353
619
- msgid "Change order to Completed?"
620
- msgstr ""
 
621
 
622
- #: includes/class-wc-advanced-shipment-tracking.php:186
 
 
 
 
 
 
623
  msgid "Add Tracking Number"
624
- msgstr ""
625
 
626
- #: includes/class-wc-advanced-shipment-tracking.php:191
627
- #: includes/class-wc-advanced-shipment-tracking.php:369
 
 
 
628
  msgid "Provider:"
629
  msgstr "доставчик на:"
630
 
631
- #: includes/class-wc-advanced-shipment-tracking.php:211
632
- #: includes/class-wc-advanced-shipment-tracking.php:407
 
633
  msgid "Tracking number:"
634
  msgstr "Номер за проследяване:"
635
 
636
- #: includes/class-wc-advanced-shipment-tracking.php:217
637
- #: includes/class-wc-advanced-shipment-tracking.php:415
 
638
  msgid "Date shipped:"
639
  msgstr "Дата на изпращане:"
640
 
641
- #: includes/class-wc-advanced-shipment-tracking.php:218
642
- #: includes/class-wc-advanced-shipment-tracking.php:221
643
- #: includes/class-wc-advanced-shipment-tracking.php:416
644
- #: includes/class-wc-advanced-shipment-tracking.php:419
645
- msgid "Y-m-d"
646
- msgstr ""
 
 
 
 
 
647
 
648
- #: includes/class-wc-advanced-shipment-tracking.php:260
649
- #: templates/pip/tracking-info.php:23
650
- msgid "Click here to track your shipment"
651
- msgstr "Кликнете тук, за да проследите пратката си"
652
 
653
  #. 1: shipping date
654
- #: includes/class-wc-advanced-shipment-tracking.php:268
655
- #: templates/pip/tracking-info.php:29
656
  #, php-format
657
  msgid "Shipped on %s"
658
  msgstr "Изпратено на% s"
659
 
660
- #: includes/class-wc-advanced-shipment-tracking.php:269
661
- msgid "Delete"
662
- msgstr "Изтрий"
663
-
664
- #: includes/class-wc-advanced-shipment-tracking.php:365
665
  msgid "Add Tracking Info"
666
  msgstr "Добавяне на информация за проследяване"
667
 
668
- #: includes/class-wc-advanced-shipment-tracking.php:370
669
  msgid "Select Provider"
670
  msgstr "Изберете Доставчик"
671
 
672
- #: includes/class-wc-advanced-shipment-tracking.php:430
673
  msgid "Save Tracking"
674
  msgstr "Запазване на проследяването"
675
 
676
- #: includes/class-wc-advanced-shipment-tracking.php:431
677
  msgid "Preview:"
678
  msgstr "Преглед:"
679
 
680
- #: includes/class-wc-advanced-shipment-tracking.php:431
681
- msgid "Click here to track shipment"
682
- msgstr "Кликнете тук, за да проследите пратката"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
683
 
684
- #: includes/customizer/class-wcast-customizer.php:39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
685
  msgid "Shipment Status Emails"
686
  msgstr "Имейли за състоянието на пратката"
687
 
688
- #: includes/customizer/class-wcast-customizer.php:50
689
  msgid "Tracking info display"
690
  msgstr ""
691
  "Показване на информация за проследяване\n"
692
 
693
- #: includes/customizer/class-wcast-customizer.php:51
694
- msgid "This section lets you customize the Tracking Info display design."
695
- msgstr ""
696
- "Този раздел ви позволява да персонализирате дизайна на дисплея с информация "
697
- "за проследяване."
698
 
699
- #: includes/customizer/class-wcast-customizer.php:96
700
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
701
- #: includes/views/admin_options_trackship_integration.php:120
702
- msgid "Out For Delivery"
 
 
 
 
703
  msgstr ""
704
- "За доставка\n"
705
 
706
- #: includes/customizer/class-wcast-customizer.php:352
707
  msgid "Select order to preview"
708
  msgstr ""
709
  "Изберете поръчка за визуализация\n"
710
 
711
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
712
  msgid "Your order #{order_number} is available for pickup"
713
  msgstr ""
714
  "Вашата поръчка # {order_number} е достъпна за приемане\n"
715
 
716
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
717
  msgid ""
718
  "Hi there. we thought you'd like to know that your recent order from "
719
  "{site_title} is available for pickup."
@@ -721,225 +750,185 @@ msgstr ""
721
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
722
  "{site_title} е достъпна за приемане."
723
 
724
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
725
  msgid "Available For Pickup shipment status email"
726
  msgstr ""
727
  "Наличен за статус на пратка за доставка\n"
728
 
729
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
730
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
731
- #: includes/customizer/class-wc-email-customizer.php:156
732
- #: includes/customizer/class-wc-failure-email-customizer.php:145
733
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
734
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
735
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
 
736
  msgid "This section lets you customize the Email Content."
737
  msgstr ""
738
  "Този раздел ви позволява да персонализирате съдържанието на електронната "
739
  "поща."
740
 
741
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
742
  msgid "Enable Available For Pickup shipment status email"
743
  msgstr ""
744
  "Активиране на имейла за статуса на пратката на разположение за получаване"
745
 
746
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
747
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
748
- #: includes/customizer/class-wc-email-customizer.php:189
749
- #: includes/customizer/class-wc-failure-email-customizer.php:175
750
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
751
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
752
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
753
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
 
754
  msgid "Preview order"
755
  msgstr ""
756
  "Преглед на поръчката\n"
757
 
758
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
759
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
760
- #: includes/customizer/class-wc-failure-email-customizer.php:196
761
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
762
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
763
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
764
- msgid "To"
765
- msgstr "Да се"
766
-
767
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
768
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
769
- #: includes/customizer/class-wc-failure-email-customizer.php:197
770
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
771
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
772
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
773
- msgid ""
774
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
775
- "can be separated by commas."
776
- msgstr ""
777
- "Въведете имейли тук или използвайте променливи като {customer_email}. "
778
- "Няколко имейла могат да бъдат разделени със запетаи."
779
-
780
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
781
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
782
- #: includes/customizer/class-wc-email-customizer.php:218
783
- #: includes/customizer/class-wc-failure-email-customizer.php:203
784
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
785
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
786
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
787
  msgid "E.g. {customer.email}, admin@example.org"
788
  msgstr "E.g. {customer.email}, admin@example.org"
789
 
790
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
791
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
792
- #: includes/customizer/class-wc-email-customizer.php:234
793
- #: includes/customizer/class-wc-failure-email-customizer.php:218
794
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
795
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
796
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
797
- msgid "Email subject"
798
- msgstr "Тема по имейл"
799
-
800
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
801
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
802
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
803
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
804
- #: includes/customizer/class-wc-failure-email-customizer.php:219
805
- #: includes/customizer/class-wc-failure-email-customizer.php:241
806
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
807
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
808
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
809
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
810
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
811
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
812
- msgid "Available placeholders: {site_title}, {order_number}"
813
- msgstr "Налични резерви: {site_title}, {order_number}"
814
-
815
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
816
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
817
- #: includes/customizer/class-wc-email-customizer.php:241
818
- #: includes/customizer/class-wc-failure-email-customizer.php:225
819
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
820
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
821
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
822
- msgid "Please enter email subject here"
823
- msgstr "Моля, въведете тук имейл"
824
-
825
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
826
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
827
- #: includes/customizer/class-wc-email-customizer.php:257
828
- #: includes/customizer/class-wc-failure-email-customizer.php:240
829
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
830
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
831
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
832
- #: includes/emails/class-shipment-delivered-email.php:250
833
- msgid "Email heading"
834
- msgstr "Заглавие на имейла"
835
-
836
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
837
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
838
- #: includes/customizer/class-wc-email-customizer.php:264
839
- #: includes/customizer/class-wc-failure-email-customizer.php:247
840
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
841
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
842
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
843
- msgid "Please enter email heading here"
844
- msgstr "Моля, въведете имейл адреса тук"
845
-
846
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
847
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
848
- #: includes/customizer/class-wc-failure-email-customizer.php:262
849
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
850
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
851
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
852
  msgid "Show tracking details"
853
  msgstr ""
854
  "Показване на подробности за проследяването\n"
855
 
856
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
857
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
858
- #: includes/customizer/class-wc-failure-email-customizer.php:278
859
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
860
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
861
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
862
  msgid "Show order details"
863
  msgstr ""
864
  "Показване на подробности за поръчката\n"
865
 
866
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
867
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
868
- #: includes/customizer/class-wc-failure-email-customizer.php:294
869
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
870
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
871
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
872
  msgid "Show billing address"
873
  msgstr ""
874
  "Показване на адрес за фактуриране\n"
875
 
876
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
877
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
878
- #: includes/customizer/class-wc-failure-email-customizer.php:311
879
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
880
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
881
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
882
  msgid "Show shipping address"
883
  msgstr ""
884
  "Показване на адреса за доставка\n"
885
 
886
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
887
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
888
- #: includes/customizer/class-wc-email-customizer.php:384
889
- #: includes/customizer/class-wc-failure-email-customizer.php:327
890
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
891
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
892
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
893
  msgid "Google Analytics link tracking"
894
- msgstr ""
895
-
896
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
897
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
898
- #: includes/customizer/class-wc-failure-email-customizer.php:328
899
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
900
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
901
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
902
  msgid "This will be appended to URL in the email content"
903
- msgstr ""
904
-
905
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
906
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
907
- #: includes/customizer/class-wc-email-customizer.php:280
908
- #: includes/customizer/class-wc-failure-email-customizer.php:349
909
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
910
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
911
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
 
912
  msgid "Email content"
913
  msgstr "Съдържание на имейла"
914
 
915
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
916
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
917
- #: includes/customizer/class-wc-email-customizer.php:405
918
- #: includes/customizer/class-wc-failure-email-customizer.php:369
919
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
920
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
921
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
922
- msgid "Available placeholders"
923
- msgstr ""
924
- "Налични места\n"
925
-
926
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
927
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
928
- #: includes/customizer/class-wc-email-customizer.php:437
929
- #: includes/customizer/class-wc-failure-email-customizer.php:412
930
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
931
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
932
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
933
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
934
- msgid "Please select preview order."
935
- msgstr ""
936
- "Моля, изберете поръчка за предварителен преглед.\n"
937
-
938
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
939
  msgid "Your order #{order_number} has been delivered"
940
- msgstr ""
941
 
942
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
943
  msgid ""
944
  "Hi there. we thought you'd like to know that your recent order from "
945
  "{site_title} has been Delivered."
@@ -947,92 +936,64 @@ msgstr ""
947
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
948
  "{site_title} е била Доставена."
949
 
950
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
951
  msgid "Delivered shipment status email"
952
  msgstr "Предоставен е имейл за състоянието на пратката"
953
 
954
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
955
  msgid "Enable Delivered shipment status email"
956
  msgstr "Активиране на имейла за състоянието на доставената пратка"
957
 
958
- #: includes/customizer/class-wc-email-customizer.php:122
959
- #: includes/emails/class-shipment-delivered-email.php:92
960
  msgid "Your {site_title} order is now delivered"
961
  msgstr "Поръчката ви {site_title} вече е доставена"
962
 
963
- #: includes/customizer/class-wc-email-customizer.php:123
964
- #: includes/emails/class-shipment-delivered-email.php:102
965
- msgid "Thanks for shopping with us"
966
- msgstr ""
967
- "Благодаря, че пазарувате с нас\n"
968
-
969
- #: includes/customizer/class-wc-email-customizer.php:124
970
- msgid "Hi there. Your recent order on {site_title} has been delivered."
971
- msgstr ""
972
- "Здрасти. Вашата скорошна поръчка на {site_title} е доставена.\n"
973
-
974
- #: includes/customizer/class-wc-email-customizer.php:171
975
  msgid "Enable Delivered order status email"
976
  msgstr "Активиране на имейл съобщението за състоянието на поръчката"
977
 
978
- #: includes/customizer/class-wc-email-customizer.php:193
979
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
 
980
  msgid "Please select a order..."
981
  msgstr ""
982
  "Моля, изберете поръчка ...\n"
983
 
984
- #: includes/customizer/class-wc-email-customizer.php:211
985
- msgid "Receipts"
986
- msgstr ""
987
-
988
- #: includes/customizer/class-wc-email-customizer.php:212
989
- msgid ""
990
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
991
- "separated by commas."
992
- msgstr ""
993
-
994
- #: includes/customizer/class-wc-email-customizer.php:235
995
- #: includes/customizer/class-wc-email-customizer.php:258
996
- msgid "Available variables: {site_title}, {order_number}"
997
- msgstr ""
998
-
999
- #: includes/customizer/class-wc-email-customizer.php:281
1000
- msgid ""
1001
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
1002
- "{customer_last_name}, {customer_username}, {order_number}"
1003
- msgstr ""
1004
-
1005
- #: includes/customizer/class-wc-email-customizer.php:300
1006
  msgid "Display tracking details"
1007
- msgstr ""
1008
 
1009
- #: includes/customizer/class-wc-email-customizer.php:316
1010
  msgid "Display order details"
1011
- msgstr ""
1012
 
1013
- #: includes/customizer/class-wc-email-customizer.php:333
1014
  msgid "Display Shipping Address"
1015
- msgstr ""
1016
 
1017
- #: includes/customizer/class-wc-email-customizer.php:350
1018
  msgid "Display Billing Address"
1019
- msgstr ""
1020
 
1021
- #: includes/customizer/class-wc-email-customizer.php:367
1022
  msgid "Enable Google Analytics tracking"
1023
- msgstr ""
1024
 
1025
- #: includes/customizer/class-wc-email-customizer.php:385
1026
  msgid ""
1027
  "This will be appended to URL in the email content – e.g. "
1028
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1029
  msgstr ""
 
 
1030
 
1031
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1032
  msgid "Your order #{order_number} is Failed Attempt"
1033
  msgstr "Вашата поръчка № {order_number} е неуспешен опит"
1034
 
1035
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1036
  msgid ""
1037
  "Hi there. we thought you'd like to know that your recent order from "
1038
  "{site_title} is Failed Attempt"
@@ -1040,20 +1001,20 @@ msgstr ""
1040
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1041
  "{site_title} е неуспешен опит"
1042
 
1043
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1044
  msgid "Failed Attempt shipment status email"
1045
  msgstr "Неуспешен опит за опит за изпращане на имейл"
1046
 
1047
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1048
  msgid "Enable Failed Attempt shipment status email"
1049
  msgstr "Активирайте имейла за неуспешен опит за пратка"
1050
 
1051
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1052
  msgid "Your order #{order_number} is in transit"
1053
  msgstr ""
1054
  "Вашата поръчка # {order_number} е в транзит\n"
1055
 
1056
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1057
  msgid ""
1058
  "Hi there. we thought you'd like to know that your recent order from "
1059
  "{site_title} is in transit"
@@ -1061,21 +1022,21 @@ msgstr ""
1061
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1062
  "{site_title} е в транзит"
1063
 
1064
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1065
  msgid "In Transit shipment status email"
1066
  msgstr ""
1067
  "Електронна поща за статуса на транзитния транзит\n"
1068
 
1069
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1070
  msgid "Enable In Transit shipment status email"
1071
  msgstr "Активиране на имейла за статуса на пратка в транзит"
1072
 
1073
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1074
  msgid "Your order #{order_number} is out for delivery"
1075
  msgstr ""
1076
  "Вашата поръчка # {order_number} е за доставка\n"
1077
 
1078
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1079
  msgid ""
1080
  "Hi there. we thought you'd like to know that your recent order from "
1081
  "{site_title} is out for delivery."
@@ -1083,21 +1044,21 @@ msgstr ""
1083
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1084
  "{site_title} е за доставка.\n"
1085
 
1086
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1087
  msgid "Out For Delivery shipment status email"
1088
  msgstr "Out за доставка на пратка статус имейл"
1089
 
1090
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1091
  msgid "Enable Out For Delivery shipment status email"
1092
  msgstr ""
1093
  "Активиране на имейла за състоянието на пратката за доставка\n"
1094
 
1095
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1096
  msgid "Your order #{order_number} has returned to sender"
1097
  msgstr ""
1098
  "Вашата поръчка # {order_number} се върна на подателя\n"
1099
 
1100
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1101
  msgid ""
1102
  "Hi there. we thought you'd like to know that your recent order from "
1103
  "{site_title} has been returned to sender."
@@ -1105,286 +1066,303 @@ msgstr ""
1105
  "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
1106
  "{site_title} е върната на подателя.\n"
1107
 
1108
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1109
  msgid "Return To Sender shipment status email"
1110
  msgstr "Връщане в имейла за състоянието на пратката на подателя"
1111
 
1112
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1113
  msgid "Enable Return To Sender shipment status email"
1114
  msgstr "Активиране на имейла за състоянието на изпращане на изпращача"
1115
 
1116
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1117
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1118
- #: includes/views/html-tracking-info-design-preview.php:45
1119
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1120
  msgid "Provider"
1121
  msgstr "доставчик"
1122
 
1123
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1124
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1125
- #: includes/views/html-tracking-info-design-preview.php:46
1126
- #: templates/emails/tracking-info.php:134
1127
- #: templates/myaccount/view-order.php:111
1128
  msgid "Tracking Number"
1129
  msgstr "Номер за проследяване"
1130
 
1131
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1132
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1133
  msgid "Shipped Date"
1134
  msgstr ""
1135
  "Дата на изпращане\n"
1136
 
1137
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1138
- msgid ""
1139
- "select from last 20 orders one order that you added tracking info in order "
1140
- "to preview and design the tracking info table."
1141
  msgstr ""
1142
- "изберете от последните 20 поръчки една поръчка, която сте добавили "
1143
- "информация за проследяване, за да визуализирате и проектирате "
1144
- "информационната таблица за проследяване.\n"
1145
 
1146
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
1147
  msgid "Tracking Display Position"
1148
  msgstr "Проследяване на позицията на дисплея"
1149
 
1150
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1151
  msgid "Before Order Details"
1152
  msgstr "Преди подробности за поръчката"
1153
 
1154
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1155
  msgid "After Order Details"
1156
  msgstr "След подробности за поръчката"
1157
 
1158
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1159
- msgid "Main Header text"
1160
- msgstr "Текст на основния заглавие"
 
1161
 
1162
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1163
- #: templates/pip/tracking-info.php:17
1164
  msgid "Tracking Information"
1165
  msgstr "Информация за проследяване"
1166
 
1167
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1168
  msgid "Additional text after header"
1169
  msgstr "Допълнителен текст след заглавието"
1170
 
1171
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
 
 
 
 
 
 
 
 
 
 
 
1172
  msgid "Table Layout"
1173
- msgstr "Оформление на таблицата"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1174
 
1175
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1176
- msgid "Display Shipment Provider image"
1177
- msgstr "Покажи изображението на доставчика на пратка"
 
1178
 
1179
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1180
- msgid "Hide date"
1181
- msgstr "Скриване на дата"
 
 
 
 
 
 
1182
 
1183
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
1184
- msgid "Provider Header Text"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1185
  msgstr "Текст на заглавката на доставчика"
1186
 
1187
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1188
- msgid "Tracking Number Header Text"
1189
- msgstr "Текст на заглавния номер на проследяването"
1190
 
1191
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1192
- msgid "Shipped Date Header Text"
1193
- msgstr "Текст на заглавката на датата"
 
1194
 
1195
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
1196
  msgid "Track Label"
1197
  msgstr "Етикет за проследяване"
1198
 
1199
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1200
- msgid "Track Header Text"
1201
- msgstr "Текст на заглавието на трака"
 
1202
 
1203
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
1204
- msgid "Table Design"
1205
  msgstr ""
1206
- "Изображение на доставчика\n"
1207
 
1208
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
 
 
 
 
 
 
 
 
 
1209
  msgid "Padding"
1210
  msgstr ""
1211
  "подложка\n"
1212
 
1213
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
 
1214
  msgid "Background color"
1215
  msgstr "Цвят на фона"
1216
 
1217
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
 
1218
  msgid "Border color"
1219
  msgstr "Цвят на границата"
1220
 
1221
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1222
  msgid "Border size"
1223
  msgstr "Размер на границата"
1224
 
1225
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1226
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1227
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1228
- msgid "Select"
1229
- msgstr "Изберете"
1230
-
1231
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1232
- msgid "Table text align"
1233
- msgstr "Подравняване на текста на таблицата"
1234
-
1235
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1236
- msgid "Left"
1237
  msgstr ""
1238
- "Наляво\n"
1239
 
1240
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1241
- msgid "Right"
1242
  msgstr ""
1243
- "прав\n"
1244
-
1245
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1246
- msgid "Center"
1247
- msgstr "център"
1248
-
1249
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1250
- msgid "Table header font size"
1251
- msgstr "Размер на шрифта на заглавката на таблицата"
1252
 
1253
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1254
- msgid "Table header font color"
1255
- msgstr "Цвят на шрифта на заглавката на таблицата"
1256
-
1257
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1258
- msgid "Table content font size"
1259
- msgstr "Размер на шрифта на съдържанието на таблицата"
1260
-
1261
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1262
- msgid "Table content font color"
1263
- msgstr "Цвят на шрифта на съдържанието на таблицата"
1264
 
1265
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1266
  msgid "Content line height"
1267
  msgstr ""
1268
  "Височина на линията на съдържанието\n"
1269
 
1270
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1271
  msgid "Content font weight"
1272
  msgstr ""
1273
  "Тегло на шрифта на съдържанието\n"
1274
 
1275
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1276
- msgid "Track Link"
1277
- msgstr "Проследяване на връзката"
1278
-
1279
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1280
- msgid "Track Link Font Color"
1281
- msgstr "Цвят на шрифта за връзка"
1282
-
1283
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1284
- msgid "Track Link Background Color"
1285
- msgstr "Цвят на фона на проследяване на връзката"
1286
-
1287
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1288
- msgid "Track link Border"
1289
- msgstr "Проследяване на връзката Граница"
1290
-
1291
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1292
- msgid "Header Color"
1293
  msgstr ""
1294
- "Цвят на заглавката\n"
1295
 
1296
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1297
- msgid "Success Status Color"
1298
  msgstr ""
1299
- "Цвят на състоянието на успеха\n"
1300
 
1301
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1302
- msgid "Warning Status Color"
1303
  msgstr ""
1304
- "Цвят на предупредителния статус\n"
1305
 
1306
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1307
- msgid "Tracking info Border Color"
 
 
1308
  msgstr ""
1309
- "Информация за проследяване Цвят на границата\n"
 
 
 
 
 
 
1310
 
1311
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1312
- msgid "Tracking info width (px)"
 
 
1313
  msgstr ""
1314
- "Ширина на информацията за проследяване (px)\n"
 
1315
 
1316
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1317
- msgid "Tracking details Border Color"
1318
- msgstr "Подробности за проследяване Цвят на рамката"
1319
 
1320
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1321
- msgid "Tracking info table shade color"
1322
- msgstr "Цвят на сенчестата таблица с информация"
 
1323
 
1324
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1325
- msgid "Tracking events font color"
1326
- msgstr "Цвят на шрифта за проследяване на събития"
 
 
 
 
1327
 
1328
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1329
- msgid "Tracking info table margin top/bottom(px)"
1330
- msgstr "Област на информационната таблица за проследяване отгоре / отдолу (px)"
 
1331
 
1332
  #: includes/emails/class-shipment-delivered-email.php:32
1333
  msgid "Delivered order"
1334
- msgstr ""
1335
 
1336
  #: includes/emails/class-shipment-delivered-email.php:33
1337
  msgid ""
1338
  "Order delivered emails are sent to customers when their orders are marked "
1339
  "delivered and usually indicate that their orders have been shipped."
1340
  msgstr ""
 
 
1341
 
1342
- #: includes/emails/class-shipment-delivered-email.php:228
1343
- msgid "Enable this email notification"
1344
- msgstr ""
1345
-
1346
- #: includes/emails/class-shipment-delivered-email.php:232
1347
- msgid "Recipient(s)"
1348
- msgstr ""
1349
-
1350
- #. %s: WP admin email
1351
- #: includes/emails/class-shipment-delivered-email.php:235
1352
- #, php-format
1353
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1354
- msgstr ""
1355
-
1356
- #: includes/emails/class-shipment-delivered-email.php:241
1357
- msgid "Subject"
1358
- msgstr ""
1359
-
1360
- #. %s: list of placeholders
1361
- #: includes/emails/class-shipment-delivered-email.php:245
1362
- #: includes/emails/class-shipment-delivered-email.php:254
1363
- #, php-format
1364
- msgid "Available placeholders: %s"
1365
- msgstr ""
1366
-
1367
- #: includes/emails/class-shipment-delivered-email.php:259
1368
- msgid "Email type"
1369
- msgstr ""
1370
-
1371
- #: includes/emails/class-shipment-delivered-email.php:261
1372
- msgid "Choose which format of email to send."
1373
- msgstr ""
1374
 
1375
- #: includes/emails/class-shipment-delivered-email.php:269
1376
- msgid "\" >Click Here</a>"
1377
- msgstr ""
1378
-
1379
- #: includes/emails/class-shipment-delivered-email.php:270
1380
  msgid "Edit in customizer"
1381
- msgstr ""
1382
 
1383
- #: includes/views/admin_options_bulk_upload.php:5
1384
  msgid "Upload CSV"
1385
  msgstr "Качете CSV"
1386
 
1387
- #: includes/views/admin_options_bulk_upload.php:15
1388
  msgid ""
1389
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1390
  "added)"
@@ -1392,155 +1370,304 @@ msgstr ""
1392
  "Да се ​​промени ли информацията за проследяване, ако съществува? (ако не е "
1393
  "отметнато, информацията за проследяване ще бъде добавена)"
1394
 
1395
- #: includes/views/admin_options_bulk_upload.php:25
1396
- #: includes/views/admin_options_shipping_provider.php:112
1397
- #: includes/views/admin_options_shipping_provider.php:146
1398
  msgid "Upload"
1399
  msgstr "Качи"
1400
 
1401
- #: includes/views/admin_options_bulk_upload.php:28
1402
- #: includes/views/admin_options_trackship_integration.php:27
1403
- #: includes/views/admin_options_trackship_integration.php:45
1404
  msgid "Settings Saved."
1405
  msgstr "Настройките са запазени."
1406
 
1407
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1408
  msgid "You can download an example of the csv file:"
1409
  msgstr "Можете да изтеглите пример за csv файл:"
1410
 
1411
- #: includes/views/admin_options_bulk_upload.php:35
1412
  msgid "Download sample csv file"
1413
  msgstr "Изтеглете примерния файл csv"
1414
 
1415
- #: includes/views/admin_options_bulk_upload.php:36
1416
  msgid ""
1417
  "For detailed instructions on how to upload tracking info in bulk, see our"
1418
  msgstr ""
1419
  "За подробни инструкции за това как да качите информация за проследяване в "
1420
  "насипно състояние, вижте нашата"
1421
 
1422
- #: includes/views/admin_options_bulk_upload.php:36
1423
- msgid "documentation"
1424
- msgstr "документация"
 
1425
 
1426
- #: includes/views/admin_options_bulk_upload.php:38
1427
- msgid "Upload Progress - "
1428
- msgstr "Качване на напредъка -"
 
 
 
 
 
 
 
1429
 
1430
- #: includes/views/admin_options_settings.php:7
1431
- #: includes/views/admin_options_trackship_integration.php:10
1432
- msgid "General"
1433
- msgstr "Общ"
 
1434
 
1435
- #: includes/views/admin_options_settings.php:10
1436
- #: includes/views/admin_options_settings.php:19
1437
- msgid "Delivered Order Status"
1438
- msgstr "Състояние на поръчката за доставка"
1439
 
1440
- #: includes/views/admin_options_settings.php:12
1441
- msgid "Tracking Info Display Designer"
1442
  msgstr ""
1443
- "Програмист за проследяване на информация за проследяване\n"
1444
 
1445
- #: includes/views/admin_options_settings.php:15
1446
- #: includes/views/admin_options_trackship_integration.php:19
1447
- msgid "General Settings"
1448
- msgstr "Основни настройки"
 
 
1449
 
1450
- #: includes/views/admin_options_settings.php:24
1451
- #: includes/views/admin_options_trackship_integration.php:25
1452
- #: includes/views/admin_options_trackship_integration.php:43
1453
- msgid "Save"
1454
- msgstr "Запази"
 
1455
 
1456
- #: includes/views/admin_options_shipping_provider.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1457
  msgid "Add Custom Shipping Provider"
1458
  msgstr "Добавете Потребителски доставчик"
1459
 
1460
- #: includes/views/admin_options_shipping_provider.php:101
1461
- #: includes/views/admin_options_shipping_provider.php:135
1462
- msgid "Shiping Country"
1463
  msgstr "Страна на доставка"
1464
 
1465
- #: includes/views/admin_options_shipping_provider.php:102
1466
- #: includes/views/admin_options_shipping_provider.php:136
1467
  msgid "Global"
1468
- msgstr ""
1469
 
1470
- #: includes/views/admin_options_shipping_provider.php:128
 
 
 
 
 
1471
  msgid "Edit Custom Shipping Provider"
1472
  msgstr "Редактиране на доставчик по поръчка"
1473
 
1474
- #: includes/views/admin_options_shipping_provider.php:163
1475
- #: includes/views/admin_options_shipping_provider.php:170
1476
- msgid "Sync Providers"
1477
- msgstr "Синхронизиране на доставчици"
1478
-
1479
- #: includes/views/admin_options_shipping_provider.php:164
1480
- msgid "Do you really want to sync all providers?"
1481
- msgstr "Наистина ли искате да синхронизирате всички доставчици?"
1482
 
1483
- #: includes/views/admin_options_shipping_provider.php:166
1484
  msgid "Providers Added"
1485
  msgstr "Доставчиците са добавени"
1486
 
1487
- #: includes/views/admin_options_shipping_provider.php:167
1488
  msgid "Providers Updated"
1489
  msgstr "Актуализирани доставчици"
1490
 
1491
- #: includes/views/admin_options_shipping_provider.php:168
1492
  msgid "Providers Deleted"
1493
  msgstr "Доставчиците са изтрити"
1494
 
1495
- #: includes/views/admin_options_shipping_provider.php:171
1496
- msgid "Close"
1497
- msgstr "Близо"
1498
-
1499
- #: includes/views/admin_options_trackship_integration.php:13
1500
- #: includes/views/admin_options_trackship_integration.php:35
1501
  msgid "Tracking Page"
1502
  msgstr "Страница за проследяване"
1503
 
1504
- #: includes/views/admin_options_trackship_integration.php:16
1505
  msgid "Shipment Status Notifications"
1506
- msgstr "Известия за състоянието на пратката"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1507
 
1508
- #: includes/views/admin_options_trackship_integration.php:40
1509
- msgid "Click to preview the tracking page"
1510
- msgstr "Кликнете, за да визуализирате проследяващата страница"
 
1511
 
1512
- #: includes/views/admin_options_trackship_integration.php:41
1513
- msgid "PLEASE NOTE - make sure to save your settings before preview."
1514
  msgstr ""
1515
- "МОЛЯ ЗАБЕЛЕЖКА - не забравяйте да запазите настройките си преди визуализация."
1516
 
1517
- #: includes/views/admin_options_trackship_integration.php:53
1518
  msgid "Shipment Status Notifications "
1519
  msgstr "Известия за състоянието на пратката"
1520
 
1521
- #: includes/views/admin_options_trackship_integration.php:81
1522
  msgid ""
1523
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1524
  "the way."
1525
  msgstr "Превозвачът е приел или взел пратка от изпращача. Пратката е на път."
1526
 
1527
- #: includes/views/admin_options_trackship_integration.php:95
1528
  msgid "Shipment is returned to sender"
1529
  msgstr "Пратката се връща на подателя"
1530
 
1531
- #: includes/views/admin_options_trackship_integration.php:109
1532
  msgid "The shipment is ready to pickup."
1533
  msgstr "Пратката е готова за пикап."
1534
 
1535
- #: includes/views/admin_options_trackship_integration.php:122
1536
  msgid "Carrier is about to deliver the shipment"
1537
  msgstr "Превозвачът е на път да достави пратката"
1538
 
1539
- #: includes/views/admin_options_trackship_integration.php:136
1540
  msgid "The shipment was delivered successfully"
1541
  msgstr "Пратката е доставена успешно"
1542
 
1543
- #: includes/views/admin_options_trackship_integration.php:137
1544
  msgid ""
1545
  "You already have delivered email enabled, to enable this email you'll need "
1546
  "to disable the order status delivered in settings."
@@ -1548,7 +1675,7 @@ msgstr ""
1548
  "Вече сте предоставили активиран имейл, за да активирате този имейл, ще "
1549
  "трябва да деактивирате състоянието на поръчката, доставена в настройките."
1550
 
1551
- #: includes/views/admin_options_trackship_integration.php:151
1552
  msgid ""
1553
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1554
  "will try to deliver the package again."
@@ -1556,43 +1683,43 @@ msgstr ""
1556
  "Превозвачът се опита да достави, но не успя и обикновено оставя известие и "
1557
  "ще се опита да достави пакета отново."
1558
 
1559
- #: includes/views/html-tracking-info-design-preview.php:60
1560
- msgid "USPS"
1561
- msgstr "USPS"
1562
-
1563
- #: includes/views/zorem_admin_sidebar.php:8
1564
- msgid "Leave your review"
1565
- msgstr ""
1566
-
1567
- #: includes/views/zorem_admin_ts_sidebar.php:5
1568
- msgid "Dashboard"
1569
- msgstr ""
1570
-
1571
- #: includes/views/zorem_admin_ts_sidebar.php:7
1572
- msgid "Documentation"
1573
- msgstr ""
1574
-
1575
- #: templates/emails/tracking-info.php:138
1576
- msgid "Status"
1577
- msgstr "Статус"
1578
-
1579
- #: templates/emails/wcast-email-order-details.php:26
1580
- msgid "Order Details"
1581
- msgstr ""
1582
- "подробности за поръчката\n"
1583
 
1584
  #. %s: Order ID.
1585
- #: templates/emails/wcast-email-order-details.php:42
1586
  #, php-format
1587
  msgid "Order number: %s"
1588
  msgstr ""
1589
  "Номер на поръчката:% s\n"
1590
 
1591
- #: templates/emails/wcast-email-order-details.php:49
1592
- msgid "Order date:"
 
 
 
 
 
 
 
 
 
 
 
 
1593
  msgstr ""
1594
- "Дата на поръчка:\n"
1595
 
1596
- #: templates/emails/plain/tracking-info.php:18
1597
- msgid "TRACKING INFORMATION"
1598
- msgstr "ИНФОРМАЦИЯ ЗА ПРОСЛЕДЯВАНЕТО"
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 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"
712
  msgstr "Имейли за състоянието на пратката"
713
 
714
+ #: includes/customizer/class-wcast-customizer.php:52
715
  msgid "Tracking info display"
716
  msgstr ""
717
  "Показване на информация за проследяване\n"
718
 
719
+ #: includes/customizer/class-wcast-customizer.php:60
720
+ #: includes/customizer/class-wc-email-customizer.php:163
721
+ msgid "Delivered order status email"
722
+ msgstr "Предоставен е имейл за състоянието на поръчката"
 
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"
739
 
740
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
741
  msgid "Your order #{order_number} is available for pickup"
742
  msgstr ""
743
  "Вашата поръчка # {order_number} е достъпна за приемане\n"
744
 
745
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
746
  msgid ""
747
  "Hi there. we thought you'd like to know that your recent order from "
748
  "{site_title} is available for pickup."
750
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
751
  "{site_title} е достъпна за приемане."
752
 
753
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
754
  msgid "Available For Pickup shipment status email"
755
  msgstr ""
756
  "Наличен за статус на пратка за доставка\n"
757
 
758
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
759
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
760
+ #: includes/customizer/class-wc-email-customizer.php:164
761
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
762
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
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
  "Този раздел ви позволява да персонализирате съдържанието на електронната "
770
  "поща."
771
 
772
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
773
  msgid "Enable Available For Pickup shipment status email"
774
  msgstr ""
775
  "Активиране на имейла за статуса на пратката на разположение за получаване"
776
 
777
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
778
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
779
+ #: includes/customizer/class-wc-email-customizer.php:197
780
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
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"
790
 
791
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
792
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
793
+ #: includes/customizer/class-wc-email-customizer.php:226
794
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
795
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
796
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
797
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
839
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
840
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
841
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
842
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
843
  msgid "Show tracking details"
844
  msgstr ""
845
  "Показване на подробности за проследяването\n"
846
 
847
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
848
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
849
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
850
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
851
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
852
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
853
  msgid "Show order details"
854
  msgstr ""
855
  "Показване на подробности за поръчката\n"
856
 
857
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
858
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
859
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
860
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
861
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
862
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
863
  msgid "Show billing address"
864
  msgstr ""
865
  "Показване на адрес за фактуриране\n"
866
 
867
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
868
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
869
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
870
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
871
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
872
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
873
  msgid "Show shipping address"
874
  msgstr ""
875
  "Показване на адреса за доставка\n"
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
898
+ #: includes/customizer/class-wc-email-customizer.php:288
899
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
900
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
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
932
  msgid ""
933
  "Hi there. we thought you'd like to know that your recent order from "
934
  "{site_title} has been Delivered."
936
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
937
  "{site_title} е била Доставена."
938
 
939
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
940
  msgid "Delivered shipment status email"
941
  msgstr "Предоставен е имейл за състоянието на пратката"
942
 
943
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
944
  msgid "Enable Delivered shipment status email"
945
  msgstr "Активиране на имейла за състоянието на доставената пратка"
946
 
947
+ #: includes/customizer/class-wc-email-customizer.php:130
948
+ #: includes/emails/class-shipment-delivered-email.php:94
949
  msgid "Your {site_title} order is now delivered"
950
  msgstr "Поръчката ви {site_title} вече е доставена"
951
 
952
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
953
  msgid "Enable Delivered order status email"
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"
994
  msgstr "Вашата поръчка № {order_number} е неуспешен опит"
995
 
996
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
997
  msgid ""
998
  "Hi there. we thought you'd like to know that your recent order from "
999
  "{site_title} is Failed Attempt"
1001
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1002
  "{site_title} е неуспешен опит"
1003
 
1004
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
1005
  msgid "Failed Attempt shipment status email"
1006
  msgstr "Неуспешен опит за опит за изпращане на имейл"
1007
 
1008
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
1009
  msgid "Enable Failed Attempt shipment status email"
1010
  msgstr "Активирайте имейла за неуспешен опит за пратка"
1011
 
1012
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1013
  msgid "Your order #{order_number} is in transit"
1014
  msgstr ""
1015
  "Вашата поръчка # {order_number} е в транзит\n"
1016
 
1017
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1018
  msgid ""
1019
  "Hi there. we thought you'd like to know that your recent order from "
1020
  "{site_title} is in transit"
1022
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1023
  "{site_title} е в транзит"
1024
 
1025
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
1026
  msgid "In Transit shipment status email"
1027
  msgstr ""
1028
  "Електронна поща за статуса на транзитния транзит\n"
1029
 
1030
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
1031
  msgid "Enable In Transit shipment status email"
1032
  msgstr "Активиране на имейла за статуса на пратка в транзит"
1033
 
1034
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1035
  msgid "Your order #{order_number} is out for delivery"
1036
  msgstr ""
1037
  "Вашата поръчка # {order_number} е за доставка\n"
1038
 
1039
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1040
  msgid ""
1041
  "Hi there. we thought you'd like to know that your recent order from "
1042
  "{site_title} is out for delivery."
1044
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1045
  "{site_title} е за доставка.\n"
1046
 
1047
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
1048
  msgid "Out For Delivery shipment status email"
1049
  msgstr "Out за доставка на пратка статус имейл"
1050
 
1051
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
1052
  msgid "Enable Out For Delivery shipment status email"
1053
  msgstr ""
1054
  "Активиране на имейла за състоянието на пратката за доставка\n"
1055
 
1056
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1057
  msgid "Your order #{order_number} has returned to sender"
1058
  msgstr ""
1059
  "Вашата поръчка # {order_number} се върна на подателя\n"
1060
 
1061
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1062
  msgid ""
1063
  "Hi there. we thought you'd like to know that your recent order from "
1064
  "{site_title} has been returned to sender."
1066
  "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
1067
  "{site_title} е върната на подателя.\n"
1068
 
1069
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
1070
  msgid "Return To Sender shipment status email"
1071
  msgstr "Връщане в имейла за състоянието на пратката на подателя"
1072
 
1073
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
1074
  msgid "Enable Return To Sender shipment status email"
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"
1363
  msgstr "Качете CSV"
1364
 
1365
+ #: includes/views/admin_options_bulk_upload.php:20
1366
  msgid ""
1367
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1368
  "added)"
1370
  "Да се ​​промени ли информацията за проследяване, ако съществува? (ако не е "
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
 
1379
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
1380
  msgid "Settings Saved."
1381
  msgstr "Настройките са запазени."
1382
 
1383
+ #: includes/views/admin_options_bulk_upload.php:41
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
1693
  #, php-format
1694
  msgid "Order number: %s"
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 ""
1717
+ "Add shipment tracking information to your WooCommerce orders and provide "
1718
+ "customers with an easy way to track their orders. Shipment tracking Info "
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-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:45+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Danish\n"
9
  "Language: da_DK\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,9 +12,9 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,495 +23,358 @@ msgstr ""
23
  "Installer og aktiver venligst% sWooCommerce% s for WooCommerce Advanced "
24
  "Shipping Tracking!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:390
27
- #: includes/views/admin_options_settings.php:21
28
  #, php-format
29
- msgid ""
30
- "<strong>PLEASE NOTE</strong> - If you use the custom order status "
31
- "\"Delivered\", when you deactivate the plugin, you must register this order "
32
- "status in function.php in order to see these orders in the orders admin. You "
33
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
34
- "php here or you can manually change all your \"delivered\" order to "
35
- "\"completed\" before deactivating the plugin."
36
- msgstr ""
37
 
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
40
- msgid "Shipped"
41
- msgstr "afsendt"
42
-
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
44
  #, php-format
45
- msgid "Shipped <span class=\"count\">(%s)</span>"
46
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
47
- msgstr[0] "Sendt <span class = \"count\"> (% s) </ span>"
48
- msgstr[1] "Sendt <span class = \"count\"> (% s) </ span>"
49
-
50
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
51
- msgid "Change status to shipped"
52
- msgstr "Skift status til afsendt"
53
-
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
59
- #: includes/customizer/class-wcast-customizer.php:104
60
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
61
- #: includes/views/admin_options_trackship_integration.php:134
62
- msgid "Delivered"
63
- msgstr "leveres"
64
-
65
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
66
- #, php-format
67
- msgid "Delivered <span class=\"count\">(%s)</span>"
68
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
69
- msgstr[0] "Leveret <span class = \"count\"> (% s) </ span>"
70
- msgstr[1] "Leveret <span class = \"count\"> (% s) </ span>"
71
-
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
- msgid "Updated Tracking"
75
- msgstr "Opdateret sporing"
76
-
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
- #, php-format
79
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </ span>"
82
- msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </ span>"
83
-
84
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
- msgid "Change status to delivered"
86
- msgstr "Skift status til levering"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
89
  msgid "Shipment status"
90
  msgstr "Forsendelsesstatus"
91
 
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
 
93
  msgid ""
94
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
  "100 orders."
96
  msgstr ""
 
 
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
- msgid "Order"
100
- msgstr "Bestille"
101
-
102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
103
- msgid "Item"
104
- msgstr "Vare"
105
-
106
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
107
- msgid "Line Item"
108
- msgstr "Linjepost"
109
-
110
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
111
- msgid "Class"
112
- msgstr "klasse"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
115
- msgid "Delete the selected rates?"
116
- msgstr "Slet de valgte satser?"
117
-
118
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
119
- msgid "Duplicate the selected rates?"
120
- msgstr "Dupliker de valgte satser?"
121
-
122
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
123
- msgid "Really want to bulk change all provider status?"
124
- msgstr "Vil virkelig bulk ændre alle udbyder status?"
125
-
126
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
127
- #: includes/views/admin_options_settings.php:26
128
  msgid "Data saved successfully."
129
  msgstr "Data gemmes med succes."
130
 
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
 
132
  msgid "Really delete this entry? This will not be undo."
133
  msgstr "Vil du virkelig slette denne post? Dette vil ikke blive fortrydt."
134
 
135
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
 
136
  msgid "You can upload only csv file."
137
  msgstr "Du kan kun uploade csv-filen."
138
 
139
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
 
140
  msgid "This browser does not support HTML5."
141
  msgstr "Denne browser understøtter ikke HTML5."
142
 
143
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
 
144
  msgid "Please upload a valid CSV file."
145
  msgstr "Upload venligst en gyldig CSV-fil."
146
 
147
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
148
  msgid "Shipping Providers"
149
  msgstr "Forsendelsesleverandører"
150
 
151
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
152
- msgid "Settings"
153
- msgstr "Indstillinger"
154
-
155
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
156
  msgid "Bulk Upload"
157
- msgstr "Bulk Upload"
158
 
159
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
160
- msgid "TrackShip"
161
- msgstr ""
162
 
163
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  msgid "Connected"
165
  msgstr ""
166
  "forbundet\n"
167
 
168
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
169
- msgid ""
170
- "Auto-track all your shipments, get real-time shipment tracking updates "
171
- "without leaving your stores admin."
172
- msgstr ""
173
- "Auto-spor alle dine forsendelser, få opdateringsopdateringer i realtid uden "
174
- "at forlade dine butikker.\n"
 
 
 
 
 
175
 
176
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
177
  #, php-format
178
- msgid ""
179
- "You must have account and connect your store to %s in order to activate "
180
- "these advanced features."
181
- msgstr ""
182
- "Du skal have en konto og forbinde din butik til% s for at aktivere disse "
183
- "avancerede funktioner.\n"
184
 
185
  #: includes/class-wc-advanced-shipment-tracking-admin.php:892
186
  #, php-format
187
- msgid "50 free Trackers for every new account! Get your %s account now>>"
188
- msgstr ""
189
- "50 gratis Trackers for hver ny konto! Få din% s konto nu >>\n"
190
-
191
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
192
- msgid "TrackShip Connection Status"
193
- msgstr "TrackShip-forbindelsesstatus"
194
 
195
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
196
- #: includes/emails/class-shipment-delivered-email.php:226
197
  msgid "Enable/Disable"
198
  msgstr "Aktivere deaktivere"
199
 
200
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
201
  msgid "Set order status Delivered when order is delivered"
202
- msgstr ""
203
- "Indstil ordrestatus Leveres, når ordren leveres\n"
204
-
205
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
206
- #, php-format
207
- msgid ""
208
- "You have %s %s orders that you can track with TrackShip, you can send these "
209
- "shipments to TrackShip in Bulk."
210
- msgstr ""
211
-
212
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
213
- msgid "Get Shipment Status"
214
- msgstr ""
215
 
216
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
217
  msgid ""
218
- "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
219
  "for the tracking page to work."
220
  msgstr ""
 
 
221
 
222
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
 
223
  msgid "Select Tracking Page"
224
- msgstr ""
225
- "Vælg Sporingsside\n"
226
-
227
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
228
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
229
- msgid "Remove Trackship branding from tracking page"
230
- msgstr ""
231
- "Fjern Trackship branding fra sporingsside\n"
232
 
233
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
234
  msgid "Use the tracking page in the customer email/my account tracking link"
 
 
 
 
 
235
  msgstr ""
236
- "Brug sporingssiden i kundens email / min konto tracking link\n"
237
 
238
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
239
  msgid "Select primary color for tracking page"
240
- msgstr ""
241
- "Vælg primær farve til sporingsside\n"
242
 
243
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
244
  msgid "Select content border color for tracking page"
245
- msgstr ""
246
- "Vælg indholdsfarvefarve for sporingsside\n"
247
 
248
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
249
- msgid ""
250
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
251
- "state"
252
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
 
254
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
 
 
 
 
255
  msgid ""
256
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
257
  "will be selected by default when adding tracking info to orders."
258
  msgstr ""
 
 
259
 
260
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
261
- msgid "Completed"
262
- msgstr "afsluttet"
263
-
264
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
265
- msgid ""
266
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
267
- "state"
268
  msgstr ""
 
269
 
270
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
271
  msgid ""
272
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
273
  "will be selected by default when adding tracking info to orders."
274
  msgstr ""
 
 
275
 
276
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
277
  msgid "Rename the “Completed” Order status to “Shipped”"
278
- msgstr "Omdøb \"Afsluttet\" Ordre status til \"Sendt\""
279
-
280
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
281
- msgid "On which customer order status email to include tracking info?"
282
- msgstr "På hvilken kundeordres status-e-mail for at inkludere sporingsinfo?"
283
-
284
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
285
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
286
- msgid "Cancelled"
287
- msgstr "Aflyst"
288
 
289
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
290
- msgid "Customer Invoice"
291
- msgstr "Kundefaktura"
292
-
293
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
294
- msgid "Refunded"
295
- msgstr "refunderet"
296
-
297
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
298
- msgid "Processing"
299
- msgstr "Forarbejdning"
300
-
301
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
302
- msgid "Failed"
303
- msgstr "mislykkedes"
304
 
305
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
306
  msgid "Show tracking info in Invoice"
307
  msgstr "Vis sporingsinfo i faktura"
308
 
309
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
310
  msgid "Show tracking info in Packing Slip"
311
  msgstr "Vis sporingsinfo i pakkeseddel"
312
 
313
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
314
- msgid "Enable a New Custom order status - “Delivered”"
315
- msgstr "Aktivér en ny brugerdefineret ordrestatus - \"Leveret\""
316
-
317
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
318
- msgid ""
319
- "if you enable the delivered item, you will have the option to send delivered "
320
- "email notifications."
321
- msgstr ""
322
- "Hvis du aktiverer den leverede vare, har du mulighed for at sende leverede "
323
- "email-meddelelser."
324
-
325
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
326
- msgid "Delivered Status Label color"
327
- msgstr "Leveret Status Label farve"
328
-
329
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
330
- #: includes/customizer/class-wcast-customizer.php:58
331
- #: includes/customizer/class-wc-email-customizer.php:155
332
- msgid "Delivered order status email"
333
- msgstr ""
334
- "Leveret ordre status email\n"
335
-
336
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
337
- #: includes/views/admin_options_trackship_integration.php:80
338
- #: includes/views/admin_options_trackship_integration.php:94
339
- #: includes/views/admin_options_trackship_integration.php:108
340
- #: includes/views/admin_options_trackship_integration.php:121
341
- #: includes/views/admin_options_trackship_integration.php:135
342
- #: includes/views/admin_options_trackship_integration.php:150
343
- msgid "Edit"
344
- msgstr "Editar"
345
-
346
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
347
- msgid ""
348
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
349
- "plugin"
350
- msgstr "Skift \"Leverede\" ordrer til \"Afsluttet\", når du deaktiverer plugin"
351
-
352
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
353
- msgid "No, I will use the snippet"
354
- msgstr "Nej, jeg vil bruge uddraget"
355
-
356
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
357
- msgid "Yes, change all Delivered orders to Completed"
358
- msgstr "Ja, skift alle leverede ordrer til Afsluttet"
359
-
360
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
361
- #, php-format
362
- msgid ""
363
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
364
- "deactivate the plugin, you must register this order status in function.php "
365
- "in order to see these orders in the orders admin. You can find the snippet "
366
- "to use in functions.php %s or we can set to change all your \"delivered\" "
367
- "order to \"completed\"."
368
- msgstr ""
369
- "BEMÆRK - Hvis du bruger den tilpassede ordrestatus \"Leveret\", skal du "
370
- "registrere denne ordrestatus i function.php, når du deaktiverer plugin'en "
371
- "for at se disse ordrer i ordreadministratoren. Du kan finde kodestykket at "
372
- "bruge i functions.php% s eller vi kan indstille til at ændre al din "
373
- "\"leverede\" ordre til \"afsluttet\"."
374
-
375
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
376
- msgid "Get shipment status"
377
- msgstr ""
378
- "Få forsendelsesstatus\n"
379
-
380
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
381
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
382
- #: includes/customizer/class-wcast-customizer.php:74
383
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
384
- #: includes/views/admin_options_trackship_integration.php:79
385
  msgid "In Transit"
386
  msgstr "Undervejs"
387
 
388
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
389
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
390
- #: includes/customizer/class-wcast-customizer.php:66
391
  msgid "Pre Transit"
392
  msgstr ""
393
  "Pre Transit\n"
394
 
395
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
396
- msgid "Out for delivery"
397
- msgstr ""
398
- "Ud for levering\n"
 
 
 
 
 
 
 
399
 
400
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
401
- #: includes/customizer/class-wcast-customizer.php:89
402
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
403
- #: includes/views/admin_options_trackship_integration.php:107
 
 
 
 
 
 
 
 
 
404
  msgid "Available For Pickup"
405
  msgstr ""
406
  "Klar til afhentning\n"
407
 
408
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
409
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
410
- #: includes/customizer/class-wcast-customizer.php:82
411
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
412
- #: includes/views/admin_options_trackship_integration.php:93
413
  msgid "Return To Sender"
414
  msgstr ""
415
  "Retur til Afsender\n"
416
 
417
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
418
- msgid "Delivery Failure"
419
- msgstr ""
420
- "Leveringsfejl\n"
 
 
 
421
 
422
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
423
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
424
  msgid "Unknown"
425
  msgstr "Ukendt"
426
 
427
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
428
  msgid "Pending TrackShip"
429
- msgstr ""
430
- "Afventer TrackShip\n"
431
 
432
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
433
- msgid "Invalid Tracking"
434
- msgstr ""
435
- "Ugyldig sporing\n"
436
 
437
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
438
- msgid "Carrier unsupported"
439
- msgstr ""
440
- "Carrier understøttes ikke\n"
441
 
442
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
443
  msgid "Invalid User Key"
444
- msgstr ""
445
 
446
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
447
- msgid "Resend delivered order notification"
448
- msgstr "Send leveret ordreanmeldelse igen"
449
 
450
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
451
  msgid "Shipped Order"
452
- msgstr "Sendt ordre"
453
 
454
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
455
  msgid "Mark order as delivered"
456
- msgstr "Markér ordre som leveret"
457
 
458
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
459
  msgid "Add Tracking"
460
- msgstr ""
461
 
462
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
463
  msgid "Change order status to"
464
  msgstr "Skift ordrestatus til"
465
 
466
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
467
- #: includes/views/admin_options_shipping_provider.php:88
468
  #, php-format
469
  msgid "You don't have any %s shipping providers."
470
  msgstr "Du har ikke% s forsendelsesudbydere."
471
 
472
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
473
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
474
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
475
- msgid "view details"
476
- msgstr "Se detaljer"
477
-
478
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
479
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
480
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
481
- msgid "hide details"
482
- msgstr "Gem detaljer"
483
-
484
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
485
- msgid "Available for Pickup"
486
- msgstr ""
487
-
488
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
489
- msgid "Out for Delivery"
490
- msgstr ""
491
-
492
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
493
- #: includes/customizer/class-wcast-customizer.php:112
494
- #: includes/customizer/class-wc-failure-email-customizer.php:113
495
- #: includes/views/admin_options_trackship_integration.php:149
496
- msgid "Failed Attempt"
497
- msgstr "Mislykket forsøg"
498
-
499
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
500
- msgid "Carrier Unsupported"
501
- msgstr ""
502
 
503
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
504
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
505
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
506
- msgid "Invalid Tracking Number"
507
- msgstr ""
508
- "Ugyldigt sporingsnummer\n"
509
-
510
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
511
  msgid "Filter by shipment status"
512
- msgstr ""
513
 
514
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
515
  msgid ""
516
  "To track your order please enter your Order ID in the box below and press "
517
  "the \"Track\" button. This was given to you on your receipt and in the "
@@ -521,179 +384,356 @@ msgstr ""
521
  "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
522
  "den bekræftelses e-mail, du skulle have modtaget.\n"
523
 
524
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
525
- msgid "Order ID"
526
- msgstr ""
527
- "Ordre ID\n"
528
-
529
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
530
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
531
  msgid "Found in your order confirmation email."
532
  msgstr ""
533
  "Findes i din ordrebekræftelses-email.\n"
534
 
535
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
536
  msgid "Order Email"
537
  msgstr ""
538
  "Bestil Email\n"
539
 
540
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
541
- #: includes/class-wc-advanced-shipment-tracking.php:260
542
- #: includes/class-wc-advanced-shipment-tracking.php:637
543
- #: includes/class-wc-advanced-shipment-tracking.php:763
544
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
545
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
546
- #: includes/views/html-tracking-info-design-preview.php:69
547
- #: templates/emails/tracking-info.php:152
548
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
549
  msgid "Track"
550
  msgstr "Spor pakke"
551
 
552
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
553
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
 
 
554
  #, php-format
555
  msgid "Shipment - %s (out of %s)"
556
  msgstr ""
557
  "Forsendelse -% s (ud af% s)\n"
558
 
559
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
560
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
561
- msgid "Order: "
562
- msgstr "Bestille:"
563
 
564
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
565
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
566
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
567
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
568
- msgid "Estimated Delivery Date: "
569
- msgstr "Forventet leveringsdato:"
 
 
 
570
 
571
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
572
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
573
  msgid "Tracking Details"
574
  msgstr "Sporingsdetaljer"
575
 
576
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
577
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
 
 
578
  msgid "view more"
579
  msgstr "Se mere"
580
 
581
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
582
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
 
 
583
  msgid "view less"
584
  msgstr "se mindre"
585
 
586
- #. esc_html__( '%1$s %2$s.' ),
587
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
588
- #, php-format
589
- msgid ""
590
- "We added many improvements to %1$s, please help and give us a review :) "
591
- "Thanks!"
592
- msgstr ""
593
- "Vi tilføjede mange forbedringer til% 1 $ s, hjælp venligst og giv os en "
594
- "anmeldelse :) Tak!"
595
-
596
- #: includes/class-wc-advanced-shipment-tracking.php:93
597
- #: includes/class-wc-advanced-shipment-tracking.php:244
598
- #: includes/customizer/class-wcast-customizer.php:30
599
  msgid "Shipment Tracking"
600
  msgstr "Forsendelsessporing"
601
 
602
- #: includes/class-wc-advanced-shipment-tracking.php:179
603
- #: includes/class-wc-advanced-shipment-tracking.php:351
604
- msgid "Change order to Shipped?"
605
- msgstr ""
 
606
 
607
- #: includes/class-wc-advanced-shipment-tracking.php:181
608
- #: includes/class-wc-advanced-shipment-tracking.php:353
609
- msgid "Change order to Completed?"
610
- msgstr ""
 
611
 
612
- #: includes/class-wc-advanced-shipment-tracking.php:186
 
 
 
 
 
 
613
  msgid "Add Tracking Number"
614
- msgstr ""
615
 
616
- #: includes/class-wc-advanced-shipment-tracking.php:191
617
- #: includes/class-wc-advanced-shipment-tracking.php:369
 
 
 
618
  msgid "Provider:"
619
  msgstr "udbyder:"
620
 
621
- #: includes/class-wc-advanced-shipment-tracking.php:211
622
- #: includes/class-wc-advanced-shipment-tracking.php:407
 
623
  msgid "Tracking number:"
624
  msgstr "Tracking nummer:"
625
 
626
- #: includes/class-wc-advanced-shipment-tracking.php:217
627
- #: includes/class-wc-advanced-shipment-tracking.php:415
 
628
  msgid "Date shipped:"
629
  msgstr "Dato afsendt:"
630
 
631
- #: includes/class-wc-advanced-shipment-tracking.php:260
632
- #: templates/pip/tracking-info.php:23
633
- msgid "Click here to track your shipment"
634
- msgstr "Klik her for at spore din forsendelse"
 
 
 
 
 
 
 
 
 
 
 
 
635
 
636
  #. 1: shipping date
637
- #: includes/class-wc-advanced-shipment-tracking.php:268
638
- #: templates/pip/tracking-info.php:29
639
  #, php-format
640
  msgid "Shipped on %s"
641
  msgstr "Sendes på% s"
642
 
643
- #: includes/class-wc-advanced-shipment-tracking.php:269
644
- msgid "Delete"
645
- msgstr "Slet"
646
-
647
- #: includes/class-wc-advanced-shipment-tracking.php:365
648
  msgid "Add Tracking Info"
649
  msgstr "Tilføj sporingsinfo"
650
 
651
- #: includes/class-wc-advanced-shipment-tracking.php:370
652
  msgid "Select Provider"
653
  msgstr "Vælg Udbyder"
654
 
655
- #: includes/class-wc-advanced-shipment-tracking.php:430
656
  msgid "Save Tracking"
657
  msgstr "Gem sporing"
658
 
659
- #: includes/class-wc-advanced-shipment-tracking.php:431
660
  msgid "Preview:"
661
  msgstr "Eksempel:"
662
 
663
- #: includes/class-wc-advanced-shipment-tracking.php:431
664
- msgid "Click here to track shipment"
665
- msgstr "Klik her for at spore forsendelsen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
666
 
667
- #: includes/customizer/class-wcast-customizer.php:39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
668
  msgid "Shipment Status Emails"
669
  msgstr "Sendingsstatus-e-mails"
670
 
671
- #: includes/customizer/class-wcast-customizer.php:50
672
  msgid "Tracking info display"
673
  msgstr ""
674
  "Tracking info display\n"
675
 
676
- #: includes/customizer/class-wcast-customizer.php:51
677
- msgid "This section lets you customize the Tracking Info display design."
678
- msgstr "Dette afsnit lader dig tilpasse skærmdesignet til sporingsinfo."
 
 
 
 
 
 
 
679
 
680
- #: includes/customizer/class-wcast-customizer.php:96
681
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
682
- #: includes/views/admin_options_trackship_integration.php:120
683
- msgid "Out For Delivery"
684
- msgstr "Ud for levering"
685
 
686
- #: includes/customizer/class-wcast-customizer.php:352
687
  msgid "Select order to preview"
688
  msgstr ""
689
  "Vælg rækkefølge for at forhåndsvise\n"
690
 
691
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
692
  msgid "Your order #{order_number} is available for pickup"
693
  msgstr ""
694
  "Din ordre # {order_number} er tilgængelig til afhentning\n"
695
 
696
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
697
  msgid ""
698
  "Hi there. we thought you'd like to know that your recent order from "
699
  "{site_title} is available for pickup."
@@ -701,224 +741,184 @@ msgstr ""
701
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
702
  "er tilgængelig til afhentning.\n"
703
 
704
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
705
  msgid "Available For Pickup shipment status email"
706
  msgstr ""
707
  "Tilgængelig til afhentningsstatus for afsendelsesstatus\n"
708
 
709
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
710
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
711
- #: includes/customizer/class-wc-email-customizer.php:156
712
- #: includes/customizer/class-wc-failure-email-customizer.php:145
713
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
714
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
715
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
 
716
  msgid "This section lets you customize the Email Content."
717
  msgstr ""
718
  "Dette afsnit giver dig mulighed for at tilpasse e-mailindholdet.\n"
719
 
720
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
721
  msgid "Enable Available For Pickup shipment status email"
722
  msgstr ""
723
  "Aktivér tilgængelig for afhentningsstatus for e-mail\n"
724
 
725
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
726
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
727
- #: includes/customizer/class-wc-email-customizer.php:189
728
- #: includes/customizer/class-wc-failure-email-customizer.php:175
729
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
730
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
731
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
732
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
 
733
  msgid "Preview order"
734
  msgstr ""
735
  "Forhåndsvis rækkefølge\n"
736
 
737
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
738
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
739
- #: includes/customizer/class-wc-failure-email-customizer.php:196
740
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
741
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
742
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
743
- msgid "To"
744
- msgstr "Til"
745
-
746
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
747
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
748
- #: includes/customizer/class-wc-failure-email-customizer.php:197
749
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
750
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
751
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
752
- msgid ""
753
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
754
- "can be separated by commas."
755
- msgstr ""
756
- "Indtast e-mails her eller brug variabler som {customer_email}. Flere e-mails "
757
- "kan adskilles med kommaer."
758
-
759
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
760
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
761
- #: includes/customizer/class-wc-email-customizer.php:218
762
- #: includes/customizer/class-wc-failure-email-customizer.php:203
763
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
764
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
765
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
766
  msgid "E.g. {customer.email}, admin@example.org"
767
  msgstr "F.eks {customer.email}, admin@example.org"
768
 
769
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
770
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
771
- #: includes/customizer/class-wc-email-customizer.php:234
772
- #: includes/customizer/class-wc-failure-email-customizer.php:218
773
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
774
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
775
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
776
- msgid "Email subject"
777
- msgstr "Email emne"
778
-
779
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
780
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
781
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
782
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
783
- #: includes/customizer/class-wc-failure-email-customizer.php:219
784
- #: includes/customizer/class-wc-failure-email-customizer.php:241
785
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
786
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
787
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
788
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
789
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
790
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
791
- msgid "Available placeholders: {site_title}, {order_number}"
792
- msgstr "Tilgængelige pladsholdere: {site_title}, {order_number}"
793
-
794
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
795
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
796
- #: includes/customizer/class-wc-email-customizer.php:241
797
- #: includes/customizer/class-wc-failure-email-customizer.php:225
798
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
799
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
800
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
801
- msgid "Please enter email subject here"
802
- msgstr "Indtast venligst e-mail-emne her"
803
-
804
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
805
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
806
- #: includes/customizer/class-wc-email-customizer.php:257
807
- #: includes/customizer/class-wc-failure-email-customizer.php:240
808
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
809
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
810
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
811
- #: includes/emails/class-shipment-delivered-email.php:250
812
- msgid "Email heading"
813
- msgstr "E-mail overskrift"
814
-
815
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
816
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
817
- #: includes/customizer/class-wc-email-customizer.php:264
818
- #: includes/customizer/class-wc-failure-email-customizer.php:247
819
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
820
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
821
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
822
- msgid "Please enter email heading here"
823
- msgstr "Indtast venligst e-mail-overskrift her"
824
-
825
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
826
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
827
- #: includes/customizer/class-wc-failure-email-customizer.php:262
828
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
829
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
830
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
831
  msgid "Show tracking details"
832
  msgstr ""
833
  "Vis sporingsoplysninger\n"
834
 
835
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
836
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
837
- #: includes/customizer/class-wc-failure-email-customizer.php:278
838
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
839
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
840
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
841
  msgid "Show order details"
842
  msgstr ""
843
  "Vis bestilling detaljer\n"
844
 
845
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
846
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
847
- #: includes/customizer/class-wc-failure-email-customizer.php:294
848
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
849
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
850
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
851
  msgid "Show billing address"
852
  msgstr ""
853
  "Vis faktureringsadresse\n"
854
 
855
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
856
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
857
- #: includes/customizer/class-wc-failure-email-customizer.php:311
858
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
859
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
860
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
861
  msgid "Show shipping address"
862
  msgstr ""
863
  "Vis forsendelsesadresse\n"
864
 
865
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
866
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
867
- #: includes/customizer/class-wc-email-customizer.php:384
868
- #: includes/customizer/class-wc-failure-email-customizer.php:327
869
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
870
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
871
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
872
  msgid "Google Analytics link tracking"
873
- msgstr ""
874
-
875
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
876
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
877
- #: includes/customizer/class-wc-failure-email-customizer.php:328
878
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
879
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
880
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
881
  msgid "This will be appended to URL in the email content"
882
- msgstr ""
883
-
884
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
885
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
886
- #: includes/customizer/class-wc-email-customizer.php:280
887
- #: includes/customizer/class-wc-failure-email-customizer.php:349
888
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
889
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
890
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
 
891
  msgid "Email content"
892
  msgstr "Email indhold"
893
 
894
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
895
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
896
- #: includes/customizer/class-wc-email-customizer.php:405
897
- #: includes/customizer/class-wc-failure-email-customizer.php:369
898
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
899
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
900
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
901
- msgid "Available placeholders"
902
- msgstr ""
903
- "Tilgængelige pladsholdere\n"
904
-
905
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
906
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
907
- #: includes/customizer/class-wc-email-customizer.php:437
908
- #: includes/customizer/class-wc-failure-email-customizer.php:412
909
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
910
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
911
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
912
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
913
- msgid "Please select preview order."
914
- msgstr ""
915
- "Vælg venligst forhåndsvisningsordre.\n"
916
-
917
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
918
  msgid "Your order #{order_number} has been delivered"
919
- msgstr ""
920
 
921
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
922
  msgid ""
923
  "Hi there. we thought you'd like to know that your recent order from "
924
  "{site_title} has been Delivered."
@@ -926,95 +926,67 @@ msgstr ""
926
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
927
  "er blevet leveret.\n"
928
 
929
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
930
  msgid "Delivered shipment status email"
931
  msgstr ""
932
  "Leveret status for afsendelsesstatus\n"
933
 
934
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
935
  msgid "Enable Delivered shipment status email"
936
  msgstr ""
937
  "Aktivér leveret e-mail med leveringsstatus\n"
938
 
939
- #: includes/customizer/class-wc-email-customizer.php:122
940
- #: includes/emails/class-shipment-delivered-email.php:92
941
  msgid "Your {site_title} order is now delivered"
942
  msgstr ""
943
  "Din {site_title} ordre er nu leveret\n"
944
 
945
- #: includes/customizer/class-wc-email-customizer.php:123
946
- #: includes/emails/class-shipment-delivered-email.php:102
947
- msgid "Thanks for shopping with us"
948
- msgstr ""
949
- "Tak for at shoppe hos os\n"
950
-
951
- #: includes/customizer/class-wc-email-customizer.php:124
952
- msgid "Hi there. Your recent order on {site_title} has been delivered."
953
- msgstr ""
954
- "Hej. Din seneste ordre på {site_title} er blevet leveret.\n"
955
-
956
- #: includes/customizer/class-wc-email-customizer.php:171
957
  msgid "Enable Delivered order status email"
958
  msgstr ""
959
  "Aktivér leveret ordre status email\n"
960
 
961
- #: includes/customizer/class-wc-email-customizer.php:193
962
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
 
963
  msgid "Please select a order..."
964
  msgstr "Vælg venligst en ordre ..."
965
 
966
- #: includes/customizer/class-wc-email-customizer.php:211
967
- msgid "Receipts"
968
- msgstr ""
969
-
970
- #: includes/customizer/class-wc-email-customizer.php:212
971
- msgid ""
972
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
973
- "separated by commas."
974
- msgstr ""
975
-
976
- #: includes/customizer/class-wc-email-customizer.php:235
977
- #: includes/customizer/class-wc-email-customizer.php:258
978
- msgid "Available variables: {site_title}, {order_number}"
979
- msgstr ""
980
-
981
- #: includes/customizer/class-wc-email-customizer.php:281
982
- msgid ""
983
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
984
- "{customer_last_name}, {customer_username}, {order_number}"
985
- msgstr ""
986
-
987
- #: includes/customizer/class-wc-email-customizer.php:300
988
  msgid "Display tracking details"
989
- msgstr ""
990
 
991
- #: includes/customizer/class-wc-email-customizer.php:316
992
  msgid "Display order details"
993
- msgstr ""
994
 
995
- #: includes/customizer/class-wc-email-customizer.php:333
996
  msgid "Display Shipping Address"
997
- msgstr ""
998
 
999
- #: includes/customizer/class-wc-email-customizer.php:350
1000
  msgid "Display Billing Address"
1001
- msgstr ""
1002
 
1003
- #: includes/customizer/class-wc-email-customizer.php:367
1004
  msgid "Enable Google Analytics tracking"
1005
- msgstr ""
1006
 
1007
- #: includes/customizer/class-wc-email-customizer.php:385
1008
  msgid ""
1009
  "This will be appended to URL in the email content – e.g. "
1010
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1011
  msgstr ""
 
 
1012
 
1013
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1014
  msgid "Your order #{order_number} is Failed Attempt"
1015
  msgstr "Din ordre # {order_nummer} er mislykket"
1016
 
1017
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1018
  msgid ""
1019
  "Hi there. we thought you'd like to know that your recent order from "
1020
  "{site_title} is Failed Attempt"
@@ -1022,20 +994,20 @@ msgstr ""
1022
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1023
  "mislykket forsøg"
1024
 
1025
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1026
  msgid "Failed Attempt shipment status email"
1027
  msgstr "Mislykket Forsøg på e-mail med forsendelsesstatus"
1028
 
1029
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1030
  msgid "Enable Failed Attempt shipment status email"
1031
  msgstr "Aktivér mislykket forsøg på e-mail med status for forsendelse"
1032
 
1033
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1034
  msgid "Your order #{order_number} is in transit"
1035
  msgstr ""
1036
  "Din ordre # {order_number} er i transit\n"
1037
 
1038
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1039
  msgid ""
1040
  "Hi there. we thought you'd like to know that your recent order from "
1041
  "{site_title} is in transit"
@@ -1043,20 +1015,20 @@ msgstr ""
1043
  "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1044
  "er i transit"
1045
 
1046
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1047
  msgid "In Transit shipment status email"
1048
  msgstr ""
1049
  "I transitforsendelse status email\n"
1050
 
1051
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1052
  msgid "Enable In Transit shipment status email"
1053
  msgstr "Aktivér e-mail i transitforsendelsesstatus"
1054
 
1055
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1056
  msgid "Your order #{order_number} is out for delivery"
1057
  msgstr "Din ordre # {order_number} er ude for levering"
1058
 
1059
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1060
  msgid ""
1061
  "Hi there. we thought you'd like to know that your recent order from "
1062
  "{site_title} is out for delivery."
@@ -1064,20 +1036,20 @@ msgstr ""
1064
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1065
  "er ude for levering."
1066
 
1067
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1068
  msgid "Out For Delivery shipment status email"
1069
  msgstr ""
1070
  "Out For Delivery forsendelse status email\n"
1071
 
1072
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1073
  msgid "Enable Out For Delivery shipment status email"
1074
  msgstr "Aktivér Send e-mail til afsendelsesstatus for levering"
1075
 
1076
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1077
  msgid "Your order #{order_number} has returned to sender"
1078
  msgstr "Din ordre # {order_number} er returneret til afsenderen"
1079
 
1080
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1081
  msgid ""
1082
  "Hi there. we thought you'd like to know that your recent order from "
1083
  "{site_title} has been returned to sender."
@@ -1085,288 +1057,305 @@ msgstr ""
1085
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1086
  "er blevet returneret til afsenderen."
1087
 
1088
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1089
  msgid "Return To Sender shipment status email"
1090
  msgstr ""
1091
  "Returner til afsendelsesstatus for afsendelsesstatus\n"
1092
 
1093
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1094
  msgid "Enable Return To Sender shipment status email"
1095
  msgstr ""
1096
  "Aktivér Send e-mail til afsendelse af afsendelsesstatus\n"
1097
 
1098
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1099
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1100
- #: includes/views/html-tracking-info-design-preview.php:45
1101
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1102
  msgid "Provider"
1103
  msgstr "Fragtfirma"
1104
 
1105
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1106
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1107
- #: includes/views/html-tracking-info-design-preview.php:46
1108
- #: templates/emails/tracking-info.php:134
1109
- #: templates/myaccount/view-order.php:111
1110
  msgid "Tracking Number"
1111
  msgstr "Tracking nummer"
1112
 
1113
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1114
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1115
  msgid "Shipped Date"
1116
  msgstr ""
1117
  "Afsendt dato\n"
1118
 
1119
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1120
- msgid ""
1121
- "select from last 20 orders one order that you added tracking info in order "
1122
- "to preview and design the tracking info table."
1123
  msgstr ""
1124
- "vælg fra de sidste 20 ordrer en ordre, som du har tilføjet "
1125
- "sporingsoplysninger for at forhåndsvise og designe "
1126
- "sporingsinformatortabellen."
1127
 
1128
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
1129
  msgid "Tracking Display Position"
1130
  msgstr "Sporing af skærmposition"
1131
 
1132
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1133
  msgid "Before Order Details"
1134
  msgstr "Før ordredetaljer"
1135
 
1136
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1137
  msgid "After Order Details"
1138
  msgstr "Efter ordredetaljer"
1139
 
1140
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1141
- msgid "Main Header text"
1142
- msgstr "Hovedteksttekst"
 
1143
 
1144
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1145
- #: templates/pip/tracking-info.php:17
1146
  msgid "Tracking Information"
1147
  msgstr "Sporing Oplysninger"
1148
 
1149
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1150
  msgid "Additional text after header"
1151
  msgstr "Yderligere tekst efter overskrift"
1152
 
1153
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1154
- msgid "Table Layout"
1155
- msgstr "Tabellayout"
1156
-
1157
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1158
- msgid "Display Shipment Provider image"
1159
- msgstr "Vis leveringsbillede af forsendelse"
1160
-
1161
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1162
- msgid "Hide date"
1163
- msgstr "Skjul dato"
1164
 
1165
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
1166
- msgid "Provider Header Text"
1167
- msgstr "Texto del encabezado del proveedor"
 
1168
 
1169
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1170
- msgid "Tracking Number Header Text"
1171
- msgstr "Número de seguimiento del encabezado de texto"
 
1172
 
1173
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1174
- msgid "Shipped Date Header Text"
1175
- msgstr "Texto de encabezado de fecha de envío"
 
1176
 
1177
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
1178
- msgid "Track Label"
1179
- msgstr "Sporetiket"
 
1180
 
1181
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1182
- msgid "Track Header Text"
1183
- msgstr "Texto del encabezado de pista"
 
1184
 
1185
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
1186
- msgid "Table Design"
1187
- msgstr "Borddesign"
 
1188
 
1189
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1190
- msgid "Padding"
1191
- msgstr "polstring"
 
1192
 
1193
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1194
- msgid "Background color"
1195
- msgstr "Baggrundsfarve"
 
1196
 
1197
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1198
- msgid "Border color"
1199
  msgstr ""
1200
- "Border farve\n"
1201
 
1202
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1203
- msgid "Border size"
1204
  msgstr ""
1205
- "Border størrelse\n"
1206
 
1207
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1208
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1209
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1210
- msgid "Select"
1211
- msgstr "Vælg"
1212
 
1213
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1214
- msgid "Table text align"
1215
- msgstr "Tabeltekst justeres"
1216
 
1217
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1218
- msgid "Left"
1219
- msgstr "Venstre"
 
1220
 
1221
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1222
- msgid "Right"
1223
- msgstr "Ret"
 
1224
 
1225
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1226
- msgid "Center"
1227
- msgstr "Centrum"
 
1228
 
1229
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1230
- msgid "Table header font size"
1231
- msgstr "Tabeloverskriftstørrelse"
 
1232
 
1233
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1234
- msgid "Table header font color"
1235
- msgstr "Tabeloverskriftstypefarve"
 
1236
 
1237
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1238
- msgid "Table content font size"
1239
- msgstr "Tabelindhold skriftstørrelse"
1240
 
1241
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1242
- msgid "Table content font color"
1243
- msgstr "Tabelindhold fontfarve"
 
1244
 
1245
  #: includes/customizer/class-wc-tracking-info-customizer.php:593
1246
- msgid "Content line height"
1247
  msgstr ""
1248
- "Indholdslinjehøjde\n"
1249
 
1250
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1251
- msgid "Content font weight"
1252
  msgstr ""
1253
- "Indhold skrifttype vægt\n"
1254
-
1255
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1256
- msgid "Track Link"
1257
- msgstr "Spor link"
1258
 
1259
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1260
- msgid "Track Link Font Color"
1261
- msgstr "Spor link font farve"
1262
 
1263
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1264
- msgid "Track Link Background Color"
1265
- msgstr "Track Link Baggrundsfarve"
1266
-
1267
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1268
- msgid "Track link Border"
1269
- msgstr "Spor link grænse"
1270
 
1271
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1272
- msgid "Header Color"
1273
- msgstr "Hovedfarge"
 
1274
 
1275
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1276
- msgid "Success Status Color"
 
1277
  msgstr ""
1278
- "Succes Status Farve\n"
1279
 
1280
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1281
- msgid "Warning Status Color"
1282
  msgstr ""
1283
- "Advarselsstatus Farve\n"
1284
 
1285
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1286
- msgid "Tracking info Border Color"
1287
  msgstr ""
1288
- "Sporingsinformation Border Color\n"
1289
 
1290
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1291
- msgid "Tracking info width (px)"
1292
  msgstr ""
1293
- "Sporing info bredde (px)\n"
1294
 
1295
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1296
- msgid "Tracking details Border Color"
1297
  msgstr ""
1298
- "Sporingsoplysninger Border Color\n"
1299
 
1300
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1301
- msgid "Tracking info table shade color"
1302
  msgstr ""
1303
- "Sporing info bord skygge farve\n"
1304
 
1305
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1306
- msgid "Tracking events font color"
1307
  msgstr ""
1308
- "Sporing af begivenheder skriftfarve\n"
1309
 
1310
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1311
- msgid "Tracking info table margin top/bottom(px)"
1312
- msgstr "Sporingsoplysninger tabel margen top / bund (px)"
1313
 
1314
- #: includes/emails/class-shipment-delivered-email.php:32
1315
- msgid "Delivered order"
1316
  msgstr ""
 
1317
 
1318
- #: includes/emails/class-shipment-delivered-email.php:33
 
 
 
 
1319
  msgid ""
1320
- "Order delivered emails are sent to customers when their orders are marked "
1321
- "delivered and usually indicate that their orders have been shipped."
1322
  msgstr ""
 
 
 
1323
 
1324
- #: includes/emails/class-shipment-delivered-email.php:228
1325
- msgid "Enable this email notification"
1326
- msgstr ""
1327
 
1328
- #: includes/emails/class-shipment-delivered-email.php:232
1329
- msgid "Recipient(s)"
 
 
1330
  msgstr ""
 
 
1331
 
1332
- #. %s: WP admin email
1333
- #: includes/emails/class-shipment-delivered-email.php:235
1334
- #, php-format
1335
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1336
- msgstr ""
1337
 
1338
- #: includes/emails/class-shipment-delivered-email.php:241
1339
- msgid "Subject"
1340
  msgstr ""
 
1341
 
1342
- #. %s: list of placeholders
1343
- #: includes/emails/class-shipment-delivered-email.php:245
1344
- #: includes/emails/class-shipment-delivered-email.php:254
1345
- #, php-format
1346
- msgid "Available placeholders: %s"
1347
  msgstr ""
 
 
1348
 
1349
- #: includes/emails/class-shipment-delivered-email.php:259
1350
- msgid "Email type"
1351
  msgstr ""
 
1352
 
1353
- #: includes/emails/class-shipment-delivered-email.php:261
1354
- msgid "Choose which format of email to send."
1355
- msgstr ""
1356
 
1357
- #: includes/emails/class-shipment-delivered-email.php:269
1358
- msgid "\" >Click Here</a>"
 
 
1359
  msgstr ""
 
 
 
 
 
 
1360
 
1361
- #: includes/emails/class-shipment-delivered-email.php:270
1362
  msgid "Edit in customizer"
1363
- msgstr ""
1364
 
1365
- #: includes/views/admin_options_bulk_upload.php:5
1366
  msgid "Upload CSV"
1367
  msgstr "Upload CSV"
1368
 
1369
- #: includes/views/admin_options_bulk_upload.php:15
1370
  msgid ""
1371
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1372
  "added)"
@@ -1374,132 +1363,277 @@ msgstr ""
1374
  "Erstat sporingsinformation, hvis der eksisterer? (hvis ikke markeret, vil "
1375
  "sporingsoplysningerne blive tilføjet)"
1376
 
1377
- #: includes/views/admin_options_bulk_upload.php:25
1378
- #: includes/views/admin_options_shipping_provider.php:112
1379
- #: includes/views/admin_options_shipping_provider.php:146
1380
  msgid "Upload"
1381
  msgstr "Upload"
1382
 
1383
- #: includes/views/admin_options_bulk_upload.php:28
1384
- #: includes/views/admin_options_trackship_integration.php:27
1385
- #: includes/views/admin_options_trackship_integration.php:45
1386
  msgid "Settings Saved."
1387
  msgstr "Indstillinger gemt."
1388
 
1389
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1390
  msgid "You can download an example of the csv file:"
1391
  msgstr "Puedes descargar un ejemplo del archivo csv:"
1392
 
1393
- #: includes/views/admin_options_bulk_upload.php:35
1394
  msgid "Download sample csv file"
1395
  msgstr "Download prøve csv fil"
1396
 
1397
- #: includes/views/admin_options_bulk_upload.php:36
1398
  msgid ""
1399
  "For detailed instructions on how to upload tracking info in bulk, see our"
1400
  msgstr ""
1401
  "Para obtener instrucciones detalladas sobre cómo cargar información de "
1402
  "seguimiento de forma masiva, consulte nuestra"
1403
 
1404
- #: includes/views/admin_options_bulk_upload.php:36
1405
- msgid "documentation"
1406
- msgstr "documentación"
 
1407
 
1408
- #: includes/views/admin_options_bulk_upload.php:38
1409
- msgid "Upload Progress - "
1410
- msgstr "Upload Progress -"
 
 
 
 
 
 
 
1411
 
1412
- #: includes/views/admin_options_settings.php:7
1413
- #: includes/views/admin_options_trackship_integration.php:10
1414
- msgid "General"
1415
- msgstr "Generel"
1416
 
1417
- #: includes/views/admin_options_settings.php:10
1418
- #: includes/views/admin_options_settings.php:19
1419
- msgid "Delivered Order Status"
1420
- msgstr "Leveret ordrestatus"
1421
 
1422
- #: includes/views/admin_options_settings.php:12
1423
- msgid "Tracking Info Display Designer"
1424
  msgstr ""
1425
- "Tracking Info Display Designer\n"
1426
 
1427
- #: includes/views/admin_options_settings.php:15
1428
- #: includes/views/admin_options_trackship_integration.php:19
1429
- msgid "General Settings"
1430
- msgstr "Generelle indstillinger"
 
 
1431
 
1432
- #: includes/views/admin_options_settings.php:24
1433
- #: includes/views/admin_options_trackship_integration.php:25
1434
- #: includes/views/admin_options_trackship_integration.php:43
1435
- msgid "Save"
1436
- msgstr "Gemme"
 
1437
 
1438
- #: includes/views/admin_options_shipping_provider.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1439
  msgid "Add Custom Shipping Provider"
1440
  msgstr "Tilføj Tilpasset forsendelsesleverandør"
1441
 
1442
- #: includes/views/admin_options_shipping_provider.php:101
1443
- #: includes/views/admin_options_shipping_provider.php:135
1444
- msgid "Shiping Country"
1445
  msgstr "Forsendelsesland"
1446
 
1447
- #: includes/views/admin_options_shipping_provider.php:102
1448
- #: includes/views/admin_options_shipping_provider.php:136
1449
  msgid "Global"
1450
- msgstr ""
1451
 
1452
- #: includes/views/admin_options_shipping_provider.php:128
 
 
 
 
 
1453
  msgid "Edit Custom Shipping Provider"
1454
  msgstr "Rediger leverandør af tilpasset forsendelse"
1455
 
1456
- #: includes/views/admin_options_shipping_provider.php:163
1457
- #: includes/views/admin_options_shipping_provider.php:170
1458
- msgid "Sync Providers"
1459
- msgstr "Synkroniseringsudbydere"
1460
-
1461
- #: includes/views/admin_options_shipping_provider.php:164
1462
- msgid "Do you really want to sync all providers?"
1463
- msgstr "Vil du virkelig synkronisere alle udbydere?"
1464
 
1465
- #: includes/views/admin_options_shipping_provider.php:166
1466
  msgid "Providers Added"
1467
  msgstr "Udbydere tilføjet"
1468
 
1469
- #: includes/views/admin_options_shipping_provider.php:167
1470
  msgid "Providers Updated"
1471
  msgstr "Udbydere opdateret"
1472
 
1473
- #: includes/views/admin_options_shipping_provider.php:168
1474
  msgid "Providers Deleted"
1475
  msgstr "Udbydere er slettet"
1476
 
1477
- #: includes/views/admin_options_shipping_provider.php:171
1478
- msgid "Close"
1479
- msgstr "Tæt"
1480
-
1481
- #: includes/views/admin_options_trackship_integration.php:13
1482
- #: includes/views/admin_options_trackship_integration.php:35
1483
  msgid "Tracking Page"
1484
  msgstr "Tracking Page"
1485
 
1486
- #: includes/views/admin_options_trackship_integration.php:16
1487
  msgid "Shipment Status Notifications"
1488
- msgstr "Notifikationer om forsendelsesstatus"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1489
 
1490
- #: includes/views/admin_options_trackship_integration.php:40
1491
- msgid "Click to preview the tracking page"
1492
- msgstr "Klik for at forhåndsvise sporingssiden"
1493
 
1494
- #: includes/views/admin_options_trackship_integration.php:41
1495
- msgid "PLEASE NOTE - make sure to save your settings before preview."
1496
- msgstr "BEMÆRK - sørg for at gemme dine indstillinger før forhåndsvisning."
 
 
 
 
 
 
 
 
 
 
 
 
 
1497
 
1498
- #: includes/views/admin_options_trackship_integration.php:53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1499
  msgid "Shipment Status Notifications "
1500
  msgstr "Notifikationer om forsendelsesstatus"
1501
 
1502
- #: includes/views/admin_options_trackship_integration.php:81
1503
  msgid ""
1504
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1505
  "the way."
@@ -1507,23 +1641,23 @@ msgstr ""
1507
  "Luftfartsselskab har accepteret eller hentet forsendelse fra afsender. "
1508
  "Forsendelsen er på vej."
1509
 
1510
- #: includes/views/admin_options_trackship_integration.php:95
1511
  msgid "Shipment is returned to sender"
1512
  msgstr "Forsendelse returneres til afsenderen"
1513
 
1514
- #: includes/views/admin_options_trackship_integration.php:109
1515
  msgid "The shipment is ready to pickup."
1516
  msgstr "Forsendelsen er klar til afhentning."
1517
 
1518
- #: includes/views/admin_options_trackship_integration.php:122
1519
  msgid "Carrier is about to deliver the shipment"
1520
  msgstr "Carrier er ved at levere forsendelsen"
1521
 
1522
- #: includes/views/admin_options_trackship_integration.php:136
1523
  msgid "The shipment was delivered successfully"
1524
  msgstr "Forsendelsen blev leveret med succes"
1525
 
1526
- #: includes/views/admin_options_trackship_integration.php:137
1527
  msgid ""
1528
  "You already have delivered email enabled, to enable this email you'll need "
1529
  "to disable the order status delivered in settings."
@@ -1531,7 +1665,7 @@ msgstr ""
1531
  "Du har allerede leveret e-mail aktiveret, for at aktivere denne e-mail skal "
1532
  "du deaktivere ordrestatus leveret i indstillinger."
1533
 
1534
- #: includes/views/admin_options_trackship_integration.php:151
1535
  msgid ""
1536
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1537
  "will try to deliver the package again."
@@ -1539,43 +1673,43 @@ msgstr ""
1539
  "Luftfartsselskab forsøgte at levere, men mislykkedes, og efterlader normalt "
1540
  "en meddelelse og vil forsøge at levere pakken igen."
1541
 
1542
- #: includes/views/html-tracking-info-design-preview.php:60
1543
- msgid "USPS"
1544
- msgstr "USPS"
1545
-
1546
- #: includes/views/zorem_admin_sidebar.php:8
1547
- msgid "Leave your review"
1548
- msgstr ""
1549
-
1550
- #: includes/views/zorem_admin_ts_sidebar.php:5
1551
- msgid "Dashboard"
1552
- msgstr ""
1553
-
1554
- #: includes/views/zorem_admin_ts_sidebar.php:7
1555
- msgid "Documentation"
1556
- msgstr ""
1557
-
1558
- #: templates/emails/tracking-info.php:138
1559
- msgid "Status"
1560
- msgstr "status"
1561
-
1562
- #: templates/emails/wcast-email-order-details.php:26
1563
- msgid "Order Details"
1564
- msgstr ""
1565
- "Ordre detaljer\n"
1566
 
1567
  #. %s: Order ID.
1568
- #: templates/emails/wcast-email-order-details.php:42
1569
  #, php-format
1570
  msgid "Order number: %s"
1571
  msgstr ""
1572
  "Ordrenummer:% s\n"
1573
 
1574
- #: templates/emails/wcast-email-order-details.php:49
1575
- msgid "Order date:"
 
 
 
 
 
 
 
 
 
 
 
 
1576
  msgstr ""
1577
- "Bestillingsdato:\n"
1578
 
1579
- #: templates/emails/plain/tracking-info.php:18
1580
- msgid "TRACKING INFORMATION"
1581
- msgstr "TRACKING INFORMATION"
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 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"
702
  msgstr "Sendingsstatus-e-mails"
703
 
704
+ #: includes/customizer/class-wcast-customizer.php:52
705
  msgid "Tracking info display"
706
  msgstr ""
707
  "Tracking info display\n"
708
 
709
+ #: includes/customizer/class-wcast-customizer.php:60
710
+ #: includes/customizer/class-wc-email-customizer.php:163
711
+ msgid "Delivered order status email"
712
+ msgstr ""
713
+ "Leveret ordre status email\n"
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"
730
 
731
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
732
  msgid "Your order #{order_number} is available for pickup"
733
  msgstr ""
734
  "Din ordre # {order_number} er tilgængelig til afhentning\n"
735
 
736
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
737
  msgid ""
738
  "Hi there. we thought you'd like to know that your recent order from "
739
  "{site_title} is available for pickup."
741
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
742
  "er tilgængelig til afhentning.\n"
743
 
744
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
745
  msgid "Available For Pickup shipment status email"
746
  msgstr ""
747
  "Tilgængelig til afhentningsstatus for afsendelsesstatus\n"
748
 
749
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
750
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
751
+ #: includes/customizer/class-wc-email-customizer.php:164
752
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
753
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
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"
761
 
762
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
763
  msgid "Enable Available For Pickup shipment status email"
764
  msgstr ""
765
  "Aktivér tilgængelig for afhentningsstatus for e-mail\n"
766
 
767
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
768
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
769
+ #: includes/customizer/class-wc-email-customizer.php:197
770
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
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"
780
 
781
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
782
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
783
+ #: includes/customizer/class-wc-email-customizer.php:226
784
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
785
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
786
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
787
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
829
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
830
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
831
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
832
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
833
  msgid "Show tracking details"
834
  msgstr ""
835
  "Vis sporingsoplysninger\n"
836
 
837
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
838
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
839
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
840
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
841
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
842
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
843
  msgid "Show order details"
844
  msgstr ""
845
  "Vis bestilling detaljer\n"
846
 
847
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
848
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
849
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
850
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
851
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
852
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
853
  msgid "Show billing address"
854
  msgstr ""
855
  "Vis faktureringsadresse\n"
856
 
857
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
858
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
859
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
860
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
861
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
862
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
863
  msgid "Show shipping address"
864
  msgstr ""
865
  "Vis forsendelsesadresse\n"
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
888
+ #: includes/customizer/class-wc-email-customizer.php:288
889
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
890
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
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
922
  msgid ""
923
  "Hi there. we thought you'd like to know that your recent order from "
924
  "{site_title} has been Delivered."
926
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
927
  "er blevet leveret.\n"
928
 
929
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
930
  msgid "Delivered shipment status email"
931
  msgstr ""
932
  "Leveret status for afsendelsesstatus\n"
933
 
934
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
935
  msgid "Enable Delivered shipment status email"
936
  msgstr ""
937
  "Aktivér leveret e-mail med leveringsstatus\n"
938
 
939
+ #: includes/customizer/class-wc-email-customizer.php:130
940
+ #: includes/emails/class-shipment-delivered-email.php:94
941
  msgid "Your {site_title} order is now delivered"
942
  msgstr ""
943
  "Din {site_title} ordre er nu leveret\n"
944
 
945
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
946
  msgid "Enable Delivered order status email"
947
  msgstr ""
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"
987
  msgstr "Din ordre # {order_nummer} er mislykket"
988
 
989
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
990
  msgid ""
991
  "Hi there. we thought you'd like to know that your recent order from "
992
  "{site_title} is Failed Attempt"
994
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
995
  "mislykket forsøg"
996
 
997
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
998
  msgid "Failed Attempt shipment status email"
999
  msgstr "Mislykket Forsøg på e-mail med forsendelsesstatus"
1000
 
1001
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
1002
  msgid "Enable Failed Attempt shipment status email"
1003
  msgstr "Aktivér mislykket forsøg på e-mail med status for forsendelse"
1004
 
1005
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1006
  msgid "Your order #{order_number} is in transit"
1007
  msgstr ""
1008
  "Din ordre # {order_number} er i transit\n"
1009
 
1010
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1011
  msgid ""
1012
  "Hi there. we thought you'd like to know that your recent order from "
1013
  "{site_title} is in transit"
1015
  "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1016
  "er i transit"
1017
 
1018
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
1019
  msgid "In Transit shipment status email"
1020
  msgstr ""
1021
  "I transitforsendelse status email\n"
1022
 
1023
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
1024
  msgid "Enable In Transit shipment status email"
1025
  msgstr "Aktivér e-mail i transitforsendelsesstatus"
1026
 
1027
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1028
  msgid "Your order #{order_number} is out for delivery"
1029
  msgstr "Din ordre # {order_number} er ude for levering"
1030
 
1031
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1032
  msgid ""
1033
  "Hi there. we thought you'd like to know that your recent order from "
1034
  "{site_title} is out for delivery."
1036
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1037
  "er ude for levering."
1038
 
1039
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
1040
  msgid "Out For Delivery shipment status email"
1041
  msgstr ""
1042
  "Out For Delivery forsendelse status email\n"
1043
 
1044
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
1045
  msgid "Enable Out For Delivery shipment status email"
1046
  msgstr "Aktivér Send e-mail til afsendelsesstatus for levering"
1047
 
1048
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1049
  msgid "Your order #{order_number} has returned to sender"
1050
  msgstr "Din ordre # {order_number} er returneret til afsenderen"
1051
 
1052
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1053
  msgid ""
1054
  "Hi there. we thought you'd like to know that your recent order from "
1055
  "{site_title} has been returned to sender."
1057
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1058
  "er blevet returneret til afsenderen."
1059
 
1060
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
1061
  msgid "Return To Sender shipment status email"
1062
  msgstr ""
1063
  "Returner til afsendelsesstatus for afsendelsesstatus\n"
1064
 
1065
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
1066
  msgid "Enable Return To Sender shipment status email"
1067
  msgstr ""
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"
1356
  msgstr "Upload CSV"
1357
 
1358
+ #: includes/views/admin_options_bulk_upload.php:20
1359
  msgid ""
1360
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1361
  "added)"
1363
  "Erstat sporingsinformation, hvis der eksisterer? (hvis ikke markeret, vil "
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
 
1372
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
1373
  msgid "Settings Saved."
1374
  msgstr "Indstillinger gemt."
1375
 
1376
+ #: includes/views/admin_options_bulk_upload.php:41
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
1684
  #, php-format
1685
  msgid "Order number: %s"
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 ""
1708
+ "Add shipment tracking information to your WooCommerce orders and provide "
1709
+ "customers with an easy way to track their orders. Shipment tracking Info "
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-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:45+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: German\n"
9
  "Language: de_DE\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,9 +12,9 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,507 +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:390
27
- #: includes/views/admin_options_settings.php:21
28
  #, php-format
29
- msgid ""
30
- "<strong>PLEASE NOTE</strong> - If you use the custom order status "
31
- "\"Delivered\", when you deactivate the plugin, you must register this order "
32
- "status in function.php in order to see these orders in the orders admin. You "
33
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
34
- "php here or you can manually change all your \"delivered\" order to "
35
- "\"completed\" before deactivating the plugin."
36
  msgstr ""
 
37
 
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
40
- msgid "Shipped"
41
- msgstr "Versandt"
42
-
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
44
- #, php-format
45
- msgid "Shipped <span class=\"count\">(%s)</span>"
46
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
47
- msgstr[0] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
48
- msgstr[1] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
49
-
50
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
51
- msgid "Change status to shipped"
52
- msgstr "Status in versandt ändern"
53
-
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
59
- #: includes/customizer/class-wcast-customizer.php:104
60
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
61
- #: includes/views/admin_options_trackship_integration.php:134
62
- msgid "Delivered"
63
- msgstr "Geliefert"
64
-
65
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
66
- #, php-format
67
- msgid "Delivered <span class=\"count\">(%s)</span>"
68
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
69
- msgstr[0] "Geliefert <span class = \"count\"> (% s) </ span>"
70
- msgstr[1] "Geliefert <span class = \"count\"> (% s) </ span>"
71
-
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
- msgid "Updated Tracking"
75
- msgstr "Aktualisiertes Tracking"
76
-
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
  #, php-format
79
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Tracking <span class = \"count\"> (% s) </ span> aktualisiert"
82
- msgstr[1] "Tracking <span class = \"count\"> (% s) </ span> aktualisiert"
83
-
84
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
- msgid "Change status to delivered"
86
- msgstr "Status in Auslieferung ändern"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
 
 
 
 
89
  msgid "Shipment status"
90
  msgstr "Versandstatus"
91
 
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
 
93
  msgid ""
94
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
  "100 orders."
96
  msgstr ""
 
 
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
- msgid "Order"
100
- msgstr "Auftrag"
101
-
102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
103
- msgid "Item"
104
- msgstr "Artikel"
105
-
106
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
107
- msgid "Line Item"
108
- msgstr "Werbebuchung"
109
-
110
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
111
- msgid "Class"
112
- msgstr "Klasse"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
115
- msgid "Delete the selected rates?"
116
- msgstr "Die ausgewählten Tarife löschen?"
117
-
118
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
119
- msgid "Duplicate the selected rates?"
120
- msgstr "Die ausgewählten Tarife duplizieren?"
121
-
122
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
123
- msgid "Really want to bulk change all provider status?"
124
- msgstr "Wollen Sie wirklich alle Anbieterstatus ändern?"
125
-
126
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
127
- #: includes/views/admin_options_settings.php:26
128
  msgid "Data saved successfully."
129
  msgstr "Daten erfolgreich gespeichert."
130
 
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
 
132
  msgid "Really delete this entry? This will not be undo."
133
  msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
134
 
135
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
 
136
  msgid "You can upload only csv file."
137
  msgstr "Sie können nur eine CSV-Datei hochladen."
138
 
139
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
 
140
  msgid "This browser does not support HTML5."
141
  msgstr "Dieser Browser unterstützt kein HTML5."
142
 
143
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
 
144
  msgid "Please upload a valid CSV file."
145
  msgstr "Laden Sie eine gültige CSV-Datei hoch."
146
 
147
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
148
  msgid "Shipping Providers"
149
- msgstr "Versandanbieter"
150
-
151
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
152
- msgid "Settings"
153
- msgstr "die Einstellungen"
154
 
155
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
156
  msgid "Bulk Upload"
157
- msgstr "Bulk-Upload"
 
158
 
159
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
160
- msgid "TrackShip"
161
  msgstr ""
 
 
 
 
 
 
 
 
162
 
163
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  msgid "Connected"
165
  msgstr ""
166
  "In Verbindung gebracht\n"
167
 
168
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
169
- msgid ""
170
- "Auto-track all your shipments, get real-time shipment tracking updates "
171
- "without leaving your stores admin."
172
  msgstr ""
173
- "Verfolgen Sie alle Ihre Sendungen automatisch und erhalten Sie "
174
- "Sendungsverfolgungsaktualisierungen in Echtzeit, ohne Ihren "
175
- "Händleradministrator zu verlassen.\n"
176
 
177
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
 
 
 
 
 
 
 
 
 
178
  #, php-format
179
- msgid ""
180
- "You must have account and connect your store to %s in order to activate "
181
- "these advanced features."
182
  msgstr ""
183
- "Sie müssen über ein Konto verfügen und Ihr Geschäft mit% s verbinden, um "
184
- "diese erweiterten Funktionen zu aktivieren.\n"
185
 
186
  #: includes/class-wc-advanced-shipment-tracking-admin.php:892
187
  #, php-format
188
- msgid "50 free Trackers for every new account! Get your %s account now>>"
189
  msgstr ""
190
- "50 kostenlose Tracker für jeden neuen Account! Hol dir jetzt dein% s-Konto >>"
191
- "\n"
192
-
193
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
194
- msgid "TrackShip Connection Status"
195
- msgstr "TrackShip-Verbindungsstatus"
196
 
197
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
198
- #: includes/emails/class-shipment-delivered-email.php:226
199
  msgid "Enable/Disable"
200
- msgstr "Aktivieren deaktivieren"
 
201
 
202
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
203
  msgid "Set order status Delivered when order is delivered"
204
  msgstr ""
205
  "Setzt den Bestellstatus Ausgeliefert, wenn die Bestellung ausgeliefert wird\n"
206
 
207
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
208
- #, php-format
209
- msgid ""
210
- "You have %s %s orders that you can track with TrackShip, you can send these "
211
- "shipments to TrackShip in Bulk."
212
- msgstr ""
213
-
214
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
215
- msgid "Get Shipment Status"
216
- msgstr ""
217
-
218
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
219
  msgid ""
220
- "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
221
  "for the tracking page to work."
222
  msgstr ""
 
 
223
 
224
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
 
225
  msgid "Select Tracking Page"
226
  msgstr ""
227
  "Wählen Sie Tracking-Seite\n"
228
 
229
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
230
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
231
- msgid "Remove Trackship branding from tracking page"
232
- msgstr ""
233
- "Entfernen Sie das Trackship-Branding von der Tracking-Seite\n"
234
-
235
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
236
  msgid "Use the tracking page in the customer email/my account tracking link"
237
  msgstr ""
238
  "Verwenden Sie die Tracking-Seite in der Kunden-E-Mail / meinem Konto-"
239
  "Tracking-Link\n"
240
 
241
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
 
 
 
 
 
 
242
  msgid "Select primary color for tracking page"
243
  msgstr ""
244
  "Wählen Sie die Primärfarbe für die Verfolgungsseite aus\n"
245
 
246
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
247
  msgid "Select content border color for tracking page"
248
  msgstr ""
249
- "Wählen Sie die Farbe des Inhaltsrahmens für die Nachverfolgungsseite aus\n"
250
 
251
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
252
- msgid ""
253
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
254
- "state"
255
  msgstr ""
 
256
 
257
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
258
- msgid ""
259
- "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
260
- "will be selected by default when adding tracking info to orders."
261
  msgstr ""
 
262
 
263
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
264
- msgid "Completed"
265
- msgstr "Abgeschlossen"
266
-
267
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
268
- msgid ""
269
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
270
- "state"
271
  msgstr ""
 
272
 
273
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
274
- msgid ""
275
- "This means that the 'mark as <span class='shipped_label'>completed</span>' "
276
- "will be selected by default when adding tracking info to orders."
277
  msgstr ""
 
278
 
279
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
280
- msgid "Rename the “Completed” Order status to “Shipped”"
281
  msgstr ""
282
- "Benennen Sie den Status der abgeschlossenen Bestellung in \"Versendet\" um."
283
 
284
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
285
- msgid "On which customer order status email to include tracking info?"
286
  msgstr ""
287
- "In welcher E-Mail mit dem Bestellstatus des Kunden werden Informationen zur "
288
- "Sendungsverfolgung angezeigt?"
289
-
290
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
292
- msgid "Cancelled"
293
- msgstr "Abgebrochen"
294
-
295
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
296
- msgid "Customer Invoice"
297
- msgstr "Kundenrechnung"
298
 
299
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
300
- msgid "Refunded"
301
- msgstr "Erstattet"
302
-
303
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
304
- msgid "Processing"
305
- msgstr "wird bearbeitet"
306
-
307
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
308
- msgid "Failed"
309
- msgstr "Gescheitert"
310
-
311
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
312
- msgid "Show tracking info in Invoice"
313
- msgstr "Tracking-Informationen in Rechnung anzeigen"
314
-
315
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
316
- msgid "Show tracking info in Packing Slip"
317
- msgstr "Tracking-Informationen im Packzettel anzeigen"
318
 
319
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
320
- msgid "Enable a New Custom order status - “Delivered”"
321
  msgstr ""
322
- "Aktivieren Sie einen neuen benutzerdefinierten Auftragsstatus - \"Geliefert\""
323
 
324
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
325
  msgid ""
326
- "if you enable the delivered item, you will have the option to send delivered "
327
- "email notifications."
328
  msgstr ""
329
- "Wenn Sie den gelieferten Artikel aktivieren, haben Sie die Möglichkeit, "
330
- "Benachrichtigungen per E-Mail zu senden."
 
331
 
332
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
333
- msgid "Delivered Status Label color"
334
- msgstr "Farbe des gelieferten Statuslabels"
335
-
336
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
337
- #: includes/customizer/class-wcast-customizer.php:58
338
- #: includes/customizer/class-wc-email-customizer.php:155
339
- msgid "Delivered order status email"
340
  msgstr ""
341
- "Bestellstatus per E-Mail zugestellt\n"
342
 
343
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
344
- #: includes/views/admin_options_trackship_integration.php:80
345
- #: includes/views/admin_options_trackship_integration.php:94
346
- #: includes/views/admin_options_trackship_integration.php:108
347
- #: includes/views/admin_options_trackship_integration.php:121
348
- #: includes/views/admin_options_trackship_integration.php:135
349
- #: includes/views/admin_options_trackship_integration.php:150
350
- msgid "Edit"
351
- msgstr "Bearbeiten"
352
-
353
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
354
  msgid ""
355
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
356
- "plugin"
357
  msgstr ""
358
- "Ändere die \"Ausgelieferten\" Bestellungen in \"Abgeschlossen\", wenn du das "
359
- "Plugin deaktivierst"
360
 
361
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
362
- msgid "No, I will use the snippet"
363
- msgstr "Nein, ich werde das Snippet verwenden"
 
364
 
365
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
366
- msgid "Yes, change all Delivered orders to Completed"
367
- msgstr "Ja, ändern Sie alle gelieferten Bestellungen in Abgeschlossen"
 
 
368
 
369
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
370
- #, php-format
371
- msgid ""
372
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
373
- "deactivate the plugin, you must register this order status in function.php "
374
- "in order to see these orders in the orders admin. You can find the snippet "
375
- "to use in functions.php %s or we can set to change all your \"delivered\" "
376
- "order to \"completed\"."
377
- msgstr ""
378
- "BITTE BEACHTEN SIE - Wenn Sie den benutzerdefinierten Bestellstatus "
379
- "\"Geliefert\" verwenden und das Plugin deaktivieren, müssen Sie diesen "
380
- "Bestellstatus in function.php registrieren, um diese Bestellungen im "
381
- "Bestelladministrator anzuzeigen. Sie finden das zu verwendende Snippet in "
382
- "functions.php% s, oder wir können festlegen, dass alle Ihre \"gelieferten\" "
383
- "Bestellungen auf \"erledigt\" geändert werden."
384
-
385
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
386
- msgid "Get shipment status"
387
  msgstr ""
388
- "Sendungsstatus abrufen\n"
389
 
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
391
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
392
- #: includes/customizer/class-wcast-customizer.php:74
393
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
394
- #: includes/views/admin_options_trackship_integration.php:79
 
 
 
 
 
395
  msgid "In Transit"
396
  msgstr ""
397
  "Im Transit\n"
398
 
399
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
400
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
401
- #: includes/customizer/class-wcast-customizer.php:66
402
  msgid "Pre Transit"
403
  msgstr ""
404
  "Pre Transit\n"
405
 
406
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
407
- msgid "Out for delivery"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
408
  msgstr ""
409
- "raus zur Lieferung\n"
410
 
411
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
412
- #: includes/customizer/class-wcast-customizer.php:89
413
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
414
- #: includes/views/admin_options_trackship_integration.php:107
 
415
  msgid "Available For Pickup"
416
  msgstr ""
417
  "Zur Abholung bereit\n"
418
 
419
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
420
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
421
- #: includes/customizer/class-wcast-customizer.php:82
422
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
423
- #: includes/views/admin_options_trackship_integration.php:93
424
  msgid "Return To Sender"
425
  msgstr ""
426
  "Zurück an den Absender\n"
427
 
428
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
429
- msgid "Delivery Failure"
430
- msgstr ""
431
- "Zustellungsfehler\n"
 
 
 
432
 
433
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
434
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
435
  msgid "Unknown"
436
- msgstr ""
437
- "unbekannte\n"
438
 
439
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
440
  msgid "Pending TrackShip"
441
  msgstr ""
442
  "Ausstehendes TrackShip\n"
443
 
444
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
445
- msgid "Invalid Tracking"
 
446
  msgstr ""
447
- "Ungültiges Tracking\n"
448
 
449
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
450
- msgid "Carrier unsupported"
 
451
  msgstr ""
452
  "Träger nicht unterstützt\n"
453
 
454
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
455
  msgid "Invalid User Key"
456
  msgstr ""
 
457
 
458
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
459
- msgid "Resend delivered order notification"
460
- msgstr "Gelieferte Bestellbenachrichtigung erneut senden"
 
461
 
462
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
463
  msgid "Shipped Order"
464
  msgstr "Versandauftrag"
465
 
466
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
467
  msgid "Mark order as delivered"
468
- msgstr "Bestellung als geliefert markieren"
 
469
 
470
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
471
  msgid "Add Tracking"
472
  msgstr ""
 
473
 
474
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
475
  msgid "Change order status to"
476
- msgstr "Ändern Sie den Auftragsstatus in"
 
477
 
478
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
479
- #: includes/views/admin_options_shipping_provider.php:88
480
  #, php-format
481
  msgid "You don't have any %s shipping providers."
482
  msgstr "Sie haben keine% s Versandanbieter."
483
 
484
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
485
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
486
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
487
- msgid "view details"
488
- msgstr "view details"
489
-
490
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
491
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
492
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
493
- msgid "hide details"
494
- msgstr "Details ausblenden"
495
-
496
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
497
- msgid "Available for Pickup"
498
- msgstr ""
499
-
500
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
501
- msgid "Out for Delivery"
502
- msgstr ""
503
-
504
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
505
- #: includes/customizer/class-wcast-customizer.php:112
506
- #: includes/customizer/class-wc-failure-email-customizer.php:113
507
- #: includes/views/admin_options_trackship_integration.php:149
508
- msgid "Failed Attempt"
509
- msgstr "Misslungener Versuch"
510
-
511
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
512
- msgid "Carrier Unsupported"
513
  msgstr ""
 
514
 
515
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
516
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
517
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
518
- msgid "Invalid Tracking Number"
519
- msgstr ""
520
- "Ungültige Tracking-Nummer\n"
521
-
522
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
523
  msgid "Filter by shipment status"
524
  msgstr ""
 
525
 
526
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
527
  msgid ""
528
  "To track your order please enter your Order ID in the box below and press "
529
  "the \"Track\" button. This was given to you on your receipt and in the "
@@ -534,179 +426,386 @@ msgstr ""
534
  "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
535
  "sollen, mitgeteilt.\n"
536
 
537
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
538
- msgid "Order ID"
539
- msgstr "Auftragsnummer"
540
-
541
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
542
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
543
  msgid "Found in your order confirmation email."
544
  msgstr ""
545
  "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
546
 
547
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
548
  msgid "Order Email"
549
  msgstr ""
550
  "E-Mail bestellen\n"
551
 
552
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
553
- #: includes/class-wc-advanced-shipment-tracking.php:260
554
- #: includes/class-wc-advanced-shipment-tracking.php:637
555
- #: includes/class-wc-advanced-shipment-tracking.php:763
556
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
557
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
558
- #: includes/views/html-tracking-info-design-preview.php:69
559
- #: templates/emails/tracking-info.php:152
560
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
561
  msgid "Track"
562
- msgstr "Track"
563
 
564
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
565
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
 
 
566
  #, php-format
567
  msgid "Shipment - %s (out of %s)"
568
  msgstr ""
569
  "Versand -% s (von% s)\n"
570
 
571
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
572
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
573
- msgid "Order: "
574
- msgstr "Auftrag:"
575
 
576
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
577
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
578
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
579
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
580
- msgid "Estimated Delivery Date: "
581
- msgstr "Voraussichtlicher Liefertermin:"
 
 
 
582
 
583
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
584
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
585
  msgid "Tracking Details"
586
  msgstr "Verfolgungsdetails"
587
 
588
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
589
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
 
 
590
  msgid "view more"
591
  msgstr "mehr sehen"
592
 
593
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
594
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
 
 
595
  msgid "view less"
596
  msgstr "weniger anzeigen"
597
 
598
- #. esc_html__( '%1$s %2$s.' ),
599
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
600
- #, php-format
601
- msgid ""
602
- "We added many improvements to %1$s, please help and give us a review :) "
603
- "Thanks!"
604
- msgstr ""
605
- "Wir haben% 1 $ s viele Verbesserungen hinzugefügt. Bitte helfen Sie uns und "
606
- "geben Sie uns eine Bewertung :) Danke!"
607
-
608
- #: includes/class-wc-advanced-shipment-tracking.php:93
609
- #: includes/class-wc-advanced-shipment-tracking.php:244
610
- #: includes/customizer/class-wcast-customizer.php:30
611
  msgid "Shipment Tracking"
612
  msgstr "Sendungsverfolgung"
613
 
614
- #: includes/class-wc-advanced-shipment-tracking.php:179
615
- #: includes/class-wc-advanced-shipment-tracking.php:351
616
- msgid "Change order to Shipped?"
617
- msgstr ""
 
618
 
619
- #: includes/class-wc-advanced-shipment-tracking.php:181
620
- #: includes/class-wc-advanced-shipment-tracking.php:353
621
- msgid "Change order to Completed?"
622
- msgstr ""
 
 
 
 
 
 
623
 
624
- #: includes/class-wc-advanced-shipment-tracking.php:186
 
625
  msgid "Add Tracking Number"
626
- msgstr ""
627
 
628
- #: includes/class-wc-advanced-shipment-tracking.php:191
629
- #: includes/class-wc-advanced-shipment-tracking.php:369
 
 
 
630
  msgid "Provider:"
631
  msgstr "Anbieter:"
632
 
633
- #: includes/class-wc-advanced-shipment-tracking.php:211
634
- #: includes/class-wc-advanced-shipment-tracking.php:407
 
635
  msgid "Tracking number:"
636
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
637
 
638
- #: includes/class-wc-advanced-shipment-tracking.php:217
639
- #: includes/class-wc-advanced-shipment-tracking.php:415
 
640
  msgid "Date shipped:"
641
  msgstr "Lieferdatum:"
642
 
643
- #: includes/class-wc-advanced-shipment-tracking.php:260
644
- #: templates/pip/tracking-info.php:23
645
- msgid "Click here to track your shipment"
646
- msgstr "Klicken Sie hier, um Ihre Sendung zu verfolgen"
 
 
 
 
 
 
 
 
 
 
 
 
 
647
 
648
  #. 1: shipping date
649
- #: includes/class-wc-advanced-shipment-tracking.php:268
650
- #: templates/pip/tracking-info.php:29
651
  #, php-format
652
  msgid "Shipped on %s"
653
  msgstr "Versand auf% s"
654
 
655
- #: includes/class-wc-advanced-shipment-tracking.php:269
656
- msgid "Delete"
657
- msgstr "Löschen"
658
-
659
- #: includes/class-wc-advanced-shipment-tracking.php:365
660
  msgid "Add Tracking Info"
661
  msgstr "Tracking-Info hinzufügen"
662
 
663
- #: includes/class-wc-advanced-shipment-tracking.php:370
664
  msgid "Select Provider"
665
  msgstr "Wählen Sie Provider aus"
666
 
667
- #: includes/class-wc-advanced-shipment-tracking.php:430
668
  msgid "Save Tracking"
669
  msgstr "Tracking speichern"
670
 
671
- #: includes/class-wc-advanced-shipment-tracking.php:431
672
  msgid "Preview:"
673
  msgstr "Vorschau:"
674
 
675
- #: includes/class-wc-advanced-shipment-tracking.php:431
676
- msgid "Click here to track shipment"
677
- msgstr "Klicken Sie hier, um den Versand zu verfolgen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678
 
679
- #: includes/customizer/class-wcast-customizer.php:39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
680
  msgid "Shipment Status Emails"
681
  msgstr "Sendungsstatus-E-Mails"
682
 
683
- #: includes/customizer/class-wcast-customizer.php:50
684
  msgid "Tracking info display"
685
  msgstr ""
686
  "Tracking-Info-Anzeige\n"
687
 
688
- #: includes/customizer/class-wcast-customizer.php:51
689
- msgid "This section lets you customize the Tracking Info display design."
 
690
  msgstr ""
691
- "In diesem Abschnitt können Sie das Anzeigedesign der Tracking-Informationen "
692
- "anpassen."
693
 
694
- #: includes/customizer/class-wcast-customizer.php:96
695
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
696
- #: includes/views/admin_options_trackship_integration.php:120
697
- msgid "Out For Delivery"
698
  msgstr ""
699
- "Raus zur Lieferung\n"
700
 
701
- #: includes/customizer/class-wcast-customizer.php:352
 
 
 
 
 
 
702
  msgid "Select order to preview"
703
  msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
704
 
705
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
706
  msgid "Your order #{order_number} is available for pickup"
707
  msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
708
 
709
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
710
  msgid ""
711
  "Hi there. we thought you'd like to know that your recent order from "
712
  "{site_title} is available for pickup."
@@ -714,219 +813,183 @@ msgstr ""
714
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
715
  "{site_title} zur Abholung verfügbar ist."
716
 
717
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
718
  msgid "Available For Pickup shipment status email"
719
  msgstr "Verfügbar für Abholung Versandstatus E-Mail"
720
 
721
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
722
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
723
- #: includes/customizer/class-wc-email-customizer.php:156
724
- #: includes/customizer/class-wc-failure-email-customizer.php:145
725
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
726
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
727
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
 
728
  msgid "This section lets you customize the Email Content."
729
  msgstr "In diesem Abschnitt können Sie den E-Mail-Inhalt anpassen."
730
 
731
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
732
  msgid "Enable Available For Pickup shipment status email"
733
  msgstr "Versandstatus-E-Mail für Abholung aktivieren"
734
 
735
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
736
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
737
- #: includes/customizer/class-wc-email-customizer.php:189
738
- #: includes/customizer/class-wc-failure-email-customizer.php:175
739
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
740
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
741
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
742
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
 
743
  msgid "Preview order"
744
  msgstr "Vorschau der Bestellung"
745
 
746
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
747
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
748
- #: includes/customizer/class-wc-failure-email-customizer.php:196
749
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
750
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
751
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
752
- msgid "To"
753
- msgstr "Zu"
754
-
755
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
756
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
757
- #: includes/customizer/class-wc-failure-email-customizer.php:197
758
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
759
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
760
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
761
- msgid ""
762
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
763
- "can be separated by commas."
764
- msgstr ""
765
- "Geben Sie hier E-Mails ein oder verwenden Sie Variablen wie {customer_email}."
766
- " Mehrere E-Mails können durch Kommas getrennt werden."
767
-
768
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
769
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
770
- #: includes/customizer/class-wc-email-customizer.php:218
771
- #: includes/customizer/class-wc-failure-email-customizer.php:203
772
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
773
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
774
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
775
  msgid "E.g. {customer.email}, admin@example.org"
776
  msgstr "Z.B. {customer.email}, admin@example.org"
777
 
778
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
779
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
780
- #: includes/customizer/class-wc-email-customizer.php:234
781
- #: includes/customizer/class-wc-failure-email-customizer.php:218
782
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
783
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
784
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
785
- msgid "Email subject"
786
- msgstr "E-Mail Betreff"
787
-
788
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
789
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
790
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
791
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
792
- #: includes/customizer/class-wc-failure-email-customizer.php:219
793
- #: includes/customizer/class-wc-failure-email-customizer.php:241
794
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
795
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
796
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
797
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
798
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
799
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
800
- msgid "Available placeholders: {site_title}, {order_number}"
801
- msgstr "Verfügbare Platzhalter: {site_title}, {order_number}"
802
-
803
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
804
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
805
- #: includes/customizer/class-wc-email-customizer.php:241
806
- #: includes/customizer/class-wc-failure-email-customizer.php:225
807
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
808
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
809
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
810
- msgid "Please enter email subject here"
811
- msgstr "Bitte geben Sie hier den E-Mail-Betreff ein"
812
-
813
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
814
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
815
- #: includes/customizer/class-wc-email-customizer.php:257
816
- #: includes/customizer/class-wc-failure-email-customizer.php:240
817
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
818
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
819
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
820
- #: includes/emails/class-shipment-delivered-email.php:250
821
- msgid "Email heading"
822
- msgstr "E-Mail-Überschrift"
823
-
824
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
825
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
826
- #: includes/customizer/class-wc-email-customizer.php:264
827
- #: includes/customizer/class-wc-failure-email-customizer.php:247
828
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
829
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
830
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
831
- msgid "Please enter email heading here"
832
- msgstr "Bitte geben Sie hier die E-Mail-Überschrift ein"
833
-
834
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
835
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
836
- #: includes/customizer/class-wc-failure-email-customizer.php:262
837
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
838
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
839
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
840
  msgid "Show tracking details"
841
  msgstr "Tracking-Details anzeigen"
842
 
843
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
844
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
845
- #: includes/customizer/class-wc-failure-email-customizer.php:278
846
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
847
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
848
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
849
  msgid "Show order details"
850
  msgstr ""
851
  "Bestelldetails anzeigen\n"
852
 
853
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
854
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
855
- #: includes/customizer/class-wc-failure-email-customizer.php:294
856
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
857
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
858
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
859
  msgid "Show billing address"
860
  msgstr ""
861
  "Rechnungsadresse anzeigen\n"
862
 
863
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
864
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
865
- #: includes/customizer/class-wc-failure-email-customizer.php:311
866
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
867
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
868
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
869
  msgid "Show shipping address"
870
  msgstr ""
871
  "Lieferadresse anzeigen\n"
872
 
873
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
874
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
875
- #: includes/customizer/class-wc-email-customizer.php:384
876
- #: includes/customizer/class-wc-failure-email-customizer.php:327
877
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
878
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
879
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
880
  msgid "Google Analytics link tracking"
881
  msgstr ""
 
882
 
883
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
884
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
885
- #: includes/customizer/class-wc-failure-email-customizer.php:328
886
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
887
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
888
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
889
  msgid "This will be appended to URL in the email content"
890
  msgstr ""
891
-
892
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
893
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
894
- #: includes/customizer/class-wc-email-customizer.php:280
895
- #: includes/customizer/class-wc-failure-email-customizer.php:349
896
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
897
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
898
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
 
 
899
  msgid "Email content"
900
  msgstr "E-Mail-Inhalt"
901
 
902
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
903
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
904
- #: includes/customizer/class-wc-email-customizer.php:405
905
- #: includes/customizer/class-wc-failure-email-customizer.php:369
906
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
907
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
908
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
909
- msgid "Available placeholders"
910
- msgstr ""
911
- "Verfügbare Platzhalter\n"
912
-
913
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
914
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
915
- #: includes/customizer/class-wc-email-customizer.php:437
916
- #: includes/customizer/class-wc-failure-email-customizer.php:412
917
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
918
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
919
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
920
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
921
- msgid "Please select preview order."
922
- msgstr ""
923
- "Bitte wählen Sie eine Vorschau-Bestellung.\n"
924
-
925
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
926
  msgid "Your order #{order_number} has been delivered"
927
  msgstr ""
 
928
 
929
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
930
  msgid ""
931
  "Hi there. we thought you'd like to know that your recent order from "
932
  "{site_title} has been Delivered."
@@ -934,94 +997,71 @@ msgstr ""
934
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
935
  "{site_title} geliefert wurde.\n"
936
 
937
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
938
  msgid "Delivered shipment status email"
939
  msgstr "Versandstatus E-Mail geliefert"
940
 
941
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
942
  msgid "Enable Delivered shipment status email"
943
  msgstr "Versandstatus-E-Mail aktivieren"
944
 
945
- #: includes/customizer/class-wc-email-customizer.php:122
946
- #: includes/emails/class-shipment-delivered-email.php:92
947
  msgid "Your {site_title} order is now delivered"
948
  msgstr ""
949
  "Ihre {site_title} Bestellung wird jetzt geliefert\n"
950
 
951
- #: includes/customizer/class-wc-email-customizer.php:123
952
- #: includes/emails/class-shipment-delivered-email.php:102
953
- msgid "Thanks for shopping with us"
954
- msgstr ""
955
- "Vielen Dank für Ihren Einkauf bei uns\n"
956
-
957
- #: includes/customizer/class-wc-email-customizer.php:124
958
- msgid "Hi there. Your recent order on {site_title} has been delivered."
959
- msgstr ""
960
- "Hallo. Ihre letzte Bestellung auf {site_title} wurde geliefert.\n"
961
-
962
- #: includes/customizer/class-wc-email-customizer.php:171
963
  msgid "Enable Delivered order status email"
964
  msgstr ""
965
  "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
966
 
967
- #: includes/customizer/class-wc-email-customizer.php:193
968
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
 
969
  msgid "Please select a order..."
970
  msgstr ""
971
  "Bitte wählen Sie eine Bestellung aus ...\n"
972
 
973
- #: includes/customizer/class-wc-email-customizer.php:211
974
- msgid "Receipts"
975
- msgstr ""
976
-
977
- #: includes/customizer/class-wc-email-customizer.php:212
978
- msgid ""
979
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
980
- "separated by commas."
981
- msgstr ""
982
-
983
- #: includes/customizer/class-wc-email-customizer.php:235
984
- #: includes/customizer/class-wc-email-customizer.php:258
985
- msgid "Available variables: {site_title}, {order_number}"
986
- msgstr ""
987
-
988
- #: includes/customizer/class-wc-email-customizer.php:281
989
- msgid ""
990
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
991
- "{customer_last_name}, {customer_username}, {order_number}"
992
- msgstr ""
993
-
994
- #: includes/customizer/class-wc-email-customizer.php:300
995
  msgid "Display tracking details"
996
  msgstr ""
 
997
 
998
- #: includes/customizer/class-wc-email-customizer.php:316
999
  msgid "Display order details"
1000
  msgstr ""
 
1001
 
1002
- #: includes/customizer/class-wc-email-customizer.php:333
1003
  msgid "Display Shipping Address"
1004
  msgstr ""
 
1005
 
1006
- #: includes/customizer/class-wc-email-customizer.php:350
1007
  msgid "Display Billing Address"
1008
  msgstr ""
 
1009
 
1010
- #: includes/customizer/class-wc-email-customizer.php:367
1011
  msgid "Enable Google Analytics tracking"
1012
  msgstr ""
 
1013
 
1014
- #: includes/customizer/class-wc-email-customizer.php:385
1015
  msgid ""
1016
  "This will be appended to URL in the email content – e.g. "
1017
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1018
  msgstr ""
 
 
1019
 
1020
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1021
  msgid "Your order #{order_number} is Failed Attempt"
1022
  msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
1023
 
1024
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1025
  msgid ""
1026
  "Hi there. we thought you'd like to know that your recent order from "
1027
  "{site_title} is Failed Attempt"
@@ -1029,20 +1069,20 @@ msgstr ""
1029
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
1030
  "{site_title} fehlgeschlagen ist"
1031
 
1032
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1033
  msgid "Failed Attempt shipment status email"
1034
  msgstr "Fehler beim Versenden der Sendungsstatus-E-Mail"
1035
 
1036
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1037
  msgid "Enable Failed Attempt shipment status email"
1038
  msgstr "Versandstatus-E-Mail für fehlgeschlagenen Versuch aktivieren"
1039
 
1040
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1041
  msgid "Your order #{order_number} is in transit"
1042
  msgstr ""
1043
  "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
1044
 
1045
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1046
  msgid ""
1047
  "Hi there. we thought you'd like to know that your recent order from "
1048
  "{site_title} is in transit"
@@ -1050,21 +1090,21 @@ msgstr ""
1050
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1051
  "{site_title} unterwegs ist\n"
1052
 
1053
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1054
  msgid "In Transit shipment status email"
1055
  msgstr "In Transit Sendungsstatus E-Mail"
1056
 
1057
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1058
  msgid "Enable In Transit shipment status email"
1059
  msgstr ""
1060
  "Sendungsstatus-E-Mail in Transit aktivieren\n"
1061
 
1062
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1063
  msgid "Your order #{order_number} is out for delivery"
1064
  msgstr ""
1065
  "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
1066
 
1067
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1068
  msgid ""
1069
  "Hi there. we thought you'd like to know that your recent order from "
1070
  "{site_title} is out for delivery."
@@ -1072,20 +1112,20 @@ msgstr ""
1072
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1073
  "{site_title} nicht lieferbar ist.\n"
1074
 
1075
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1076
  msgid "Out For Delivery shipment status email"
1077
  msgstr "Out For Delivery Versandstatus-E-Mail"
1078
 
1079
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1080
  msgid "Enable Out For Delivery shipment status email"
1081
  msgstr "Sendungsstatus-E-Mail für die Auslieferung aktivieren"
1082
 
1083
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1084
  msgid "Your order #{order_number} has returned to sender"
1085
  msgstr ""
1086
  "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
1087
 
1088
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1089
  msgid ""
1090
  "Hi there. we thought you'd like to know that your recent order from "
1091
  "{site_title} has been returned to sender."
@@ -1093,288 +1133,313 @@ msgstr ""
1093
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1094
  "{site_title} an den Absender zurückgeschickt wurde.\n"
1095
 
1096
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1097
  msgid "Return To Sender shipment status email"
1098
  msgstr "Sendungsstatus-E-Mail an Absender zurücksenden"
1099
 
1100
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1101
  msgid "Enable Return To Sender shipment status email"
1102
  msgstr ""
1103
  "Aktivieren Sie die Sendungsstatus-E-Mail für die Rücksendung an den Absender"
1104
 
1105
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1106
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1107
- #: includes/views/html-tracking-info-design-preview.php:45
1108
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1109
  msgid "Provider"
1110
  msgstr "Anbieter"
1111
 
1112
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1113
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1114
- #: includes/views/html-tracking-info-design-preview.php:46
1115
- #: templates/emails/tracking-info.php:134
1116
- #: templates/myaccount/view-order.php:111
1117
  msgid "Tracking Number"
1118
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1119
 
1120
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1121
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1122
  msgid "Shipped Date"
1123
  msgstr "Versanddatum"
1124
 
1125
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1126
- msgid ""
1127
- "select from last 20 orders one order that you added tracking info in order "
1128
- "to preview and design the tracking info table."
1129
  msgstr ""
1130
- "Wählen Sie aus den letzten 20 Bestellungen eine Bestellung aus, die Sie mit "
1131
- "Tracking-Informationen versehen haben, um die Tracking-Informationstabelle "
1132
- "in der Vorschau anzuzeigen und zu gestalten.\n"
1133
 
1134
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
1135
  msgid "Tracking Display Position"
1136
  msgstr "Verfolgung der Anzeigeposition"
1137
 
1138
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1139
  msgid "Before Order Details"
1140
  msgstr "Vor der Bestellung Details"
1141
 
1142
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1143
  msgid "After Order Details"
1144
  msgstr "Nach Auftragsdetails"
1145
 
1146
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1147
- msgid "Main Header text"
1148
- msgstr "Haupt-Header-Text"
 
1149
 
1150
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1151
- #: templates/pip/tracking-info.php:17
1152
  msgid "Tracking Information"
1153
  msgstr "Tracking-Informationen"
1154
 
1155
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1156
  msgid "Additional text after header"
1157
  msgstr "Zusätzlicher Text nach Kopfzeile"
1158
 
1159
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1160
- msgid "Table Layout"
1161
- msgstr "Tabellenlayout"
1162
-
1163
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1164
- msgid "Display Shipment Provider image"
1165
- msgstr "Bild des Versandanbieters anzeigen"
1166
-
1167
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1168
- msgid "Hide date"
1169
- msgstr "Datum ausblenden"
1170
 
1171
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
1172
- msgid "Provider Header Text"
1173
- msgstr "Anbieterkopfzeilentext"
 
1174
 
1175
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1176
- msgid "Tracking Number Header Text"
1177
- msgstr "Tracking-Nummer-Header-Text"
 
1178
 
1179
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1180
- msgid "Shipped Date Header Text"
1181
- msgstr "Versanddatum Header Text"
 
1182
 
1183
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
1184
- msgid "Track Label"
1185
- msgstr "Track Label"
 
1186
 
1187
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1188
- msgid "Track Header Text"
1189
- msgstr "Kopfzeilentext verfolgen"
 
1190
 
1191
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
1192
- msgid "Table Design"
1193
  msgstr ""
1194
- "Tisch Design\n"
1195
 
1196
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1197
- msgid "Padding"
1198
- msgstr "Polsterung"
 
1199
 
1200
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1201
- msgid "Background color"
1202
  msgstr ""
1203
- "Hintergrundfarbe\n"
1204
 
1205
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1206
- msgid "Border color"
1207
- msgstr "Randfarbe"
 
1208
 
1209
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1210
- msgid "Border size"
1211
  msgstr ""
1212
- "Rahmengrösse\n"
1213
 
1214
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1215
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1216
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1217
- msgid "Select"
1218
- msgstr "Wählen"
1219
 
1220
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1221
- msgid "Table text align"
1222
- msgstr "Tabellentext ausrichten"
 
1223
 
1224
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1225
- msgid "Left"
1226
- msgstr "Links"
 
1227
 
1228
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1229
- msgid "Right"
1230
- msgstr "Recht"
 
1231
 
1232
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1233
- msgid "Center"
1234
- msgstr "Center"
 
1235
 
1236
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1237
- msgid "Table header font size"
1238
- msgstr "Schriftgröße der Tabellenüberschrift"
 
1239
 
1240
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1241
- msgid "Table header font color"
1242
- msgstr "Schriftfarbe der Tabellenüberschrift"
 
1243
 
1244
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1245
- msgid "Table content font size"
1246
- msgstr "Schriftgröße des Tabelleninhalts"
1247
 
1248
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1249
- msgid "Table content font color"
1250
- msgstr "Schriftfarbe des Tabelleninhalts"
 
1251
 
1252
  #: includes/customizer/class-wc-tracking-info-customizer.php:593
1253
- msgid "Content line height"
1254
- msgstr "Höhe der Inhaltszeile"
 
1255
 
1256
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1257
- msgid "Content font weight"
1258
  msgstr ""
1259
- "Schriftgröße des Inhalts\n"
1260
 
1261
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1262
- msgid "Track Link"
1263
- msgstr "Track Link"
 
1264
 
1265
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1266
- msgid "Track Link Font Color"
1267
- msgstr "Track Link-Schriftfarbe"
1268
 
1269
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1270
- msgid "Track Link Background Color"
1271
- msgstr "Track Link Hintergrundfarbe"
 
 
1272
 
1273
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1274
- msgid "Track link Border"
1275
- msgstr "Track Link Grenze"
 
1276
 
1277
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1278
- msgid "Header Color"
1279
  msgstr ""
1280
- "Header-Farbe\n"
1281
 
1282
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1283
- msgid "Success Status Color"
1284
  msgstr ""
1285
- "Erfolgsstatus Farbe\n"
1286
 
1287
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1288
- msgid "Warning Status Color"
1289
  msgstr ""
1290
- "Warnstatus Farbe\n"
1291
 
1292
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1293
- msgid "Tracking info Border Color"
1294
  msgstr ""
1295
- "Tracking-Informationen Rahmenfarbe\n"
1296
 
1297
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1298
- msgid "Tracking info width (px)"
1299
- msgstr ""
1300
- "Tracking-Info-Breite (px)\n"
1301
 
1302
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1303
- msgid "Tracking details Border Color"
1304
  msgstr ""
1305
- "Tracking-Details Rahmenfarbe\n"
1306
 
1307
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1308
- msgid "Tracking info table shade color"
1309
  msgstr ""
1310
- "Schattenfarbe der Tracking-Infotabelle\n"
1311
 
1312
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1313
- msgid "Tracking events font color"
1314
  msgstr ""
1315
- "Schriftfarbe für Tracking-Ereignisse\n"
1316
 
1317
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1318
- msgid "Tracking info table margin top/bottom(px)"
1319
- msgstr ""
1320
- "Tracking-Info-Tabelle Rand oben / unten (px)\n"
1321
 
1322
- #: includes/emails/class-shipment-delivered-email.php:32
1323
- msgid "Delivered order"
 
 
1324
  msgstr ""
 
 
 
1325
 
1326
- #: includes/emails/class-shipment-delivered-email.php:33
1327
- msgid ""
1328
- "Order delivered emails are sent to customers when their orders are marked "
1329
- "delivered and usually indicate that their orders have been shipped."
1330
  msgstr ""
 
1331
 
1332
- #: includes/emails/class-shipment-delivered-email.php:228
1333
- msgid "Enable this email notification"
 
 
1334
  msgstr ""
 
 
1335
 
1336
- #: includes/emails/class-shipment-delivered-email.php:232
1337
- msgid "Recipient(s)"
1338
  msgstr ""
 
1339
 
1340
- #. %s: WP admin email
1341
- #: includes/emails/class-shipment-delivered-email.php:235
1342
- #, php-format
1343
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1344
  msgstr ""
 
1345
 
1346
- #: includes/emails/class-shipment-delivered-email.php:241
1347
- msgid "Subject"
 
 
1348
  msgstr ""
 
 
1349
 
1350
- #. %s: list of placeholders
1351
- #: includes/emails/class-shipment-delivered-email.php:245
1352
- #: includes/emails/class-shipment-delivered-email.php:254
1353
- #, php-format
1354
- msgid "Available placeholders: %s"
1355
  msgstr ""
 
 
1356
 
1357
- #: includes/emails/class-shipment-delivered-email.php:259
1358
- msgid "Email type"
1359
  msgstr ""
 
1360
 
1361
- #: includes/emails/class-shipment-delivered-email.php:261
1362
- msgid "Choose which format of email to send."
 
 
1363
  msgstr ""
 
 
 
1364
 
1365
- #: includes/emails/class-shipment-delivered-email.php:269
1366
- msgid "\" >Click Here</a>"
1367
  msgstr ""
 
1368
 
1369
- #: includes/emails/class-shipment-delivered-email.php:270
1370
  msgid "Edit in customizer"
1371
  msgstr ""
 
1372
 
1373
- #: includes/views/admin_options_bulk_upload.php:5
1374
  msgid "Upload CSV"
1375
  msgstr "CSV hochladen"
1376
 
1377
- #: includes/views/admin_options_bulk_upload.php:15
1378
  msgid ""
1379
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1380
  "added)"
@@ -1382,134 +1447,288 @@ msgstr ""
1382
  "Tracking-Info ersetzen, falls vorhanden? (wenn nicht markiert, werden die "
1383
  "Tracking-Informationen hinzugefügt)"
1384
 
1385
- #: includes/views/admin_options_bulk_upload.php:25
1386
- #: includes/views/admin_options_shipping_provider.php:112
1387
- #: includes/views/admin_options_shipping_provider.php:146
1388
  msgid "Upload"
1389
  msgstr "Hochladen"
1390
 
1391
- #: includes/views/admin_options_bulk_upload.php:28
1392
- #: includes/views/admin_options_trackship_integration.php:27
1393
- #: includes/views/admin_options_trackship_integration.php:45
1394
  msgid "Settings Saved."
1395
  msgstr "Einstellungen gespeichert."
1396
 
1397
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
 
1398
  msgid "You can download an example of the csv file:"
1399
  msgstr "Sie können ein Beispiel für die CSV-Datei herunterladen:"
1400
 
1401
- #: includes/views/admin_options_bulk_upload.php:35
1402
  msgid "Download sample csv file"
1403
  msgstr "Laden Sie die Beispiel-CSV-Datei herunter"
1404
 
1405
- #: includes/views/admin_options_bulk_upload.php:36
1406
  msgid ""
1407
  "For detailed instructions on how to upload tracking info in bulk, see our"
1408
  msgstr ""
1409
  "For detailed instructions on how to upload tracking info in bulk, see our"
1410
 
1411
- #: includes/views/admin_options_bulk_upload.php:36
1412
- msgid "documentation"
1413
- msgstr "Dokumentation"
 
1414
 
1415
- #: includes/views/admin_options_bulk_upload.php:38
1416
- msgid "Upload Progress - "
1417
- msgstr "Upload-Fortschritt -"
 
 
 
 
1418
 
1419
- #: includes/views/admin_options_settings.php:7
1420
- #: includes/views/admin_options_trackship_integration.php:10
1421
- msgid "General"
1422
  msgstr ""
1423
- "Allgemeines\n"
1424
 
1425
- #: includes/views/admin_options_settings.php:10
1426
- #: includes/views/admin_options_settings.php:19
1427
- msgid "Delivered Order Status"
1428
- msgstr "Status der gelieferten Bestellung"
 
1429
 
1430
- #: includes/views/admin_options_settings.php:12
1431
- msgid "Tracking Info Display Designer"
1432
  msgstr ""
1433
- "Tracking Info Display Designer\n"
1434
 
1435
- #: includes/views/admin_options_settings.php:15
1436
- #: includes/views/admin_options_trackship_integration.php:19
1437
- msgid "General Settings"
1438
- msgstr "Allgemeine Einstellungen"
1439
 
1440
- #: includes/views/admin_options_settings.php:24
1441
- #: includes/views/admin_options_trackship_integration.php:25
1442
- #: includes/views/admin_options_trackship_integration.php:43
1443
- msgid "Save"
1444
- msgstr "sparen"
 
 
 
 
 
 
 
 
1445
 
1446
- #: includes/views/admin_options_shipping_provider.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1447
  msgid "Add Custom Shipping Provider"
1448
  msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
1449
 
1450
- #: includes/views/admin_options_shipping_provider.php:101
1451
- #: includes/views/admin_options_shipping_provider.php:135
1452
- msgid "Shiping Country"
1453
- msgstr "Lieferungsland"
 
1454
 
1455
- #: includes/views/admin_options_shipping_provider.php:102
1456
- #: includes/views/admin_options_shipping_provider.php:136
1457
  msgid "Global"
 
 
 
 
 
1458
  msgstr ""
 
1459
 
1460
- #: includes/views/admin_options_shipping_provider.php:128
1461
  msgid "Edit Custom Shipping Provider"
1462
  msgstr "Benutzerdefinierten Versandanbieter bearbeiten"
1463
 
1464
- #: includes/views/admin_options_shipping_provider.php:163
1465
- #: includes/views/admin_options_shipping_provider.php:170
1466
- msgid "Sync Providers"
1467
- msgstr "Anbieter synchronisieren"
1468
-
1469
- #: includes/views/admin_options_shipping_provider.php:164
1470
- msgid "Do you really want to sync all providers?"
1471
- msgstr "Möchten Sie wirklich alle Anbieter synchronisieren?"
1472
 
1473
- #: includes/views/admin_options_shipping_provider.php:166
1474
  msgid "Providers Added"
1475
  msgstr "Anbieter hinzugefügt"
1476
 
1477
- #: includes/views/admin_options_shipping_provider.php:167
1478
  msgid "Providers Updated"
1479
  msgstr "Anbieter aktualisiert"
1480
 
1481
- #: includes/views/admin_options_shipping_provider.php:168
1482
  msgid "Providers Deleted"
1483
  msgstr "Anbieter gelöscht"
1484
 
1485
- #: includes/views/admin_options_shipping_provider.php:171
1486
- msgid "Close"
1487
- msgstr "Schließen"
1488
-
1489
- #: includes/views/admin_options_trackship_integration.php:13
1490
- #: includes/views/admin_options_trackship_integration.php:35
1491
  msgid "Tracking Page"
1492
  msgstr "Tracking-Seite"
1493
 
1494
- #: includes/views/admin_options_trackship_integration.php:16
1495
  msgid "Shipment Status Notifications"
1496
- msgstr "Benachrichtigungen zum Sendungsstatus"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1497
 
1498
- #: includes/views/admin_options_trackship_integration.php:40
1499
- msgid "Click to preview the tracking page"
1500
- msgstr "Klicken Sie hier, um eine Vorschau der Tracking-Seite anzuzeigen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1501
 
1502
- #: includes/views/admin_options_trackship_integration.php:41
1503
- msgid "PLEASE NOTE - make sure to save your settings before preview."
1504
  msgstr ""
1505
- "BITTE BEACHTEN SIE - Stellen Sie sicher, dass Sie Ihre Einstellungen vor der "
1506
- "Vorschau speichern."
1507
 
1508
- #: includes/views/admin_options_trackship_integration.php:53
 
 
 
 
 
 
 
 
 
1509
  msgid "Shipment Status Notifications "
1510
  msgstr "Benachrichtigungen zum Sendungsstatus"
1511
 
1512
- #: includes/views/admin_options_trackship_integration.php:81
1513
  msgid ""
1514
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1515
  "the way."
@@ -1517,23 +1736,23 @@ msgstr ""
1517
  "Der Spediteur hat die Sendung vom Versender angenommen oder abgeholt. Die "
1518
  "Sendung ist unterwegs."
1519
 
1520
- #: includes/views/admin_options_trackship_integration.php:95
1521
  msgid "Shipment is returned to sender"
1522
  msgstr "Die Sendung wird an den Absender zurückgeschickt"
1523
 
1524
- #: includes/views/admin_options_trackship_integration.php:109
1525
  msgid "The shipment is ready to pickup."
1526
  msgstr "Die Sendung ist zur Abholung bereit."
1527
 
1528
- #: includes/views/admin_options_trackship_integration.php:122
1529
  msgid "Carrier is about to deliver the shipment"
1530
  msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern"
1531
 
1532
- #: includes/views/admin_options_trackship_integration.php:136
1533
  msgid "The shipment was delivered successfully"
1534
  msgstr "Die Sendung wurde erfolgreich zugestellt"
1535
 
1536
- #: includes/views/admin_options_trackship_integration.php:137
1537
  msgid ""
1538
  "You already have delivered email enabled, to enable this email you'll need "
1539
  "to disable the order status delivered in settings."
@@ -1542,7 +1761,7 @@ msgstr ""
1542
  "aktivieren, müssen Sie den in den Einstellungen angegebenen Bestellstatus "
1543
  "deaktivieren."
1544
 
1545
- #: includes/views/admin_options_trackship_integration.php:151
1546
  msgid ""
1547
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1548
  "will try to deliver the package again."
@@ -1551,44 +1770,47 @@ msgstr ""
1551
  "Normalerweise hinterlässt er eine Nachricht und versucht, das Paket erneut "
1552
  "zuzustellen."
1553
 
1554
- #: includes/views/html-tracking-info-design-preview.php:60
1555
- msgid "USPS"
1556
- msgstr "USPS"
 
1557
 
1558
- #: includes/views/zorem_admin_sidebar.php:8
1559
- msgid "Leave your review"
1560
- msgstr ""
1561
-
1562
- #: includes/views/zorem_admin_ts_sidebar.php:5
1563
- msgid "Dashboard"
1564
  msgstr ""
 
1565
 
1566
- #: includes/views/zorem_admin_ts_sidebar.php:7
1567
- msgid "Documentation"
1568
  msgstr ""
 
1569
 
1570
- #: templates/emails/tracking-info.php:138
1571
- msgid "Status"
1572
- msgstr "Status"
1573
-
1574
- #: templates/emails/wcast-email-order-details.php:26
1575
- msgid "Order Details"
1576
  msgstr ""
1577
- "Bestelldetails\n"
1578
 
1579
- #. %s: Order ID.
1580
- #: templates/emails/wcast-email-order-details.php:42
1581
- #, php-format
1582
- msgid "Order number: %s"
1583
  msgstr ""
1584
- "Bestellnummer:% s\n"
1585
 
1586
- #: templates/emails/wcast-email-order-details.php:49
1587
- msgid "Order date:"
1588
  msgstr ""
1589
- "Auftragsdatum:\n"
1590
 
1591
- #: templates/emails/plain/tracking-info.php:18
1592
- msgid "TRACKING INFORMATION"
1593
- msgstr ""
1594
- "VERFOLGUNGSINFORMATIONEN\n"
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 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"
775
  msgstr "Sendungsstatus-E-Mails"
776
 
777
+ #: includes/customizer/class-wcast-customizer.php:52
778
  msgid "Tracking info display"
779
  msgstr ""
780
  "Tracking-Info-Anzeige\n"
781
 
782
+ #: includes/customizer/class-wcast-customizer.php:60
783
+ #: includes/customizer/class-wc-email-customizer.php:163
784
+ msgid "Delivered order status email"
785
  msgstr ""
786
+ "Bestellstatus per E-Mail zugestellt\n"
 
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
 
804
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
805
  msgid "Your order #{order_number} is available for pickup"
806
  msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
807
 
808
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
809
  msgid ""
810
  "Hi there. we thought you'd like to know that your recent order from "
811
  "{site_title} is available for pickup."
813
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
814
  "{site_title} zur Abholung verfügbar ist."
815
 
816
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
817
  msgid "Available For Pickup shipment status email"
818
  msgstr "Verfügbar für Abholung Versandstatus E-Mail"
819
 
820
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
821
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
822
+ #: includes/customizer/class-wc-email-customizer.php:164
823
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
824
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
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
 
832
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
833
  msgid "Enable Available For Pickup shipment status email"
834
  msgstr "Versandstatus-E-Mail für Abholung aktivieren"
835
 
836
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
837
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
838
+ #: includes/customizer/class-wc-email-customizer.php:197
839
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
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
 
849
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
850
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
851
+ #: includes/customizer/class-wc-email-customizer.php:226
852
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
853
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
854
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
855
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
897
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
898
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
899
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
900
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
901
  msgid "Show tracking details"
902
  msgstr "Tracking-Details anzeigen"
903
 
904
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
905
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
906
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
907
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
908
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
909
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
910
  msgid "Show order details"
911
  msgstr ""
912
  "Bestelldetails anzeigen\n"
913
 
914
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
915
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
916
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
917
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
918
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
919
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
920
  msgid "Show billing address"
921
  msgstr ""
922
  "Rechnungsadresse anzeigen\n"
923
 
924
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
925
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
926
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
927
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
928
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
929
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
930
  msgid "Show shipping address"
931
  msgstr ""
932
  "Lieferadresse anzeigen\n"
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
957
+ #: includes/customizer/class-wc-email-customizer.php:288
958
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
959
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
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
993
  msgid ""
994
  "Hi there. we thought you'd like to know that your recent order from "
995
  "{site_title} has been Delivered."
997
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
998
  "{site_title} geliefert wurde.\n"
999
 
1000
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
1001
  msgid "Delivered shipment status email"
1002
  msgstr "Versandstatus E-Mail geliefert"
1003
 
1004
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
1005
  msgid "Enable Delivered shipment status email"
1006
  msgstr "Versandstatus-E-Mail aktivieren"
1007
 
1008
+ #: includes/customizer/class-wc-email-customizer.php:130
1009
+ #: includes/emails/class-shipment-delivered-email.php:94
1010
  msgid "Your {site_title} order is now delivered"
1011
  msgstr ""
1012
  "Ihre {site_title} Bestellung wird jetzt geliefert\n"
1013
 
1014
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
1015
  msgid "Enable Delivered order status email"
1016
  msgstr ""
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"
1062
  msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
1063
 
1064
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1065
  msgid ""
1066
  "Hi there. we thought you'd like to know that your recent order from "
1067
  "{site_title} is Failed Attempt"
1069
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
1070
  "{site_title} fehlgeschlagen ist"
1071
 
1072
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
1073
  msgid "Failed Attempt shipment status email"
1074
  msgstr "Fehler beim Versenden der Sendungsstatus-E-Mail"
1075
 
1076
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
1077
  msgid "Enable Failed Attempt shipment status email"
1078
  msgstr "Versandstatus-E-Mail für fehlgeschlagenen Versuch aktivieren"
1079
 
1080
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1081
  msgid "Your order #{order_number} is in transit"
1082
  msgstr ""
1083
  "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
1084
 
1085
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1086
  msgid ""
1087
  "Hi there. we thought you'd like to know that your recent order from "
1088
  "{site_title} is in transit"
1090
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1091
  "{site_title} unterwegs ist\n"
1092
 
1093
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
1094
  msgid "In Transit shipment status email"
1095
  msgstr "In Transit Sendungsstatus E-Mail"
1096
 
1097
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
1098
  msgid "Enable In Transit shipment status email"
1099
  msgstr ""
1100
  "Sendungsstatus-E-Mail in Transit aktivieren\n"
1101
 
1102
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1103
  msgid "Your order #{order_number} is out for delivery"
1104
  msgstr ""
1105
  "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
1106
 
1107
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1108
  msgid ""
1109
  "Hi there. we thought you'd like to know that your recent order from "
1110
  "{site_title} is out for delivery."
1112
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1113
  "{site_title} nicht lieferbar ist.\n"
1114
 
1115
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
1116
  msgid "Out For Delivery shipment status email"
1117
  msgstr "Out For Delivery Versandstatus-E-Mail"
1118
 
1119
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
1120
  msgid "Enable Out For Delivery shipment status email"
1121
  msgstr "Sendungsstatus-E-Mail für die Auslieferung aktivieren"
1122
 
1123
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1124
  msgid "Your order #{order_number} has returned to sender"
1125
  msgstr ""
1126
  "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
1127
 
1128
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1129
  msgid ""
1130
  "Hi there. we thought you'd like to know that your recent order from "
1131
  "{site_title} has been returned to sender."
1133
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1134
  "{site_title} an den Absender zurückgeschickt wurde.\n"
1135
 
1136
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
1137
  msgid "Return To Sender shipment status email"
1138
  msgstr "Sendungsstatus-E-Mail an Absender zurücksenden"
1139
 
1140
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
1141
  msgid "Enable Return To Sender shipment status email"
1142
  msgstr ""
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"
1440
  msgstr "CSV hochladen"
1441
 
1442
+ #: includes/views/admin_options_bulk_upload.php:20
1443
  msgid ""
1444
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1445
  "added)"
1447
  "Tracking-Info ersetzen, falls vorhanden? (wenn nicht markiert, werden die "
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
 
1456
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
1457
  msgid "Settings Saved."
1458
  msgstr "Einstellungen gespeichert."
1459
 
1460
+ #: includes/views/admin_options_bulk_upload.php:41
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
1780
+ #, php-format
1781
+ msgid "Order number: %s"
 
 
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 ""
1807
+ "Add shipment tracking information to your WooCommerce orders and provide "
1808
+ "customers with an easy way to track their orders. Shipment tracking Info "
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-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:45+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Greek\n"
9
  "Language: el\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,9 +12,9 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,508 +23,374 @@ msgstr ""
23
  "Παρακαλούμε εγκαταστήστε και ενεργοποιήστε %sWooCommerce%s for WooCommerce "
24
  "Advanced Shipment Tracking!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:390
27
- #: includes/views/admin_options_settings.php:21
28
  #, php-format
29
- msgid ""
30
- "<strong>PLEASE NOTE</strong> - If you use the custom order status "
31
- "\"Delivered\", when you deactivate the plugin, you must register this order "
32
- "status in function.php in order to see these orders in the orders admin. You "
33
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
34
- "php here or you can manually change all your \"delivered\" order to "
35
- "\"completed\" before deactivating the plugin."
36
- msgstr ""
37
-
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
40
- msgid "Shipped"
41
- msgstr "Στάλθηκε"
42
-
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
44
- #, php-format
45
- msgid "Shipped <span class=\"count\">(%s)</span>"
46
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
47
- msgstr[0] "Στάλθηκε <span class=\"count\">(%s)</span>"
48
- msgstr[1] "Στάλθηκαν <span class=\"count\">(%s)</span>"
49
-
50
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
51
- msgid "Change status to shipped"
52
- msgstr "Αλλαγή κατάστασης σε απεστάλει"
53
-
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
59
- #: includes/customizer/class-wcast-customizer.php:104
60
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
61
- #: includes/views/admin_options_trackship_integration.php:134
62
- msgid "Delivered"
63
- msgstr "Παραδόθηκε"
64
-
65
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
66
- #, php-format
67
- msgid "Delivered <span class=\"count\">(%s)</span>"
68
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
69
- msgstr[0] "Παραδόθηκε <span class=\"count\">(%s)</span>"
70
- msgstr[1] "Παραδόθηκαν <span class=\"count\">(%s)</span>"
71
 
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
- msgid "Updated Tracking"
75
- msgstr "Ενημερωμένη παρακολούθηση"
76
-
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
  #, php-format
79
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
82
- msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
83
-
84
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
- msgid "Change status to delivered"
86
- msgstr "Αλλαγή κατάστασης σε παραδόθηκε"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
 
 
 
 
89
  msgid "Shipment status"
90
- msgstr "Κατάσταση Αποστολής"
91
 
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
 
93
  msgid ""
94
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
  "100 orders."
96
  msgstr ""
 
 
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
- msgid "Order"
100
- msgstr "Παραγγελία"
101
-
102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
103
- msgid "Item"
104
- msgstr "Αντικείμενο"
105
-
106
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
107
- msgid "Line Item"
108
- msgstr "Στοιχείο γραμμής"
109
-
110
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
111
- msgid "Class"
112
- msgstr "Κλάση"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
115
- msgid "Delete the selected rates?"
116
- msgstr "Να διαγραφούν οι επιλεγμένες τιμές;"
117
-
118
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
119
- msgid "Duplicate the selected rates?"
120
- msgstr "Να αντιγραφούν οι επιλεγμένες τιμές;"
121
-
122
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
123
- msgid "Really want to bulk change all provider status?"
124
- msgstr "Θέλετε πράγματι να αλλάξετε μαζικά την κατάσταση όλων των παροχέων;"
125
-
126
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
127
- #: includes/views/admin_options_settings.php:26
128
  msgid "Data saved successfully."
129
  msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
130
 
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
 
132
  msgid "Really delete this entry? This will not be undo."
133
  msgstr ""
134
  "Θέλετε πραγματικά να διαγράψετε αυτή την εγγραφή; Η ενέργεια αυτή δεν μπορεί "
135
  "να αναιρεθεί."
136
 
137
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
 
138
  msgid "You can upload only csv file."
139
  msgstr "Μπορείτε να ανεβάσετε μόνο το αρχείο csv."
140
 
141
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
 
142
  msgid "This browser does not support HTML5."
143
  msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
144
 
145
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
 
146
  msgid "Please upload a valid CSV file."
147
  msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
148
 
149
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
150
  msgid "Shipping Providers"
151
  msgstr "Προμηθευτές αποστολής"
152
 
153
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
154
- msgid "Settings"
155
- msgstr "Ρυθμίσεις"
156
-
157
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
158
  msgid "Bulk Upload"
159
- msgstr "Μαζική Μεταφόρτωση"
160
 
161
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
162
- msgid "TrackShip"
163
- msgstr ""
164
 
165
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  msgid "Connected"
167
  msgstr ""
168
  "Συνδεδεμένος\n"
169
 
170
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
171
- msgid ""
172
- "Auto-track all your shipments, get real-time shipment tracking updates "
173
- "without leaving your stores admin."
174
- msgstr ""
175
- "Να παρακολουθείτε αυτόματα όλες τις αποστολές σας, να λαμβάνετε ενημερώσεις "
176
- "παρακολούθησης αποστολών σε πραγματικό χρόνο, χωρίς να αφήνετε τους "
177
- "διαχειριστές των καταστημάτων σας.\n"
 
 
 
 
178
 
179
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
180
  #, php-format
181
- msgid ""
182
- "You must have account and connect your store to %s in order to activate "
183
- "these advanced features."
184
- msgstr ""
185
- "Πρέπει να έχετε λογαριασμό και να συνδέσετε το κατάστημά σας στο% s για να "
186
- "ενεργοποιήσετε αυτές τις προηγμένες λειτουργίες.\n"
187
 
188
  #: includes/class-wc-advanced-shipment-tracking-admin.php:892
189
  #, php-format
190
- msgid "50 free Trackers for every new account! Get your %s account now>>"
191
- msgstr ""
192
- "50 δωρεάν trackers για κάθε νέο λογαριασμό! Βρείτε τον λογαριασμό σας% s "
193
- "τώρα >>"
194
 
195
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
196
- msgid "TrackShip Connection Status"
197
- msgstr "Κατάσταση σύνδεσης TrackShip"
198
-
199
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
200
- #: includes/emails/class-shipment-delivered-email.php:226
201
  msgid "Enable/Disable"
202
- msgstr "Ενεργοποίηση/Απενεργοποίηση"
203
 
204
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
205
  msgid "Set order status Delivered when order is delivered"
206
  msgstr ""
207
- "Ορισμός σειράς παραγγελίας Παραδίδεται κατά την παράδοση της παραγγελίας\n"
208
 
209
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
210
- #, php-format
211
  msgid ""
212
- "You have %s %s orders that you can track with TrackShip, you can send these "
213
- "shipments to TrackShip in Bulk."
214
- msgstr ""
215
-
216
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
217
- msgid "Get Shipment Status"
218
- msgstr ""
219
-
220
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
221
- msgid ""
222
- "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
223
  "for the tracking page to work."
224
  msgstr ""
 
 
225
 
226
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
 
227
  msgid "Select Tracking Page"
228
- msgstr ""
229
- "Επιλέξτε Σελίδα παρακολούθησης\n"
230
-
231
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
232
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
233
- msgid "Remove Trackship branding from tracking page"
234
- msgstr ""
235
- "Καταργήστε την επωνυμία Trackship από τη σελίδα παρακολούθησης\n"
236
 
237
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
238
  msgid "Use the tracking page in the customer email/my account tracking link"
239
  msgstr ""
240
  "Χρησιμοποιήστε τη σελίδα παρακολούθησης στη σύνδεση ηλεκτρονικού "
241
- "ταχυδρομείου πελάτη / λογαριασμού παρακολούθησης λογαριασμού\n"
242
 
243
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
244
- msgid "Select primary color for tracking page"
 
245
  msgstr ""
246
- "Επιλέξτε το αρχικό χρώμα για τη σελίδα παρακολούθησης\n"
 
 
 
 
247
 
248
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
249
  msgid "Select content border color for tracking page"
250
  msgstr ""
251
- "Επιλέξτε το χρώμα περιγράμματος περιεχομένου για τη σελίδα παρακολούθησης\n"
252
 
253
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
254
- msgid ""
255
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
256
- "state"
257
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
 
259
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
 
 
 
 
 
260
  msgid ""
261
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
262
  "will be selected by default when adding tracking info to orders."
263
  msgstr ""
 
 
 
264
 
265
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
266
- msgid "Completed"
267
- msgstr "Ολοκληρώθηκε το"
268
-
269
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
270
- msgid ""
271
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
272
- "state"
273
  msgstr ""
 
274
 
275
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
276
  msgid ""
277
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
278
  "will be selected by default when adding tracking info to orders."
279
  msgstr ""
 
 
 
280
 
281
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
282
  msgid "Rename the “Completed” Order status to “Shipped”"
283
- msgstr "Μετονομασία της κατάστασης \"Ολοκληρωμένη\" σε \"Στάλθηκε\""
284
-
285
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
286
- msgid "On which customer order status email to include tracking info?"
287
  msgstr ""
288
- "Σε ποιο μήνυμα ηλεκτρονικού ταχυδρομείου σχετικά με την παραγγελία πελατών "
289
- "συμπεριλαμβάνονται πληροφορίες παρακολούθησης;"
290
 
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
292
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
293
- msgid "Cancelled"
294
- msgstr "Ακυρώθηκε"
295
-
296
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
297
- msgid "Customer Invoice"
298
- msgstr "τιμολόγιο πελάτη"
299
-
300
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
301
- msgid "Refunded"
302
- msgstr "Επιστροφή χρημάτων"
303
-
304
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
305
- msgid "Processing"
306
- msgstr "Επεξεργασία"
307
-
308
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
309
- msgid "Failed"
310
- msgstr "Απέτυχε"
311
 
312
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
313
  msgid "Show tracking info in Invoice"
314
  msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο τιμολόγιο"
315
 
316
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
317
  msgid "Show tracking info in Packing Slip"
318
  msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο πακέτο συσκευασίας"
319
 
320
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
321
- msgid "Enable a New Custom order status - “Delivered”"
322
- msgstr ""
323
- "Ενεργοποίηση νέας προσαρμοσμένης κατάστασης παραγγελίας - \"Παραδόθηκε\""
324
-
325
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
326
- msgid ""
327
- "if you enable the delivered item, you will have the option to send delivered "
328
- "email notifications."
329
- msgstr ""
330
- "Αν ενεργοποιήσετε την κατάσταση παραγγελίας 'Παραδόθηκε', θα έχετε τη "
331
- "δυνατότητα να στέλνετε ειδοποιήσεις παράδοσης μέσω ηλεκτρονικού ταχυδρομείου."
332
-
333
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
334
- msgid "Delivered Status Label color"
335
- msgstr "Χρώμα ετικέτας κατάστασης \"Παραδόθηκε\""
336
-
337
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
338
- #: includes/customizer/class-wcast-customizer.php:58
339
- #: includes/customizer/class-wc-email-customizer.php:155
340
- msgid "Delivered order status email"
341
- msgstr ""
342
- "Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
343
-
344
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
345
- #: includes/views/admin_options_trackship_integration.php:80
346
- #: includes/views/admin_options_trackship_integration.php:94
347
- #: includes/views/admin_options_trackship_integration.php:108
348
- #: includes/views/admin_options_trackship_integration.php:121
349
- #: includes/views/admin_options_trackship_integration.php:135
350
- #: includes/views/admin_options_trackship_integration.php:150
351
- msgid "Edit"
352
- msgstr "Επεξεργασία"
353
-
354
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
355
- msgid ""
356
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
357
- "plugin"
358
- msgstr ""
359
- "Αλλάξτε τις παραγγελίες \"Παραδόθηκε\" σε \"Ολοκληρώθηκε\" όταν "
360
- "απενεργοποιείτε την προσθήκη"
361
-
362
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
363
- msgid "No, I will use the snippet"
364
- msgstr "Όχι, θα χρησιμοποιήσω το απόσπασμα"
365
-
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
367
- msgid "Yes, change all Delivered orders to Completed"
368
- msgstr "Ναι, αλλάξτε όλες τις παραγγελίες που έχετε παραδώσει στο ολοκληρωμένο"
369
-
370
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
371
- #, php-format
372
- msgid ""
373
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
374
- "deactivate the plugin, you must register this order status in function.php "
375
- "in order to see these orders in the orders admin. You can find the snippet "
376
- "to use in functions.php %s or we can set to change all your \"delivered\" "
377
- "order to \"completed\"."
378
- msgstr ""
379
- "ΠΑΡΑΚΑΛΟΥΜΕ ΣΗΜΕΙΩΣΗ - Αν χρησιμοποιείτε την κατάσταση της παραγγελίας "
380
- "\"Παράδοση\", όταν απενεργοποιείτε την προσθήκη, πρέπει να καταχωρήσετε "
381
- "αυτήν την κατάσταση παραγγελίας στο function.php για να δείτε αυτές τις "
382
- "παραγγελίες στις εντολές admin. Μπορείτε να βρείτε το απόσπασμα που θα "
383
- "χρησιμοποιηθεί στη σελίδα functions.php% s ή να ρυθμίσουμε την αλλαγή της "
384
- "παραγγελίας \"παραδόθηκε\" σε \"ολοκληρωμένη\"."
385
-
386
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
387
- msgid "Get shipment status"
388
- msgstr ""
389
- "Αποκτήστε την κατάσταση αποστολής\n"
390
-
391
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
392
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
393
- #: includes/customizer/class-wcast-customizer.php:74
394
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
395
- #: includes/views/admin_options_trackship_integration.php:79
396
  msgid "In Transit"
397
  msgstr ""
398
  "Στη διαμετακόμιση\n"
399
 
400
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
401
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
402
- #: includes/customizer/class-wcast-customizer.php:66
403
  msgid "Pre Transit"
404
  msgstr ""
405
  "Pre Transit\n"
406
 
407
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
408
- msgid "Out for delivery"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  msgstr ""
410
- "Έξοδος για παράδοση\n"
411
 
412
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
413
- #: includes/customizer/class-wcast-customizer.php:89
414
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
415
- #: includes/views/admin_options_trackship_integration.php:107
 
416
  msgid "Available For Pickup"
417
  msgstr ""
418
  "Διαθέσιμο για παραλαβή\n"
419
 
420
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
421
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
422
- #: includes/customizer/class-wcast-customizer.php:82
423
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
424
- #: includes/views/admin_options_trackship_integration.php:93
425
  msgid "Return To Sender"
426
  msgstr ""
427
  "Επιστροφή στον αποστολέα\n"
428
 
429
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
430
- msgid "Delivery Failure"
431
- msgstr ""
432
- "Αποτυχία παράδοσης\n"
 
 
 
433
 
434
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
435
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
436
  msgid "Unknown"
437
- msgstr ""
438
- "Αγνωστος\n"
439
 
440
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
441
  msgid "Pending TrackShip"
442
- msgstr ""
443
- "Εκκρεμεί το TrackShip\n"
444
 
445
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
446
- msgid "Invalid Tracking"
447
- msgstr ""
448
- "Μη έγκυρη παρακολούθηση\n"
449
 
450
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
451
- msgid "Carrier unsupported"
452
- msgstr ""
453
- "Ο μεταφορέας δεν υποστηρίζεται\n"
454
 
455
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
456
  msgid "Invalid User Key"
457
- msgstr ""
458
 
459
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
460
- msgid "Resend delivered order notification"
461
- msgstr "Επανάληψη αποστολής ειδοποίησης παραγγελίας"
462
 
463
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
464
  msgid "Shipped Order"
465
  msgstr "Αποστολή Παραγγελίας"
466
 
467
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
468
  msgid "Mark order as delivered"
469
  msgstr "Σημειώστε την παραγγελία όπως παραδόθηκε"
470
 
471
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
472
  msgid "Add Tracking"
473
- msgstr ""
474
 
475
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
476
  msgid "Change order status to"
477
  msgstr "Αλλαγή κατάστασης παραγγελίας σε"
478
 
479
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
480
- #: includes/views/admin_options_shipping_provider.php:88
481
  #, php-format
482
  msgid "You don't have any %s shipping providers."
483
  msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
484
 
485
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
486
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
487
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
488
- msgid "view details"
489
- msgstr "δείτε λεπτομέρειες"
490
-
491
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
492
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
493
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
494
- msgid "hide details"
495
- msgstr "Κρύψε τις λεπτομέρειες"
496
-
497
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
498
- msgid "Available for Pickup"
499
- msgstr ""
500
-
501
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
502
- msgid "Out for Delivery"
503
- msgstr ""
504
-
505
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
506
- #: includes/customizer/class-wcast-customizer.php:112
507
- #: includes/customizer/class-wc-failure-email-customizer.php:113
508
- #: includes/views/admin_options_trackship_integration.php:149
509
- msgid "Failed Attempt"
510
- msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
511
-
512
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
513
- msgid "Carrier Unsupported"
514
- msgstr ""
515
-
516
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
517
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
518
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
519
- msgid "Invalid Tracking Number"
520
- msgstr ""
521
- "Μη έγκυρος αριθμός παρακολούθησης\n"
522
 
523
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
524
  msgid "Filter by shipment status"
525
- msgstr ""
526
 
527
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
528
  msgid ""
529
  "To track your order please enter your Order ID in the box below and press "
530
  "the \"Track\" button. This was given to you on your receipt and in the "
@@ -535,181 +401,359 @@ msgstr ""
535
  " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
536
  "να έχετε λάβει.\n"
537
 
538
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
539
- msgid "Order ID"
540
- msgstr ""
541
- "Αριθμός Παραγγελίας\n"
542
-
543
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
544
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
545
  msgid "Found in your order confirmation email."
546
  msgstr ""
547
  "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
548
 
549
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
550
  msgid "Order Email"
551
  msgstr ""
552
  "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
553
 
554
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
555
- #: includes/class-wc-advanced-shipment-tracking.php:260
556
- #: includes/class-wc-advanced-shipment-tracking.php:637
557
- #: includes/class-wc-advanced-shipment-tracking.php:763
558
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
559
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
560
- #: includes/views/html-tracking-info-design-preview.php:69
561
- #: templates/emails/tracking-info.php:152
562
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
563
  msgid "Track"
564
  msgstr "Παρακολούθηση"
565
 
566
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
567
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
 
 
568
  #, php-format
569
  msgid "Shipment - %s (out of %s)"
570
  msgstr ""
571
  "Αποστολή -% s (από% s)\n"
572
 
573
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
574
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
575
- msgid "Order: "
576
- msgstr "Σειρά:"
577
 
578
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
579
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
580
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
581
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
582
- msgid "Estimated Delivery Date: "
583
- msgstr "Εκτιμώμενη Ημερομηνία Παράδοσης:"
 
 
 
584
 
585
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
586
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
587
  msgid "Tracking Details"
588
  msgstr "Στοιχεία παρακολούθησης"
589
 
590
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
591
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
 
 
592
  msgid "view more"
593
  msgstr "Δείτε περισσότερα"
594
 
595
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
596
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
 
 
597
  msgid "view less"
598
  msgstr "δείτε λιγότερο"
599
 
600
- #. esc_html__( '%1$s %2$s.' ),
601
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
602
- #, php-format
603
- msgid ""
604
- "We added many improvements to %1$s, please help and give us a review :) "
605
- "Thanks!"
606
- msgstr ""
607
- "Προσθέσαμε πολλές βελτιώσεις στο% 1 $ s, παρακαλώ βοηθήστε και δώστε μας μια "
608
- "κριτική :) Ευχαριστώ!"
609
-
610
- #: includes/class-wc-advanced-shipment-tracking.php:93
611
- #: includes/class-wc-advanced-shipment-tracking.php:244
612
- #: includes/customizer/class-wcast-customizer.php:30
613
  msgid "Shipment Tracking"
614
  msgstr "Παρακολούθηση Αποστολής"
615
 
616
- #: includes/class-wc-advanced-shipment-tracking.php:179
617
- #: includes/class-wc-advanced-shipment-tracking.php:351
618
- msgid "Change order to Shipped?"
619
- msgstr ""
 
620
 
621
- #: includes/class-wc-advanced-shipment-tracking.php:181
622
- #: includes/class-wc-advanced-shipment-tracking.php:353
623
- msgid "Change order to Completed?"
624
- msgstr ""
 
625
 
626
- #: includes/class-wc-advanced-shipment-tracking.php:186
 
 
 
 
 
 
627
  msgid "Add Tracking Number"
628
- msgstr ""
629
 
630
- #: includes/class-wc-advanced-shipment-tracking.php:191
631
- #: includes/class-wc-advanced-shipment-tracking.php:369
 
 
 
632
  msgid "Provider:"
633
  msgstr "Μεταφορέας:"
634
 
635
- #: includes/class-wc-advanced-shipment-tracking.php:211
636
- #: includes/class-wc-advanced-shipment-tracking.php:407
 
637
  msgid "Tracking number:"
638
  msgstr "Αριθμός Παρακολούθησης:"
639
 
640
- #: includes/class-wc-advanced-shipment-tracking.php:217
641
- #: includes/class-wc-advanced-shipment-tracking.php:415
 
642
  msgid "Date shipped:"
643
  msgstr "Ημερομηνία αποστολής:"
644
 
645
- #: includes/class-wc-advanced-shipment-tracking.php:260
646
- #: templates/pip/tracking-info.php:23
647
- msgid "Click here to track your shipment"
648
- msgstr "Πατήστε εδώ για παρακολούθηση της παραγγελίας σας"
 
 
 
 
 
 
 
 
 
 
 
 
649
 
650
  #. 1: shipping date
651
- #: includes/class-wc-advanced-shipment-tracking.php:268
652
- #: templates/pip/tracking-info.php:29
653
  #, php-format
654
  msgid "Shipped on %s"
655
  msgstr "Στάλθηκε στις %s"
656
 
657
- #: includes/class-wc-advanced-shipment-tracking.php:269
658
- msgid "Delete"
659
- msgstr "Διαγραφή"
660
-
661
- #: includes/class-wc-advanced-shipment-tracking.php:365
662
  msgid "Add Tracking Info"
663
  msgstr "Προσθήκη Παρακολούθησης"
664
 
665
- #: includes/class-wc-advanced-shipment-tracking.php:370
666
  msgid "Select Provider"
667
  msgstr "Επιλογή Παροχέα"
668
 
669
- #: includes/class-wc-advanced-shipment-tracking.php:430
670
  msgid "Save Tracking"
671
  msgstr "Αποθήκευση Παρακολούθησης"
672
 
673
- #: includes/class-wc-advanced-shipment-tracking.php:431
674
  msgid "Preview:"
675
  msgstr "Επισκόπηση:"
676
 
677
- #: includes/class-wc-advanced-shipment-tracking.php:431
678
- msgid "Click here to track shipment"
679
- msgstr "Πατήστε εδώ για παρακολούθηση της παραγγελίας"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
680
 
681
- #: includes/customizer/class-wcast-customizer.php:39
682
  msgid "Shipment Status Emails"
683
  msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
684
 
685
- #: includes/customizer/class-wcast-customizer.php:50
686
  msgid "Tracking info display"
687
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
688
 
689
- #: includes/customizer/class-wcast-customizer.php:51
690
- msgid "This section lets you customize the Tracking Info display design."
 
691
  msgstr ""
692
- "Αυτή η ενότητα σας επιτρέπει να προσαρμόσετε τον σχεδιασμό προβολής των "
693
- "πληροφοριών παρακολούθησης"
694
 
695
- #: includes/customizer/class-wcast-customizer.php:96
696
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
697
- #: includes/views/admin_options_trackship_integration.php:120
698
- msgid "Out For Delivery"
 
 
 
 
699
  msgstr ""
700
- "Out για παράδοση\n"
701
 
702
- #: includes/customizer/class-wcast-customizer.php:352
703
  msgid "Select order to preview"
704
  msgstr ""
705
  "Επιλέξτε παραγγελία για προεπισκόπηση\n"
706
 
707
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
708
  msgid "Your order #{order_number} is available for pickup"
709
  msgstr ""
710
  "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
711
 
712
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
713
  msgid ""
714
  "Hi there. we thought you'd like to know that your recent order from "
715
  "{site_title} is available for pickup."
@@ -717,225 +761,186 @@ msgstr ""
717
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
718
  "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
719
 
720
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
721
  msgid "Available For Pickup shipment status email"
722
  msgstr ""
723
  "Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής\n"
724
 
725
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
726
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
727
- #: includes/customizer/class-wc-email-customizer.php:156
728
- #: includes/customizer/class-wc-failure-email-customizer.php:145
729
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
730
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
731
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
 
732
  msgid "This section lets you customize the Email Content."
733
  msgstr ""
734
  "Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
735
  "ταχυδρομείου.\n"
736
 
737
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
738
  msgid "Enable Available For Pickup shipment status email"
739
  msgstr ""
740
  "Ενεργοποιήστε το Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής"
741
 
742
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
743
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
744
- #: includes/customizer/class-wc-email-customizer.php:189
745
- #: includes/customizer/class-wc-failure-email-customizer.php:175
746
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
747
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
748
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
749
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
 
750
  msgid "Preview order"
751
  msgstr ""
752
  "Προεπισκόπηση σειράς\n"
753
 
754
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
755
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
756
- #: includes/customizer/class-wc-failure-email-customizer.php:196
757
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
758
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
759
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
760
- msgid "To"
761
- msgstr "Προς"
762
-
763
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
764
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
765
- #: includes/customizer/class-wc-failure-email-customizer.php:197
766
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
767
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
768
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
769
- msgid ""
770
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
771
- "can be separated by commas."
772
- msgstr ""
773
- "Εισάγετε emails εδώ ή χρησιμοποιήστε μεταβλητές όπως {customer_email}. "
774
- "Πολλαπλά emails μπορούν να διαχωριστούν με κόμμα."
775
-
776
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
777
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
778
- #: includes/customizer/class-wc-email-customizer.php:218
779
- #: includes/customizer/class-wc-failure-email-customizer.php:203
780
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
781
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
782
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
783
  msgid "E.g. {customer.email}, admin@example.org"
784
  msgstr "Πχ: {customer.email}, admin@example.org"
785
 
786
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
787
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
788
- #: includes/customizer/class-wc-email-customizer.php:234
789
- #: includes/customizer/class-wc-failure-email-customizer.php:218
790
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
791
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
792
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
793
- msgid "Email subject"
794
- msgstr "Θέμα email"
795
-
796
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
797
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
798
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
799
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
800
- #: includes/customizer/class-wc-failure-email-customizer.php:219
801
- #: includes/customizer/class-wc-failure-email-customizer.php:241
802
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
803
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
804
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
805
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
806
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
807
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
808
- msgid "Available placeholders: {site_title}, {order_number}"
809
- msgstr "Διαθέσιμοι εντολοδότες: {site_title}, {order_number}"
810
-
811
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
812
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
813
- #: includes/customizer/class-wc-email-customizer.php:241
814
- #: includes/customizer/class-wc-failure-email-customizer.php:225
815
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
816
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
817
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
818
- msgid "Please enter email subject here"
819
- msgstr "Παρακαλούμε εισάγετε το θέμα email εδώ"
820
-
821
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
822
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
823
- #: includes/customizer/class-wc-email-customizer.php:257
824
- #: includes/customizer/class-wc-failure-email-customizer.php:240
825
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
826
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
827
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
828
- #: includes/emails/class-shipment-delivered-email.php:250
829
- msgid "Email heading"
830
- msgstr "Κεφαλίδα email"
831
-
832
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
833
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
834
- #: includes/customizer/class-wc-email-customizer.php:264
835
- #: includes/customizer/class-wc-failure-email-customizer.php:247
836
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
837
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
838
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
839
- msgid "Please enter email heading here"
840
- msgstr "Παρακαλούμε εισάγετε την κεφαλίδα email εδώ"
841
-
842
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
843
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
844
- #: includes/customizer/class-wc-failure-email-customizer.php:262
845
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
846
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
847
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
848
  msgid "Show tracking details"
849
  msgstr ""
850
  "Εμφάνιση λεπτομερειών παρακολούθησης\n"
851
 
852
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
853
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
854
- #: includes/customizer/class-wc-failure-email-customizer.php:278
855
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
856
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
857
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
858
  msgid "Show order details"
859
  msgstr ""
860
  "Εμφάνιση λεπτομερειών παραγγελίας\n"
861
 
862
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
863
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
864
- #: includes/customizer/class-wc-failure-email-customizer.php:294
865
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
866
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
867
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
868
  msgid "Show billing address"
869
  msgstr ""
870
  "Εμφάνιση διεύθυνσης χρέωσης\n"
871
 
872
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
873
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
874
- #: includes/customizer/class-wc-failure-email-customizer.php:311
875
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
876
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
877
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
878
  msgid "Show shipping address"
879
  msgstr ""
880
  "Εμφάνιση της διεύθυνσης αποστολής\n"
881
 
882
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
883
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
884
- #: includes/customizer/class-wc-email-customizer.php:384
885
- #: includes/customizer/class-wc-failure-email-customizer.php:327
886
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
887
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
888
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
889
  msgid "Google Analytics link tracking"
890
- msgstr ""
891
-
892
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
893
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
894
- #: includes/customizer/class-wc-failure-email-customizer.php:328
895
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
896
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
897
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
898
  msgid "This will be appended to URL in the email content"
899
  msgstr ""
900
-
901
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
902
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
903
- #: includes/customizer/class-wc-email-customizer.php:280
904
- #: includes/customizer/class-wc-failure-email-customizer.php:349
905
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
906
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
907
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
 
 
908
  msgid "Email content"
909
  msgstr "Περιεχόμενο email"
910
 
911
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
912
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
913
- #: includes/customizer/class-wc-email-customizer.php:405
914
- #: includes/customizer/class-wc-failure-email-customizer.php:369
915
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
916
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
917
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
918
- msgid "Available placeholders"
919
- msgstr ""
920
- "Διαθέσιμες επιλογές κράτησης θέσης\n"
921
-
922
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
923
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
924
- #: includes/customizer/class-wc-email-customizer.php:437
925
- #: includes/customizer/class-wc-failure-email-customizer.php:412
926
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
927
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
928
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
929
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
930
- msgid "Please select preview order."
931
- msgstr ""
932
- "Επιλέξτε παραγγελία προεπισκόπησης.\n"
933
-
934
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
935
  msgid "Your order #{order_number} has been delivered"
936
- msgstr ""
937
 
938
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
939
  msgid ""
940
  "Hi there. we thought you'd like to know that your recent order from "
941
  "{site_title} has been Delivered."
@@ -943,95 +948,68 @@ msgstr ""
943
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
944
  "από {site_title} έχει παραδοθεί.\n"
945
 
946
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
947
  msgid "Delivered shipment status email"
948
  msgstr ""
949
  "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
950
 
951
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
952
  msgid "Enable Delivered shipment status email"
953
  msgstr "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής"
954
 
955
- #: includes/customizer/class-wc-email-customizer.php:122
956
- #: includes/emails/class-shipment-delivered-email.php:92
957
  msgid "Your {site_title} order is now delivered"
958
  msgstr ""
959
  "Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
960
 
961
- #: includes/customizer/class-wc-email-customizer.php:123
962
- #: includes/emails/class-shipment-delivered-email.php:102
963
- msgid "Thanks for shopping with us"
964
- msgstr ""
965
- "Ευχαριστούμε που ψωνίζεις μαζί μας\n"
966
-
967
- #: includes/customizer/class-wc-email-customizer.php:124
968
- msgid "Hi there. Your recent order on {site_title} has been delivered."
969
- msgstr ""
970
- "Γεια σου. Η πρόσφατη σας παραγγελία στο {site_title} έχει παραδοθεί.\n"
971
-
972
- #: includes/customizer/class-wc-email-customizer.php:171
973
  msgid "Enable Delivered order status email"
974
  msgstr ""
975
  "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
976
 
977
- #: includes/customizer/class-wc-email-customizer.php:193
978
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
 
979
  msgid "Please select a order..."
980
  msgstr ""
981
  "Παρακαλώ επιλέξτε παραγγελία ...\n"
982
 
983
- #: includes/customizer/class-wc-email-customizer.php:211
984
- msgid "Receipts"
985
- msgstr ""
986
-
987
- #: includes/customizer/class-wc-email-customizer.php:212
988
- msgid ""
989
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
990
- "separated by commas."
991
- msgstr ""
992
-
993
- #: includes/customizer/class-wc-email-customizer.php:235
994
- #: includes/customizer/class-wc-email-customizer.php:258
995
- msgid "Available variables: {site_title}, {order_number}"
996
- msgstr ""
997
-
998
- #: includes/customizer/class-wc-email-customizer.php:281
999
- msgid ""
1000
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
1001
- "{customer_last_name}, {customer_username}, {order_number}"
1002
- msgstr ""
1003
-
1004
- #: includes/customizer/class-wc-email-customizer.php:300
1005
  msgid "Display tracking details"
1006
- msgstr ""
1007
 
1008
- #: includes/customizer/class-wc-email-customizer.php:316
1009
  msgid "Display order details"
1010
- msgstr ""
1011
 
1012
- #: includes/customizer/class-wc-email-customizer.php:333
1013
  msgid "Display Shipping Address"
1014
- msgstr ""
1015
 
1016
- #: includes/customizer/class-wc-email-customizer.php:350
1017
  msgid "Display Billing Address"
1018
- msgstr ""
1019
 
1020
- #: includes/customizer/class-wc-email-customizer.php:367
1021
  msgid "Enable Google Analytics tracking"
1022
- msgstr ""
1023
 
1024
- #: includes/customizer/class-wc-email-customizer.php:385
1025
  msgid ""
1026
  "This will be appended to URL in the email content – e.g. "
1027
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1028
  msgstr ""
 
 
 
1029
 
1030
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1031
  msgid "Your order #{order_number} is Failed Attempt"
1032
  msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1033
 
1034
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1035
  msgid ""
1036
  "Hi there. we thought you'd like to know that your recent order from "
1037
  "{site_title} is Failed Attempt"
@@ -1039,23 +1017,23 @@ msgstr ""
1039
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1040
  "από το {site_title} απέτυχε"
1041
 
1042
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1043
  msgid "Failed Attempt shipment status email"
1044
  msgstr ""
1045
  "Αποτυχία ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής απόπειρας αποστολής"
1046
 
1047
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1048
  msgid "Enable Failed Attempt shipment status email"
1049
  msgstr ""
1050
  "Ενεργοποίηση αποτυχημένης προσπάθειας ηλεκτρονικού ταχυδρομείου κατάστασης "
1051
  "αποστολής"
1052
 
1053
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1054
  msgid "Your order #{order_number} is in transit"
1055
  msgstr ""
1056
  "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1057
 
1058
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1059
  msgid ""
1060
  "Hi there. we thought you'd like to know that your recent order from "
1061
  "{site_title} is in transit"
@@ -1063,23 +1041,23 @@ msgstr ""
1063
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1064
  "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
1065
 
1066
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1067
  msgid "In Transit shipment status email"
1068
  msgstr ""
1069
  "Στο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής διαμετακόμισης\n"
1070
 
1071
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1072
  msgid "Enable In Transit shipment status email"
1073
  msgstr ""
1074
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής κατά τη "
1075
  "μεταφορά\n"
1076
 
1077
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1078
  msgid "Your order #{order_number} is out for delivery"
1079
  msgstr ""
1080
  "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1081
 
1082
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1083
  msgid ""
1084
  "Hi there. we thought you'd like to know that your recent order from "
1085
  "{site_title} is out for delivery."
@@ -1087,21 +1065,21 @@ msgstr ""
1087
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1088
  "από το {site_title} είναι έξω για παράδοση.\n"
1089
 
1090
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1091
  msgid "Out For Delivery shipment status email"
1092
  msgstr ""
1093
  "Έξοδος για την αποστολή του ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
1094
 
1095
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1096
  msgid "Enable Out For Delivery shipment status email"
1097
  msgstr "Ενεργοποίηση μηνύματος κατάστασης παράδοσης αποστολής"
1098
 
1099
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1100
  msgid "Your order #{order_number} has returned to sender"
1101
  msgstr ""
1102
  "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1103
 
1104
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1105
  msgid ""
1106
  "Hi there. we thought you'd like to know that your recent order from "
1107
  "{site_title} has been returned to sender."
@@ -1109,295 +1087,299 @@ msgstr ""
1109
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1110
  "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
1111
 
1112
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1113
  msgid "Return To Sender shipment status email"
1114
  msgstr ""
1115
  "Επιστροφή στο μήνυμα αποστολής αποστολής αποστολέα\n"
1116
 
1117
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1118
  msgid "Enable Return To Sender shipment status email"
1119
  msgstr ""
1120
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής επιστροφής σε "
1121
  "αποστολέα"
1122
 
1123
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1124
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1125
- #: includes/views/html-tracking-info-design-preview.php:45
1126
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1127
  msgid "Provider"
1128
  msgstr "Μεταφορέας"
1129
 
1130
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1131
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1132
- #: includes/views/html-tracking-info-design-preview.php:46
1133
- #: templates/emails/tracking-info.php:134
1134
- #: templates/myaccount/view-order.php:111
1135
  msgid "Tracking Number"
1136
  msgstr "Αριθμός"
1137
 
1138
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1139
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1140
  msgid "Shipped Date"
1141
  msgstr ""
1142
  "Ημερομηνία αποστολής\n"
1143
 
1144
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1145
- msgid ""
1146
- "select from last 20 orders one order that you added tracking info in order "
1147
- "to preview and design the tracking info table."
1148
  msgstr ""
1149
- "επιλέξτε από τις τελευταίες 20 παραγγελίες μία παραγγελία που προσθέσατε "
1150
- "πληροφορίες παρακολούθησης για να δείτε και να σχεδιάσετε τον πίνακα "
1151
- "πληροφοριών παρακολούθησης.\n"
1152
 
1153
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
1154
  msgid "Tracking Display Position"
1155
  msgstr "Παρακολούθηση θέσης προβολής"
1156
 
1157
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1158
  msgid "Before Order Details"
1159
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
1160
 
1161
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1162
  msgid "After Order Details"
1163
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
1164
 
1165
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1166
- msgid "Main Header text"
1167
- msgstr "Κύριο κείμενο κεφαλίδας"
 
1168
 
1169
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1170
- #: templates/pip/tracking-info.php:17
1171
  msgid "Tracking Information"
1172
  msgstr "Πληροφορίες Παρακολούθησης"
1173
 
1174
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1175
  msgid "Additional text after header"
1176
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
1177
 
1178
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
 
 
 
 
 
 
 
 
 
 
 
1179
  msgid "Table Layout"
1180
- msgstr "Διάταξη πίνακα"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1181
 
1182
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1183
- msgid "Display Shipment Provider image"
1184
- msgstr "Εμφάνιση εικόνας παροχέα αποστολής"
 
 
 
 
1185
 
1186
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1187
- msgid "Hide date"
1188
- msgstr "Απόκρυψη ημερομηνίας"
 
 
 
 
 
 
 
 
 
1189
 
1190
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
1191
- msgid "Provider Header Text"
 
 
 
 
 
 
 
 
 
 
 
 
1192
  msgstr "Κείμενο κεφαλίδας παροχέα"
1193
 
1194
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1195
- msgid "Tracking Number Header Text"
1196
- msgstr "Κείμενο κεφαλίδας αριθμού παρακολούθησης"
 
1197
 
1198
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1199
- msgid "Shipped Date Header Text"
1200
- msgstr "Κείμενο κεφαλίδας μεταφερόμενης ημερομηνίας"
 
1201
 
1202
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
1203
  msgid "Track Label"
1204
  msgstr "Ετικέτα διαδρομής"
1205
 
1206
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1207
- msgid "Track Header Text"
1208
- msgstr "Κείμενο κεφαλίδας κομματιού"
 
 
 
 
 
1209
 
1210
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
1211
- msgid "Table Design"
1212
  msgstr ""
1213
- "Σχεδιασμός πίνακα\n"
1214
 
1215
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
 
 
 
 
1216
  msgid "Padding"
1217
  msgstr ""
1218
  "Υλικό παραγεμίσματος\n"
1219
 
1220
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
 
1221
  msgid "Background color"
1222
  msgstr ""
1223
  "Χρώμα του φόντου\n"
1224
 
1225
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
 
1226
  msgid "Border color"
1227
  msgstr ""
1228
  "Χρώμα πλαισίου\n"
1229
 
1230
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1231
  msgid "Border size"
1232
  msgstr ""
1233
  "Μέγεθος περιθωρίου\n"
1234
 
1235
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1236
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1237
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1238
- msgid "Select"
1239
- msgstr "Επιλογή"
1240
-
1241
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1242
- msgid "Table text align"
1243
- msgstr "Ευθυγράμμιση κειμένου πίνακα"
1244
-
1245
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1246
- msgid "Left"
1247
  msgstr ""
1248
- "Αριστερά\n"
1249
-
1250
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1251
- msgid "Right"
1252
- msgstr "σωστά"
1253
-
1254
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1255
- msgid "Center"
1256
- msgstr "Κέντρο"
1257
 
1258
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1259
- msgid "Table header font size"
1260
- msgstr "Μέγεθος γραμματοσειράς κεφαλίδας πίνακα"
1261
 
1262
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1263
- msgid "Table header font color"
1264
- msgstr "Χρώμα γραμματοσειράς κεφαλίδας πίνακα"
1265
 
1266
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1267
- msgid "Table content font size"
1268
- msgstr "Μέγεθος γραμματοσειράς περιεχομένου πίνακα"
1269
-
1270
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1271
- msgid "Table content font color"
1272
- msgstr "Χρώμα γραμματοσειράς περιεχομένου πίνακα"
1273
-
1274
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1275
  msgid "Content line height"
1276
  msgstr ""
1277
  "Το ύψος της γραμμής περιεχομένου\n"
1278
 
1279
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1280
  msgid "Content font weight"
1281
  msgstr ""
1282
  "Βάρος γραμματοσειράς περιεχομένου\n"
1283
 
1284
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1285
- msgid "Track Link"
1286
- msgstr "Σύνδεσμος διαδρομής"
1287
-
1288
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1289
- msgid "Track Link Font Color"
1290
- msgstr "Χρώμα γραμματοσειράς γραμμής σύνδεσης"
1291
-
1292
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1293
- msgid "Track Link Background Color"
1294
- msgstr "Χρώμα φόντου συνδέσμου διαδρομής"
1295
-
1296
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1297
- msgid "Track link Border"
1298
- msgstr "Γραμμή συνδέσμου γραμμής"
1299
-
1300
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1301
- msgid "Header Color"
1302
  msgstr ""
1303
- "Χρώμα κεφαλίδας\n"
1304
 
1305
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1306
- msgid "Success Status Color"
1307
  msgstr ""
1308
- "Χρώμα κατάστασης επιτυχίας\n"
1309
 
1310
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1311
- msgid "Warning Status Color"
1312
- msgstr ""
1313
- "Προειδοποίηση Χρώμα κατάστασης\n"
1314
 
1315
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1316
- msgid "Tracking info Border Color"
 
 
1317
  msgstr ""
1318
- "Πληροφορίες παρακολούθησης Χρώμα περιγράμματος\n"
 
 
1319
 
1320
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1321
- msgid "Tracking info width (px)"
1322
- msgstr ""
1323
- "Πλάτος πληροφοριών παρακολούθησης (px)\n"
1324
 
1325
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1326
- msgid "Tracking details Border Color"
 
 
1327
  msgstr ""
1328
- "Λεπτομέρειες παρακολούθησης Χρώμα περιγράμματος\n"
 
 
 
 
 
1329
 
1330
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1331
- msgid "Tracking info table shade color"
1332
  msgstr ""
1333
- "Παρακολούθηση χρώματος πίνακα χρώματος πληροφοριών\n"
1334
 
1335
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1336
- msgid "Tracking events font color"
 
 
1337
  msgstr ""
1338
- "Παρακολούθηση χρώματος γραμματοσειράς συμβάντων\n"
 
1339
 
1340
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1341
- msgid "Tracking info table margin top/bottom(px)"
1342
  msgstr ""
1343
- "Μέγιστο / κάτω περιθώριο πίνακα πληροφοριών παρακολούθησης (px)\n"
1344
 
1345
  #: includes/emails/class-shipment-delivered-email.php:32
1346
  msgid "Delivered order"
1347
- msgstr ""
1348
 
1349
  #: includes/emails/class-shipment-delivered-email.php:33
1350
  msgid ""
1351
  "Order delivered emails are sent to customers when their orders are marked "
1352
  "delivered and usually indicate that their orders have been shipped."
1353
  msgstr ""
 
 
 
1354
 
1355
- #: includes/emails/class-shipment-delivered-email.php:228
1356
- msgid "Enable this email notification"
1357
- msgstr ""
1358
-
1359
- #: includes/emails/class-shipment-delivered-email.php:232
1360
- msgid "Recipient(s)"
1361
- msgstr ""
1362
-
1363
- #. %s: WP admin email
1364
- #: includes/emails/class-shipment-delivered-email.php:235
1365
- #, php-format
1366
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1367
- msgstr ""
1368
-
1369
- #: includes/emails/class-shipment-delivered-email.php:241
1370
- msgid "Subject"
1371
- msgstr ""
1372
-
1373
- #. %s: list of placeholders
1374
- #: includes/emails/class-shipment-delivered-email.php:245
1375
- #: includes/emails/class-shipment-delivered-email.php:254
1376
- #, php-format
1377
- msgid "Available placeholders: %s"
1378
- msgstr ""
1379
-
1380
- #: includes/emails/class-shipment-delivered-email.php:259
1381
- msgid "Email type"
1382
- msgstr ""
1383
-
1384
- #: includes/emails/class-shipment-delivered-email.php:261
1385
- msgid "Choose which format of email to send."
1386
- msgstr ""
1387
 
1388
- #: includes/emails/class-shipment-delivered-email.php:269
1389
- msgid "\" >Click Here</a>"
1390
- msgstr ""
1391
-
1392
- #: includes/emails/class-shipment-delivered-email.php:270
1393
  msgid "Edit in customizer"
1394
- msgstr ""
1395
 
1396
- #: includes/views/admin_options_bulk_upload.php:5
1397
  msgid "Upload CSV"
1398
  msgstr "Μεταφόρτωση CSV"
1399
 
1400
- #: includes/views/admin_options_bulk_upload.php:15
1401
  msgid ""
1402
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1403
  "added)"
@@ -1405,134 +1387,280 @@ msgstr ""
1405
  "Να αντικατασταθούν οι πληροφορίες παρακολούθησης εάν υπάρχουν; (αν δεν έχει "
1406
  "επιλεγεί, θα προστεθούν οι πληροφορίες παρακολούθησης)"
1407
 
1408
- #: includes/views/admin_options_bulk_upload.php:25
1409
- #: includes/views/admin_options_shipping_provider.php:112
1410
- #: includes/views/admin_options_shipping_provider.php:146
1411
  msgid "Upload"
1412
  msgstr "Μεταφόρτωση"
1413
 
1414
- #: includes/views/admin_options_bulk_upload.php:28
1415
- #: includes/views/admin_options_trackship_integration.php:27
1416
- #: includes/views/admin_options_trackship_integration.php:45
1417
  msgid "Settings Saved."
1418
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1419
 
1420
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1421
  msgid "You can download an example of the csv file:"
1422
  msgstr "Μπορείτε να κατεβάσετε ένα παράδειγμα του αρχείου csv:"
1423
 
1424
- #: includes/views/admin_options_bulk_upload.php:35
1425
  msgid "Download sample csv file"
1426
  msgstr "Κάντε λήψη δείγματος αρχείου csv"
1427
 
1428
- #: includes/views/admin_options_bulk_upload.php:36
1429
  msgid ""
1430
  "For detailed instructions on how to upload tracking info in bulk, see our"
1431
  msgstr ""
1432
  "Για λεπτομερείς οδηγίες σχετικά με τον τρόπο μαζικής αποστολής πληροφοριών "
1433
  "παρακολούθησης, ανατρέξτε στη σελίδα μας"
1434
 
1435
- #: includes/views/admin_options_bulk_upload.php:36
1436
- msgid "documentation"
1437
- msgstr "απόδειξη με έγγραφα"
 
 
 
 
 
 
 
 
1438
 
1439
- #: includes/views/admin_options_bulk_upload.php:38
1440
- msgid "Upload Progress - "
1441
- msgstr "Πρόοδος Μεταφόρτωσης - "
1442
 
1443
- #: includes/views/admin_options_settings.php:7
1444
- #: includes/views/admin_options_trackship_integration.php:10
1445
- msgid "General"
1446
- msgstr "Γενικός"
 
1447
 
1448
- #: includes/views/admin_options_settings.php:10
1449
- #: includes/views/admin_options_settings.php:19
1450
- msgid "Delivered Order Status"
1451
- msgstr "Παραδοθείσα κατάσταση παραγγελίας"
1452
 
1453
- #: includes/views/admin_options_settings.php:12
1454
- msgid "Tracking Info Display Designer"
 
 
 
 
 
 
 
 
 
 
 
 
1455
  msgstr ""
1456
- "Σχεδίαση προβολής πληροφοριών παρακολούθησης\n"
1457
 
1458
- #: includes/views/admin_options_settings.php:15
1459
- #: includes/views/admin_options_trackship_integration.php:19
1460
- msgid "General Settings"
1461
- msgstr "Γενικές Ρυθμίσεις"
 
 
1462
 
1463
- #: includes/views/admin_options_settings.php:24
1464
- #: includes/views/admin_options_trackship_integration.php:25
1465
- #: includes/views/admin
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"
723
  msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
724
 
725
+ #: includes/customizer/class-wcast-customizer.php:52
726
  msgid "Tracking info display"
727
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
728
 
729
+ #: includes/customizer/class-wcast-customizer.php:60
730
+ #: includes/customizer/class-wc-email-customizer.php:163
731
+ msgid "Delivered order status email"
732
  msgstr ""
733
+ "Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
 
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"
750
 
751
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
752
  msgid "Your order #{order_number} is available for pickup"
753
  msgstr ""
754
  "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
755
 
756
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
757
  msgid ""
758
  "Hi there. we thought you'd like to know that your recent order from "
759
  "{site_title} is available for pickup."
761
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
762
  "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
763
 
764
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
765
  msgid "Available For Pickup shipment status email"
766
  msgstr ""
767
  "Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής\n"
768
 
769
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
770
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
771
+ #: includes/customizer/class-wc-email-customizer.php:164
772
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
773
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
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
  "Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
781
  "ταχυδρομείου.\n"
782
 
783
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
784
  msgid "Enable Available For Pickup shipment status email"
785
  msgstr ""
786
  "Ενεργοποιήστε το Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής"
787
 
788
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
789
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
790
+ #: includes/customizer/class-wc-email-customizer.php:197
791
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
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"
801
 
802
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
803
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
804
+ #: includes/customizer/class-wc-email-customizer.php:226
805
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
806
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
807
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
808
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
850
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
851
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
852
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
853
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
854
  msgid "Show tracking details"
855
  msgstr ""
856
  "Εμφάνιση λεπτομερειών παρακολούθησης\n"
857
 
858
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
859
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
860
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
861
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
862
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
863
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
864
  msgid "Show order details"
865
  msgstr ""
866
  "Εμφάνιση λεπτομερειών παραγγελίας\n"
867
 
868
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
869
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
870
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
871
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
872
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
873
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
874
  msgid "Show billing address"
875
  msgstr ""
876
  "Εμφάνιση διεύθυνσης χρέωσης\n"
877
 
878
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
879
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
880
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
881
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
882
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
883
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
884
  msgid "Show shipping address"
885
  msgstr ""
886
  "Εμφάνιση της διεύθυνσης αποστολής\n"
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
910
+ #: includes/customizer/class-wc-email-customizer.php:288
911
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
912
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
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
944
  msgid ""
945
  "Hi there. we thought you'd like to know that your recent order from "
946
  "{site_title} has been Delivered."
948
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
949
  "από {site_title} έχει παραδοθεί.\n"
950
 
951
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
952
  msgid "Delivered shipment status email"
953
  msgstr ""
954
  "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
955
 
956
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
957
  msgid "Enable Delivered shipment status email"
958
  msgstr "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής"
959
 
960
+ #: includes/customizer/class-wc-email-customizer.php:130
961
+ #: includes/emails/class-shipment-delivered-email.php:94
962
  msgid "Your {site_title} order is now delivered"
963
  msgstr ""
964
  "Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
965
 
966
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
967
  msgid "Enable Delivered order status email"
968
  msgstr ""
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"
1010
  msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1011
 
1012
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1013
  msgid ""
1014
  "Hi there. we thought you'd like to know that your recent order from "
1015
  "{site_title} is Failed Attempt"
1017
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1018
  "από το {site_title} απέτυχε"
1019
 
1020
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
1021
  msgid "Failed Attempt shipment status email"
1022
  msgstr ""
1023
  "Αποτυχία ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής απόπειρας αποστολής"
1024
 
1025
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
1026
  msgid "Enable Failed Attempt shipment status email"
1027
  msgstr ""
1028
  "Ενεργοποίηση αποτυχημένης προσπάθειας ηλεκτρονικού ταχυδρομείου κατάστασης "
1029
  "αποστολής"
1030
 
1031
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1032
  msgid "Your order #{order_number} is in transit"
1033
  msgstr ""
1034
  "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1035
 
1036
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1037
  msgid ""
1038
  "Hi there. we thought you'd like to know that your recent order from "
1039
  "{site_title} is in transit"
1041
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1042
  "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
1043
 
1044
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
1045
  msgid "In Transit shipment status email"
1046
  msgstr ""
1047
  "Στο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής διαμετακόμισης\n"
1048
 
1049
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
1050
  msgid "Enable In Transit shipment status email"
1051
  msgstr ""
1052
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής κατά τη "
1053
  "μεταφορά\n"
1054
 
1055
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1056
  msgid "Your order #{order_number} is out for delivery"
1057
  msgstr ""
1058
  "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1059
 
1060
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1061
  msgid ""
1062
  "Hi there. we thought you'd like to know that your recent order from "
1063
  "{site_title} is out for delivery."
1065
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1066
  "από το {site_title} είναι έξω για παράδοση.\n"
1067
 
1068
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
1069
  msgid "Out For Delivery shipment status email"
1070
  msgstr ""
1071
  "Έξοδος για την αποστολή του ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
1072
 
1073
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
1074
  msgid "Enable Out For Delivery shipment status email"
1075
  msgstr "Ενεργοποίηση μηνύματος κατάστασης παράδοσης αποστολής"
1076
 
1077
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1078
  msgid "Your order #{order_number} has returned to sender"
1079
  msgstr ""
1080
  "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1081
 
1082
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1083
  msgid ""
1084
  "Hi there. we thought you'd like to know that your recent order from "
1085
  "{site_title} has been returned to sender."
1087
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1088
  "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
1089
 
1090
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
1091
  msgid "Return To Sender shipment status email"
1092
  msgstr ""
1093
  "Επιστροφή στο μήνυμα αποστολής αποστολής αποστολέα\n"
1094
 
1095
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
1096
  msgid "Enable Return To Sender shipment status email"
1097
  msgstr ""
1098
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής επιστροφής σε "
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"
1380
  msgstr "Μεταφόρτωση CSV"
1381
 
1382
+ #: includes/views/admin_options_bulk_upload.php:20
1383
  msgid ""
1384
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1385
  "added)"
1387
  "Να αντικατασταθούν οι πληροφορίες παρακολούθησης εάν υπάρχουν; (αν δεν έχει "
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
 
1396
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
1397
  msgid "Settings Saved."
1398
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1399
 
1400
+ #: includes/views/admin_options_bulk_upload.php:41
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