Advanced Shipment Tracking for WooCommerce - Version 3.1.6

Version Description

Download this release

Release Info

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

Code changes from version 3.3 to 3.1.6

Files changed (131) hide show
  1. assets/css/admin.css +0 -2284
  2. assets/css/customizer-styles.css +0 -128
  3. assets/css/customizer.css +0 -637
  4. assets/css/icons/ast-icon.png +0 -0
  5. assets/css/icons/available-for-picup-o.png +0 -0
  6. assets/css/icons/available-for-picup.png +0 -0
  7. assets/css/icons/carrier-unsupported-o.png +0 -0
  8. assets/css/icons/carrier-unsupported.png +0 -0
  9. assets/css/icons/delivered-o.png +0 -0
  10. assets/css/icons/delivered.png +0 -0
  11. assets/css/icons/failure-o.png +0 -0
  12. assets/css/icons/failure.png +0 -0
  13. assets/css/icons/in-transit-o.png +0 -0
  14. assets/css/icons/in-transit.png +0 -0
  15. assets/css/icons/invalid-o.png +0 -0
  16. assets/css/icons/invalid-tracking-number-o.png +0 -0
  17. assets/css/icons/invalid-tracking-number.png +0 -0
  18. assets/css/icons/invalid-user-key-o.png +0 -0
  19. assets/css/icons/invalid-user-key.png +0 -0
  20. assets/css/icons/invalid.png +0 -0
  21. assets/css/icons/label_cancelled-o.png +0 -0
  22. assets/css/icons/label_cancelled.png +0 -0
  23. assets/css/icons/on-hold-o.png +0 -0
  24. assets/css/icons/on-hold.png +0 -0
  25. assets/css/icons/out-for-delivery-o.png +0 -0
  26. assets/css/icons/out-for-delivery.png +0 -0
  27. assets/css/icons/pending-trackship-o.png +0 -0
  28. assets/css/icons/pending-trackship.png +0 -0
  29. assets/css/icons/pre-transit-o.png +0 -0
  30. assets/css/icons/pre-transit.png +0 -0
  31. assets/css/icons/return-to-sender-o.png +0 -0
  32. assets/css/icons/return-to-sender.png +0 -0
  33. assets/css/icons/unknown-o.png +0 -0
  34. assets/css/icons/unknown.png +0 -0
  35. assets/css/icons/wrong-shipiing-provider-o.png +0 -0
  36. assets/css/icons/wrong-shipiing-provider.png +0 -0
  37. assets/css/preview-styles.css +0 -12
  38. assets/images/3plwinner.png +0 -0
  39. assets/images/WooCommerce-PDF-Invoices-Packing-Slips.png +0 -0
  40. assets/images/WooCommerce-PDF-Invoices.png +0 -0
  41. assets/images/aliexpress.png +0 -0
  42. assets/images/alp.png +0 -0
  43. assets/images/aosm.png +0 -0
  44. assets/images/ast-logo.png +0 -0
  45. assets/images/ast-pro-banner.png +0 -0
  46. assets/images/cart-rover.png +0 -0
  47. assets/images/cbr.png +0 -0
  48. assets/images/cev-icon.png +0 -0
  49. assets/images/customcat.png +0 -0
  50. assets/images/dear-system.png +0 -0
  51. assets/images/dianxiaomi.png +0 -0
  52. assets/images/eiz.png +0 -0
  53. assets/images/icon-default.png +0 -0
  54. assets/images/ordoro.png +0 -0
  55. assets/images/paypal-addon-banner.png +0 -0
  56. assets/images/picqer.png +0 -0
  57. assets/images/printify.png +0 -0
  58. assets/images/quickbooks.png +0 -0
  59. assets/images/readytoship.png +0 -0
  60. assets/images/royal-mail.png +0 -0
  61. assets/images/shipstation.png +0 -0
  62. assets/images/smswoo-addons-icon.jpg +0 -0
  63. assets/images/smswoo-icon.png +0 -0
  64. assets/images/sre.png +0 -0
  65. assets/images/timeline-round.png +0 -0
  66. assets/images/tpi-addon-icon.png +0 -0
  67. assets/images/trackship-ast-banner.png +0 -0
  68. assets/images/trackship-logo.png +0 -0
  69. assets/images/trackship.png +0 -0
  70. assets/images/ts-header-banner.png +0 -0
  71. assets/images/usps.png +0 -0
  72. assets/images/wc-addon-banner.jpg +0 -0
  73. assets/images/woo-UPS-shipping.png +0 -0
  74. assets/images/woo-shipping.png +0 -0
  75. assets/images/zorem-logo.png +0 -0
  76. assets/js/admin.js +0 -486
  77. assets/js/customizer-scripts.js +0 -110
  78. assets/js/customizer.js +0 -608
  79. assets/js/hip.js +0 -341
  80. assets/js/jquery.ajax.queue.js +0 -74
  81. assets/js/preview-scripts.js +0 -236
  82. assets/js/settings.js +0 -99
  83. assets/js/shipping_row.js +0 -956
  84. assets/shipment-provider-img/wahana.png +0 -0
  85. assets/shipment-provider-img/xpressbees.png +0 -0
  86. assets/shipment-provider-img/yamato.png +0 -0
  87. assets/shipment-provider-img/yanwen.png +0 -0
  88. assets/shipment-provider-img/yodel.png +0 -0
  89. assets/shipment-provider-img/yun-express-tracking.png +0 -0
  90. assets/shipment-provider-img/yurtici-kargo.png +0 -0
  91. assets/tracking.csv +0 -4
  92. includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php +0 -479
  93. includes/class-wc-admin-notices.php +0 -111
  94. includes/class-wc-advanced-shipment-tracking-admin-notice.php +0 -163
  95. includes/class-wc-advanced-shipment-tracking-admin.php +0 -2256
  96. includes/class-wc-advanced-shipment-tracking-install.php +0 -419
  97. includes/class-wc-advanced-shipment-tracking-settings.php +0 -704
  98. includes/class-wc-advanced-shipment-tracking.php +0 -1685
  99. includes/customizer/class-wc-partial-shipped-email-customizer.php +0 -375
  100. includes/customizer/class-wc-tracking-info-customizer.php +0 -1163
  101. includes/customizer/class-wc-updated-tracking-email-customizer.php +0 -420
  102. includes/customizer/class-wcast-customizer.php +0 -465
  103. includes/customizer/custom-controls.php +0 -170
  104. includes/customizer/preview/partial_shipped_preview.php +0 -29
  105. includes/customizer/preview/preview.php +0 -29
  106. includes/customizer/preview/updated_tracking_preview.php +0 -29
  107. includes/email-manager.php +0 -116
  108. includes/emails/class-shipment-partial-shipped-email.php +0 -197
  109. includes/emails/class-shipment-updated-tracking-email.php +0 -184
  110. includes/tracking-info.php +0 -82
  111. includes/views/activity_panel.php +0 -70
  112. includes/views/admin_options_addons.php +0 -170
  113. includes/views/admin_options_bulk_upload.php +0 -122
  114. includes/views/admin_options_osm.php +0 -88
  115. includes/views/admin_options_settings.php +0 -79
  116. includes/views/admin_options_shipping_provider.php +0 -130
  117. includes/views/admin_options_trackship_integration.php +0 -28
  118. includes/views/integrations_admin_options.php +0 -25
  119. includes/views/zorem_admin_addons_sidebar.php +30 -0
  120. includes/views/zorem_admin_bulk_upload_sidebar.php +56 -0
  121. includes/views/zorem_admin_sidebar.php +53 -0
  122. lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
  123. lang/woo-advanced-shipment-tracking-bg_BG.po +1348 -604
  124. lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
  125. lang/woo-advanced-shipment-tracking-da_DK.po +1333 -615
  126. lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
  127. lang/woo-advanced-shipment-tracking-de_DE.po +1370 -619
  128. lang/woo-advanced-shipment-tracking-el.mo +0 -0
  129. lang/woo-advanced-shipment-tracking-el.po +1359 -622
  130. lang/woo-advanced-shipment-tracking-es_ES.mo +0 -0
  131. lang/woo-advanced-shipment-tracking-es_ES.po +190 -228
assets/css/admin.css DELETED
@@ -1,2284 +0,0 @@
1
- /* fallback */
2
- .zorem-layout__header {
3
- height: 60px;
4
- background: #fff;
5
- display: flex;
6
- justify-content: space-between;
7
- flex-direction: row;
8
- box-sizing: border-box;
9
- padding: 0;
10
- width: 100%;
11
- z-index: 1001;
12
- align-items: center;
13
- position: relative;
14
- }
15
- .zorem-layout__header * {
16
- box-sizing: border-box;
17
- }
18
- .zorem-layout__header .zorem-layout__header-logo{
19
- width: 100px;
20
- padding: 0 20px;
21
- margin: 0;;
22
- }
23
- .zorem-layout__header .page_heading {
24
- font-size: 14px;
25
- color: #3c4758;
26
- padding: 0 20px;
27
- margin: auto 0;
28
- font-weight: 400;
29
- }
30
- .zorem-layout__header .page_heading a {
31
- text-decoration: none;
32
- }
33
- .zorem-layout__header .page_heading .dashicons {
34
- font-size: 14px;
35
- vertical-align: middle;
36
- line-height: 20px;
37
- }
38
- .woocommerce-layout__activity-panel-tabs {
39
- right: 0;
40
- position: absolute;
41
- }
42
- .woocommerce-layout__activity-panel-tabs .dashicons{
43
- width: 24px;
44
- height: 24px;
45
- font-size: 24px;
46
- line-height: 24px;
47
- color: #6e708c;
48
- }
49
- .woocommerce-layout__activity-panel-tabs label {
50
- color: #005b9a;
51
- }
52
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab {
53
- display: flex;
54
- flex-direction: column;
55
- justify-content: center;
56
- align-items: center;
57
- position: relative;
58
- border: none;
59
- outline: none;
60
- cursor: pointer;
61
- background-color: transparent;
62
- max-width: -webkit-min-content;
63
- max-width: min-content;
64
- min-width: 80px;
65
- width: 100%;
66
- height: 60px;
67
- color: #757575;
68
- white-space: nowrap;
69
- height: 44px;
70
- }
71
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active{
72
- color: #1e1e1e;
73
- box-shadow: none;
74
- }
75
- .woocommerce-layout__activity-panel-wrapper {
76
- height: calc(100vh - 60px);
77
- background: #f0f0f0;
78
- width: 510px;
79
- transition-property: transform box-shadow;
80
- transition-duration: .3s;
81
- transition-timing-function: ease-in-out;
82
- position: absolute;
83
- right: 0;
84
- top: 105px;
85
- z-index: 1000;
86
- overflow-x: hidden;
87
- overflow-y: auto;
88
- visibility: hidden;
89
- opacity: 0;
90
- }
91
-
92
- .woocommerce-layout__activity-panel-wrapper.is-open {
93
- box-shadow: 0 12px 12px 0 rgb(85 93 102 / 30%);
94
- }
95
- .woocommerce-layout__activity-panel-wrapper.is-switching {
96
- animation: tabSwitch;
97
- animation-duration: .3s;
98
- visibility: visible;
99
- opacity: 1;
100
- }
101
- .woocommerce-layout__activity-panel-header {
102
- height: 50px;
103
- background: #e0e0e0;
104
- padding: 16px;
105
- display: flex;
106
- justify-content: space-between;
107
- align-items: center;
108
- }
109
- .woocommerce-layout__inbox-title {
110
- color: #1e1e1e;
111
- display: flex;
112
- align-items: center;
113
- }
114
- .css-activity-panel-Text {
115
- font-size: 20px;
116
- }
117
- .woocommerce-list {
118
- margin: 0;
119
- padding: 0;
120
- }
121
- .woocommerce-list__item {
122
- display: flex;
123
- align-items: center;
124
- margin-bottom: 0;
125
- background-color: #fff;
126
- }
127
- .woocommerce-list__item:not(:first-child) {
128
- border-top: 1px solid #f0f0f0;
129
- }
130
- .woocommerce-list__item.has-action {
131
- cursor: pointer;
132
- }
133
- .woocommerce-list__item > .woocommerce-list__item-inner {
134
- text-decoration: none;
135
- width: 100%;
136
- display: flex;
137
- align-items: center;
138
- padding: 16px 24px;
139
- }
140
- .woocommerce-list__item .woocommerce-list__item-before {
141
- margin-right: 20px;
142
- display: flex;
143
- align-items: center;
144
- }
145
- .woocommerce-list__item .woocommerce-list__item-title {
146
- color: #005b9a;
147
- }
148
- .woocommerce-list-Text {
149
- font-weight: 600;
150
- font-size: 14px;
151
- }
152
- .woocommerce-list__item .woocommerce-list__item-after {
153
- margin-left: 16px;
154
- display: flex;
155
- align-items: center;
156
- margin-left: auto;
157
- }
158
- @media (min-width: 783px) {
159
- .woocommerce-layout__activity-panel-header {
160
- padding: 16px 24px;
161
- }
162
- }
163
- #woocommerce-advanced-shipment-tracking .inside {
164
- padding: 0 12px 12px;
165
- margin: 0
166
- }
167
- #woocommerce-advanced-shipment-tracking .button-show-tracking-form {
168
- margin-top: 12px;
169
- }
170
- #woocommerce-advanced-shipment-tracking #shipment-tracking-form {
171
- display: none
172
- }
173
- #woocommerce-advanced-shipment-tracking #shipment-tracking-form p.form-field {
174
- margin-top: 0
175
- }
176
- #woocommerce-advanced-shipment-tracking input[type=text] {
177
- width: 100%
178
- }
179
- #woocommerce-advanced-shipment-tracking input[type=checkbox]{
180
- margin: 0px 8px 0 0px;
181
- vertical-align: bottom;
182
- }
183
- #woocommerce-advanced-shipment-tracking #change_order_to_shipped_field{
184
- margin: 0px 4px 0 4px;
185
- }
186
- #woocommerce-advanced-shipment-tracking .preview_tracking_link {
187
- display: none;
188
- margin-bottom: 0
189
- }
190
- #woocommerce-advanced-shipment-tracking .preview_tracking_link a {
191
- padding: 0 16px 0 0;
192
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVQYV2NkIBIwoqtTLJn9H13sfk8qI4ZCkCJ0xTgVoisGK0TWDRKAKQKxYXJwhTAFyIpg7gQpRlGIrBtbQICNR7cGJoasAa4QWRCnQmxWIbsbJA8AqXxEC1jaCvYAAAAASUVORK5CYII=) no-repeat right
193
- }
194
- #woocommerce-advanced-shipment-tracking .meta {
195
- font-size: 11px;
196
- color: #999;
197
- padding: 10px;
198
- margin: 0
199
- }
200
- #woocommerce-advanced-shipment-tracking .meta a.delete-tracking {
201
- color: #a00
202
- }
203
- #woocommerce-advanced-shipment-tracking #tracking-items {
204
- margin: 0
205
- }
206
- #woocommerce-advanced-shipment-tracking .tracking-content {
207
- background: #efefef none repeat scroll 0 0;
208
- padding: 10px;
209
- position: relative;
210
- margin: 0
211
- }
212
- #woocommerce-advanced-shipment-tracking #tracking-items .tracking-item:first-child {
213
- margin-top: 10px;
214
- }
215
- #woocommerce-advanced-shipment-tracking .tracking-content:after {
216
- content: "";
217
- display: block;
218
- position: absolute;
219
- bottom: -10px;
220
- left: 20px;
221
- width: 0;
222
- height: 0;
223
- border-width: 10px 10px 0 0;
224
- border-style: solid;
225
- border-color: #efefef transparent
226
- }
227
- section.tab_section {
228
- display: none;
229
- }
230
- section.inner_tab_section {
231
- display: none;
232
- padding: 0;
233
- border-top: 1px solid #ddd;
234
- }
235
- .tab_container_without_bg_1000{
236
- max-width: 1000px;
237
- margin: 25px 20px;
238
- }
239
- .tab_container_without_bg{
240
- margin: 25px 20px;
241
- }
242
- input.tab_input,input.inner_tab_input {
243
- display: none;
244
- }
245
- label.tab_label {
246
- text-decoration: none;
247
- padding: 15px;
248
- font-size: 14px;
249
- color: #013047;
250
- display: inline-block;
251
- line-height: 1;
252
- outline: none;
253
- }
254
- label.inner_tab_label {
255
- text-decoration: none;
256
- padding: 12px 12px 8px;
257
- font-size: 14px;
258
- display: inline-block;
259
- line-height: 1;
260
- outline: none;
261
- font-weight: 600;
262
- }
263
- .ts_notifications_outer_table label.inner_tab_label{
264
- padding: 15px 12px 15px;
265
- }
266
- .ts_notifications_outer_table input.inner_tab_input:checked + label {
267
- border-bottom: 3px solid #005b9a;
268
- padding: 15px 12px 12px;
269
- }
270
- .menu_link{
271
- text-decoration: none;
272
- padding: 15px;
273
- font-size: 14px;
274
- color: #3c4c58;
275
- display: inline-block;
276
- line-height: 1;
277
- outline: none;
278
- vertical-align: middle;
279
- }
280
- label.tab_label:hover {
281
- color: #005b9a;
282
- cursor: pointer;
283
- }
284
- input.tab_input:checked + label {
285
- color: #3c4758;
286
- border-bottom: 3px solid #3bc4e4;
287
- margin-bottom: -3px;
288
- font-weight: 600;
289
- }
290
- label.tab_label.first_label {
291
- margin-left: 20px;
292
- }
293
- input.inner_tab_input:checked + label.ts_tabs_label{
294
- border-bottom: 3px solid #09d3ac;
295
- }
296
- .menu_devider {
297
- border-top: 1px solid #e0e0e0;
298
- margin-bottom: 15px;
299
- }
300
- .tab_inner_container {
301
- padding: 0;
302
- margin: 0 auto;
303
- max-width: 1000px;
304
- }
305
- .provider_settings_icon {
306
- text-decoration: none;
307
- margin: 5px;
308
- line-height: 30px;
309
- }
310
- .provider_settings_icon span{
311
- width: 26px;
312
- height: 26px;
313
- font-size: 26px;
314
- vertical-align: middle;
315
- }
316
- .provider_settings .tgl-btn{
317
- margin-left: 5px;
318
- vertical-align: middle;
319
- }
320
- .tab_inner_container h4 {
321
- margin-top: 0;
322
- }
323
- #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 ~ #content_trackship_dashboard,#tab_trackship_settings:checked ~ #content_trackship_settings,#tab_tracking_page:checked ~ #content_tracking_page,#tab_status_notifications:checked ~ #content_status_notifications,#tab_tools:checked ~ #content_tools, #tab_license:checked ~ #content_tab_license, #tab_addons:checked ~ #content_tab_addons, #tab_osm:checked ~ #content_osm, #trackship_tab:checked ~ #content_trackship_dashboard, #trackship:checked ~ #trackship_landing,#integrations_tab:checked ~ #integrations_content {
324
- display: block !important;
325
- }
326
- #tab_email_notifications:checked ~ .shipment-status-email-section,#tab_sms_notifications:checked ~ .shipment-status-sms-section{
327
- display: block !important;
328
- }
329
- .ast_admin_content {
330
- vertical-align: top;
331
- }
332
- .spinner.active {
333
- visibility: visible;
334
- }
335
- .success_msg{
336
- border-left: 3px solid;
337
- border-color: green;
338
- background: #fff;
339
- margin-top: 20px;
340
- padding: 10px 15px;
341
- }
342
- #woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
343
- display: none;
344
- }
345
-
346
- .ast_admin_content .form-table th.titledesc {
347
- width: 40%;
348
- }
349
- .ast_admin_content .get_shipment_status_tool .form-table th.titledesc{
350
- width: 70%;
351
- }
352
- .ast_admin_content .get_shipment_status_tool .form-table td:last-child{
353
- text-align: right;
354
- }
355
- .ast_admin_content .get_shipment_status_tool .form-table.heading-table td:last-child{
356
- text-align: left;
357
- }
358
- .ast_admin_content table.form-table.upload_csv_table th{
359
- width: 40%;
360
- }
361
- .woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
362
- margin: -4px 0 0 5px;
363
- position: relative;
364
- font-size: 21px;
365
- }
366
-
367
- .woocommerce .ast_admin_content table.form-table select{
368
- width: 100%;
369
- max-width:400px;
370
- }
371
- .ast_admin_content .form-table .wp-color-result.button {
372
- margin: 0 6px 0px 0;
373
- }
374
- #wc_ast_status_label_color,#wc_ast_status_partial_shipped_label_color,#wc_ast_status_updated_tracking_label_color,#wc_ast_select_primary_color,#wc_ast_select_border_color,#wc_ast_shipped_status_label_color {
375
- width: 80px;
376
- }
377
-
378
- .tab_page_heading {
379
- font-size: 22px;
380
- font-weight: 600;
381
- color: #3c4758;
382
- margin: 25px 20px;
383
- }
384
- .tab_section_heading {
385
- font-size: 18px;
386
- font-weight: 600;
387
- color: #444;
388
- margin: 0 0 10px;
389
- padding-bottom: 10px;
390
- }
391
- .tab_container_without_bg_1000 .tab_page_heading{
392
- margin: 25px 15px 25px 0;
393
- }
394
- .tab_section_heading.clear_spacing, .tab_page_heading.clear_spacing {
395
- margin: 0;
396
- padding: 0;
397
- }
398
- .botton_border {
399
- border-bottom: 1px solid #e0e0e0;
400
- }
401
- .wp-core-ui .btn_green2 {
402
- background: #09d3ac;
403
- text-shadow: none;
404
- border-color: #09d3ac;
405
- box-shadow: none;
406
- font-size: 14px;
407
- line-height: 32px;
408
- height: 35px;
409
- padding: 0 10px;
410
- }
411
- .wp-core-ui .btn_ast2{
412
- background: #005B9A;
413
- text-shadow: none;
414
- border-color: #005B9A;
415
- box-shadow: none;
416
- font-size: 14px;
417
- line-height: 35px;
418
- padding: 0 10px;
419
- }
420
- .wp-core-ui .btn_full{
421
- width: 100%;
422
- }
423
-
424
- .wp-core-ui .btn_red {
425
- background: red;
426
- text-shadow: none;
427
- border-color: red;
428
- box-shadow: none;
429
- font-size: 14px;
430
- line-height: 35px;
431
- }
432
- .wp-core-ui .btn_ts_transparent{
433
- background: transparent;
434
- text-shadow: none;
435
- border-color: #09d3ac;
436
- color: #09d3ac;
437
- box-shadow: none;
438
- font-size: 14px;
439
- line-height: 35px;
440
- padding: 0 10px;
441
- }
442
- .wp-core-ui .btn_large {
443
- line-height: 36px;
444
- height: 40px;
445
- padding: 0 20px;
446
- font-size: 15px;
447
- }
448
- .wp-core-ui .btn_icon {
449
- padding: 0 15px 0 0;
450
- }
451
- .wp-core-ui .btn_green2 .dashicons{
452
- vertical-align: middle;
453
- line-height: 0.9;
454
- }
455
- .wp-core-ui .btn_large.add_custom_provider .dashicons {
456
- margin-left: 0;
457
- margin-right: 5px;
458
- }
459
- .wp-core-ui .btn_red:hover, .wp-core-ui .btn_red:focus {
460
- background: red;
461
- border-color: rgba(0,0,0,0.05);
462
- text-shadow: none;
463
- box-shadow: none;
464
- box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
465
- }
466
- .wp-core-ui .btn_green:hover, .wp-core-ui .btn_green:focus {
467
- background: rgb(35, 54, 152);
468
- border-color: rgba(0,0,0,0.05);
469
- color: #fff;
470
- text-shadow: none;
471
- box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
472
- }
473
- .wp-core-ui .btn_ast2:hover, .wp-core-ui .btn_ast2:focus {
474
- background: #005B9A;
475
- border-color: rgba(0,0,0,0.05);
476
- color: #fff;
477
- text-shadow: none;
478
- box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
479
- }
480
- .wp-core-ui .btn_ts_transparent:hover, .wp-core-ui .btn_ts_transparent:focus {
481
- background: transparent;
482
- border-color: #09d3ac;
483
- color: #09d3ac;
484
- text-shadow: none;
485
- }
486
- .shipment_tracking_admin_settings.wp-core-ui .button-primary:disabled{
487
- color: #fff!important;
488
- background: #ccc!important;
489
- border-color: #eee!important;
490
- cursor: not-allowed;
491
- }
492
-
493
- #wc_ast_upload_csv_form .mdl-progress {
494
- width: 100%;
495
- margin-top: 0 0 20px;
496
- height: 30px;
497
- }
498
- .csv_upload_status li{
499
- padding: 0 0 5px;
500
- border-bottom: 1px solid #e0e0e0;
501
- }
502
- .csv_upload_status li:before{
503
- font-family: dashicons;
504
- vertical-align: sub;
505
- margin-right: 5px;
506
- font-size: 18px;
507
- font-weight: 600;
508
- content: "\f153";
509
- color: #f44336;
510
- }
511
- .csv_upload_status li.success:before {
512
- content: "\f12a";
513
- color: #09d3ac;
514
- }
515
- .bulk_upload_status_td h2{
516
- color: #005b9a;
517
- font-size: 20px;
518
- margin: 0;
519
- }
520
- .form-table td p{
521
- margin: 0;
522
- }
523
- #wc_ast_trackship_form .trackship_status_section .form-table tr{
524
- border-bottom: 0;
525
- }
526
- #wc_ast_trackship_form .trackship_status_section .form-table tr:nth-last-child(2) {
527
- border-bottom: 1px solid #eee;
528
- }
529
-
530
- .tracking-content-div{
531
- margin-bottom: 5px;
532
- }
533
- .tracking-content-div a{
534
- word-wrap: break-word;
535
- }
536
- .wcast-shipment-status-list .wcast-shipment-est-delivery {
537
- display: block;
538
- }
539
-
540
- .has_est_delivery_0 .showif_has_est_delivery_0 {
541
- display: block;
542
- }
543
- .post-type-shop_order .wp-list-table .column-woocommerce-advanced-shipment-tracking {
544
- width: 20ch;
545
- padding: .5em;
546
- }
547
- .post-type-shop_order .wp-list-table .column-shipment_status {
548
- width: 20ch;
549
- padding: .5em;
550
- }
551
- .ft11 {
552
- font-size: 11px;
553
- }
554
- .wcast-tracking-number-list li, .wcast-shipment-status-list li {
555
- position: relative;
556
- padding: 5px;
557
- min-height: 50px;
558
- box-sizing: border-box;
559
- margin-bottom: 0;
560
- }
561
- a.inline_tracking_delete{
562
- display:none;
563
- position: absolute;
564
- top: 5px;
565
- right: 5px;
566
- font-size: 11px;
567
- color: #a00;
568
- }
569
- a.inline_tracking_delete span.dashicons{
570
- width: 16px;
571
- height: 16px;
572
- font-size: 16px;
573
- }
574
- .wcast-tracking-number-list li:hover a.inline_tracking_delete{
575
- display:block;
576
- }
577
- ul.wcast-tracking-number-list, ul.wcast-shipment-status-list {
578
- margin: 0;
579
- }
580
- .wcast-tracking-number-list li:last-child, .wcast-shipment-status-list li:last-child {
581
- margin-bottom: 0;
582
- }
583
- .select2-results .select2-results__group, .select2-results .select2-results__option{
584
- padding: 4px;
585
- }
586
- .edit_customizer_a{
587
- margin-left: 10px;
588
- line-height: 20px;
589
- font-size: 13px;
590
- float:right;
591
- }
592
- .edit_customizer_a:focus,.edit_customizer_a:hover{
593
- outline:none;
594
- box-shadow:none;
595
- }
596
- .shipment_tracking_admin_settings{
597
- background: #f5f7fb;
598
- }
599
- .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
600
- padding-left: 0;
601
- }
602
- .woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
603
- padding-bottom: 40px;
604
- }
605
- .multiple_label{
606
- font-weight:400;
607
- line-height: 23px;
608
- }
609
-
610
- @media screen and (max-width: 650px) {
611
- label.tab_label:before {
612
- margin: 0;
613
- font-size: 18px;
614
- }
615
- }
616
- .widefat .column-wc_actions a.delivered_icon.button::after { font-family: woocommerce; content: "\e01a"; }
617
- .widefat .column-wc_actions a.add_inline_tracking.button::after { content: "\f230"; }
618
-
619
- .provider_list:after {
620
- clear: both;
621
- content: '';
622
- display: block;
623
- }
624
- .provider {
625
- padding: 0 5px;
626
- width: 16.66%;
627
- margin-bottom: 10px;
628
- vertical-align: top;
629
- box-sizing: border-box;
630
- float: left;
631
- }
632
- table.wp-list-table img.provider-thumb{
633
- margin: 1px 0 1px 0;
634
- height: 45px;
635
- vertical-align: middle;
636
- }
637
- span.provider_name {
638
- font-weight: 500;
639
- font-size: 14px;
640
- margin-bottom: 5px;
641
- display: block;
642
- }
643
- .default_label {
644
- font-size: 12px;
645
- vertical-align: top;
646
- }
647
-
648
- #search_provider{
649
- width: 460px;
650
- min-width: 250px;
651
- font-size: 13px;
652
- border: 1px solid #e0e0e0;
653
- background: #fafafa;
654
- padding: 0 10px 0;
655
- line-height: 2;
656
- min-height: 45px;
657
- border-radius: 0;
658
- }
659
- .search_section .search-icon{
660
- position: absolute;
661
- right: 0;
662
- padding: 12px;
663
- color: #005b9a;
664
- border-left: 1px solid #e0e0e0;
665
- }
666
- .provider_top:after{
667
- content:'';
668
- clear:both;
669
- display:block;
670
- }
671
- .search_section{
672
- float: left;
673
- position: relative;
674
- }
675
- .provider_settings{
676
- float: right;
677
- margin-top: 7px;
678
- }
679
- .popupwrapper {
680
- position: fixed;
681
- top: 0;
682
- left: 0;
683
- background: rgb(250 250 250 / 0.8);
684
- border: 1px solid #e0e0e0;
685
- z-index: 100000;
686
- width: 100%;
687
- height: 100%;
688
- text-align: center;
689
- }
690
- .trackingpopup_wrapper {
691
- position: fixed;
692
- top: 0;
693
- left: 0;
694
- background: rgb(250 250 250 / 0.8);
695
- border: 1px solid #e0e0e0;
696
- z-index: 100000;
697
- width: 100%;
698
- height: 100%;
699
- text-align: center;
700
- }
701
-
702
- .popupwrapper:after {
703
- content: '';
704
- display: inline-block;
705
- vertical-align: middle;
706
- height: 100%;
707
- }
708
- .trackingpopup_wrapper:after {
709
- content: '';
710
- display: inline-block;
711
- vertical-align: middle;
712
- height: 100%;
713
- }
714
- .popuprow {
715
- display: inline-block;
716
- vertical-align: middle;
717
- max-width: 400px;
718
- background: #fff;
719
- padding: 0;
720
- position: relative;
721
- z-index: 10;
722
- border-radius: 3px;
723
- width: 97%;
724
- width: calc(100% - 5px);
725
- max-height: 90%;
726
- overflow-y: overlay;
727
- text-align: left;
728
- border: 1px solid #e0e0e0;
729
- }
730
- .uninstall_popup .popuprow{
731
- max-width: 520px;
732
- }
733
- .uninstall_popup .popuprow .popup_body {
734
- padding: 10px 30px 20px;
735
- }
736
-
737
- .zorem_admin_layout .sync_provider_popup h3.popup_title{
738
- margin: 0 0 1em;
739
- }
740
- .reset_db_fieldset{
741
- margin-bottom:10px;
742
- }
743
- .reset_db_message {
744
- color: green;
745
- font-size: 16px;
746
- }
747
- .how_to_video_popup .popuprow,.ts_video_popup .popuprow,.import_tracking_video_popup .popuprow{
748
- max-width: 700px;
749
- padding: 0;
750
- }
751
- .trackingpopup_row {
752
- display: inline-block;
753
- vertical-align: middle;
754
- max-width: 600px;
755
- text-align:left;
756
- background: #fff;
757
- border: 1px solid #e0e0e0;
758
- padding: 0;
759
- position: relative;
760
- z-index: 10;
761
- border-radius: 5px;
762
- width: 97%;
763
- width: calc(100% - 5px);
764
- max-height: 90%;
765
- overflow-y: overlay;
766
- }
767
- .trackingpopup_row .popup_header{
768
- border-bottom: 1px solid #e0e0e0;
769
- padding: 15px 30px;
770
- }
771
- .popuprow .popup_header {
772
- border-bottom: 1px solid #e0e0e0;
773
- padding: 15px 20px;
774
- }
775
-
776
- .trackingpopup_row .popup_header h3.popup_title,.popuprow .popup_header h3.popup_title{
777
- font-size: 16px;
778
- display: inline-block;
779
- margin: 0;
780
- color: #005b9a;
781
- font-weight: 400;
782
- }
783
- .trackingpopup_row .popup_header img,.popuprow .popup_header img{
784
- width: 55px;
785
- position: absolute;
786
- right: 70px;
787
- }
788
- .trackingpopup_row .popup_header .popup_close_icon,.popuprow .popup_header .popup_close_icon{
789
- color: #005b9a;
790
- width: 60px;
791
- height: 50px;
792
- font-size: 30px;
793
- border-left: 1px solid #e0e0e0;
794
- position: absolute;
795
- right: 0;
796
- top: 0px;
797
- cursor: pointer;
798
- line-height: 22px;
799
- }
800
- .trackingpopup_row .popup_body{
801
- padding: 10px 30px;
802
- }
803
- .popuprow .popup_body{
804
- padding: 20px 25px;
805
- }
806
- .popup_body .sync_message{
807
- margin-top: 0;
808
- }
809
- .popuprow .popup_body button{
810
- margin-bottom: 5px;
811
- }
812
- .popuprow .popup_body .synch_result{
813
- display: none;
814
- margin: 0 0 20px;
815
- }
816
- .synch_result li {
817
- border-bottom: 1px solid #ccc;
818
- padding-bottom: 10px;
819
- font-size: 15px;
820
- }
821
- .sync_provider_popup .spinner{
822
- display:none;
823
- height: 25px;
824
- float: none;
825
- }
826
- .sync_provider_popup .spinner.active{
827
- display: inline-block;
828
- }
829
- .popupclose {
830
- position: absolute;
831
- width: 100%;
832
- height: 100%;
833
- z-index: 9;
834
- top: 0;
835
- left: 0;
836
- }
837
- .popupclose_btn {
838
- position: absolute;
839
- right: 20px;
840
- top: 20px;
841
- border: 1px solid #7e8993;
842
- color: #7e8993;
843
- border-radius: 2px;
844
- cursor: pointer;
845
- }
846
- .popup_header .popup_close_icon:before {
847
- vertical-align: middle;
848
- vertical-align: -webkit-baseline-middle;
849
- }
850
- .popupwrapper input[type=text]{
851
- line-height: 24px;
852
- color: #424242;
853
- width: 100%;
854
- border-color: #e0e0e0;
855
- border-radius: 3px;
856
- padding: 5px 10px;
857
- }
858
- .trackingpopup_wrapper input[type=text]{
859
- line-height: 24px;
860
- color: #424242;
861
- width: 90%;
862
- margin: 5px 0 10px;
863
- border-radius: 3px;
864
- border-color: #e0e0e0;
865
- padding: 5px 10px;
866
- }
867
-
868
- .popupwrapper .form-field{
869
- margin-bottom: 10px;
870
- }
871
- .popupwrapper .form-field.form-50{
872
- width: 47%;
873
- display: inline-block;
874
- margin-right:25px;
875
- }
876
- .popupwrapper.default_provider .form-field.form-50{
877
- width: 100%;
878
- }
879
- .popupwrapper .form-field.form-50.margin-0{
880
- margin-right: 0;
881
- }
882
-
883
- .popupwrapper .form-field label{
884
- margin-bottom: 5px;
885
- display: block;
886
- }
887
- .popupwrapper input[type=text].image_path{
888
- width: calc(100% - 71px);
889
- }
890
- p.form-field.form-50 {
891
- width: 49%;
892
- display: inline-block;
893
- }
894
- .trackingpopup_wrapper input[type=text].image_path{
895
- width: 100%;
896
- }
897
- .popupwrapper select,.popupwrapper .select2{
898
- line-height: 24px;
899
- color: #424242;
900
- width: 100%;
901
- max-width: 100%;
902
- border-color: #e0e0e0;
903
- border-radius: 3px;
904
- padding: 5px 10px;
905
- }
906
- .popupwrapper.uninstall_popup select{
907
- width: auto;
908
- margin-bottom: 0px;
909
- }
910
- .trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
911
- line-height: 24px;
912
- color: #0d0d0d;
913
- width: 100%;
914
- max-width: 100%;
915
- margin: 5px 0 10px;
916
- height: 30px;
917
- }
918
- .trackingpopup_wrapper hr{
919
- margin: 5px -30px;
920
- }
921
- .trackingpopup_wrapper .select2-container .select2-selection--single {
922
- border-color: #e0e0e0;
923
- border-radius: 3px;
924
- color: #424242;
925
- padding: 3px 10px;
926
- height: 36px;
927
- }
928
- .popupwrapper .popuprow .popup_title,.trackingpopup_wrapper .trackingpopup_row .popup_title{
929
- color: #005B9A;
930
- }
931
- .custom_provider_instruction{
932
- text-align:left;
933
- margin-bottom: 10px;
934
- }
935
- .custom_provider_instruction p{
936
- margin: 0 0 1em;
937
- }
938
- a.reset_default_provider {
939
- margin-left: 10px;
940
- }
941
- .change_order_to_shipped_field ul{
942
- margin: 5px 0 0 10px;
943
- display: inline-block;
944
- }
945
- .postbox .change_order_to_shipped_field ul{
946
- margin: 0;
947
- }
948
- .change_order_to_shipped_field ul li {
949
- display: inline-block;
950
- margin: 0 5px 8px;
951
- }
952
- .provider .edit_provider,.provider .remove{
953
- display:none;
954
- cursor:pointer;
955
- }
956
- .provider:hover .edit_provider{
957
- display:inline-block;
958
- }
959
- .provider:hover .remove{
960
- display:inline-block;
961
- }
962
- .provider a {
963
- text-decoration: none;
964
- color: #444;
965
- }
966
- .disable_label span {
967
- color: #999;
968
- }
969
- .wp-core-ui .button-primary.close_synch_popup{
970
- display:none;
971
- }
972
- .woocommerce.zorem_admin_layout table.form-table{
973
- border: 0;
974
- margin-top: 0;
975
- margin-bottom: 0px;
976
- }
977
- .woocommerce.zorem_admin_layout table.form-table.order-status-table{
978
- table-layout: auto;
979
- }
980
- .woocommerce.zorem_admin_layout table.form-table.upload_csv_table{
981
- table-layout: auto;
982
- }
983
- .woocommerce.zorem_admin_layout table.form-table.heading-table{
984
- margin: 0;
985
- border: 0;
986
- }
987
- .woocommerce.zorem_admin_layout table.form-table.heading-table td{
988
- padding: 12px 25px;
989
- border-bottom: 1px solid #e0e0e0;
990
- height: 40px;
991
- }
992
- .woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table tr{
993
- border-bottom: 1px solid #e0e0e0;
994
- }
995
- #wc_ast_upload_csv_form table.form-table.heading-table tr{
996
- border-bottom: 0;
997
- }
998
- .woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table td{
999
- padding: 0 0 10px;
1000
- }
1001
- .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1002
- margin: 0;
1003
- color:#005B9A;
1004
- font-weight: 500;
1005
- }
1006
- .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1007
- text-align:right;
1008
- }
1009
- .ast_admin_content div.submit{
1010
- padding: 0;
1011
- margin: 10px 0 0;
1012
- }
1013
- .ast_admin_content #wc_ast_upload_csv_form div.submit{
1014
- margin: 0 0 15px;
1015
- }
1016
- .woocommerce.zorem_admin_layout table.form-table th{
1017
- padding: 20px;
1018
- }
1019
- .woocommerce.zorem_admin_layout table.form-table td{
1020
- padding: 15px;
1021
- }
1022
- .woocommerce.zorem_admin_layout table.form-table td.button-column{
1023
- padding: 0px 15px 15px;
1024
- }
1025
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td{
1026
- padding: 10px 0 10px 15px;
1027
- }
1028
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
1029
- padding:10px 0 10px;
1030
- width: 37px;
1031
- }
1032
- .woocommerce.zorem_admin_layout table.form-table th label{
1033
- font-weight: 600;
1034
- color: #444;
1035
- cursor: auto;
1036
- }
1037
- span.radio_section {
1038
- margin-right: 10px;
1039
- }
1040
- span.multiple_checkbox {
1041
- display: inline-block;
1042
- line-height: 30px;
1043
- width: 49%;
1044
- }
1045
- .woocommerce.zorem_admin_layout table.form-table p.description{
1046
- font-size: 12px;
1047
- font-weight: 400;
1048
- margin-top: 5px;
1049
- }
1050
- .settings_ul{
1051
- margin: 0;
1052
- }
1053
- .settings_ul li> input[type=checkbox] {
1054
- vertical-align: -webkit-baseline-middle;
1055
- }
1056
- .settings_ul>li{
1057
- padding: 5px 0;
1058
- margin: 0;
1059
- min-height: 30px;
1060
- line-height: 25px;
1061
- position: relative;
1062
- }
1063
- .settings_ul li:last-child {
1064
- border-bottom: 0;
1065
- }
1066
- .settings_ul .settings_radio_li>label,.settings_ul .multiple_select_li>label {
1067
- width: 20%;
1068
- display: inline-block;
1069
- }
1070
- .settings_ul .settings_radio_li .radio_section{
1071
- display: inline-block;
1072
- padding: 0 10px;
1073
- }
1074
- .settings_ul fieldset {
1075
- display: inline-block;
1076
- vertical-align: middle;
1077
- }
1078
- .settings_ul fieldset input[type=text]{
1079
- min-width: 500px;
1080
- }
1081
- .multiple_checkbox_parent {
1082
- display: inline-block;
1083
- vertical-align: top;
1084
- width: 58%;
1085
- }
1086
- span.ast-tgl-btn-parent {
1087
- vertical-align: middle;
1088
- }
1089
- .setting_ul_tgl_checkbox_label{
1090
- margin: 0 15px;
1091
- display: inline-block;
1092
- vertical-align: middle;
1093
- width: calc(100% - 100px);
1094
- }
1095
- .tgl_checkbox_desc {
1096
- line-height: 18px;
1097
- }
1098
- .multiple_checkbox_label {
1099
- display: inline-block;
1100
- width: 40%;
1101
- margin-right: 10px;
1102
- }
1103
- .multiple_checkbox_description{
1104
- display: block;
1105
- margin-top: 5px;
1106
- max-width: 250px;
1107
- }
1108
-
1109
- .updated_details {
1110
- margin-top: 10px;
1111
- display:none;
1112
- }
1113
- .view_synch_details{
1114
- display:none;
1115
- padding-top: 5px;
1116
- }
1117
- .updated_details li {
1118
- display: inline-block;
1119
- border-bottom: 0;
1120
- padding-bottom: 0;
1121
- background: #74C2E1;
1122
- color: #fff;
1123
- padding: 5px;
1124
- border-radius: 3px;
1125
- }
1126
- .woocommerce.zorem_admin_layout table.form-table select{
1127
- width: auto;
1128
- max-width: 400px;
1129
- min-width: 90px;
1130
- line-height: 20px;
1131
- }
1132
- .woocommerce.zorem_admin_layout table.form-table .input-text{
1133
- width: 100%;
1134
- max-width: 400px;
1135
- min-width: 90px;
1136
- line-height: 20px;
1137
- }
1138
- .add_tracking_number_form .form-field{
1139
- margin: 0;
1140
- text-align:left;
1141
- }
1142
- .add_tracking_number_form .form-field span {
1143
- vertical-align: middle;
1144
- }
1145
- .add_tracking_number_form input[type=checkbox]{
1146
- margin: 0px 4px 0 0px;
1147
- vertical-align: text-bottom;
1148
- }
1149
- .d_table{
1150
- display:table;
1151
- width: 100%;
1152
- }
1153
- .zorem_admin_layout h4{
1154
- margin: 1.33em 0;
1155
- }
1156
- .zorem_admin_layout h3{
1157
- margin: 1em 0;
1158
- }
1159
- .ast_admin_content div.submit .spinner{
1160
- display: none;
1161
- float: none;
1162
- margin: 0px 10px 0;
1163
- }
1164
- .ast_admin_content div.submit .spinner.active{
1165
- display: inline-block;
1166
- }
1167
- .videoWrapper {
1168
- position: relative;
1169
- padding-bottom: 56.25%; /* 16:9 */
1170
- padding-top: 25px;
1171
- height: 0;
1172
- }
1173
- .videoWrapper iframe {
1174
- position: absolute;
1175
- top: 0;
1176
- left: 0;
1177
- width: 100%;
1178
- height: 100%;
1179
- }
1180
-
1181
- .zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap label{
1182
- margin: 0 5px 0 0!important;
1183
- }
1184
- .woocommerce.zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap .input-text{
1185
- line-height: 15px;
1186
- }
1187
-
1188
- span.dashicons.dashicons-edit.edit_provider {
1189
- cursor: pointer;
1190
- }
1191
-
1192
- /*** Dashboard Widget CSS ***/
1193
- #trackship_dashboard_widget .widget_footer{
1194
- padding: 8px 12px;
1195
- }
1196
- /**** -------- ****/
1197
-
1198
- .woocommerce_page_woocommerce-advanced-shipment-tracking .zorem-layout .woocommerce-help-tip{
1199
- color: #005B9A;
1200
- font-size: 20px;
1201
- height: 20px;
1202
- vertical-align: middle;
1203
- }
1204
- .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_content{
1205
- background:#005B9A;
1206
- padding: 15px;
1207
- font-size: 12px;
1208
- }
1209
- .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_top #tiptip_arrow_inner{
1210
- border-top-color: #005B9A;
1211
- }
1212
- .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_bottom #tiptip_arrow_inner{
1213
- border-bottom-color: #005B9A;
1214
- }
1215
-
1216
- #trackship_dashboard_widget .inside h3{
1217
- font-weight:600;
1218
- }
1219
- #trackship_dashboard_widget .inside{
1220
- padding: 0;
1221
- margin: 0;
1222
- }
1223
-
1224
- #woocommerce-advanced-shipment-tracking.postbox{
1225
- background: #f9f9f9;
1226
- }
1227
- .order-status-table tr.disable_row{
1228
- background: transparent;
1229
- opacity: 0.7;
1230
- }
1231
- .order-status-table tr.disable_row td{
1232
- pointer-events: none;
1233
- }
1234
- .order-status-table tr.disable_row td:first-child{
1235
- pointer-events: auto;
1236
- }
1237
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td.status_shipped_label{
1238
- text-align:left;
1239
- line-height: 30px;
1240
- }
1241
- .order-status-table .order-label{
1242
- display: -webkit-inline-box;
1243
- display: -webkit-inline-flex;
1244
- display: inline-flex;
1245
- line-height: 2.2em;
1246
- color: #777;
1247
- background: #e5e5e5;
1248
- border-radius: 4px;
1249
- border-bottom: 1px solid rgba(0,0,0,.05);
1250
- margin: -.25em 0;
1251
- cursor: inherit!important;
1252
- white-space: nowrap;
1253
- max-width: 100%;
1254
- padding: 0 1em;
1255
- }
1256
- .order-status-table tr td.status-label-column{
1257
- width:130px;
1258
- }
1259
- .form-table.order-status-table td .send_email_label {
1260
- margin: 0 5px !important;
1261
- }
1262
- .form-table.order-status-table td a.settings_edit {
1263
- background: #fafafa;
1264
- color: #005b9a;
1265
- border: 1px solid #005b9a;
1266
- padding: 5px 10px 7px;
1267
- text-decoration: none;
1268
- border-radius: 4px;
1269
- }
1270
-
1271
- .ast_radio_label {
1272
- min-width: 125px;
1273
- display: inline-block;
1274
- }
1275
- .tracking_product_code_field{
1276
- display:none;
1277
- }
1278
- .outer_form_table{
1279
- border: 1px solid #e0e0e0;
1280
- margin-top: 25px;
1281
- border-radius: 3px;
1282
- background: #fff;
1283
- }
1284
- #tab_general_settings:checked ~ #content_general_settings,#tab_order_status:checked ~ #content_osm_settings{
1285
- display: block !important;
1286
- }
1287
-
1288
- #wc_ast_upload_csv_form .outer_form_table{
1289
- margin-top: 20px;
1290
- background-color: #fff;
1291
- border-radius: 3px;
1292
- }
1293
- #wc_ast_upload_csv_form .csv_import_done .outer_form_table{
1294
- padding: 50px 0;
1295
- }
1296
-
1297
- .tab_inner_container hr{
1298
- margin: 0;
1299
- }
1300
- .provider_list .pagination{
1301
- display: inline-block;
1302
- padding-left: 0;
1303
- margin: 0;
1304
- border-radius: 4px;
1305
- }
1306
- .provider_list .pagination>li {
1307
- margin-left: 5px;
1308
- display: inline-block;
1309
- }
1310
-
1311
- .provider_list .pagination>li>a, .provider_list .pagination>li>span {
1312
- position: relative;
1313
- float: left;
1314
- padding: 8px 12px;
1315
- margin-left: -1px;
1316
- line-height: 1.42857143;
1317
- color: #005b9a;
1318
- text-decoration: none;
1319
- background-color: #f5f5f5;
1320
- border: 1px solid #e0e0e0;
1321
- border-radius: 3px;
1322
- cursor: pointer;
1323
- }
1324
- .provider_list .pagination>.active>a, .provider_list .pagination>.active>a:focus, .provider_list .pagination>.active>a:hover, .provider_list .pagination>.active>span, .provider_list .pagination>.active>span:focus, .provider_list .pagination>.active>span:hover {
1325
- z-index: 2;
1326
- color: #424242;
1327
- cursor: default;
1328
- background-color: transparent;
1329
- }
1330
-
1331
- .csv_import_done .outer_form_table .completed_icon::before{
1332
- font-family: WooCommerce;
1333
- speak: none;
1334
- font-weight: 400;
1335
- font-variant: normal;
1336
- text-transform: none;
1337
- line-height: 1;
1338
- margin: 0;
1339
- text-indent: 0;
1340
- position: absolute;
1341
- top: 0;
1342
- left: 0;
1343
- width: 100%;
1344
- height: 100%;
1345
- content: "";
1346
- color: #005B9A;
1347
- position: static;
1348
- font-size: 40px;
1349
- display: block;
1350
- text-align:center;
1351
- }
1352
- .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li{
1353
- width: 33.33%;
1354
- }
1355
- .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps{
1356
- padding-bottom: 5px;
1357
- }
1358
- .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.active, .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.done{
1359
- border-color: #005b9a;
1360
- color: #005b9a;
1361
- }
1362
- .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.active::before{
1363
- border-color: #005b9a;
1364
- }
1365
- .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li.done::before{
1366
- border-color: #005b9a;
1367
- background: #005b9a;
1368
- }
1369
- .ast_admin_content .woocommerce-progress-form-wrapper{
1370
- margin: 25px 0;
1371
- max-width: 100%;
1372
- }
1373
- .bulk_upload_documentation_ul{
1374
- text-align: left;
1375
- }
1376
- .bulk_upload_documentation_ul li {
1377
- padding: 0 10px 0 0;
1378
- display: inline-block;
1379
- color: #005b9a;
1380
- }
1381
- .woocommerce.zorem_admin_layout table.form-table td.bulk_upload_status_td {
1382
- text-align: center;
1383
- padding-top: 30px;
1384
- }
1385
- .woocommerce.zorem_admin_layout table.form-table .bulk_upload_status_tr td{
1386
- padding: 15px 15px 30px;
1387
- }
1388
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_heading_tr{
1389
- border-top: 0;
1390
- }
1391
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td{
1392
- text-align: center;
1393
- padding: 5px 0;
1394
- display: none;
1395
- }
1396
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td span:before{
1397
- font-family: dashicons;
1398
- vertical-align: sub;
1399
- margin-right: 5px;
1400
- font-size: 18px;
1401
- font-weight: 600;
1402
- }
1403
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_success_msg span:before{
1404
- content: "\f12a";
1405
- color: #09d3ac;
1406
- }
1407
- #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_fail_msg span:before{
1408
- content: "\f153";
1409
- color: #f44336;
1410
- }
1411
- #wc_ast_upload_csv_form .form-table .bulk_upload_status_action{
1412
- text-align:center;
1413
- }
1414
- #wc_ast_upload_csv_form .form-table .bulk_upload_status_action td{
1415
- padding: 15px 15px 0;
1416
- }
1417
- .woocommerce-help-tip.dashicons::after{
1418
- content:none;
1419
- }
1420
- .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip.dashicons{
1421
- font-size: 20px;
1422
- }
1423
- .open_tracking_details{
1424
- cursor:pointer;
1425
- }
1426
- .plugins_section.free_plugin_section {
1427
- display: flex;
1428
- flex-wrap: wrap;
1429
- }
1430
- .single_plugin {
1431
- flex-grow: 1;
1432
- padding: 20px 20px 0 0;
1433
- box-sizing: border-box;
1434
- }
1435
- .single_plugin.as-col-6:nth-child(2n){
1436
- padding-right: 0;
1437
- }
1438
- .single_plugin.as-col-4:nth-child(3n){
1439
- padding-right: 0;
1440
- }
1441
- .plugins_section.free_plugin_section .paid_plugin_image{
1442
- text-align: center;
1443
- margin: 0 -15px;
1444
- border-bottom: 1px solid #e0e0e0;
1445
- padding: 15px;
1446
- height: 50px;
1447
- display: flex;
1448
- justify-content: left;
1449
- align-items: center;
1450
- }
1451
- .plugins_section.free_plugin_section .paid_plugin_image img{
1452
- height: 45px;
1453
- }
1454
- .plugins_section.free_plugin_section .plugin_title {
1455
- font-size: 16px;
1456
- font-weight: normal;
1457
- margin-left: 20px;
1458
- }
1459
- .plugins_section.free_plugin_section .paid_plugin_description h3{
1460
- margin: 1em 0 0;
1461
- }
1462
- .plugins_section.free_plugin_section .single_plugin .free_plugin_inner{
1463
- border: 1px solid #e0e0e0;
1464
- border-radius: 3px;
1465
- background: #fff;
1466
- padding: 0 15px 15px;
1467
- }
1468
- .border-bottom-1{
1469
- border-bottom:1px solid #eee;
1470
- }
1471
-
1472
- /** Toggle CSS **/
1473
- input[type=checkbox].ast-tgl {
1474
- display: none;
1475
- }
1476
- .ast-tgl, .ast-tgl:after, .ast-tgl:before, .ast-tgl *, .ast-tgl *:after, .ast-tgl *:before, .ast-tgl + .ast-tgl-btn {
1477
- box-sizing: border-box;
1478
- }
1479
- .ast-tgl::-moz-selection, .ast-tgl:after::-moz-selection, .ast-tgl:before::-moz-selection, .ast-tgl *::-moz-selection, .ast-tgl *:after::-moz-selection, .ast-tgl *:before::-moz-selection, .ast-tgl + .ast-tgl-btn::-moz-selection {
1480
- background: none;
1481
- }
1482
- .ast-tgl::selection, .ast-tgl:after::selection, .ast-tgl:before::selection, .ast-tgl *::selection, .ast-tgl *:after::selection, .ast-tgl *:before::selection, .ast-tgl + .ast-tgl-btn::selection {
1483
- background: none;
1484
- }
1485
- .ast-tgl + .ast-tgl-btn {
1486
- outline: 0;
1487
- display: inline-block;
1488
- width: 36px;
1489
- height: 18px;
1490
- position: relative;
1491
- cursor: pointer;
1492
- -webkit-user-select: none;
1493
- -moz-user-select: none;
1494
- -ms-user-select: none;
1495
- user-select: none;
1496
- }
1497
- .ast-tgl + .ast-tgl-btn:after, .ast-tgl + .ast-tgl-btn:before {
1498
- position: relative;
1499
- display: block;
1500
- content: "";
1501
- width: 40%;
1502
- height: 100%;
1503
- }
1504
- .ast-tgl + .ast-tgl-btn:after {
1505
- left: 0;
1506
- }
1507
- .ast-tgl + .ast-tgl-btn:before {
1508
- display: none;
1509
- }
1510
- .ast-tgl:checked + .ast-tgl-btn:after {
1511
- left: 50%;
1512
- }
1513
- .ast-tgl-flat + .ast-tgl-btn {
1514
- padding: 2px;
1515
- -webkit-transition: all .3s ease;
1516
- transition: all .3s ease;
1517
- background: #fff;
1518
- border: 1px solid #ccc;
1519
- border-radius: 2em;
1520
- }
1521
- .ast-tgl-flat:disabled + .ast-tgl-btn {
1522
- opacity: 0.5;
1523
- }
1524
- .ast-tgl-flat + .ast-tgl-btn:after {
1525
- -webkit-transition: all .2s ease;
1526
- transition: all .2s ease;
1527
- background: #bdbdbd;
1528
- content: "";
1529
- border-radius: 1em;
1530
- }
1531
- .ast-tgl-flat:checked + .ast-tgl-btn {
1532
- border: 1px solid #ccc;
1533
- }
1534
- .ast-tgl-flat:checked + .ast-tgl-btn:after {
1535
- left: 55%;
1536
- background: #09d3ac;
1537
- }
1538
-
1539
- /** Snackbar CSS **/
1540
- @-webkit-keyframes fadein {
1541
- from {
1542
- right: 0;
1543
- opacity: 0;
1544
- }
1545
- to {
1546
- right: 20px;
1547
- opacity: 1;
1548
- }
1549
- }
1550
- @keyframes fadein {
1551
- from {
1552
- right: 0;
1553
- opacity: 0;
1554
- }
1555
- to {
1556
- right: 20px;
1557
- opacity: 1;
1558
- }
1559
- }
1560
- .snackbar-logs {
1561
- position: fixed;
1562
- z-index: 5000;
1563
- top: 95px;
1564
- right: 10px;
1565
- width: 300px;
1566
- }
1567
- .snackbar-log {
1568
- -webkit-animation: fadein 0.5s;
1569
- animation: fadein 0.5s;
1570
- }
1571
- .snackbar-log {
1572
- display: block;
1573
- margin-top: 10px;
1574
- position: relative;
1575
- right: -300px;
1576
- opacity: 0;
1577
- }
1578
- .snackbar-log-show {
1579
- right: 0;
1580
- opacity: 1;
1581
- }
1582
- .snackbar-log {
1583
- background: #3bc4e4;
1584
- padding: 15px;
1585
- border-radius: 4px;
1586
- color: #FFF;
1587
- }
1588
- .snackbar-log-success {
1589
- background: #3bc4e4;
1590
- }
1591
- .snackbar-log-error {
1592
- background: #FE1A00;
1593
- }
1594
- .rtl .snackbar-logs{
1595
- left: 10px;
1596
- right: unset;
1597
- }
1598
- .rtl .snackbar-log {
1599
- left: -300px;
1600
- right: unset;
1601
- }
1602
- .rtl .snackbar-log-show{
1603
- left: 0;
1604
- right: unset;
1605
- }
1606
- /** End Snackbar CSS **/
1607
-
1608
- /** Progress Bar CSS **/
1609
- .upload_csv_table .progress2 {
1610
- background-image: linear-gradient(to right, rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)), linear-gradient(to right, rgb(63,81,181), rgb(63,81,181));
1611
- }
1612
- .upload_csv_table .progress-bar2 {
1613
- height: 30px;
1614
- transition: 0.4s linear;
1615
- transition-property: width, background-color;
1616
- }
1617
- .upload_csv_table .progress-moved .progress-bar2 {
1618
- width: 0%;
1619
- background-color: #005b9a;
1620
- }
1621
- /** End Progress Bar CSS **/
1622
-
1623
- a.view_csv_error_details {
1624
- margin-left: 10px;
1625
- }
1626
- .woocommerce.zorem_admin_layout table.form-table tr.bulk_upload_status_detail_error_tr{
1627
- display: none;
1628
- }
1629
- .woocommerce.zorem_admin_layout table.form-table tr.bulk_upload_status_detail_error_tr td {
1630
- padding-top: 0;
1631
- text-align: center;
1632
- }
1633
- ul.csv_error_details_ul {
1634
- text-align: center;
1635
- display: inline-block;
1636
- margin-top: 5px;
1637
- }
1638
- ul.csv_error_details_ul li {
1639
- border-bottom: 1px solid #eeee;
1640
- padding: 0 0 5px;
1641
- }
1642
- ul.csv_error_details_ul li:before{
1643
- font-family: dashicons;
1644
- vertical-align: sub;
1645
- margin-right: 5px;
1646
- font-size: 18px;
1647
- font-weight: 600;
1648
- content: "\f153";
1649
- color: #f44336;
1650
- }
1651
- .provider_message{
1652
- padding-left: 10px;
1653
- }
1654
- .wp-core-ui .button-primary.add_custom_provider{
1655
- margin-left: 10px;
1656
- }
1657
- .popupwrapper input[type=text].api_provider_name{
1658
- margin-bottom: 5px;
1659
- }
1660
- .woocommerce_page_woocommerce-advanced-shipment-tracking .popupwrapper .add_more_api_provider{
1661
- vertical-align: text-top;
1662
- cursor: pointer;
1663
- color: #005b9a;
1664
- font-size: 25px;
1665
- height: 25px;
1666
- width: 25px;
1667
- }
1668
-
1669
- .ast-row {
1670
- -js-display: flex;
1671
- display: -ms-flexbox;
1672
- display: flex;
1673
- -ms-flex-flow: row wrap;
1674
- flex-flow: row wrap;
1675
- padding: 0 15px;
1676
- align-items: center;
1677
- justify-content: center;
1678
- }
1679
- .as-col-4 {
1680
- max-width: 33.33%;
1681
- -ms-flex-preferred-size: 33.33%;
1682
- flex-basis: 33.33%;
1683
- }
1684
- .as-col-6 {
1685
- max-width: 50%;
1686
- -ms-flex-preferred-size: 50%;
1687
- flex-basis: 50%;
1688
- }
1689
- .as-col-8 {
1690
- max-width: 66%;
1691
- -ms-flex-preferred-size: 66%;
1692
- flex-basis: 66%;
1693
- }
1694
- .ast_pro_landing_header {
1695
- font-size: 30px;
1696
- line-height: 30px;
1697
- margin: 0;
1698
- font-weight: 500;
1699
- color: #444;
1700
- }
1701
- .trackship_addon_section{
1702
- background: #fff;
1703
- border: 1px solid #e0e0e0;
1704
- padding: 25px 20px;
1705
- }
1706
- .ast_ts_landing_banner img{
1707
- max-width: 500px;
1708
- width: 100%;
1709
- }
1710
- .paid_plugin_description p{
1711
- display: -webkit-inline-box;
1712
- -webkit-line-clamp: 3;
1713
- -webkit-box-orient: vertical;
1714
- overflow: hidden;
1715
- text-overflow: ellipsis;
1716
- }
1717
- .ast_pro_features_list{
1718
- margin: 20px 0;
1719
- }
1720
- .ast_pro_features_list li{
1721
- margin: 0 0 10px;
1722
- padding: 0 30px 0;
1723
- line-height: 22px;
1724
- position: relative;
1725
- font-size: 14px;
1726
- }
1727
- .ast_pro_features_list li:before{
1728
- content: "\f147";
1729
- font-family: dashicons;
1730
- font-size: 28px;
1731
- vertical-align: middle;
1732
- color: #3bc4e4;
1733
- padding-right: 5px;
1734
- position: absolute;
1735
- left: 0;
1736
- top: 3px;
1737
- }
1738
-
1739
- .multiple_select_container {
1740
- display: inline-block;
1741
- }
1742
- .multiple_select_container .select2-container{
1743
- width: 500px !important;
1744
- }
1745
- .multiple_select_container .select2-container .select2-selection--multiple .select2-selection__choice{
1746
- line-height: 21px;
1747
- height: 23px;
1748
- }
1749
- .multiple_select_container .select2-container .select2-search__field{
1750
- min-width: 50px;
1751
- }
1752
- .wc-wp-version-gte-53 .multiple_select_container .select2-container .select2-selection--multiple{
1753
- border-color: #e0e0e0;
1754
- }
1755
- .popupwrapper input[type=text].api_provider_name {
1756
- width: calc(100% - 33px);
1757
- }
1758
- .ui-datepicker{
1759
- z-index: 1000000 !important;
1760
- }
1761
-
1762
- /** Accordion Design **/
1763
- .accordion_container{
1764
- margin: 20px;
1765
- max-width: 1000px;
1766
- }
1767
- .tab_section .accordion{
1768
- padding: 15px;
1769
- background: #fff;
1770
- border: 1px solid #e0e0e0;
1771
- border-radius: 3px;
1772
- margin-top: 10px;
1773
- cursor: pointer;
1774
- }
1775
- .tab_section .accordion.active {
1776
- border-radius: 3px 3px 0 0;
1777
- }
1778
- .tab_section .panel {
1779
- padding: 15px;
1780
- display:none;
1781
- border: 1px solid #e0e0e0;
1782
- border-top: 0;
1783
- border-radius: 3px;
1784
- background: #fff;
1785
- }
1786
- .tab_section .panel.active {
1787
- border-radius: 0 0 3px 3px;
1788
- }
1789
- .tab_section .accordion.heading label {
1790
- font-weight: 600;
1791
- font-size: 16px;
1792
- line-height: 38px;
1793
- pointer-events: none;
1794
- color: #005B9A;
1795
- }
1796
- .tab_section .accordion.heading.active label{
1797
- color: #3c4758;
1798
- }
1799
- .tab_section .accordion span.dashicons {
1800
- float: right;
1801
- pointer-events: none;
1802
- padding: 5px 0;
1803
- display: inline-table;
1804
- }
1805
- .tab_section .accordion.heading .dashicons.dashicons-arrow-right-alt2:before {
1806
- color: #005b9a;
1807
- font-size: 30px;
1808
- }
1809
- .tab_section .accordion.heading label .ast-accordion-btn {
1810
- float: right;
1811
- display: none;
1812
- pointer-events: all;
1813
- }
1814
- /** End Accordion **/
1815
-
1816
- /** Provider Grid **/
1817
- .grid-row{
1818
- display: grid;
1819
- grid-template-columns: repeat(5, 1fr);
1820
- }
1821
- .provider-grid-row{
1822
- margin-top: 25px;
1823
- }
1824
- .provider-grid-row .grid-item{
1825
- padding: 10px;
1826
- background: #ffffff;
1827
- border: 1px solid #e0e0e0;
1828
- border-radius: 3px;
1829
- margin: 0 10px 10px 0;
1830
- }
1831
- .provider-grid-row .grid-item:hover{
1832
- background: #f6f6f6;
1833
- }
1834
-
1835
- @media(min-width: 1550px) {
1836
- .provider-grid-row .grid-item:nth-child(5n){
1837
- margin: 0 0 10px 0;
1838
- }
1839
- }
1840
-
1841
- @media(min-width: 1301px) and (max-width: 1500px){
1842
- .grid-row{
1843
- display: grid;
1844
- grid-template-columns: repeat(4, 1fr);
1845
- }
1846
- .provider-grid-row .grid-item:nth-child(4n){
1847
- margin: 0 0 10px 0;
1848
- }
1849
- }
1850
-
1851
-
1852
-
1853
- @media(min-width: 768px) and (max-width: 1300px) {
1854
- .grid-row{
1855
- display: grid;
1856
- grid-template-columns: repeat(3, 1fr);
1857
- }
1858
- .provider-grid-row .grid-item:nth-child(3n){
1859
- margin: 0 0 10px 0;
1860
- }
1861
- }
1862
- @media (min-width: 1100px) and (max-width: 1300px) {
1863
- .integration-grid-row.grid-row {
1864
- display: grid;
1865
- grid-template-columns: repeat(4, 1fr);
1866
- }
1867
- }
1868
-
1869
- @media(min-width: 500px) and (max-width: 767px) {
1870
- .grid-row{
1871
- display: grid;
1872
- grid-template-columns: repeat(2, 1fr);
1873
- }
1874
- .provider-grid-row .grid-item:nth-child(2n){
1875
- margin: 0 0 10px 0;
1876
- }
1877
- }
1878
-
1879
- @media(max-width: 499px) {
1880
- .grid-row{
1881
- display: grid;
1882
- grid-template-columns: repeat(1, 1fr);
1883
- }
1884
- .provider-grid-row .grid-item:nth-child(1n){
1885
- margin: 0 0 10px 0;
1886
- }
1887
- }
1888
-
1889
- .grid-top {
1890
- display: flex;
1891
- margin-bottom: 15px;
1892
- }
1893
- .grid-provider-img{
1894
- display: flex;
1895
- align-items: baseline;
1896
- margin-right: 15px;
1897
- }
1898
- .grid-provider-img img{
1899
- width: 40px;
1900
- border-radius: 5px;
1901
- }
1902
- .grid-provider-settings {
1903
- display: none;
1904
- margin-left: auto;
1905
- }
1906
- .provider-grid-row .grid-item:hover .grid-provider-settings{
1907
- display: flex;
1908
- }
1909
- .grid-provider-settings .provider_actions_btn{
1910
- cursor: pointer;
1911
- color: #616161;
1912
- }
1913
- span.dashicons.dashicons-trash.remove {
1914
- cursor: pointer;
1915
- vertical-align: middle;
1916
- margin: 0 5px;
1917
- }
1918
- .grid-bottom {
1919
- display: flex;
1920
- }
1921
- .grid-bottom .grid-provider-ts .dashicons-yes-alt{
1922
- color: #09d3ac;
1923
- }
1924
-
1925
- .grid-provider-enable {
1926
- margin-left: auto;
1927
- }
1928
- .hip-pagination {
1929
- margin-top: 10px;
1930
- }
1931
- .hip-pagination a{
1932
- line-height: 35px;
1933
- padding: 8px 12px;
1934
- color: #005b9a;
1935
- text-decoration: none;
1936
- background-color: #fff;
1937
- border: 1px solid #e0e0e0;
1938
- border-radius: 3px;
1939
- margin-left: 5px;
1940
- }
1941
- .hip-pagination a.active{
1942
- cursor: default;
1943
- background-color: transparent;
1944
- font-weight: normal;
1945
- }
1946
- /** End Provider CSS **/
1947
-
1948
- /** Integration Panel CSS ***/
1949
- .integration-grid-row .grid-item-wrapper {
1950
- border: 1px solid #e0e0e0;
1951
- text-align:center;
1952
- background: #fff;
1953
- }
1954
- .integration-grid-row .grid-item-wrapper img {
1955
- width: 100%;
1956
- }
1957
- .integration-grid-row .grid-img-bottom {
1958
- border-top: 1px solid #e0e0e0;
1959
- padding: 10px;
1960
- text-align:left;
1961
- }
1962
- .integration-grid-row .integration-more-info{
1963
- float: right;
1964
- color: #005b9a;
1965
- cursor: pointer;
1966
- text-decoration: none;
1967
- }
1968
- .integration-grid-row .grid-item {
1969
- margin: 0 10px 10px 0;
1970
- }
1971
- /** End CSS ***/
1972
-
1973
- /** TrackShip Landing CSS ***/
1974
- .trackship_section {
1975
- border-radius: 3px;
1976
- padding: 30px;
1977
- margin-top: 30px;
1978
- text-align: center;
1979
- max-width: 930px;
1980
- margin: 30px auto;
1981
- }
1982
- .ts_landing_logo{
1983
- margin: 0 0 20px;
1984
- }
1985
- .ts_landing_header{
1986
- font-size: 26px;
1987
- line-height: 28px;
1988
- margin: 0;
1989
- font-weight: 700;
1990
- }
1991
- .ts_landing_description{
1992
- font-size: 15px;
1993
- max-width: 585px;
1994
- margin: 1em auto;
1995
- }
1996
- .ts_landing_banner{
1997
- text-align:center;
1998
- background: #fafafa;
1999
- border: 1px solid #e0e0e0;
2000
- padding: 15px;
2001
- max-width: 400px;
2002
- margin: 30px auto;
2003
- position: relative;
2004
- }
2005
- .ts_landing_banner img{
2006
- width: 100%;
2007
- }
2008
- .open_ts_video{
2009
- position: absolute;
2010
- text-decoration: none;
2011
- top: 42%;
2012
- left: 44%;
2013
- color: #09d3ac;
2014
- background: #fff;
2015
- cursor: pointer;
2016
- }
2017
- .open_ts_video span{
2018
- width: 60px;
2019
- height: 60px;
2020
- font-size: 60px;
2021
- }
2022
- /** End CSS ***/
2023
-
2024
- .upgrade_to_pro_popup .popuprow{
2025
- max-width: 400px;
2026
- }
2027
- .upgrade_title{
2028
- font-size: 26px;
2029
- font-weight: 700;
2030
- text-align: center;
2031
- margin: 10px 0 30px;
2032
- color: #3c4758;
2033
- }
2034
- .wp-core-ui .upgrade_to_pro_popup .btn_large{
2035
- font-weight: 600;
2036
- font-size: 18px;
2037
- width: 100%;
2038
- text-align: center;
2039
- height: 50px;
2040
- line-height: 47px;
2041
- }
2042
-
2043
- /*** RTL CSS ***/
2044
- .rtl .tab_section .accordion span.dashicons {
2045
- float: left;
2046
- }
2047
- .rtl .zorem_admin_settings .woocommerce-layout__activity-panel-tabs{
2048
- left: 0;
2049
- right: auto;
2050
- }
2051
- .rtl .tab_section .accordion.heading label .ast-accordion-btn {
2052
- float: left;
2053
- }
2054
- .rtl.shipment_tracking_admin_settings #wpcontent {
2055
- padding-right: 0;
2056
- }
2057
- .rtl label.tab_label.first_label{
2058
- margin-right: 20px;
2059
- margin-left: 0;
2060
- }
2061
- .rtl .provider_settings{
2062
- margin-left:0;
2063
- margin-right: 11px;
2064
- }
2065
- .rtl .paging.shipping_provider_paging {
2066
- float: left;
2067
- }
2068
- .rtl table.wp-list-table img.provider-thumb {
2069
- margin: 1px 1px 1px 10px;
2070
- }
2071
- .rtl .ast_admin_content table.form-table.upload_csv_table tr td{
2072
- text-align: right;
2073
- }
2074
- .rtl .popupwrapper .popuprow .popup_title, .rtl .trackingpopup_wrapper .trackingpopup_row .popup_title{
2075
- text-align: right;
2076
- }
2077
- .rtl .popupclose_btn{
2078
- right: auto;
2079
- left: 20px;
2080
- }
2081
- .rtl .popupwrapper .popuprow .button-primary, .rtl .trackingpopup_wrapper .trackingpopup_row .button-primary{
2082
- float: right;
2083
- }
2084
- .rtl a.reset_default_provider{
2085
- float: right;
2086
- margin-right: 10px;
2087
- line-height: 37px;
2088
- }
2089
- .rtl .popupwrapper .popuprow p{
2090
- text-align: right;
2091
- }
2092
- .rtl .popupwrapper .popuprow .reset_db_fieldset{
2093
- text-align: right;
2094
- }
2095
- .rtl .trackingpopup_wrapper .trackingpopup_row p{
2096
- text-align: right;
2097
- }
2098
- .rtl .trackingpopup_wrapper .trackingpopup_row .ast_tracking_item_div{
2099
- text-align:right;
2100
- }
2101
- .rtl .trackingpopup_wrapper .trackingpopup_row .add_tracking_number_form .form-field{
2102
- text-align: right;
2103
- }
2104
- .rtl .trackingpopup_wrapper .trackingpopup_row .add_tracking_number_form input[type=checkbox] {
2105
- margin: 0px 0 0 4px;
2106
- }
2107
- .rtl input.tab_input:checked + label, .rtl input.inner_tab_input:checked + label{
2108
- margin-bottom: 0px;
2109
- }
2110
-
2111
- .rtl #content_tab_addons .single_plugin{
2112
- text-align: left;
2113
- }
2114
- .rtl .ast-tgl + .ast-tgl-btn:after {
2115
- right: 0;
2116
- }
2117
- .rtl .ast-tgl-flat:checked + .ast-tgl-btn:after {
2118
- right: 55%;
2119
- }
2120
- .rtl .single_plugin{
2121
- padding: 20px 0 0 20px;
2122
- }
2123
- .rtl .single_plugin.as-col-4:nth-child(3n) {
2124
- padding-left: 0;
2125
- }
2126
- .rtl .single_plugin.as-col-6:nth-child(2n){
2127
- padding-left: 0;
2128
- }
2129
- .rtl.wp-core-ui .btn_large .dashicons{
2130
- margin-right: 5px;
2131
- margin-left: auto;
2132
- }
2133
- .rtl .status_shipped_label{
2134
- text-align:right !important;
2135
- }
2136
- .rtl table.provder_table td:first-child{
2137
- border-right: 1px solid #e0e0e0;
2138
- border-left: 0;
2139
- }
2140
- .rtl table.provder_table td:last-child{
2141
- border-right: 0;
2142
- border-left: 1px solid #e0e0e0;
2143
- }
2144
- .rtl .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
2145
- padding: 20px 0 20px 15px;
2146
- }
2147
- .rtl .woocommerce-layout__activity-panel-wrapper{
2148
- left: 0;
2149
- right: auto;
2150
- }
2151
- .rtl .search_section {
2152
- float: right;
2153
- }
2154
- .rtl .search_section .search-icon {
2155
- border-right: 1px solid #e0e0e0;
2156
- left: 0;
2157
- right: auto;
2158
- border-left: 0;
2159
- }
2160
- .rtl .grid-provider-enable {
2161
- margin-right: auto;
2162
- margin-left: unset;
2163
- }
2164
- .rtl .provider_settings {
2165
- float: left;
2166
- }
2167
- .rtl .grid-provider-img {
2168
- margin-right: 0;
2169
- margin-left: 15px;
2170
- }
2171
- .rtl .grid-provider-settings {
2172
- margin-right: auto;
2173
- margin-left: unset;
2174
- }
2175
- .rtl .integration-grid-row .grid-img-bottom {
2176
- text-align: right;
2177
- }
2178
- .rtl .integration-grid-row .integration-more-info {
2179
- float: left;
2180
- }
2181
- .rtl .ast_pro_features_list li:before{
2182
- left: auto;
2183
- right: 0;
2184
- padding-right: 0;
2185
- padding-left: 5px;
2186
- }
2187
- .rtl .plugins_section.free_plugin_section .paid_plugin_image {
2188
- justify-content: right;
2189
- }
2190
- .rtl .plugins_section.free_plugin_section .plugin_title {
2191
- margin-left: 0;
2192
- margin-right: 20px;
2193
- }
2194
-
2195
- @media screen and (min-width: 768px) and (max-width: 1269px) {
2196
- .provider-thumb {
2197
- height: 40px;
2198
- }
2199
- span.provider_name {
2200
- font-size: 12px;
2201
- }
2202
- }
2203
- @media screen and (max-width: 1070px) {
2204
- .order-status-table td:last-child {
2205
- text-align: left;
2206
- }
2207
- a.settings_edit {
2208
- line-height: 30px;
2209
- }
2210
- .form-table.order-status-table td .send_email_label {
2211
- line-height: 30px;
2212
- }
2213
- }
2214
- @media screen and (max-width: 820px) {
2215
- .woocommerce.zorem_admin_layout table.form-table.heading-table td{
2216
- display: table-cell;
2217
- }
2218
- .multiple_checkbox_label{
2219
- width: 100%;
2220
- }
2221
- .multiple_checkbox_description{
2222
- max-width: 100%;
2223
- }
2224
- .multiple_checkbox_parent{
2225
- width: 100%;
2226
- margin-top: 10px;
2227
- }
2228
- }
2229
- @media screen and (max-width: 768px) {
2230
- .provider{
2231
- width: 33.3%;
2232
- }
2233
- .search_section,.provider_settings {
2234
- float: none;
2235
- }
2236
- #search_provider{
2237
- width: 100%;
2238
- }
2239
- table.provder_table td:nth-last-child(2) {
2240
- text-align: left;
2241
- }
2242
- .single_plugin{
2243
- width: 100%;
2244
- max-width: 100%
2245
- }
2246
- .plugins_section.free_plugin_section .single_plugin{
2247
- width: 100%;
2248
- max-width: 100%
2249
- }
2250
- .settings_ul .settings_radio_li .radio_section{
2251
- padding: 0;
2252
- margin-top: 10px;
2253
- display: block;
2254
- }
2255
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td{
2256
- padding: 12px 15px !important;
2257
- }
2258
- .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
2259
- width: auto;
2260
- }
2261
- .order-status-table tr td.status-label-column{
2262
- width: auto;
2263
- }
2264
- .order-status-table td:last-child {
2265
- text-align: unset;
2266
- }
2267
- .woocommerce.zorem_admin_layout table.form-table.order-status-table select{
2268
- margin: 15px 0;
2269
- }
2270
- .ast_admin_content table.form-table.upload_csv_table th{
2271
- width: auto;
2272
- }
2273
- .single_plugin:nth-child(2n){
2274
- padding-right: 20px;
2275
- }
2276
- .tab_inner_container{
2277
- padding: 0 10px;
2278
- }
2279
- }
2280
- @media screen and (min-width: 1300px){
2281
- content .woocommerce-progress-form-wrapper {
2282
- max-width: 60%;
2283
- }
2284
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/customizer-styles.css DELETED
@@ -1,128 +0,0 @@
1
- #accordion-section-custom_order_status_email>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: "\f465";
11
- }
12
- #accordion-section-trackship_shipment_status_email>h3:before{
13
- font-family: 'Dashicons';
14
- font-size: 20px;
15
- font-weight: thin !important;
16
- position: relative;
17
- line-height: 0;
18
- vertical-align: middle;
19
- opacity: .6;
20
- top: -1px;
21
- content: "\f465";
22
- }
23
- #accordion-section-ast_tracking_general_section>h3:before{
24
- font-family: 'Dashicons';
25
- font-size: 20px;
26
- font-weight: thin !important;
27
- position: relative;
28
- line-height: 0;
29
- vertical-align: middle;
30
- opacity: .6;
31
- top: -1px;
32
- content: "\f231";
33
- }
34
- #accordion-section-ast_tracking_page_section>h3:before{
35
- font-family: 'Dashicons';
36
- font-size: 20px;
37
- font-weight: thin !important;
38
- position: relative;
39
- line-height: 0;
40
- vertical-align: middle;
41
- opacity: .6;
42
- top: -1px;
43
- content: "\f231";
44
- }
45
-
46
- /* Mobile preview */
47
- .preview-mobile #customize-preview iframe {
48
- width:606px;
49
- height: 1500px;
50
- -ms-transform: scale(0.50);
51
- -moz-transform: scale(0.50);
52
- -o-transform: scale(0.50);
53
- -webkit-transform: scale(0.50);
54
- transform: scale(0.50);
55
- -ms-transform-origin: 0 0;
56
- -moz-transform-origin: 0 0;
57
- -o-transform-origin: 0 0;
58
- -webkit-transform-origin: 0 0;
59
- transform-origin: 0 0;
60
- }
61
- .preview-mobile .wp-full-overlay-main {
62
- overflow-y:scroll;
63
- overflow-x:auto;
64
- }
65
-
66
- /* Template Control */
67
- .customize-control-kwdtemplateload .image-radio-select label {
68
- display: block;
69
- height: auto;
70
- float: none;
71
- width: 100%;
72
- margin-bottom: 8px;
73
- padding: 8px 8px 0;
74
- box-shadow: none;
75
- box-sizing: border-box;
76
- }
77
- #customize-controls .customize-control-kwdtemplateload label img {
78
- border: 4px solid #ccc;
79
- box-sizing: border-box;
80
- cursor: pointer;
81
- height: auto;
82
- max-width: 100%;
83
- padding: 1px;
84
- }
85
- #customize-controls .customize-control-kwdtemplateload label.ktactive img {
86
- border-color: #00a0d2;
87
- }
88
- .customize-control-kwdtemplateload .kt-template-woomail-load-controls:after {
89
- clear: both;
90
- display: table;
91
- content: '';
92
- }
93
- .customize-control code {
94
- padding: 10px;
95
- display: block;
96
- background: #f9f9f9;
97
- color: #505050;
98
- font-size: 12px;
99
- }
100
- #customize-controls li.customize-control h3{
101
- margin-top: 0px;
102
- margin-bottom: 0;
103
- }
104
- .customize-control-description{
105
- font-size: 12px;
106
- }
107
- .customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-display_shipment_provider_name,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_header_block,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-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-tracking_info_settings-table_padding,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-shipment_link_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-tracking_link_font_color,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_info_settings-table_content_header{
108
- border-top: 0;
109
- padding-top: 0;
110
- }
111
- #customize-control-wcast_availableforpickup_email_settings-wcast_availableforpickup_email_content,#customize-control-wcast_intransit_email_settings-wcast_intransit_email_content,#customize-control-wcast_onhold_email_settings-wcast_onhold_email_content,#customize-control-wcast_returntosender_email_settings-wcast_returntosender_email_content,#customize-control-wcast_outfordelivery_email_settings-wcast_outfordelivery_email_content,#customize-control-wcast_delivered_email_settings-wcast_delivered_status_email_content,#customize-control-wcast_failure_email_settings-wcast_failure_email_content,#customize-control-late_shipments_email_settings-wcast_late_shipments_email_content,#customize-control-woocommerce_customer_updated_tracking_order_settings-wcast_updated_tracking_email_content,#customize-control-woocommerce_customer_partial_shipped_order_settings-wcast_partial_shipped_email_content,#customize-control-woocommerce_customer_delivered_order_settings-wcast_delivered_email_content {
112
- margin-bottom: 0;
113
- }
114
- #customize-control-wcast_availableforpickup_email_settings-wcast_availableforpickup_email_code_block,#customize-control-wcast_intransit_email_settings-wcast_intransit_email_code_block,#customize-control-wcast_onhold_email_settings-wcast_onhold_email_code_block,#customize-control-wcast_returntosender_email_code_block,#customize-control-wcast_outfordelivery_email_settings-wcast_outfordelivery_email_code_block,#customize-control-wcast_delivered_email_settings-wcast_delivered_status_email_code_block,#customize-control-wcast_failure_email_settings-wcast_failure_email_code_block,#customize-control-late_shipments_email_settings-wcast_late_shipments_email_code_block,#customize-control-wcast_updated_tracking_code_block,#customize-control-wcast_partial_shipped_code_block,#customize-control-wcast_email_code_block {
115
- margin-top: 0;
116
- padding-top: 0;
117
- border-top: 0;
118
- }
119
- li#accordion-panel-widgets {
120
- display: none !important;
121
- }
122
- .customize-control+.customize-control {
123
- border-top: 1px solid #ddd;
124
- padding-top: 10px;
125
- }
126
- .wp-picker-container .wp-color-result.button {
127
- border-color: #e0e0e0;
128
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/customizer.css DELETED
@@ -1,637 +0,0 @@
1
- /* ==========================================================================
2
- CSS for Customizer Custom Controls
3
- ========================================================================== */
4
-
5
- /* ==========================================================================
6
- Standard Selection
7
- ========================================================================== */
8
- .customize-control select,
9
- .select2-container--default .selection .select2-selection--single {
10
- border: none;
11
- position: relative;
12
- border-radius: 0;
13
- height: 27px;
14
- line-height: 27px;
15
- outline: none;
16
- -webkit-box-shadow: none;
17
- box-shadow: none;
18
- border: 1px solid #eee;
19
- }
20
-
21
- .wp-customizer .select2-container--default .selection .select2-selection--multiple {
22
- border: none;
23
- background: #fcfcff;
24
- border-radius: 0;
25
- height: auto;
26
- outline: none;
27
- -webkit-box-shadow: none;
28
- box-shadow: none;
29
- }
30
-
31
- .wp-customizer .select2-container--default .select2-selection--multiple .select2-selection__rendered {
32
- width: 95%;
33
- }
34
-
35
- .wp-customizer .select2-container--default .select2-selection--multiple .select2-selection__clear {
36
- position: absolute;
37
- right: 0;
38
- }
39
-
40
- .wp-customizer .select2-container .select2-dropdown {
41
- z-index: 900000;
42
- }
43
-
44
- .customize-control select:active,
45
- .customize-control select:focus {
46
- outline: none;
47
- -webkit-box-shadow: none;
48
- box-shadow: none;
49
- }
50
-
51
- /* ==========================================================================
52
- Standard Input
53
- ========================================================================== */
54
- input[type="text"],
55
- input[type="number"],
56
- input[type="url"],
57
- input[type="email"],
58
- input[type="date"] {
59
- background: #fcfcff;
60
- position: relative;
61
- border-radius: 0;
62
- border: 1px solid #eee;
63
- height: 27px;
64
- line-height: 27px;
65
- outline: none;
66
- -webkit-box-shadow: none;
67
- box-shadow: none;
68
- }
69
- textarea{
70
- background: #fcfcff;
71
- position: relative;
72
- border-radius: 0;
73
- border: 1px solid #eee;
74
- outline: none;
75
- -webkit-box-shadow: none;
76
- box-shadow: none;
77
- }
78
- input[type="text"]:active,
79
- input[type="text"]:focus,
80
- input[type="number"]:active,
81
- input[type="number"]:focus {
82
- outline: none;
83
- -webkit-box-shadow: none;
84
- box-shadow: none;
85
- }
86
-
87
- /* ==========================================================================
88
- Simple Notice
89
- ========================================================================== */
90
-
91
- .simple-notice-custom-control .customize-control-description {
92
- line-height: 1.6
93
- }
94
-
95
- .simple-notice-custom-control code {
96
- font-size: 90%;
97
- padding: 2px 4px;
98
- }
99
-
100
- /* ==========================================================================
101
- Textarea/TinyMCE
102
- ========================================================================== */
103
- .tinymce-control textarea {
104
- width: 100%;
105
- padding: 10px;
106
- height: 95px;
107
- }
108
-
109
- /* ==========================================================================
110
- Text Radio Buttons
111
- ========================================================================== */
112
- .text_radio_button_control:after {
113
- content: " ";
114
- display: block;
115
- clear: both;
116
- }
117
- .text_radio_button_control .radio-buttons {
118
- display: inline-block;
119
- border: 1px solid #f9f9fe;
120
- }
121
- .text_radio_button_control .radio-button-label {
122
- cursor: pointer;
123
- float: left;
124
- }
125
- .text_radio_button_control .radio-button-label > input {
126
- display: none;
127
- }
128
- .text_radio_button_control .radio-button-label span {
129
- cursor: pointer;
130
- font-weight: 500;
131
- border: 2px solid #f9f9fe;
132
- margin: 0;
133
- background-color: #eee;
134
- padding: 5px 15px;
135
- display: inline-block;
136
- }
137
- .text_radio_button_control .radio-button-label span:hover {
138
- background-color: rgba(255, 255, 255, .2);
139
- color: #2885bb;
140
- }
141
- .text_radio_button_control .radio-button-label > input:checked + span {
142
- background-color: #2084bd;
143
- color: #fff;
144
- }
145
- .text_radio_button_control .radio-button-label > input:checked + span:hover {
146
- color: #fff;
147
- }
148
-
149
- /* ==========================================================================
150
- Image Radio Buttons
151
- ========================================================================== */
152
- .image_radio_button_control .radio-button-label > input {
153
- display: none;
154
- }
155
- .image_radio_button_control .radio-button-label > img {
156
- cursor: pointer;
157
- border: 3px solid #ddd;
158
- }
159
- .image_radio_button_control .radio-button-label > input:checked + img {
160
- border: 3px solid #2885bb;
161
- }
162
-
163
- /* ==========================================================================
164
- Image Checkboxes
165
- ========================================================================== */
166
- .image_checkbox_control .checkbox-label > input {
167
- display: none;
168
- }
169
- .image_checkbox_control .checkbox-label > img {
170
- cursor: pointer;
171
- border: 3px solid #ddd;
172
- }
173
- .image_checkbox_control .checkbox-label > input:checked + img {
174
- border: 3px solid #2885bb;
175
- }
176
-
177
- /* ==========================================================================
178
- Slider
179
- ========================================================================== */
180
- .slider-custom-control {
181
- margin-bottom: 30px;
182
- }
183
- .slider-custom-control input[type=number]::-webkit-inner-spin-button,
184
- .slider-custom-control input[type=number]::-webkit-outer-spin-button {
185
- -webkit-appearance: none;
186
- margin: 0;
187
- }
188
- .slider-custom-control input[type=number] {
189
- -moz-appearance: textfield;
190
- }
191
- .slider-custom-control input[type=number] {
192
- width: 45px;
193
- float: right;
194
- margin: 7px 5px 0px 5px;
195
- }
196
- .slider-custom-control .slider {
197
- width: 70%;
198
- float: left;
199
- margin: 20px 0 10px;
200
- }
201
- .slider-custom-control .slider-reset {
202
- float: right;
203
- cursor: pointer;
204
- }
205
- .slider-custom-control .slider-value {
206
- border: none;
207
- text-align: right;
208
- width: 50px;
209
- margin-right: 5px;
210
- }
211
- .slider-custom-control .slider-value,
212
- .slider-custom-control .slider-unit {
213
- float: right;
214
- }
215
- .slider-custom-control .ui-widget.ui-widget-content {
216
- border: 1px solid #bdc3c7;
217
- }
218
- .slider-custom-control .ui-corner-all,
219
- .slider-custom-control .ui-corner-bottom,
220
- .slider-custom-control .ui-corner-right,
221
- .slider-custom-control .ui-corner-br {
222
- border-bottom-right-radius: 3px;
223
- }
224
- .slider-custom-control .ui-corner-all,
225
- .slider-custom-control .ui-corner-bottom,
226
- .slider-custom-control .ui-corner-left,
227
- .slider-custom-control .ui-corner-bl {
228
- border-bottom-left-radius: 3px;
229
- }
230
- .slider-custom-control .ui-corner-all,
231
- .slider-custom-control .ui-corner-top,
232
- .slider-custom-control .ui-corner-right,
233
- .slider-custom-control .ui-corner-tr {
234
- border-top-right-radius: 3px;
235
- }
236
- .slider-custom-control .ui-corner-all,
237
- .slider-custom-control .ui-corner-top,
238
- .slider-custom-control .ui-corner-left,
239
- .slider-custom-control .ui-corner-tl {
240
- border-top-left-radius: 3px;
241
- }
242
- .slider-custom-control .ui-widget-content {
243
- background: #bdc3c7 none repeat scroll 0 0;
244
- color: #333;
245
- }
246
- .slider-custom-control .ui-slider-horizontal {
247
- height: 5px;
248
- }
249
- .slider-custom-control .ui-slider {
250
- position: relative;
251
- text-align: left;
252
- }
253
- .slider-custom-control .ui-state-default,
254
- .slider-custom-control .ui-widget-content .ui-state-default,
255
- .slider-custom-control .ui-widget-header .ui-state-default,
256
- .slider-custom-control .ui-button,
257
- .slider-custom-control .ui-button.ui-state-disabled:hover,
258
- .slider-custom-control .ui-button.ui-state-disabled:active {
259
- background: #005b9a none repeat scroll 0 0;
260
- border: 1px solid #005b9a;
261
- color: #454545;
262
- font-weight: normal;
263
- }
264
- .slider-custom-control .ui-slider-horizontal .ui-slider-handle {
265
- margin-left: -7px;
266
- top: -7px;
267
- border-radius: 50%;
268
- }
269
- .slider-custom-control .ui-slider .ui-slider-handle {
270
- cursor: pointer;
271
- height: 18px;
272
- position: absolute;
273
- width: 18px;
274
- z-index: 2;
275
- }
276
- .slider-custom-control .dashicons-image-rotate {
277
- margin-top: 10px;
278
- color: #d4d4d4;
279
- size: 16px;
280
- }
281
- .slider-custom-control .dashicons-image-rotate:hover {
282
- color: #a7a7a7;
283
- }
284
-
285
- /* ==========================================================================
286
- Toggle Switch
287
- ========================================================================== */
288
- .toggle-switch-control .customize-control-title {
289
- display: inline-block;
290
- }
291
-
292
- .toggle-switch {
293
- position: relative;
294
- width: 64px;
295
- -webkit-user-select: none;
296
- -moz-user-select: none;
297
- -ms-user-select: none;
298
- float: right;
299
- }
300
-
301
- .toggle-switch .toggle-switch-checkbox {
302
- display: none;
303
- }
304
-
305
- .toggle-switch .toggle-switch-label {
306
- display: block;
307
- overflow: hidden;
308
- cursor: pointer;
309
- border: 2px solid #ddd;
310
- border-radius: 20px;
311
- padding: 0;
312
- margin: 0;
313
- }
314
-
315
- .toggle-switch-inner {
316
- display: block;
317
- width: 200%;
318
- margin-left: -100%;
319
- transition: margin 0.3s ease-in 0s;
320
- }
321
-
322
- .toggle-switch-inner:before,
323
- .toggle-switch-inner:after {
324
- display: block;
325
- float: left;
326
- width: 50%;
327
- height: 22px;
328
- padding: 0;
329
- line-height: 22px;
330
- font-size: 14px;
331
- color: white;
332
- font-family: Trebuchet, Arial, sans-serif;
333
- font-weight: bold;
334
- box-sizing: border-box;
335
- }
336
-
337
- .toggle-switch-inner:before {
338
- content: "ON";
339
- padding-left: 8px;
340
- background-color: #2885bb;
341
- color: #FFFFFF;
342
- }
343
-
344
- .toggle-switch-inner:after {
345
- content: "OFF";
346
- padding-right: 8px;
347
- background-color: #EEEEEE;
348
- color: #999999;
349
- text-align: right;
350
- }
351
-
352
- .toggle-switch-switch {
353
- display: block;
354
- width: 16px;
355
- margin: 3px;
356
- background: #FFFFFF;
357
- position: absolute;
358
- top: 0;
359
- bottom: 0;
360
- right: 38px;
361
- border: 2px solid #ddd;
362
- border-radius: 20px;
363
- transition: all 0.3s ease-in 0s;
364
- }
365
-
366
- .toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-inner {
367
- margin-left: 0;
368
- }
369
-
370
- .toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-switch {
371
- right: 0px;
372
- }
373
-
374
- /* ==========================================================================
375
- Sortable Repeater
376
- ========================================================================== */
377
- .sortable {
378
- list-style-type: none;
379
- margin: 0;
380
- padding: 0;
381
- }
382
- .sortable input[type="text"] {
383
- margin: 5px 5px 5px 0;
384
- width: 80%;
385
- }
386
- .sortable div {
387
- cursor: move;
388
- }
389
- .customize-control-sortable-repeater-delete {
390
- color: #d4d4d4;
391
- }
392
- .customize-control-sortable-repeater-delete:hover {
393
- color: #f00;
394
- }
395
- .customize-control-sortable-repeater-delete .dashicons-no-alt {
396
- text-decoration: none;
397
- margin: 8px 0 0 0;
398
- font-weight: 600;
399
- }
400
- .customize-control-sortable-repeater-delete:active,
401
- .customize-control-sortable-repeater-delete:focus {
402
- outline: none;
403
- -webkit-box-shadow: none;
404
- box-shadow: none;
405
- }
406
- .repeater .dashicons-sort {
407
- margin: 8px 5px 0 5px;
408
- color: #d4d4d4;
409
- }
410
- .repeater .dashicons-sort:hover {
411
- color: #a7a7a7;
412
- }
413
-
414
- /* ==========================================================================
415
- Single Accordion
416
- ========================================================================== */
417
- .single-accordion-toggle {
418
- font-size: 14px;
419
- font-weight: 600;
420
- line-height: 24px;
421
- padding: 10px 5px 5px 0;
422
- cursor: pointer;
423
- }
424
- .accordion-icon-toggle {
425
- font-size: 18px;
426
- margin-left: 5px;
427
- margin-top: 5px;
428
- -webkit-transition: -webkit-transform 0.3s ease-in-out;
429
- -moz-transition: -moz-transform 0.3s ease-in-out;
430
- -o-transition: -o-transform 0.3s ease-in-out;
431
- transition: transform 0.3s ease-in-out;
432
- }
433
- .single-accordion-toggle-rotate .accordion-icon-toggle {
434
- filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=-0.5);
435
- -webkit-transform: rotate(-45deg);
436
- -moz-transform: rotate(-45deg);
437
- -ms-transform: rotate(-45deg);
438
- -o-transform: rotate(-45deg);
439
- transform: rotate(-45deg);
440
- display: inline-block;
441
- }
442
- .single-accordion {
443
- display: none;
444
- }
445
- .single-accordion ul {
446
- margin: 0;
447
- padding: 0;
448
- }
449
- .single-accordion li {
450
- background-color: #e4e4e4;
451
- color: #888;
452
- width: 115px;
453
- display: inline-block;
454
- padding: 5px;
455
- margin: 5px;
456
- text-align: center;
457
- }
458
- .single-accordion li i {
459
- margin-left: 5px;
460
- }
461
-
462
- /* ==========================================================================
463
- Alpha Color Picker
464
- ========================================================================== */
465
- .customize-control-alpha-color .wp-picker-container .iris-picker {
466
- border-bottom:none;
467
- }
468
-
469
- .customize-control-alpha-color .wp-picker-container {
470
- max-width: 257px;
471
- }
472
-
473
- .customize-control-alpha-color .wp-picker-open + .wp-picker-input-wrap {
474
- width: 100%;
475
- }
476
-
477
- .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
478
- float: left;
479
- width: 195px;
480
- }
481
-
482
- .customize-control-alpha-color .wp-picker-input-wrap .button {
483
- margin-left: 0;
484
- float: right;
485
- }
486
-
487
- .wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container {
488
- display: block;
489
- }
490
-
491
- .alpha-color-picker-container {
492
- border: 1px solid #dfdfdf;
493
- border-top: none;
494
- display: none;
495
- background: #FFF;
496
- padding: 0 11px 10px;
497
- position: relative;
498
- }
499
-
500
- .alpha-color-picker-container .ui-widget-content,
501
- .alpha-color-picker-container .ui-widget-header,
502
- .alpha-color-picker-wrap .ui-state-focus {
503
- background: transparent;
504
- border: none;
505
- }
506
-
507
- .alpha-color-picker-wrap a.iris-square-value:focus {
508
- -webkit-box-shadow: none;
509
- box-shadow: none;
510
- }
511
-
512
- .alpha-color-picker-container .ui-slider {
513
- position: relative;
514
- z-index: 1;
515
- height: 24px;
516
- text-align: center;
517
- margin: 0 auto;
518
- width: 88%;
519
- width: calc( 100% - 28px );
520
- }
521
-
522
- .alpha-color-picker-container .ui-slider-handle,
523
- .alpha-color-picker-container .ui-widget-content .ui-state-default {
524
- color: #777;
525
- background-color: #FFF;
526
- text-shadow: 0 1px 0 #FFF;
527
- text-decoration: none;
528
- position: absolute;
529
- z-index: 2;
530
- box-shadow: 0 1px 2px rgba(0,0,0,0.2);
531
- border: 1px solid #aaa;
532
- -webkit-border-radius: 4px;
533
- -moz-border-radius: 4px;
534
- border-radius: 4px;
535
- margin-top: -2px;
536
- top: 0;
537
- height: 26px;
538
- width: 26px;
539
- cursor: ew-resize;
540
- font-size: 0;
541
- padding: 0;
542
- line-height: 27px;
543
- margin-left: -14px;
544
- }
545
-
546
- .alpha-color-picker-container .ui-slider-handle.show-opacity {
547
- font-size: 12px;
548
- }
549
-
550
- .alpha-color-picker-container .click-zone {
551
- width: 14px;
552
- height: 24px;
553
- display: block;
554
- position: absolute;
555
- left: 10px;
556
- }
557
-
558
- .alpha-color-picker-container .max-click-zone {
559
- right: 10px;
560
- left: auto;
561
- }
562
-
563
- .alpha-color-picker-container .transparency {
564
- height: 24px;
565
- width: 100%;
566
- background-color: #FFF;
567
- background-image: url(../images/color-picker-transparency-grid.png);
568
- box-shadow: 0 0 5px rgba(0,0,0,0.4) inset;
569
- -webkit-border-radius: 3px;
570
- -moz-border-radius: 3px;
571
- border-radius: 3px;
572
- padding: 0;
573
- margin-top: -24px;
574
- }
575
-
576
- @media only screen and (max-width: 782px) {
577
- .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
578
- width: 184px;
579
- }
580
- }
581
-
582
- @media only screen and (max-width: 640px) {
583
- .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
584
- width: 172px;
585
- height: 33px;
586
- }
587
- }
588
-
589
- /* ==========================================================================
590
- Alpha Color Picker & Standard Color Picker
591
- ========================================================================== */
592
-
593
- .customize-control-color .wp-color-result:after,
594
- .customize-control-alpha-color .wp-color-result:after {
595
- border: none;
596
- }
597
-
598
- .customize-control-color .wp-color-result .wp-color-result-text,
599
- .customize-control-alpha-color .wp-color-result .wp-color-result-text {
600
- border-left: none;
601
- }
602
-
603
- .wp-picker-holder .iris-picker .iris-palette {
604
- box-shadow: none;
605
- }
606
-
607
- .wp-picker-container .iris-picker,
608
- .wp-picker-container .alpha-color-picker-container {
609
- border-radius: 0;
610
- border: none;
611
- }
612
-
613
- .wp-picker-container .alpha-color-picker-container {
614
- width: 233px;
615
- }
616
-
617
- /* ==========================================================================
618
- Google Fonts Select
619
- ========================================================================== */
620
- .google_fonts_select_control .google-fonts,
621
- .google_fonts_select_control .weight-style {
622
- margin-bottom: 10px;
623
- }
624
-
625
- .control_heading{
626
- background-color: #3D4C5A;
627
- color: #FFF;
628
- font-size: 120%;
629
- font-weight: bolder;
630
- margin-left: -20px;
631
- margin-right: -20px;
632
- padding: 8px 25px;
633
- border-top: 2px solid #23282d;
634
- text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
635
- font-size: 120%;
636
- font-weight: bolder;
637
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/icons/ast-icon.png DELETED
Binary file
assets/css/icons/available-for-picup-o.png DELETED
Binary file
assets/css/icons/available-for-picup.png DELETED
Binary file
assets/css/icons/carrier-unsupported-o.png DELETED
Binary file
assets/css/icons/carrier-unsupported.png DELETED
Binary file
assets/css/icons/delivered-o.png DELETED
Binary file
assets/css/icons/delivered.png DELETED
Binary file
assets/css/icons/failure-o.png DELETED
Binary file
assets/css/icons/failure.png DELETED
Binary file
assets/css/icons/in-transit-o.png DELETED
Binary file
assets/css/icons/in-transit.png DELETED
Binary file
assets/css/icons/invalid-o.png DELETED
Binary file
assets/css/icons/invalid-tracking-number-o.png DELETED
Binary file
assets/css/icons/invalid-tracking-number.png DELETED
Binary file
assets/css/icons/invalid-user-key-o.png DELETED
Binary file
assets/css/icons/invalid-user-key.png DELETED
Binary file
assets/css/icons/invalid.png DELETED
Binary file
assets/css/icons/label_cancelled-o.png DELETED
Binary file
assets/css/icons/label_cancelled.png DELETED
Binary file
assets/css/icons/on-hold-o.png DELETED
Binary file
assets/css/icons/on-hold.png DELETED
Binary file
assets/css/icons/out-for-delivery-o.png DELETED
Binary file
assets/css/icons/out-for-delivery.png DELETED
Binary file
assets/css/icons/pending-trackship-o.png DELETED
Binary file
assets/css/icons/pending-trackship.png DELETED
Binary file
assets/css/icons/pre-transit-o.png DELETED
Binary file
assets/css/icons/pre-transit.png DELETED
Binary file
assets/css/icons/return-to-sender-o.png DELETED
Binary file
assets/css/icons/return-to-sender.png DELETED
Binary file
assets/css/icons/unknown-o.png DELETED
Binary file
assets/css/icons/unknown.png DELETED
Binary file
assets/css/icons/wrong-shipiing-provider-o.png DELETED
Binary file
assets/css/icons/wrong-shipiing-provider.png DELETED
Binary file
assets/css/preview-styles.css DELETED
@@ -1,12 +0,0 @@
1
- .ast_preview_body.wp-customizer-unloading #overlay{
2
- position: fixed; /* Sit on top of the page content */
3
- width: 100%; /* Full width (cover the whole page) */
4
- height: 100%; /* Full height (cover the whole page) */
5
- top: 0;
6
- left: 0;
7
- right: 0;
8
- bottom: 0;
9
- background-color: rgba(7, 29, 87, 0.5); /* Black background with opacity */
10
- z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
11
- cursor: default; /* Add a pointer on hover */
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/3plwinner.png DELETED
Binary file
assets/images/WooCommerce-PDF-Invoices-Packing-Slips.png DELETED
Binary file
assets/images/WooCommerce-PDF-Invoices.png DELETED
Binary file
assets/images/aliexpress.png DELETED
Binary file
assets/images/alp.png DELETED
Binary file
assets/images/aosm.png DELETED
Binary file
assets/images/ast-logo.png DELETED
Binary file
assets/images/ast-pro-banner.png DELETED
Binary file
assets/images/cart-rover.png DELETED
Binary file
assets/images/cbr.png DELETED
Binary file
assets/images/cev-icon.png DELETED
Binary file
assets/images/customcat.png DELETED
Binary file
assets/images/dear-system.png DELETED
Binary file
assets/images/dianxiaomi.png DELETED
Binary file
assets/images/eiz.png DELETED
Binary file
assets/images/icon-default.png DELETED
Binary file
assets/images/ordoro.png DELETED
Binary file
assets/images/paypal-addon-banner.png DELETED
Binary file
assets/images/picqer.png DELETED
Binary file
assets/images/printify.png DELETED
Binary file
assets/images/quickbooks.png DELETED
Binary file
assets/images/readytoship.png DELETED
Binary file
assets/images/royal-mail.png DELETED
Binary file
assets/images/shipstation.png DELETED
Binary file
assets/images/smswoo-addons-icon.jpg DELETED
Binary file
assets/images/smswoo-icon.png DELETED
Binary file
assets/images/sre.png DELETED
Binary file
assets/images/timeline-round.png DELETED
Binary file
assets/images/tpi-addon-icon.png DELETED
Binary file
assets/images/trackship-ast-banner.png DELETED
Binary file
assets/images/trackship-logo.png DELETED
Binary file
assets/images/trackship.png DELETED
Binary file
assets/images/ts-header-banner.png DELETED
Binary file
assets/images/usps.png DELETED
Binary file
assets/images/wc-addon-banner.jpg ADDED
Binary file
assets/images/woo-UPS-shipping.png DELETED
Binary file
assets/images/woo-shipping.png DELETED
Binary file
assets/images/zorem-logo.png ADDED
Binary file
assets/js/admin.js DELETED
@@ -1,486 +0,0 @@
1
- jQuery( function( $ ) {
2
-
3
- var wc_shipment_tracking_items = {
4
-
5
- // init Class
6
- init: function() {
7
- $( '#woocommerce-advanced-shipment-tracking' )
8
- .on( 'click', 'a.delete-tracking', this.delete_tracking )
9
- .on( 'click', 'button.button-show-tracking-form', this.show_form )
10
- .on( 'click', 'button.button-save-form', this.save_form );
11
- },
12
-
13
- // When a user enters a new tracking item
14
- save_form: function () {
15
- var error;
16
- var tracking_number = jQuery("#tracking_number");
17
- var tracking_provider = jQuery("#tracking_provider");
18
-
19
- if( tracking_number.val() === '' ){
20
- showerror( tracking_number );error = true;
21
- } else{
22
- hideerror(tracking_number);
23
- }
24
-
25
- if( tracking_provider.val() === '' ){
26
- jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','red');
27
- error = true;
28
- } else{
29
- jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
30
- hideerror(tracking_provider);
31
- }
32
-
33
- if(jQuery('.enable_tracking_per_item').prop("checked") == true){
34
- if(jQuery("tr").hasClass("ASTProduct_row")){
35
- var qty = false;
36
- jQuery(".ASTProduct_row").each(function(index){
37
- var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
38
- if(ASTProduct_qty > 0){
39
- qty = true;
40
- return false;
41
- }
42
- });
43
- }
44
- }
45
-
46
- if(qty == false){
47
- jQuery('.qty_validation').show();
48
- return false;
49
- } else{
50
- jQuery('.qty_validation').hide();
51
- }
52
-
53
- if(error == true){
54
- return false;
55
- }
56
- if ( !$( 'input#tracking_number' ).val() ) {
57
- return false;
58
- }
59
-
60
- $( '#advanced-shipment-tracking-form' ).block( {
61
- message: null,
62
- overlayCSS: {
63
- background: '#fff',
64
- opacity: 0.6
65
- }
66
- } );
67
- var change_order_to_shipped = $('input[name=change_order_to_shipped]:checked').val();
68
-
69
- if(change_order_to_shipped == 'change_order_to_partial_shipped'){
70
- checked = 'change_order_to_partial_shipped';
71
- } else if(change_order_to_shipped == 'change_order_to_shipped'){
72
- checked = 'change_order_to_shipped';
73
- } else if(change_order_to_shipped == 'change_order_to_custom_shipped'){
74
- checked = 'change_order_to_shipped';
75
- } else if($('input#change_order_to_shipped').prop("checked") == true){
76
- checked = 'change_order_to_shipped';
77
- } else{
78
- checked = 'no';
79
- }
80
-
81
- var product_data = [];
82
- jQuery(".ASTProduct_row").each(function(index){
83
- var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
84
- if(ASTProduct_qty > 0){
85
- product_data.push({
86
- product: jQuery(this).find('.product_id').val(),
87
- qty: jQuery(this).find('input[type="number"]').val(),
88
- });
89
- }
90
- });
91
-
92
- var jsonString = JSON.stringify(product_data);
93
- var data = {
94
- action: 'wc_shipment_tracking_save_form',
95
- order_id: woocommerce_admin_meta_boxes.post_id,
96
- tracking_provider: $( '#tracking_provider' ).val(),
97
- custom_tracking_provider: $( '#custom_tracking_provider' ).val(),
98
- custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
99
- tracking_number: $( 'input#tracking_number' ).val(),
100
- tracking_product_code: $( 'input#tracking_product_code' ).val(),
101
- date_shipped: $( 'input#date_shipped' ).val(),
102
- enable_tracking_per_item: $('input[name=enable_tracking_per_item]:checked').val(),
103
- productlist: jsonString,
104
- change_order_to_shipped: checked,
105
- security: $( '#wc_shipment_tracking_create_nonce' ).val()
106
- };
107
-
108
- jQuery.ajax({
109
- url: woocommerce_admin_meta_boxes.ajax_url,
110
- data: data,
111
- type: 'POST',
112
- success: function(response) {
113
- $( '#advanced-shipment-tracking-form' ).unblock();
114
-
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
-
146
- // Show the new tracking item form
147
- show_form: function () {
148
- $( '#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form' ).show();
149
- $( '#woocommerce-advanced-shipment-tracking .button-show-tracking-form' ).hide();
150
- $( "#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form #tracking_number" ).focus();
151
- },
152
-
153
- // Delete a tracking item
154
- delete_tracking: function() {
155
-
156
- var tracking_id = $( this ).attr( 'rel' );
157
-
158
- $( '#tracking-item-' + tracking_id ).block({
159
- message: null,
160
- overlayCSS: {
161
- background: '#fff',
162
- opacity: 0.6
163
- }
164
- });
165
-
166
- var data = {
167
- action: 'wc_shipment_tracking_delete_item',
168
- order_id: woocommerce_admin_meta_boxes.post_id,
169
- tracking_id: tracking_id,
170
- security: $( '#wc_shipment_tracking_delete_nonce' ).val()
171
- };
172
-
173
- $.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
174
- $( '#tracking-item-' + tracking_id ).unblock();
175
- if ( response != '-1' ) {
176
- $( '#tracking-item-' + tracking_id ).remove();
177
- }
178
- });
179
-
180
- return false;
181
- },
182
-
183
- refresh_items: function() {
184
- var data = {
185
- action: 'wc_shipment_tracking_get_items',
186
- order_id: woocommerce_admin_meta_boxes.post_id,
187
- security: $( '#wc_shipment_tracking_get_nonce' ).val()
188
- };
189
-
190
- $( '#woocommerce-shipment-tracking' ).block( {
191
- message: null,
192
- overlayCSS: {
193
- background: '#fff',
194
- opacity: 0.6
195
- }
196
- } );
197
-
198
- $.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
199
- $( '#woocommerce-shipment-tracking' ).unblock();
200
- if ( response != '-1' ) {
201
- $( '#woocommerce-shipment-tracking #tracking-items' ).html( response );
202
- }
203
- });
204
- },
205
- }
206
-
207
- wc_shipment_tracking_items.init();
208
-
209
- window.wc_shipment_tracking_refresh = wc_shipment_tracking_items.refresh_items;
210
- } );
211
- jQuery(document).on("click", ".update-dismiss", function(){
212
- jQuery('#order_updated_message').fadeOut();
213
- });
214
- function showerror(element){
215
- element.css("border-color","red");
216
- }
217
- function hideerror(element){
218
- element.css("border-color","");
219
- }
220
- jQuery(document).ready(function() {
221
- jQuery('#tracking_provider').select2({
222
- matcher: modelMatcher
223
- });
224
- });
225
- function modelMatcher (params, data) {
226
- data.parentText = data.parentText || "";
227
-
228
- // Always return the object if there is nothing to compare
229
- if (jQuery.trim(params.term) === '') {
230
- return data;
231
- }
232
-
233
- // Do a recursive check for options with children
234
- if (data.children && data.children.length > 0) {
235
- // Clone the data object if there are children
236
- // This is required as we modify the object to remove any non-matches
237
- var match = jQuery.extend(true, {}, data);
238
-
239
- // Check each child of the option
240
- for (var c = data.children.length - 1; c >= 0; c--) {
241
- var child = data.children[c];
242
- child.parentText += data.parentText + " " + data.text;
243
-
244
- var matches = modelMatcher(params, child);
245
-
246
- // If there wasn't a match, remove the object in the array
247
- if (matches == null) {
248
- match.children.splice(c, 1);
249
- }
250
- }
251
-
252
- // If any children matched, return the new object
253
- if (match.children.length > 0) {
254
- return match;
255
- }
256
-
257
- // If there were no matching children, check just the plain object
258
- return modelMatcher(params, match);
259
- }
260
-
261
- // If the typed-in term matches the text of this term, or the text from any
262
- // parent term, then it's a match.
263
- var original = (data.parentText + ' ' + data.text).toUpperCase();
264
- var term = params.term.toUpperCase();
265
-
266
-
267
- // Check if the text contains the term
268
- if (original.indexOf(term) > -1) {
269
- return data;
270
- }
271
-
272
- // If it doesn't contain the term, don't return anything
273
- return null;
274
- }
275
-
276
- jQuery(document).on("click", ".add_inline_tracking", function(){
277
-
278
- jQuery(this).closest('.wc_actions').block({
279
- message: null,
280
- overlayCSS: {
281
- background: "#fff",
282
- opacity: .6
283
- }
284
- });
285
-
286
- var order_id = jQuery(this).attr('href');
287
- order_id = order_id.replace("#", "");
288
- jQuery('.add_tracking_number_form #order_id').val(order_id);
289
-
290
- var ajax_data = {
291
- action: 'ast_open_inline_tracking_form',
292
- order_id: order_id,
293
- security: ast_orders_params.order_nonce,
294
- };
295
-
296
- jQuery.ajax({
297
- url: ajaxurl,
298
- data: ajax_data,
299
- type: 'POST',
300
- success: function(response) {
301
- jQuery( ".add_tracking_popup" ).remove();
302
- jQuery( ".tracking_details_popup" ).remove();
303
- jQuery("body").append(response);
304
- jQuery('.add_tracking_popup').show();
305
- jQuery( "#add_tracking_number_form #tracking_number" ).focus();
306
- jQuery('.tracking_provider_dropdown').select2();
307
-
308
- var selected_provider = jQuery("#tracking_provider").val();
309
-
310
- if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
311
- jQuery('.tracking_product_code_field').show();
312
- } else{
313
- jQuery('.tracking_product_code_field').hide();
314
- }
315
-
316
- jQuery( '.ast-date-picker-field' ).datepicker({
317
- dateFormat: 'yy-mm-dd'
318
- });
319
-
320
- jQuery('.wc_actions').unblock();
321
- },
322
- error: function(response) {
323
- jQuery('.wc_actions').unblock();
324
- }
325
- });
326
- });
327
-
328
- jQuery(document).on("click", ".mark_shipped_checkbox", function(){
329
- if(jQuery(this).prop("checked") == true){
330
- jQuery('.mark_shipped_checkbox').prop('checked', false);
331
- jQuery(this).prop('checked', true);
332
- }
333
- });
334
-
335
- jQuery(document).on("click", ".popupclose", function(){
336
- jQuery('.add_tracking_popup').hide();
337
- });
338
-
339
- jQuery(document).on("click", ".popup_close_icon", function(){
340
- jQuery('.add_tracking_popup').hide();
341
- });
342
-
343
- jQuery(document).on("submit", "#add_tracking_number_form", function(){
344
-
345
- var form = jQuery('#add_tracking_number_form');
346
- var error;
347
- var tracking_provider = jQuery("#add_tracking_number_form #tracking_provider");
348
- var tracking_number = jQuery("#add_tracking_number_form #tracking_number");
349
- var date_shipped = jQuery("#add_tracking_number_form #date_shipped");
350
- var tracking_product_code = jQuery( 'input#tracking_product_code' );
351
-
352
-
353
- if( tracking_provider.val() === '' ){
354
- jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','red');
355
- error = true;
356
- } else{
357
- jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
358
- hideerror(tracking_provider);
359
- }
360
-
361
- if( tracking_number.val() === '' ){
362
- showerror(tracking_number);
363
- error = true;
364
- } else{
365
- hideerror(tracking_number);
366
- }
367
-
368
- if( date_shipped.val() === '' ){
369
- showerror(date_shipped);
370
- error = true;
371
- } else{
372
- hideerror(date_shipped);
373
- }
374
-
375
-
376
- if(jQuery('.enable_tracking_per_item').prop("checked") == true){
377
- if(jQuery("tr").hasClass("ASTProduct_row")){
378
- var qty = false;
379
- jQuery(".ASTProduct_row").each(function(index){
380
- var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
381
- if(ASTProduct_qty > 0){
382
- qty = true;
383
- return false;
384
- }
385
- });
386
- }
387
- }
388
-
389
- if(qty == false){
390
- jQuery('.qty_validation').show();
391
- return false;
392
- } else{
393
- jQuery('.qty_validation').hide();
394
- }
395
-
396
- if(error == true){
397
- return false;
398
- }
399
-
400
- jQuery("#add_tracking_number_form").block({
401
- message: null,
402
- overlayCSS: {
403
- background: "#fff",
404
- opacity: .6
405
- }
406
- });
407
- jQuery.ajax({
408
- url: ajaxurl,
409
- data: form.serialize(),
410
- type: 'POST',
411
- success: function(response) {
412
- location.reload();
413
- },
414
- error: function(response) {
415
- console.log(response);
416
- }
417
- });
418
- return false;
419
- });
420
-
421
-
422
- jQuery(document).on("click", ".inline_tracking_delete", function(){
423
- var r = confirm( 'Do you really want to delete tracking number?' );
424
- if (r === true) {
425
- var tracking_id = jQuery( this ).attr( 'rel' );
426
- var nonce = jQuery( this ).data( 'nonce' );
427
- var order_id = jQuery( this ).data( 'order' );
428
- jQuery( '#tracking-item-' + tracking_id ).block({
429
- message: null,
430
- overlayCSS: {
431
- background: '#fff',
432
- opacity: 0.6
433
- }
434
- });
435
- var ajax_data = {
436
- action: 'wc_shipment_tracking_delete_item',
437
- security: nonce,
438
- tracking_id: tracking_id,
439
- order_id: order_id,
440
- };
441
- jQuery.ajax({
442
- url: ajaxurl,
443
- data: ajax_data,
444
- type: 'POST',
445
- success: function(response) {
446
- jQuery( '#tracking-item-' + tracking_id ).unblock();
447
- if ( response != '-1' ) {
448
- jQuery( '.tracking-item-' + tracking_id ).remove();
449
- }
450
- },
451
- error: function(response) {
452
- console.log(response);
453
- }
454
- });
455
- } else {
456
- return;
457
- }
458
- });
459
-
460
- jQuery(document).on("change", "#tracking_provider", function(){
461
- var selected_provider = jQuery(this).val();
462
- if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
463
- jQuery('.tracking_product_code_field').show();
464
- } else{
465
- jQuery('.tracking_product_code_field').hide();
466
- }
467
- });
468
-
469
- jQuery(document).ready(function() {
470
-
471
- jQuery('.column-woocommerce-advanced-shipment-tracking').addClass('no-link');
472
-
473
- var selected_provider = jQuery("#tracking_provider").val();
474
- if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
475
- jQuery('.tracking_product_code_field').show();
476
- } else{
477
- jQuery('.tracking_product_code_field').hide();
478
- }
479
- });
480
-
481
- function showerror(element){
482
- element.css("border","1px solid red");
483
- }
484
- function hideerror(element){
485
- element.css("border","1px solid #ddd");
486
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/customizer-scripts.js DELETED
@@ -1,110 +0,0 @@
1
- /*
2
- * Customizer Scripts
3
- * Need to rewrite and clean up this file.
4
- */
5
-
6
- jQuery(document).ready(function() {
7
-
8
- /**
9
- * Change description
10
- */
11
- jQuery('#customize-theme-controls #accordion-section-themes').hide();
12
- jQuery( '#sub-accordion-section-ast_tracking_general_section .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
13
- jQuery( '#sub-accordion-section-custom_order_status_email .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
14
- jQuery( '.accordion-section .panel-title' ).html(wcast_customizer.customizer_title);
15
- });
16
-
17
- // Handle mobile button click
18
- function custom_size_mobile() {
19
- // get email width.
20
- var email_width = '684';
21
- var ratio = email_width/304;
22
- var framescale = 100/ratio;
23
- var framescale = framescale/100;
24
- jQuery('#customize-preview iframe').width(email_width+'px');
25
- jQuery('#customize-preview iframe').css({
26
- '-webkit-transform' : 'scale(' + framescale + ')',
27
- '-moz-transform' : 'scale(' + framescale + ')',
28
- '-ms-transform' : 'scale(' + framescale + ')',
29
- '-o-transform' : 'scale(' + framescale + ')',
30
- 'transform' : 'scale(' + framescale + ')'
31
- });
32
- }
33
- jQuery('#customize-footer-actions .preview-mobile').click(function(e) {
34
- custom_size_mobile();
35
- });
36
- jQuery('#customize-footer-actions .preview-desktop').click(function(e) {
37
- jQuery('#customize-preview iframe').width('100%');
38
- jQuery('#customize-preview iframe').css({
39
- '-webkit-transform' : 'scale(1)',
40
- '-moz-transform' : 'scale(1)',
41
- '-ms-transform' : 'scale(1)',
42
- '-o-transform' : 'scale(1)',
43
- 'transform' : 'scale(1)'
44
- });
45
- });
46
- jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
47
- jQuery('#customize-preview iframe').width('100%');
48
- jQuery('#customize-preview iframe').css({
49
- '-webkit-transform' : 'scale(1)',
50
- '-moz-transform' : 'scale(1)',
51
- '-ms-transform' : 'scale(1)',
52
- '-o-transform' : 'scale(1)',
53
- 'transform' : 'scale(1)'
54
- });
55
- });
56
-
57
- (function ( api ) {
58
- api.section( 'custom_order_status_email', function( section ) {
59
- section.expanded.bind( function( isExpanded ) {
60
- var url;
61
- if ( isExpanded ) {
62
- jQuery('#save').trigger('click');
63
- var order_status = jQuery(".preview_email_type option:selected").val();
64
-
65
- if(order_status == 'partially_shipped'){
66
- url = wcast_customizer.partial_shipped_email_preview_url;
67
- api.previewer.previewUrl.set( url );
68
- } else if(order_status == 'updated_tracking'){
69
- url = wcast_customizer.updated_tracking_email_preview_url;
70
- api.previewer.previewUrl.set( url );
71
- } else if(order_status == 'shipped'){
72
- url = wcast_customizer.shipped_email_preview_url;
73
- api.previewer.previewUrl.set( url );
74
- }
75
- }
76
- } );
77
- } );
78
- } ( wp.customize ) );
79
-
80
- (function ( api ) {
81
- api.section( 'ast_tracking_general_section', function( section ) {
82
- section.expanded.bind( function( isExpanded ) {
83
- var url;
84
- if ( isExpanded ) {
85
- jQuery('#save').trigger('click');
86
- url = wcast_customizer.tracking_preview_url;
87
- api.previewer.previewUrl.set( url );
88
- }
89
- } );
90
- } );
91
- } ( wp.customize ) );
92
-
93
- wp.customize( 'wcast_order_status_email_type', function( value ) {
94
- value.bind( function( wcast_order_status_email_type ) {
95
- if(wcast_order_status_email_type == 'partially_shipped'){
96
- wp.customize.previewer.previewUrl(wcast_customizer.partial_shipped_email_preview_url);
97
- wp.customize.previewer.refresh();
98
- } else if(wcast_order_status_email_type == 'updated_tracking'){
99
- wp.customize.previewer.previewUrl(wcast_customizer.updated_tracking_email_preview_url);
100
- wp.customize.previewer.refresh();
101
- } else if(wcast_order_status_email_type == 'shipped'){
102
- wp.customize.previewer.previewUrl(wcast_customizer.shipped_email_preview_url);
103
- wp.customize.previewer.refresh();
104
- }
105
- });
106
- });
107
- jQuery(document).ready(function() {
108
- var email_type = wcast_customizer.email_type;
109
- jQuery(".preview_email_type").val(email_type);
110
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/customizer.js DELETED
@@ -1,608 +0,0 @@
1
- jQuery( document ).ready(function($) {
2
- "use strict";
3
-
4
- /**
5
- * Sortable Repeater Custom Control
6
- *
7
- * @author Anthony Hortin <http://maddisondesigns.com>
8
- * @license http://www.gnu.org/licenses/gpl-2.0.html
9
- * @link https://github.com/maddisondesigns
10
- */
11
-
12
- // Update the values for all our input fields and initialise the sortable repeater
13
- $('.sortable_repeater_control').each(function() {
14
- // If there is an existing customizer value, populate our rows
15
- var defaultValuesArray = $(this).find('.customize-control-sortable-repeater').val().split(',');
16
- var numRepeaterItems = defaultValuesArray.length;
17
-
18
- if(numRepeaterItems > 0) {
19
- // Add the first item to our existing input field
20
- $(this).find('.repeater-input').val(defaultValuesArray[0]);
21
- // Create a new row for each new value
22
- if(numRepeaterItems > 1) {
23
- var i;
24
- for (i = 1; i < numRepeaterItems; ++i) {
25
- skyrocketAppendRow($(this), defaultValuesArray[i]);
26
- }
27
- }
28
- }
29
- });
30
-
31
- // Make our Repeater fields sortable
32
- $(this).find('.sortable').sortable({
33
- update: function(event, ui) {
34
- skyrocketGetAllInputs($(this).parent());
35
- }
36
- });
37
-
38
- // Remove item starting from it's parent element
39
- $('.sortable').on('click', '.customize-control-sortable-repeater-delete', function(event) {
40
- event.preventDefault();
41
- var numItems = $(this).parent().parent().find('.repeater').length;
42
-
43
- if(numItems > 1) {
44
- $(this).parent().slideUp('fast', function() {
45
- var parentContainer = $(this).parent().parent();
46
- $(this).remove();
47
- skyrocketGetAllInputs(parentContainer);
48
- })
49
- }
50
- else {
51
- $(this).parent().find('.repeater-input').val('');
52
- skyrocketGetAllInputs($(this).parent().parent().parent());
53
- }
54
- });
55
-
56
- // Add new item
57
- $('.customize-control-sortable-repeater-add').click(function(event) {
58
- event.preventDefault();
59
- skyrocketAppendRow($(this).parent());
60
- skyrocketGetAllInputs($(this).parent());
61
- });
62
-
63
- // Refresh our hidden field if any fields change
64
- $('.sortable').change(function() {
65
- skyrocketGetAllInputs($(this).parent());
66
- })
67
-
68
- // Add https:// to the start of the URL if it doesn't have it
69
- $('.sortable').on('blur', '.repeater-input', function() {
70
- var url = $(this);
71
- var val = url.val();
72
- if(val && !val.match(/^.+:\/\/.*/)) {
73
- // Important! Make sure to trigger change event so Customizer knows it has to save the field
74
- url.val('https://' + val).trigger('change');
75
- }
76
- });
77
-
78
- // Append a new row to our list of elements
79
- function skyrocketAppendRow($element, defaultValue = '') {
80
- var newRow = '<div class="repeater" style="display:none"><input type="text" value="' + defaultValue + '" class="repeater-input" placeholder="https://" /><span class="dashicons dashicons-sort"></span><a class="customize-control-sortable-repeater-delete" href="#"><span class="dashicons dashicons-no-alt"></span></a></div>';
81
-
82
- $element.find('.sortable').append(newRow);
83
- $element.find('.sortable').find('.repeater:last').slideDown('slow', function(){
84
- $(this).find('input').focus();
85
- });
86
- }
87
-
88
- // Get the values from the repeater input fields and add to our hidden field
89
- function skyrocketGetAllInputs($element) {
90
- var inputValues = $element.find('.repeater-input').map(function() {
91
- return $(this).val();
92
- }).toArray();
93
- // Add all the values from our repeater fields to the hidden field (which is the one that actually gets saved)
94
- $element.find('.customize-control-sortable-repeater').val(inputValues);
95
- // Important! Make sure to trigger change event so Customizer knows it has to save the field
96
- $element.find('.customize-control-sortable-repeater').trigger('change');
97
- }
98
-
99
- /**
100
- * Slider Custom Control
101
- *
102
- * @author Anthony Hortin <http://maddisondesigns.com>
103
- * @license http://www.gnu.org/licenses/gpl-2.0.html
104
- * @link https://github.com/maddisondesigns
105
- */
106
-
107
- // Set our slider defaults and initialise the slider
108
- $('.slider-custom-control').each(function(){
109
- var sliderValue = $(this).find('.customize-control-slider-value').val();
110
- var newSlider = $(this).find('.slider');
111
- var sliderMinValue = parseFloat(newSlider.attr('slider-min-value'));
112
- var sliderMaxValue = parseFloat(newSlider.attr('slider-max-value'));
113
- var sliderStepValue = parseFloat(newSlider.attr('slider-step-value'));
114
-
115
- newSlider.slider({
116
- value: sliderValue,
117
- min: sliderMinValue,
118
- max: sliderMaxValue,
119
- step: sliderStepValue,
120
- change: function(e,ui){
121
- // Important! When slider stops moving make sure to trigger change event so Customizer knows it has to save the field
122
- $(this).parent().find('.customize-control-slider-value').trigger('change');
123
- }
124
- });
125
- });
126
-
127
- // Change the value of the input field as the slider is moved
128
- $('.slider').on('slide', function(event, ui) {
129
- $(this).parent().find('.customize-control-slider-value').val(ui.value);
130
- });
131
-
132
- // Reset slider and input field back to the default value
133
- $('.slider-reset').on('click', function() {
134
- var resetValue = $(this).attr('slider-reset-value');
135
- $(this).parent().find('.customize-control-slider-value').val(resetValue);
136
- $(this).parent().find('.slider').slider('value', resetValue);
137
- });
138
-
139
- // Update slider if the input field loses focus as it's most likely changed
140
- $('.customize-control-slider-value').blur(function() {
141
- var resetValue = $(this).val();
142
- var slider = $(this).parent().find('.slider');
143
- var sliderMinValue = parseInt(slider.attr('slider-min-value'));
144
- var sliderMaxValue = parseInt(slider.attr('slider-max-value'));
145
-
146
- // Make sure our manual input value doesn't exceed the minimum & maxmium values
147
- if(resetValue < sliderMinValue) {
148
- resetValue = sliderMinValue;
149
- $(this).val(resetValue);
150
- }
151
- if(resetValue > sliderMaxValue) {
152
- resetValue = sliderMaxValue;
153
- $(this).val(resetValue);
154
- }
155
- $(this).parent().find('.slider').slider('value', resetValue);
156
- });
157
-
158
- /**
159
- * Single Accordion Custom Control
160
- *
161
- * @author Anthony Hortin <http://maddisondesigns.com>
162
- * @license http://www.gnu.org/licenses/gpl-2.0.html
163
- * @link https://github.com/maddisondesigns
164
- */
165
-
166
- $('.single-accordion-toggle').click(function() {
167
- var $accordionToggle = $(this);
168
- $(this).parent().find('.single-accordion').slideToggle('slow', function() {
169
- $accordionToggle.toggleClass('single-accordion-toggle-rotate', $(this).is(':visible'));
170
- });
171
- });
172
-
173
- /**
174
- * Image Check Box Custom Control
175
- *
176
- * @author Anthony Hortin <http://maddisondesigns.com>
177
- * @license http://www.gnu.org/licenses/gpl-2.0.html
178
- * @link https://github.com/maddisondesigns
179
- */
180
-
181
- $('.multi-image-checkbox').on('change', function () {
182
- getAllCheckboxes($(this).parent().parent());
183
- });
184
-
185
- // Get the values from the checkboxes and add to our hidden field
186
- function getAllCheckboxes($element) {
187
- var inputValues = $element.find('.multi-image-checkbox').map(function() {
188
- if( $(this).is(':checked') ) {
189
- return $(this).val();
190
- // } else {
191
- // return '';
192
- }
193
- }).toArray();
194
- // Important! Make sure to trigger change event so Customizer knows it has to save the field
195
- $element.find('.customize-control-multi-image-checkbox').val(inputValues).trigger('change');
196
- }
197
-
198
- /**
199
- * Dropdown Select2 Custom Control
200
- *
201
- * @author Anthony Hortin <http://maddisondesigns.com>
202
- * @license http://www.gnu.org/licenses/gpl-2.0.html
203
- * @link https://github.com/maddisondesigns
204
- */
205
-
206
- $('.customize-control-dropdown-select2').each(function(){
207
- $('.customize-control-select2').select2({
208
- allowClear: true
209
- });
210
- });
211
-
212
- $(".customize-control-select2").on("change", function() {
213
- var select2Val = $(this).val();
214
- $(this).parent().find('.customize-control-dropdown-select2').val(select2Val).trigger('change');
215
- });
216
-
217
- /**
218
- * Googe Font Select Custom Control
219
- *
220
- * @author Anthony Hortin <http://maddisondesigns.com>
221
- * @license http://www.gnu.org/licenses/gpl-2.0.html
222
- * @link https://github.com/maddisondesigns
223
- */
224
-
225
- $('.google-fonts-list').each(function (i, obj) {
226
- if (!$(obj).hasClass('select2-hidden-accessible')) {
227
- $(obj).select2();
228
- }
229
- });
230
-
231
- $('.google-fonts-list').on('change', function() {
232
- var elementRegularWeight = $(this).parent().parent().find('.google-fonts-regularweight-style');
233
- var elementItalicWeight = $(this).parent().parent().find('.google-fonts-italicweight-style');
234
- var elementBoldWeight = $(this).parent().parent().find('.google-fonts-boldweight-style');
235
- var selectedFont = $(this).val();
236
- var customizerControlName = $(this).attr('control-name');
237
- var elementItalicWeightCount = 0;
238
- var elementBoldWeightCount = 0;
239
-
240
- // Clear Weight/Style dropdowns
241
- elementRegularWeight.empty();
242
- elementItalicWeight.empty();
243
- elementBoldWeight.empty();
244
- // Make sure Italic & Bold dropdowns are enabled
245
- elementItalicWeight.prop('disabled', false);
246
- elementBoldWeight.prop('disabled', false);
247
-
248
- // Get the Google Fonts control object
249
- var bodyfontcontrol = _wpCustomizeSettings.controls[customizerControlName];
250
-
251
- // Find the index of the selected font
252
- var indexes = $.map(bodyfontcontrol.skyrocketfontslist, function(obj, index) {
253
- if(obj.family === selectedFont) {
254
- return index;
255
- }
256
- });
257
- var index = indexes[0];
258
-
259
- // For the selected Google font show the available weight/style variants
260
- $.each(bodyfontcontrol.skyrocketfontslist[index].variants, function(val, text) {
261
- elementRegularWeight.append(
262
- $('<option></option>').val(text).html(text)
263
- );
264
- if (text.indexOf("italic") >= 0) {
265
- elementItalicWeight.append(
266
- $('<option></option>').val(text).html(text)
267
- );
268
- elementItalicWeightCount++;
269
- } else {
270
- elementBoldWeight.append(
271
- $('<option></option>').val(text).html(text)
272
- );
273
- elementBoldWeightCount++;
274
- }
275
- });
276
-
277
- if(elementItalicWeightCount == 0) {
278
- elementItalicWeight.append(
279
- $('<option></option>').val('').html('Not Available for this font')
280
- );
281
- elementItalicWeight.prop('disabled', 'disabled');
282
- }
283
- if(elementBoldWeightCount == 0) {
284
- elementBoldWeight.append(
285
- $('<option></option>').val('').html('Not Available for this font')
286
- );
287
- elementBoldWeight.prop('disabled', 'disabled');
288
- }
289
-
290
- // Update the font category based on the selected font
291
- $(this).parent().parent().find('.google-fonts-category').val(bodyfontcontrol.skyrocketfontslist[index].category);
292
-
293
- skyrocketGetAllSelects($(this).parent().parent());
294
- });
295
-
296
- $('.google_fonts_select_control select').on('change', function() {
297
- skyrocketGetAllSelects($(this).parent().parent());
298
- });
299
-
300
- function skyrocketGetAllSelects($element) {
301
- var selectedFont = {
302
- font: $element.find('.google-fonts-list').val(),
303
- regularweight: $element.find('.google-fonts-regularweight-style').val(),
304
- italicweight: $element.find('.google-fonts-italicweight-style').val(),
305
- boldweight: $element.find('.google-fonts-boldweight-style').val(),
306
- category: $element.find('.google-fonts-category').val()
307
- };
308
-
309
- // Important! Make sure to trigger change event so Customizer knows it has to save the field
310
- $element.find('.customize-control-google-font-selection').val(JSON.stringify(selectedFont)).trigger('change');
311
- }
312
-
313
- /**
314
- * TinyMCE Custom Control
315
- *
316
- * @author Anthony Hortin <http://maddisondesigns.com>
317
- * @license http://www.gnu.org/licenses/gpl-2.0.html
318
- * @link https://github.com/maddisondesigns
319
- */
320
-
321
- $('.customize-control-tinymce-editor').each(function(){
322
- // Get the toolbar strings that were passed from the PHP Class
323
- var tinyMCEToolbar1String = _wpCustomizeSettings.controls[$(this).attr('id')].skyrockettinymcetoolbar1;
324
- var tinyMCEToolbar2String = _wpCustomizeSettings.controls[$(this).attr('id')].skyrockettinymcetoolbar2;
325
- var tinyMCEMediaButtons = _wpCustomizeSettings.controls[$(this).attr('id')].skyrocketmediabuttons;
326
-
327
- wp.editor.initialize( $(this).attr('id'), {
328
-
329
- tinymce: {
330
- wpautop: true,
331
- toolbar1: tinyMCEToolbar1String,
332
- toolbar2: tinyMCEToolbar2String
333
- },
334
- quicktags: true,
335
- mediaButtons: tinyMCEMediaButtons
336
- });
337
- });
338
- $(document).on( 'tinymce-editor-init', function( event, editor ) {
339
- editor.on('change', function(e) {
340
- tinyMCE.triggerSave();
341
- $('#'+editor.id).trigger('change');
342
- });
343
- });
344
-
345
- /**
346
- * Alpha Color Picker Custom Control
347
- *
348
- * @author Braad Martin <http://braadmartin.com>
349
- * @license http://www.gnu.org/licenses/gpl-3.0.html
350
- * @link https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker
351
- */
352
-
353
- // Loop over each control and transform it into our color picker.
354
- $( '.alpha-color-control' ).each( function() {
355
-
356
- // Scope the vars.
357
- var $control, startingColor, paletteInput, showOpacity, defaultColor, palette,
358
- colorPickerOptions, $container, $alphaSlider, alphaVal, sliderOptions;
359
-
360
- // Store the control instance.
361
- $control = $( this );
362
-
363
- // Get a clean starting value for the option.
364
- startingColor = $control.val().replace( /\s+/g, '' );
365
-
366
- // Get some data off the control.
367
- paletteInput = $control.attr( 'data-palette' );
368
- showOpacity = $control.attr( 'data-show-opacity' );
369
- defaultColor = $control.attr( 'data-default-color' );
370
-
371
- // Process the palette.
372
- if ( paletteInput.indexOf( '|' ) !== -1 ) {
373
- palette = paletteInput.split( '|' );
374
- } else if ( 'false' == paletteInput ) {
375
- palette = false;
376
- } else {
377
- palette = true;
378
- }
379
-
380
- // Set up the options that we'll pass to wpColorPicker().
381
- colorPickerOptions = {
382
- change: function( event, ui ) {
383
- var key, value, alpha, $transparency;
384
-
385
- key = $control.attr( 'data-customize-setting-link' );
386
- value = $control.wpColorPicker( 'color' );
387
-
388
- // Set the opacity value on the slider handle when the default color button is clicked.
389
- if ( defaultColor == value ) {
390
- alpha = acp_get_alpha_value_from_color( value );
391
- $alphaSlider.find( '.ui-slider-handle' ).text( alpha );
392
- }
393
-
394
- // Send ajax request to wp.customize to trigger the Save action.
395
- wp.customize( key, function( obj ) {
396
- obj.set( value );
397
- });
398
-
399
- $transparency = $container.find( '.transparency' );
400
-
401
- // Always show the background color of the opacity slider at 100% opacity.
402
- $transparency.css( 'background-color', ui.color.toString( 'no-alpha' ) );
403
- },
404
- palettes: palette // Use the passed in palette.
405
- };
406
-
407
- // Create the colorpicker.
408
- $control.wpColorPicker( colorPickerOptions );
409
-
410
- $container = $control.parents( '.wp-picker-container:first' );
411
-
412
- // Insert our opacity slider.
413
- $( '<div class="alpha-color-picker-container">' +
414
- '<div class="min-click-zone click-zone"></div>' +
415
- '<div class="max-click-zone click-zone"></div>' +
416
- '<div class="alpha-slider"></div>' +
417
- '<div class="transparency"></div>' +
418
- '</div>' ).appendTo( $container.find( '.wp-picker-holder' ) );
419
-
420
- $alphaSlider = $container.find( '.alpha-slider' );
421
-
422
- // If starting value is in format RGBa, grab the alpha channel.
423
- alphaVal = acp_get_alpha_value_from_color( startingColor );
424
-
425
- // Set up jQuery UI slider() options.
426
- sliderOptions = {
427
- create: function( event, ui ) {
428
- var value = $( this ).slider( 'value' );
429
-
430
- // Set up initial values.
431
- $( this ).find( '.ui-slider-handle' ).text( value );
432
- $( this ).siblings( '.transparency ').css( 'background-color', startingColor );
433
- },
434
- value: alphaVal,
435
- range: 'max',
436
- step: 1,
437
- min: 0,
438
- max: 100,
439
- animate: 300
440
- };
441
-
442
- // Initialize jQuery UI slider with our options.
443
- $alphaSlider.slider( sliderOptions );
444
-
445
- // Maybe show the opacity on the handle.
446
- if ( 'true' == showOpacity ) {
447
- $alphaSlider.find( '.ui-slider-handle' ).addClass( 'show-opacity' );
448
- }
449
-
450
- // Bind event handlers for the click zones.
451
- $container.find( '.min-click-zone' ).on( 'click', function() {
452
- acp_update_alpha_value_on_color_control( 0, $control, $alphaSlider, true );
453
- });
454
- $container.find( '.max-click-zone' ).on( 'click', function() {
455
- acp_update_alpha_value_on_color_control( 100, $control, $alphaSlider, true );
456
- });
457
-
458
- // Bind event handler for clicking on a palette color.
459
- $container.find( '.iris-palette' ).on( 'click', function() {
460
- var color, alpha;
461
-
462
- color = $( this ).css( 'background-color' );
463
- alpha = acp_get_alpha_value_from_color( color );
464
-
465
- acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
466
-
467
- // Sometimes Iris doesn't set a perfect background-color on the palette,
468
- // for example rgba(20, 80, 100, 0.3) becomes rgba(20, 80, 100, 0.298039).
469
- // To compensante for this we round the opacity value on RGBa colors here
470
- // and save it a second time to the color picker object.
471
- if ( alpha != 100 ) {
472
- color = color.replace( /[^,]+(?=\))/, ( alpha / 100 ).toFixed( 2 ) );
473
- }
474
-
475
- $control.wpColorPicker( 'color', color );
476
- });
477
-
478
- // Bind event handler for clicking on the 'Clear' button.
479
- $container.find( '.button.wp-picker-clear' ).on( 'click', function() {
480
- var key = $control.attr( 'data-customize-setting-link' );
481
-
482
- // The #fff color is delibrate here. This sets the color picker to white instead of the
483
- // defult black, which puts the color picker in a better place to visually represent empty.
484
- $control.wpColorPicker( 'color', '#ffffff' );
485
-
486
- // Set the actual option value to empty string.
487
- wp.customize( key, function( obj ) {
488
- obj.set( '' );
489
- });
490
-
491
- acp_update_alpha_value_on_alpha_slider( 100, $alphaSlider );
492
- });
493
-
494
- // Bind event handler for clicking on the 'Default' button.
495
- $container.find( '.button.wp-picker-default' ).on( 'click', function() {
496
- var alpha = acp_get_alpha_value_from_color( defaultColor );
497
-
498
- acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
499
- });
500
-
501
- // Bind event handler for typing or pasting into the input.
502
- $control.on( 'input', function() {
503
- var value = $( this ).val();
504
- var alpha = acp_get_alpha_value_from_color( value );
505
-
506
- acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
507
- });
508
-
509
- // Update all the things when the slider is interacted with.
510
- $alphaSlider.slider().on( 'slide', function( event, ui ) {
511
- var alpha = parseFloat( ui.value ) / 100.0;
512
-
513
- acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, false );
514
-
515
- // Change value shown on slider handle.
516
- $( this ).find( '.ui-slider-handle' ).text( ui.value );
517
- });
518
-
519
- });
520
-
521
- /**
522
- * Override the stock color.js toString() method to add support for outputting RGBa or Hex.
523
- */
524
- Color.prototype.toString = function( flag ) {
525
-
526
- // If our no-alpha flag has been passed in, output RGBa value with 100% opacity.
527
- // This is used to set the background color on the opacity slider during color changes.
528
- if ( 'no-alpha' == flag ) {
529
- return this.toCSS( 'rgba', '1' ).replace( /\s+/g, '' );
530
- }
531
-
532
- // If we have a proper opacity value, output RGBa.
533
- if ( 1 > this._alpha ) {
534
- return this.toCSS( 'rgba', this._alpha ).replace( /\s+/g, '' );
535
- }
536
-
537
- // Proceed with stock color.js hex output.
538
- var hex = parseInt( this._color, 10 ).toString( 16 );
539
- if ( this.error ) { return ''; }
540
- if ( hex.length < 6 ) {
541
- for ( var i = 6 - hex.length - 1; i >= 0; i-- ) {
542
- hex = '0' + hex;
543
- }
544
- }
545
-
546
- return '#' + hex;
547
- };
548
-
549
- /**
550
- * Given an RGBa, RGB, or hex color value, return the alpha channel value.
551
- */
552
- function acp_get_alpha_value_from_color( value ) {
553
- var alphaVal;
554
-
555
- // Remove all spaces from the passed in value to help our RGBa regex.
556
- value = value.replace( / /g, '' );
557
-
558
- if ( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ ) ) {
559
- alphaVal = parseFloat( value.match( /rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/ )[1] ).toFixed(2) * 100;
560
- alphaVal = parseInt( alphaVal );
561
- } else {
562
- alphaVal = 100;
563
- }
564
-
565
- return alphaVal;
566
- }
567
-
568
- /**
569
- * Force update the alpha value of the color picker object and maybe the alpha slider.
570
- */
571
- function acp_update_alpha_value_on_color_control( alpha, $control, $alphaSlider, update_slider ) {
572
- var iris, colorPicker, color;
573
-
574
- iris = $control.data( 'a8cIris' );
575
- colorPicker = $control.data( 'wpWpColorPicker' );
576
-
577
- // Set the alpha value on the Iris object.
578
- iris._color._alpha = alpha;
579
-
580
- // Store the new color value.
581
- color = iris._color.toString();
582
-
583
- // Set the value of the input.
584
- $control.val( color );
585
-
586
- // Update the background color of the color picker.
587
- colorPicker.toggler.css({
588
- 'background-color': color
589
- });
590
-
591
- // Maybe update the alpha slider itself.
592
- if ( update_slider ) {
593
- acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider );
594
- }
595
-
596
- // Update the color value of the color picker object.
597
- $control.wpColorPicker( 'color', color );
598
- }
599
-
600
- /**
601
- * Update the slider handle position and label.
602
- */
603
- function acp_update_alpha_value_on_alpha_slider( alpha, $alphaSlider ) {
604
- $alphaSlider.slider( 'value', alpha );
605
- $alphaSlider.find( '.ui-slider-handle' ).text( alpha.toString() );
606
- }
607
-
608
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/hip.js DELETED
@@ -1,341 +0,0 @@
1
- /*!
2
- * jQuery HTML ITEM PAGINATION
3
- * Version : 1.2.0
4
- * Author: Arifuzzaman Pranto (llxx_lord_xxll)
5
- * A library to create paginated html elements
6
- * Copyright:- Backspace Global
7
- *
8
- * Date: 2019-11-20
9
- */
10
-
11
- jQuery.fn.hip = function(param) {
12
- var itemsPerRow = 4;
13
- var itemsPerPage = 12;
14
- var itemGaps = '7.5px';
15
- var paginationPos = "center"; //in PX
16
- var itemHeight = "auto";
17
- var dynItemsPerRow;
18
- var itemPerRowString = "";
19
- var HSitemPerRowString = "";
20
- var SMitemPerRowString = "";
21
- var MDitemPerRowString = "";
22
- var LGitemPerRowString = "";
23
- var filter = false;
24
- var filterPos = "center";
25
- var filterText = "Search";
26
-
27
- var rowPerPageString = "";
28
- var HSrowPerPageString = "";
29
- var SMrowPerPageString = "";
30
- var MDrowPerPageString = "";
31
- var LGrowPerPageString = "";
32
- var objects = jQuery(this);
33
-
34
- if(objects.length>0){
35
- if (param != null){
36
- if (param.hasOwnProperty('itemsPerRow')) itemsPerRow = param.itemsPerRow;
37
- if (param.hasOwnProperty('itemsPerPage')) itemsPerPage = param.itemsPerPage;
38
- if (param.hasOwnProperty('itemGaps')) itemGaps = param.itemGaps;
39
- if (param.hasOwnProperty('paginationPos')) paginationPos = param.paginationPos;
40
- if (param.hasOwnProperty('itemHeight')) itemHeight = param.itemHeight;
41
- if (param.hasOwnProperty('filter')) filter = param.filter;
42
- if (param.hasOwnProperty('filterPos')) filterPos = param.filterPos;
43
- if (param.hasOwnProperty('filterText')) filterText = param.filterText;
44
- }
45
- dynItemsPerRow = {hs:itemsPerRow,sm:itemsPerRow,md:itemsPerRow,lg:itemsPerRow};
46
- if (param != null) {
47
- if (param.hasOwnProperty('dynItemsPerRow')) {
48
- if (param.dynItemsPerRow.hasOwnProperty('hs')) dynItemsPerRow.hs = param.dynItemsPerRow.hs;
49
- if (param.dynItemsPerRow.hasOwnProperty('sm')) dynItemsPerRow.sm = param.dynItemsPerRow.sm;
50
- if (param.dynItemsPerRow.hasOwnProperty('md')) dynItemsPerRow.md = param.dynItemsPerRow.md;
51
- if (param.dynItemsPerRow.hasOwnProperty('lg')) dynItemsPerRow.lg = param.dynItemsPerRow.lg;
52
- }
53
- }
54
-
55
- for(var i = 0; i<itemsPerRow; i++)
56
- itemPerRowString += 100/itemsPerRow + "% ";
57
-
58
- for(var i = 0; i<dynItemsPerRow.hs; i++) HSitemPerRowString += 100/dynItemsPerRow.hs + "% ";
59
- for(var i = 0; i<dynItemsPerRow.sm; i++) SMitemPerRowString += 100/dynItemsPerRow.sm + "% ";
60
- for(var i = 0; i<dynItemsPerRow.md; i++) MDitemPerRowString += 100/dynItemsPerRow.md + "% ";
61
- for(var i = 0; i<dynItemsPerRow.lg; i++) LGitemPerRowString += 100/dynItemsPerRow.lg + "% ";
62
-
63
- for(var i = 0; i<Math.ceil(itemsPerPage/itemsPerRow); i++)
64
- rowPerPageString += itemHeight + " ";
65
-
66
- for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.hs); i++) HSrowPerPageString += itemHeight + " ";
67
- for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.sm); i++) SMrowPerPageString += itemHeight + " ";
68
- for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.md); i++) MDrowPerPageString += itemHeight + " ";
69
- for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.lg); i++) LGrowPerPageString += itemHeight + " ";
70
-
71
-
72
- var head = jQuery("head");
73
- /* head.prepend('<style>'+
74
- '@media (min-width: 480px) {\n' +
75
- ' .hip-grid{\n' +
76
- ' grid-template-columns: '+HSitemPerRowString+';\n' +
77
- 'grid-template-rows: '+ HSrowPerPageString +
78
- ' }\n' +
79
- '}\n' +
80
- '@media (min-width: 768px) {\n' +
81
- ' .hip-grid{\n' +
82
- ' grid-template-columns: '+SMitemPerRowString+';\n' +
83
- 'grid-template-rows: '+ SMrowPerPageString +
84
- ' }\n' +
85
- '}\n' +
86
- '@media (min-width: 992px) {\n' +
87
- ' .hip-grid{\n' +
88
- ' grid-template-columns: '+MDitemPerRowString+';\n' +
89
- 'grid-template-rows: '+ MDrowPerPageString +
90
- ' }\n' +
91
- '}\n' +
92
- '@media (min-width: 1200px) {\n' +
93
- ' .hip-grid{\n' +
94
- ' grid-template-columns: '+LGitemPerRowString+';\n' +
95
- 'grid-template-rows: '+ LGrowPerPageString +
96
- ' }\n' +
97
- '}'
98
- + '</style>');*/
99
-
100
- head.prepend('<style>' +
101
- /*'.hip-grid{\n' +
102
- ' display: grid;\n' +
103
- ' grid-gap: '+itemGaps+'px;\n' +
104
- 'grid-template-columns: '+ itemPerRowString + ";" +
105
- 'grid-template-rows: '+ rowPerPageString +
106
- '}\n' +*/
107
- '.hip-pagination{text-align: '+paginationPos+';}' +
108
- '.hip-pagination {\n' +
109
- ' display: block;\n' +
110
- '}\n' +
111
- '.hip-pagination a {\n' +
112
- 'color: black;\n' +
113
- ' padding: 8px 16px;\n' +
114
- ' text-decoration: none;\n' +
115
- '}\n' +
116
- '.hip-pagination a.active {\n' +
117
- ' font-weight: bold;\n' +
118
- '}' +
119
- '.hip-item{padding: '+itemGaps+';}' +
120
- '.hip-item-hidden, .hip-item-out{display: none !important;}' +
121
- '</style>');
122
-
123
- objects.attr('data-item-per-page',itemsPerPage);
124
- objects.addClass("hip-grid");
125
-
126
- jQuery.each( objects, function( key,curObj ) {
127
-
128
- //Pagination
129
- var hip_item_length = jQuery(curObj).find(".hip-item").length;
130
- var page_length = Math.ceil(hip_item_length/itemsPerPage);
131
- var pagination = '<div class="hip-pagination">';
132
- for (var i = 1; i<=page_length; i++)
133
- {
134
- if (i===1)
135
- pagination += '<a class="active" href="#'+i+'">'+i+'</a>';
136
- else
137
- pagination += '<a href="#'+i+'">'+i+'</a>';
138
- }
139
- pagination += '</div>';
140
- jQuery(curObj).after(pagination);
141
- jQuery(curObj).attr('data-cur-page','1');
142
- showPage(curObj);
143
-
144
- if(filter){
145
-
146
- jQuery(curObj).before('<div class="hip-filter">\n' +
147
- ' <label class="hip-search">\n' +
148
- ' <input class="hip-search-input" type="text" placeholder="'+filterText+'"/>\n' +
149
- ' </label>\n' +
150
- '</div>');
151
-
152
- head.prepend("<style>\n" +
153
- " .hip-filter{\n" +
154
- " width: 100%;\n" +
155
- " text-align: "+filterPos+";\n" +
156
- " }\n" +
157
- " .hip-search {\n" +
158
- " display: inline-block;\n" +
159
- " position: relative;\n" +
160
- " height: 35px;\n" +
161
- " width: 80px;\n" +
162
- " box-sizing: border-box;\n" +
163
- " margin: 0px 8px 7px 0px;\n" +
164
- " padding: 5px 9px 0px 9px;\n" +
165
- " border: 3px solid ;\n" +
166
- " border-radius: 25px;\n" +
167
- " transition: all 200ms ease;\n" +
168
- " cursor: text;\n" +
169
- " }\n" +
170
- " .hip-search:after {\n" +
171
- " content: \"\";\n" +
172
- " position: absolute;\n" +
173
- " width: 3px;\n" +
174
- " height: 20px;\n" +
175
- " right: -5px;\n" +
176
- " top: 21px;\n" +
177
- " background: ;\n" +
178
- " border-radius: 3px;\n" +
179
- " transform: rotate(-45deg);\n" +
180
- " transition: all 200ms ease;\n" +
181
- " }\n" +
182
- " .hip-search.active, .hip-search:hover {\n" +
183
- " width: 200px;\n" +
184
- " margin-right: 0px;\n" +
185
- " }\n" +
186
- " .hip-search.active:after, .hip-search:hover:after {\n" +
187
- " height: 0px;\n" +
188
- " }\n" +
189
- " .hip-search input { " +
190
- " width: 100% !important;\n" +
191
- " border: none !important;\n" +
192
- " box-sizing: border-box !important;\n" +
193
- " font-family: Helvetica;\n" +
194
- " font-size: 15px;\n" +
195
- " color: inherit !important;\n" +
196
- " background: transparent !important;\n" +
197
- " outline-width: 0px;\n" +
198
- " padding: 0 !important;\n" +
199
- " margin: 0 !important;}" +
200
- "</style>");
201
- }
202
- //Filters
203
- });
204
-
205
- } else {
206
- throw new Error('Element not found');
207
- }
208
-
209
- return this; // This is needed so other functions can keep chaining off of this
210
- };
211
-
212
- function showPage(elem) {
213
- var pageToShow = jQuery(elem).attr('data-cur-page');
214
- var itemsPerPage = jQuery(elem).attr('data-item-per-page');
215
- var hip_items = jQuery(elem).find(".hip-item").not(".hip-item-out");
216
- var objPagination = jQuery(this).next();
217
- var minLim = (pageToShow-1) * itemsPerPage;
218
- var maxLim = (pageToShow * itemsPerPage) - 1;
219
-
220
- jQuery(elem).find(".hip-item").addClass("hip-item-hidden");
221
-
222
- for (var i=0; i<hip_items.length;i++){
223
- if (i>=minLim && i<= maxLim){
224
- jQuery(hip_items[i]).removeClass("hip-item-hidden");
225
- }
226
- }
227
- }
228
-
229
-
230
- jQuery(document).on('click','.hip-pagination a',function (e) {
231
- e.preventDefault();
232
- var hip_elem = jQuery(this).parent().prev(".hip-grid");
233
-
234
- var curPage = hip_elem.attr('data-cur-page');
235
- var itemsPerPage = hip_elem.attr('data-item-per-page');
236
- var hip_item_length = hip_elem.find(".hip-item").length;
237
- var page_length = Math.ceil(hip_item_length/itemsPerPage);
238
- var pageToShow = jQuery(this).attr('href').toString().replace("#","");
239
- jQuery('.hip-pagination a').removeClass("active");
240
-
241
- if (pageToShow==="prev"){
242
- if (!isNaN(curPage) && parseInt(curPage)>1) {
243
- hip_elem.attr('data-cur-page',parseInt(curPage) - 1);
244
- jQuery(this).parent().find("a").removeClass("active");
245
- jQuery(this).parent().find("a[hrefjQuery='#" + (parseInt(curPage) - 1) + "']").addClass("active");
246
-
247
- }
248
- }
249
- else if (pageToShow==="next"){
250
- if (!isNaN(curPage) && parseInt(curPage)<page_length) {
251
- hip_elem.attr('data-cur-page',parseInt(curPage) + 1);
252
- jQuery(this).parent().find("a").removeClass("active");
253
- jQuery(this).parent().find("a[hrefjQuery='#" + (parseInt(curPage) + 1) + "']").addClass("active");
254
- }
255
- }
256
- else if (!isNaN(pageToShow) && parseInt(pageToShow)<=page_length) {
257
- hip_elem.attr('data-cur-page',parseInt(pageToShow));
258
- jQuery(this).parent().find("a").removeClass("active");
259
- jQuery(this).parent().find("a[hrefjQuery='#" + parseInt(pageToShow) + "']").addClass("active");
260
- }
261
- jQuery(this).addClass("active");
262
- showPage(hip_elem);
263
- });
264
-
265
- jQuery(".hip-search-input").on('focus', function () {
266
- jQuery(this).parent('label').addClass('active');
267
- });
268
-
269
- jQuery(".hip-search-input").on('blur', function () {
270
- if(jQuery(this).val().length == 0)
271
- jQuery(this).parent('label').removeClass('active');
272
- });
273
-
274
- jQuery(document).on('keyup','.hip-search-input', function () {
275
- var obj = jQuery(this).parent().parent().next();
276
- var objPagination = jQuery(this).parent().parent().next().next();
277
- var itemsPerPage = obj.attr('data-item-per-page');
278
- var items = obj.find(".hip-item");
279
- var filteredLen = Math.ceil(getFilteredCount(items,jQuery(this).val())/itemsPerPage);
280
-
281
- console.log(filteredLen);
282
- if (jQuery(this).val()===""){
283
- objPagination.find("a").not(":first").not(":last").removeClass("hip-item-hidden");
284
- }
285
- else {
286
- objPagination.find("a").not(":first").not(":last").each(function (index,item) {
287
- if (index <= (filteredLen -1)){
288
- jQuery(item).removeClass("hip-item-hidden");
289
- }
290
- else {
291
- jQuery(item).addClass("hip-item-hidden");
292
- }
293
- });
294
- }
295
- // var input = jQuery(this);
296
- // var itemlen = 0;
297
- // items.css('display','none');
298
-
299
- objPagination.find("a[hrefjQuery='#1']").click();
300
- });
301
-
302
- //The core filtering engine
303
- function getFilteredCount(items,query) {
304
- var init_filter = 0;
305
- var value = query.toLowerCase();
306
- items.filter(function() {
307
- var tags = jQuery(this).attr('data-tags');
308
- if(typeof tags !== "undefined")
309
- {
310
- var tagret = false;
311
- tags = tags.toLowerCase().split(" ");
312
- jQuery.each(tags,function (index,item) {
313
- if (item===value){
314
- tagret = true;
315
- }
316
- });
317
-
318
- if (tagret)
319
- {
320
- init_filter++;
321
- jQuery(this).removeClass("hip-item-out");
322
- }
323
- else if (jQuery(this).html().trim().toLowerCase().indexOf(value) > -1){
324
- init_filter++;
325
- jQuery(this).removeClass("hip-item-out");
326
- }
327
- else {
328
- jQuery(this).addClass("hip-item-out");
329
- }
330
- }
331
- else if (jQuery(this).html().trim().toLowerCase().indexOf(value) > -1){
332
- init_filter++;
333
- jQuery(this).removeClass("hip-item-out");
334
- }
335
- else {
336
- jQuery(this).addClass("hip-item-out");
337
- }
338
- });
339
-
340
- return init_filter;
341
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/jquery.ajax.queue.js DELETED
@@ -1,74 +0,0 @@
1
- /**
2
- * Plugin for using queue for multiple ajax requests.
3
- *
4
- * @autor Pavel Máca
5
- * @github https://github.com/PavelMaca
6
- * @license MIT
7
- */
8
-
9
- (function($) {
10
- var AjaxQueue = function(options){
11
- this.options = options || {};
12
-
13
- var oldComplete = options.complete || function(){};
14
- var completeCallback = function(XMLHttpRequest, textStatus) {
15
-
16
- (function() {
17
- oldComplete(XMLHttpRequest, textStatus);
18
- })();
19
-
20
- $.ajaxQueue.currentRequest = null;
21
- $.ajaxQueue.startNextRequest();
22
- };
23
- this.options.complete = completeCallback;
24
- };
25
-
26
- AjaxQueue.prototype = {
27
- options: {},
28
- perform: function() {
29
- $.ajax(this.options);
30
- }
31
- }
32
-
33
- $.ajaxQueue = {
34
- queue: [],
35
-
36
- currentRequest: null,
37
-
38
- stopped: false,
39
-
40
- stop: function(){
41
- $.ajaxQueue.stopped = true;
42
-
43
- },
44
-
45
- run: function(){
46
- $.ajaxQueue.stopped = false;
47
- $.ajaxQueue.startNextRequest();
48
- },
49
-
50
- clear: function(){
51
- $.ajaxQueue.queue = [];
52
- $.ajaxQueue.currentRequest = null;
53
- },
54
-
55
- addRequest: function(options){
56
- var request = new AjaxQueue(options);
57
-
58
- $.ajaxQueue.queue.push(request);
59
- $.ajaxQueue.startNextRequest();
60
- },
61
-
62
- startNextRequest: function() {
63
- if ($.ajaxQueue.currentRequest) {
64
- return false;
65
- }
66
-
67
- var request = $.ajaxQueue.queue.shift();
68
- if (request) {
69
- $.ajaxQueue.currentRequest = request;
70
- request.perform();
71
- }
72
- }
73
- }
74
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/preview-scripts.js DELETED
@@ -1,236 +0,0 @@
1
- ( function( $ ) {
2
- $('.hide').hide();
3
-
4
- /* Hide/Show Header */
5
- wp.customize( 'tracking_info_settings[remove_date_from_tracking]', function( value ) {
6
- value.bind( function( remove_date_from_tracking ) {
7
- if( remove_date_from_tracking ){
8
- $( '.date-shipped' ).hide();
9
- }
10
- else{
11
- $( '.date-shipped' ).show();
12
- }
13
- });
14
- });
15
-
16
- wp.customize( 'tracking_info_settings[header_text_change]', function( value ) {
17
- value.bind( function( header_text ) {
18
- if( header_text ){
19
- $( '.header_text' ).text(header_text);
20
- } else{
21
- $( '.header_text' ).text('Tracking Information');
22
- }
23
- });
24
- });
25
-
26
- wp.customize( 'tracking_info_settings[additional_header_text]', function( value ) {
27
- value.bind( function( additional_header_text ) {
28
- if( additional_header_text ){
29
- $( '.addition_header' ).text(additional_header_text);
30
- } else{
31
- $( '.addition_header' ).text('');
32
- }
33
- });
34
- });
35
-
36
- wp.customize( 'tracking_info_settings[provider_header_text]', function( value ) {
37
- value.bind( function( provider_header_text ) {
38
- if( provider_header_text ){
39
- $( 'th.tracking-provider' ).text(provider_header_text);
40
- } else{
41
- $( 'th.tracking-provider' ).text('Provider');
42
- }
43
- });
44
- });
45
-
46
- wp.customize( 'tracking_info_settings[tracking_number_header_text]', function( value ) {
47
- value.bind( function( tracking_number_header_text ) {
48
- if( tracking_number_header_text ){
49
- $( 'th.tracking-number' ).text(tracking_number_header_text);
50
- } else{
51
- $( 'th.tracking-number' ).text('Tracking Number');
52
- }
53
- });
54
- });
55
-
56
- wp.customize( 'tracking_info_settings[shipped_date_header_text]', function( value ) {
57
- value.bind( function( shipped_date_header_text ) {
58
- if( shipped_date_header_text ){
59
- $( 'th.date-shipped ' ).text(shipped_date_header_text);
60
- } else{
61
- $( 'th.date-shipped ' ).text('Shipped Date');
62
- }
63
- });
64
- });
65
-
66
- wp.customize( 'tracking_info_settings[track_header_text]', function( value ) {
67
- value.bind( function( track_header_text ) {
68
- if( track_header_text ){
69
- $( 'th.order-actions' ).text(track_header_text);
70
- } else{
71
- $( 'th.order-actions' ).text('Track');
72
- }
73
- });
74
- });
75
-
76
-
77
- wp.customize( 'tracking_info_settings[header_content_text_align]', function( setting ) {
78
- /* Deferred callback for when setting exists */
79
- setting.bind( function( header_content_text_align ) {
80
- /* Update callback for setting change */
81
- $( '.tracking_table th' ).css( 'text-align',header_content_text_align );
82
- $( '.tracking_table td' ).css( 'text-align',header_content_text_align );
83
- } );
84
- } );
85
-
86
- wp.customize( 'tracking_info_settings[table_bg_color]', function( setting ) {
87
- /* Deferred callback for when setting exists */
88
- setting.bind( function( newValue ) {
89
- /* Update callback for setting change */
90
- $( '.tracking_table' ).css( 'background-color',newValue );
91
- $( '.tracking_table tbody tr' ).css( 'background-color',newValue );
92
- } );
93
- } );
94
- wp.customize( 'tracking_info_settings[table_border_color]', function( setting ) {
95
- /* Deferred callback for when setting exists */
96
- setting.bind( function( table_border_color ) {
97
- /* Update callback for setting change */
98
- $( '.tracking_table th' ).css( 'border-color',table_border_color );
99
- $( '.tracking_table td' ).css( 'border-color',table_border_color );
100
- } );
101
- } );
102
- wp.customize( 'tracking_info_settings[table_border_size]', function( setting ) {
103
- /* Deferred callback for when setting exists */
104
- setting.bind( function( table_border_size ) {
105
- /* Update callback for setting change */
106
- $( '.tracking_table th' ).css( 'border-width',table_border_size+'px' );
107
- $( '.tracking_table td' ).css( 'border-width',table_border_size+'px' );
108
- } );
109
- } );
110
-
111
- wp.customize( 'tracking_info_settings[table_header_font_size]', function( setting ) {
112
- /* Deferred callback for when setting exists */
113
- setting.bind( function( table_header_font_size ) {
114
- /* Update callback for setting change */
115
- $( '.tracking_table th' ).css( 'font-size',table_header_font_size+'px' );
116
- } );
117
- } );
118
-
119
- wp.customize( 'tracking_info_settings[table_header_bg_color]', function( setting ) {
120
- /* Deferred callback for when setting exists */
121
- setting.bind( function( table_header_bg_color ) {
122
- /* Update callback for setting change */
123
- $( '.tracking_table th' ).css( 'background',table_header_bg_color );
124
- } );
125
- } );
126
- wp.customize( 'tracking_info_settings[table_header_font_color]', function( setting ) {
127
- /* Deferred callback for when setting exists */
128
- setting.bind( function( table_header_font_color ) {
129
- /* Update callback for setting change */
130
- $( '.tracking_table th' ).css( 'color',table_header_font_color );
131
- } );
132
- } );
133
- wp.customize( 'tracking_info_settings[table_content_font_size]', function( setting ) {
134
- /* Deferred callback for when setting exists */
135
- setting.bind( function( table_content_font_size ) {
136
- /* Update callback for setting change */
137
- $( '.tracking_table td' ).css( 'font-size',table_content_font_size+'px' );
138
- } );
139
- } );
140
- wp.customize( 'tracking_info_settings[table_header_font_weight]', function( setting ) {
141
- /* Deferred callback for when setting exists */
142
- setting.bind( function( table_header_font_weight ) {
143
- /* Update callback for setting change */
144
- $( '.tracking_table th' ).css( 'font-weight',table_header_font_weight );
145
- } );
146
- } );
147
- wp.customize( 'tracking_info_settings[table_content_font_color]', function( setting ) {
148
- /* Deferred callback for when setting exists */
149
- setting.bind( function( table_content_font_color ) {
150
- /* Update callback for setting change */
151
- $( '.tracking_table td' ).css( 'color',table_content_font_color );
152
- } );
153
- } );
154
- wp.customize( 'tracking_info_settings[tracking_link_font_color]', function( setting ) {
155
- /* Deferred callback for when setting exists */
156
- setting.bind( function( tracking_link_font_color ) {
157
- /* Update callback for setting change */
158
- $( '.tracking_table td a' ).css( 'color',tracking_link_font_color );
159
- } );
160
- } );
161
- wp.customize( 'tracking_info_settings[tracking_link_bg_color]', function( setting ) {
162
- /* Deferred callback for when setting exists */
163
- setting.bind( function( tracking_link_bg_color ) {
164
- /* Update callback for setting change */
165
- $( '.tracking_table td a' ).css( 'background-color',tracking_link_bg_color );
166
- } );
167
- } );
168
-
169
- wp.customize( 'tracking_info_settings[table_content_line_height]', function( value ) {
170
- value.bind( function( table_content_line_height ) {
171
- $( '.tracking_table tbody' ).css( 'line-height',table_content_line_height+'px' );
172
- });
173
- });
174
-
175
- wp.customize( 'tracking_info_settings[table_content_font_weight]', function( value ) {
176
- value.bind( function( table_content_font_weight ) {
177
- $( '.tracking_table td' ).css( 'font-weight',table_content_font_weight );
178
- });
179
- });
180
-
181
- wp.customize( 'woocommerce_customer_partial_shipped_order_settings[heading]', function( value ) {
182
- value.bind( function( wcast_partial_shipped_email_heading ) {
183
-
184
- var str = wcast_partial_shipped_email_heading;
185
- var res = str.replace("{site_title}", wcast_preview.site_title);
186
-
187
- var res = res.replace("{order_number}", wcast_preview.order_number);
188
-
189
- if( wcast_partial_shipped_email_heading ){
190
- $( '#header_wrapper h1' ).text(res);
191
- } else{
192
- $( '#header_wrapper h1' ).text('');
193
- }
194
- });
195
- });
196
-
197
- wp.customize( 'woocommerce_customer_updated_tracking_order_settings[heading]', function( value ) {
198
- value.bind( function( wcast_updated_tracking_email_heading ) {
199
-
200
- var str = wcast_updated_tracking_email_heading;
201
- var res = str.replace("{site_title}", wcast_preview.site_title);
202
-
203
- var res = res.replace("{order_number}", wcast_preview.order_number);
204
-
205
- if( wcast_updated_tracking_email_heading ){
206
- $( '#header_wrapper h1' ).text(res);
207
- } else{
208
- $( '#header_wrapper h1' ).text('');
209
- }
210
- });
211
- });
212
-
213
- wp.customize( 'tracking_info_settings[simple_provider_font_size]', function( setting ) {
214
- /* Deferred callback for when setting exists */
215
- setting.bind( function( simple_provider_font_size ) {
216
- /* Update callback for setting change */
217
- $( '.tracking_list_div' ).css( 'font-size',simple_provider_font_size );
218
- } );
219
- } );
220
-
221
- wp.customize( 'tracking_info_settings[simple_provider_font_color]', function( setting ) {
222
- /* Deferred callback for when setting exists */
223
- setting.bind( function( simple_provider_font_color ) {
224
- /* Update callback for setting change */
225
- $( '.tracking_list_div' ).css( 'color',simple_provider_font_color );
226
- } );
227
- } );
228
-
229
- wp.customize( 'tracking_info_settings[provider_border_color]', function( setting ) {
230
- /* Deferred callback for when setting exists */
231
- setting.bind( function( provider_border_color ) {
232
- $( '.tracking_list_div' ).css( 'border-bottom','1px solid '+provider_border_color );
233
- } );
234
- } );
235
-
236
- } )( jQuery );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/settings.js DELETED
@@ -1,99 +0,0 @@
1
- jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
2
- if(jQuery(this).prop("checked") == true){
3
- jQuery(this).closest('tr').removeClass('disable_row');
4
- var nonce = jQuery( '#wc_ast_settings_form_nonce' ).val();
5
- var ajax_data = {
6
- action: 'update_custom_order_status_email_display',
7
- status: 'partial-shipped',
8
- security: nonce,
9
- };
10
- jQuery.ajax({
11
- url: ajaxurl,
12
- data: ajax_data,
13
- type: 'POST',
14
- success: function(response) {
15
- jQuery('.partially_shipped_checkbox').show();
16
- jQuery('.partially_shipped_checkbox input[type="checkbox"]').prop('checked', true);
17
- },
18
- error: function(response) {
19
- }
20
- });
21
-
22
- } else{
23
- jQuery(this).closest('tr').addClass('disable_row');
24
- jQuery('.partially_shipped_checkbox').hide();
25
- }
26
- });
27
-
28
- jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
29
- if(jQuery(this).prop("checked") == true){
30
-
31
- jQuery(this).closest('tr').removeClass('disable_row');
32
-
33
- var ajax_data = {
34
- action: 'update_custom_order_status_email_display',
35
- status: 'updated-tracking',
36
- };
37
- jQuery.ajax({
38
- url: ajaxurl,
39
- data: ajax_data,
40
- type: 'POST',
41
- success: function(response) {
42
- jQuery('.updated_tracking_checkbox').show();
43
- jQuery('.updated_tracking_checkbox input[type="checkbox"]').prop('checked', true);
44
- },
45
- error: function(response) {
46
- }
47
- });
48
-
49
- } else{
50
- jQuery(this).closest('tr').addClass('disable_row');
51
- jQuery('.updated_tracking_checkbox').hide();
52
- }
53
- });
54
-
55
- jQuery( document ).ready(function() {
56
-
57
- jQuery( '.tipTip' ).tipTip( {
58
- 'attribute': 'data-tip'
59
- } );
60
-
61
- if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
62
- jQuery('.partial_shipped_status_label_color_th').show();
63
- jQuery('.partially_shipped_checkbox').show();
64
- } else{
65
- jQuery('.partial_shipped_status_label_color_th').hide();
66
- jQuery('.partially_shipped_checkbox').hide();
67
- }
68
-
69
- if(jQuery('#wc_ast_status_updated_tracking').prop("checked") == true){
70
- jQuery('.updated_tracking_checkbox').show();
71
- } else{
72
- jQuery('.updated_tracking_checkbox').hide();
73
- }
74
-
75
- jQuery('.color_field input').wpColorPicker();
76
- });
77
-
78
- jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
79
- var font_color = jQuery(this).val();
80
- jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
81
- });
82
-
83
- jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
84
- var font_color = jQuery(this).val();
85
- jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
86
- });
87
-
88
- jQuery( document ).on( "click", "#activity-panel-tab-help", function() {
89
- jQuery(this).addClass( 'is-active' );
90
- jQuery( '.woocommerce-layout__activity-panel-wrapper' ).addClass( 'is-open is-switching' );
91
- });
92
-
93
- jQuery(document).click(function(){
94
- var $trigger = jQuery(".woocommerce-layout__activity-panel");
95
- if($trigger !== event.target && !$trigger.has(event.target).length){
96
- jQuery('#activity-panel-tab-help').removeClass( 'is-active' );
97
- jQuery( '.woocommerce-layout__activity-panel-wrapper' ).removeClass( 'is-open is-switching' );
98
- }
99
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/shipping_row.js DELETED
@@ -1,956 +0,0 @@
1
- jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
2
-
3
- jQuery('.csv_upload_status li').remove();
4
- jQuery('.bulk_upload_status_tr').hide();
5
- jQuery('.progress_title').hide();
6
- var form = jQuery('#wc_ast_upload_csv_form');
7
- var error;
8
- var trcking_csv_file = form.find("#trcking_csv_file");
9
- var replace_tracking_info = jQuery("#replace_tracking_info").prop("checked");
10
- var date_format_for_csv_import = jQuery('input[name="date_format_for_csv_import"]:checked').val();
11
-
12
- if(replace_tracking_info == true){
13
- replace_tracking_info = 1;
14
- } else{
15
- replace_tracking_info = 0;
16
- }
17
-
18
- var ext = jQuery('#trcking_csv_file').val().split('.').pop().toLowerCase();
19
-
20
- if( trcking_csv_file.val() === '' ){
21
- showerror( trcking_csv_file );
22
- error = true;
23
- } else{
24
- if(ext != 'csv'){
25
- alert(shipment_tracking_table_rows.i18n.upload_only_csv_file);
26
- showerror( trcking_csv_file );
27
- error = true;
28
- } else{
29
- hideerror(trcking_csv_file);
30
- }
31
- }
32
-
33
- if(error == true){
34
- return false;
35
- }
36
-
37
- var regex = /([a-zA-Z0-9\s_\\.\-\(\):])+(.csv|.txt)$/;
38
- if (regex.test(jQuery("#trcking_csv_file").val().toLowerCase())) {
39
- if (typeof (FileReader) != "undefined") {
40
- var reader = new FileReader();
41
- reader.onload = function (e) {
42
-
43
- var trackings = new Array();
44
- var rows = e.target.result.split("\n");
45
-
46
- if(rows.length <= 1){
47
- alert('There are some issue with CSV file.');
48
- return false;
49
- }
50
-
51
- for (var i = 1; i < rows.length; i++) {
52
- var cells = rows[i].split(",");
53
- if (cells.length > 1) {
54
- var tracking = {};
55
- tracking.order_id = cells[0];
56
- tracking.tracking_provider = cells[1];
57
- tracking.tracking_number = cells[2];
58
- tracking.date_shipped = cells[3];
59
- tracking.status_shipped = cells[4];
60
- if(cells[5]){
61
- tracking.sku = cells[5];
62
- }
63
- if(cells[6]){
64
- tracking.qty = cells[6];
65
- }
66
- if(tracking.order_id){
67
- trackings.push(tracking);
68
- }
69
- }
70
- }
71
-
72
- var csv_length = trackings.length;
73
- var run_data = 0;
74
-
75
- jQuery("#wc_ast_upload_csv_form")[0].reset();
76
- jQuery(".progress-moved .progress-bar2").css('width',0+'%');
77
- jQuery(".progress_step1").removeClass("active");
78
- jQuery(".progress_step1").addClass("done");
79
- jQuery(".progress_step2").addClass("active");
80
- jQuery(".upload_csv_div").hide();
81
- jQuery(".bulk_upload_status_div").show();
82
-
83
- var tracking_import = jQuery(trackings).each(function(index, element) {
84
- var sku = '';
85
- var qty = '';
86
- var order_id = trackings[index]['order_id'];
87
- var tracking_provider = trackings[index]['tracking_provider'];
88
- var tracking_number = trackings[index]['tracking_number'];
89
- var date_shipped = trackings[index]['date_shipped'];
90
- var status_shipped = trackings[index]['status_shipped'];
91
- var success_class = 0;
92
- var error_class = 0;
93
- var error_message = '';
94
- var success_message = '';
95
- if(trackings[index]['sku']){
96
- var sku = trackings[index]['sku'];
97
- }
98
- if(trackings[index]['qty']){
99
- var qty = trackings[index]['qty'];
100
- }
101
-
102
- var nonce = jQuery( '#nonce_csv_import' ).val();
103
-
104
- var data = {
105
- action: 'wc_ast_upload_csv_form_update',
106
- order_id: order_id,
107
- date_format_for_csv_import: date_format_for_csv_import,
108
- tracking_provider: tracking_provider,
109
- tracking_number: tracking_number,
110
- date_shipped: date_shipped,
111
- status_shipped: status_shipped,
112
- sku: sku,
113
- qty: qty,
114
- replace_tracking_info: replace_tracking_info,
115
- trackings: trackings,
116
- security: nonce,
117
- };
118
-
119
- var option = {
120
- url: ajaxurl,
121
- data: data,
122
- type: 'POST',
123
- success:function(data){
124
- jQuery('.progress_number').html((index+1)+'/'+csv_length);
125
-
126
- jQuery('.csv_upload_status').append(data);
127
- var progress = (index+1)*100/csv_length;
128
- jQuery('.bulk_upload_status_tr').show();
129
- jQuery('.progress_title').show();
130
-
131
- jQuery(".progress-moved .progress-bar2").css('width',progress+'%');
132
-
133
- var shipping_provider_error_class = 0;
134
- var tracking_number_error_class = 0;
135
- var empty_date_shipped_error_class = 0;
136
- var invalid_date_shipped_error_class = 0;
137
- var invalid_order_id_error_class = 0;
138
- var invalid_tracking_data_error_class = 0;
139
-
140
- if(progress == 100){
141
- jQuery( ".csv_upload_status li" ).each(function( index ) {
142
- if( this.className == 'shipping_provider_error' || this.className == 'tracking_number_error' || this.className == 'empty_date_shipped_error' || this.className == 'invalid_date_shipped_error' || this.className == 'invalid_order_id_error' || this.className == 'invalid_tracking_data_error' ){
143
- error_class++;
144
- }
145
- if(this.className == 'success'){
146
- success_class++;
147
- }
148
- if( this.className == 'shipping_provider_error' )shipping_provider_error_class++;
149
- if( this.className == 'tracking_number_error' )tracking_number_error_class++;
150
- if( this.className == 'empty_date_shipped_error' )empty_date_shipped_error_class++;
151
- if( this.className == 'invalid_date_shipped_error' )invalid_date_shipped_error_class++;
152
- if( this.className == 'invalid_order_id_error' )invalid_order_id_error_class++;
153
- if( this.className == 'invalid_tracking_data_error' )invalid_tracking_data_error_class++;
154
- });
155
-
156
- jQuery('.progress_title').hide();
157
- jQuery(".progress_step2").removeClass("active");
158
- jQuery(".progress_step2").addClass("done");
159
- jQuery(".progress_step3").addClass("active");
160
- jQuery(".bulk_upload_status_div").addClass("csv_import_done");
161
- jQuery(".bulk_upload_status_action ").show();
162
-
163
- if(error_class > 0){
164
- error_message = error_class+' tracking numbers import failed';
165
- jQuery(".bulk_upload_status_overview_td.csv_fail_msg").show();
166
- jQuery(".bulk_upload_status_overview_td.csv_fail_msg span").html(error_message);
167
- } else{
168
- jQuery(".bulk_upload_status_overview_td.csv_fail_msg").hide();
169
- }
170
-
171
- if(success_class > 0){
172
- jQuery(".bulk_upload_status_overview_td.csv_success_msg").show();
173
- success_message = success_class+' tracking numbers imported successfully';
174
- jQuery(".bulk_upload_status_overview_td.csv_success_msg span").html(success_message);
175
- } else{
176
- jQuery(".bulk_upload_status_overview_td.csv_success_msg").hide();
177
- }
178
-
179
- if(invalid_order_id_error_class > 0){
180
- jQuery(".csv_error_details_ul").append('<li>'+invalid_order_id_error_class+' tracking numbers import failed due to invalid order id</li>');
181
- }
182
- if(shipping_provider_error_class > 0){
183
- jQuery(".csv_error_details_ul").append('<li>'+shipping_provider_error_class+' tracking numbers import failed due to invalid shipping provider</li>');
184
- }
185
- if(tracking_number_error_class > 0){
186
- jQuery(".csv_error_details_ul").append('<li>'+tracking_number_error_class+' tracking numbers import failed due to empty tracking number</li>');
187
- }
188
- if(empty_date_shipped_error_class > 0){
189
- jQuery(".csv_error_details_ul").append('<li>'+empty_date_shipped_error_class+' tracking numbers import failed due to empty date shipped</li>');
190
- }
191
- if(invalid_date_shipped_error_class > 0){
192
- jQuery(".csv_error_details_ul").append('<li>'+invalid_date_shipped_error_class+' tracking numbers import failed due to invalid date shipped</li>');
193
- }
194
- if(invalid_tracking_data_error_class > 0){
195
- jQuery(".csv_error_details_ul").append('<li>'+invalid_tracking_data_error_class+' tracking numbers import failed due to invalid tracking data</li>');
196
- }
197
-
198
- jQuery(".bulk_upload_status_heading_tr h2").html("Import Completed!");
199
-
200
- jQuery(".bulk_upload_status_heading_tr p").hide();
201
- jQuery(".csv_upload_status").hide();
202
- jQuery('.bulk_upload_status_tr').hide();
203
- }
204
- },
205
-
206
- };
207
-
208
- jQuery.ajaxQueue.addRequest(option);
209
-
210
- jQuery.ajaxQueue.run();
211
- run_data++;
212
- });
213
-
214
- }
215
- reader.readAsText(jQuery("#trcking_csv_file")[0].files[0]);
216
- } else {
217
- alert(shipment_tracking_table_rows.i18n.browser_not_html);
218
- }
219
- } else {
220
- alert(shipment_tracking_table_rows.i18n.upload_valid_csv_file);
221
- }
222
- return false;
223
- });
224
-
225
- jQuery(document).on("click", ".view_csv_error_details", function(){
226
- jQuery('.bulk_upload_status_detail_error_tr').toggle();
227
- var tr_visible = jQuery('.bulk_upload_status_detail_error_tr').is(":visible");
228
- if(tr_visible == true){
229
- jQuery('.view_csv_error_details').text('hide details');
230
- } else{
231
- jQuery('.view_csv_error_details').text('view details');
232
- }
233
- });
234
-
235
- jQuery(document).on("click", ".csv_upload_again", function(){
236
- jQuery('.csv_upload_status li').remove();
237
- jQuery('.csv_upload_status').show();
238
- jQuery('.bulk_upload_status_tr').hide();
239
- jQuery('.bulk_upload_status_overview_td').hide();
240
- jQuery('.progress_title').hide();
241
- jQuery(".bulk_upload_status_heading_tr h2").html('Importing'+'<span class="spinner is-active"></span>');
242
- jQuery(".bulk_upload_status_heading_tr p").show();
243
- jQuery(".progress_step2").removeClass("active");
244
- jQuery(".progress_step2").removeClass("done");
245
- jQuery(".progress_step3").removeClass("done");
246
- jQuery(".progress_step3").removeClass("active");
247
- jQuery(".progress_step1").removeClass("done");
248
- jQuery(".progress_step1").addClass("active");
249
- jQuery(".bulk_upload_status_div ").removeClass("csv_import_done");
250
- jQuery(".bulk_upload_status_action ").hide();
251
- jQuery('.bulk_upload_status_div').hide();
252
- jQuery('.upload_csv_div').show();
253
- jQuery('.bulk_upload_status_detail_error_tr').hide();
254
- jQuery('.csv_error_details_ul li').remove();
255
- });
256
-
257
- jQuery(document).on("click", ".status_slide", function(){
258
- var id = jQuery(this).val();
259
- if(jQuery(this).prop("checked") == true){
260
- var checked = 1;
261
- jQuery(this).closest('.provider').addClass('active_provider');
262
- jQuery('#make_default_'+id).prop('disabled', false);
263
- jQuery('#default_label_'+id).removeClass('disable_label');
264
- } else{
265
- var checked = 0;
266
- jQuery(this).closest('.provider').removeClass('active_provider');
267
- jQuery('#make_default_'+id).prop('disabled', true);
268
- jQuery('#make_default_'+id).prop('checked', false);
269
- jQuery('#default_label_'+id).addClass('disable_label');
270
- }
271
-
272
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
273
-
274
- var error;
275
- var ajax_data = {
276
- action: 'update_shipment_status',
277
- id: id,
278
- checked: checked,
279
- security: nonce,
280
- };
281
- jQuery.ajax({
282
- url: ajaxurl,
283
- data: ajax_data,
284
- type: 'POST',
285
- success: function(response) {
286
- },
287
- error: function(response) {
288
- console.log(response);
289
- }
290
- });
291
- });
292
-
293
- provider_grid_row();
294
- function provider_grid_row() {
295
- jQuery(".provider-grid-row").hip({
296
- itemsPerPage:50,
297
- itemsPerRow:5,
298
- itemGaps:10,
299
- filter:false,
300
- paginationPos:'right'
301
- });
302
- }
303
-
304
- jQuery(document).on("change", ".make_provider_default", function(){
305
- jQuery("#content1 ").block({
306
- message: null,
307
- overlayCSS: {
308
- background: "#fff",
309
- opacity: .6
310
- }
311
- });
312
- if(jQuery(this).prop("checked") == true){
313
- jQuery('.make_provider_default').removeAttr('checked');
314
- var checked = 1;
315
- jQuery(this).prop('checked',true);
316
- } else{
317
- var checked = 0;
318
- }
319
- var id = jQuery(this).data('id');
320
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
321
- var error;
322
- var default_provider = jQuery(this).val();
323
- var ajax_data = {
324
- action: 'update_default_provider',
325
- default_provider: default_provider,
326
- id: id,
327
- checked: checked,
328
- security: nonce,
329
- };
330
- jQuery.ajax({
331
- url: ajaxurl,
332
- data: ajax_data,
333
- type: 'POST',
334
- success: function(response) {
335
- jQuery("#content1 ").unblock();
336
- },
337
- error: function(response) {
338
- console.log(response);
339
- }
340
- });
341
- });
342
-
343
- jQuery(document).on( "input", "#search_provider", function(){
344
-
345
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
346
-
347
- var ajax_data = {
348
- action: 'filter_shipiing_provider_by_status',
349
- status: 'all',
350
- security: nonce,
351
- };
352
- jQuery.ajax({
353
- url: ajaxurl,
354
- data: ajax_data,
355
- type: 'POST',
356
- success: function(response) {
357
- jQuery(".provider_list").replaceWith(response);
358
- var provider_found = false;
359
- var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
360
-
361
- jQuery('.provider_list .provider-grid-row .grid-item').each(function() {
362
- var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
363
- var country = jQuery(this).find('.provider_country').text().toLowerCase().replace(/\s+/g, '');
364
-
365
- var hasprovider = provider.indexOf(searchvalue)!==-1;
366
- var hascountry= country.indexOf(searchvalue)!==-1;
367
-
368
- if (hasprovider || hascountry) {
369
- jQuery(this).show();
370
- provider_found = true;
371
- } else {
372
- jQuery(this).remove();
373
- }
374
- });
375
-
376
- if(provider_found == false){
377
- jQuery(".provider_list").append('<h3 class="not_found_label">No Shipping Providers Found.</h3>');
378
- } else{
379
- jQuery(".not_found_label").remove();
380
- }
381
- provider_grid_row();
382
- },
383
- error: function(response) {
384
- }
385
- });
386
- });
387
-
388
- jQuery(document).on("click", ".popupclose", function(){
389
- jQuery('.edit_provider_popup').hide();
390
- jQuery('.sync_provider_popup').hide();
391
- jQuery('.ts_video_popup').hide();
392
- jQuery('.upgrade_to_pro_popup').hide();
393
- });
394
- jQuery(document).on("click", ".popup_close_icon", function(){
395
- jQuery('.edit_provider_popup').hide();
396
- jQuery('.sync_provider_popup').hide();
397
- });
398
- jQuery(document).on("click", ".popupclose_btn", function(){
399
- jQuery('.edit_provider_popup').hide();
400
- jQuery('.sync_provider_popup').hide();
401
- jQuery('.ts_video_popup').hide();
402
- });
403
- jQuery(document).on("click", ".close_synch_popup", function(){
404
- jQuery('.sync_provider_popup').hide();
405
- jQuery(".sync_message").show();
406
- jQuery(".reset_db_fieldset").show();
407
- jQuery(".synch_result").hide();
408
- jQuery(".reset_db_message").hide();
409
- jQuery(".view_synch_details").remove();
410
- jQuery(".updated_details").remove();
411
-
412
- jQuery(".sync_providers_btn").show();
413
- jQuery(".close_synch_popup").hide();
414
- });
415
-
416
- jQuery(document).on("click", ".remove", function(){
417
- jQuery("#content1 ").block({
418
- message: null,
419
- overlayCSS: {
420
- background: "#fff",
421
- opacity: .6
422
- }
423
- });
424
- var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
425
- if (r === true) {
426
- } else {
427
- jQuery("#content1").unblock();
428
- return;
429
- }
430
- var id = jQuery(this).data('pid');
431
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
432
- var error;
433
- var default_provider = jQuery(this).val();
434
- var ajax_data = {
435
- action: 'woocommerce_shipping_provider_delete',
436
- provider_id: id,
437
- security: nonce,
438
- };
439
-
440
- jQuery('#search_provider').removeAttr('value');
441
-
442
- jQuery.ajax({
443
- url: ajaxurl,
444
- data: ajax_data,
445
- type: 'POST',
446
- success: function(response) {
447
- jQuery(".provider_list").replaceWith(response);
448
- jQuery("#content1").unblock();
449
- provider_grid_row();
450
- },
451
- error: function(response) {
452
- console.log(response);
453
- }
454
- });
455
- });
456
-
457
- jQuery(document).on("click", ".edit_provider", function(){
458
- var id = jQuery(this).data('pid');
459
- var provider = jQuery(this).data('provider');
460
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
461
- var ajax_data = {
462
- action: 'get_provider_details',
463
- provider_id: id,
464
- security: nonce,
465
- };
466
- jQuery.ajax({
467
- url: ajaxurl,
468
- data: ajax_data,
469
- type: 'POST',
470
- dataType: "json",
471
- success: function(response) {
472
-
473
- var provider_name = response.provider_name;
474
- var custom_provider_name = response.custom_provider_name;
475
- var provider_url = response.provider_url;
476
- var shipping_country = response.shipping_country;
477
- var custom_thumb_id = response.custom_thumb_id;
478
- var image = response.image;
479
- var api_length = 0;
480
- jQuery('.edit_provider_title').html(provider_name);
481
- jQuery('.edit_provider_popup').removeClass('default_provider');
482
- jQuery('.edit_provider_popup').removeClass('custom_provider');
483
- jQuery('.edit_provider_popup').addClass(provider);
484
-
485
- if(provider == 'custom_provider'){
486
- jQuery('.edit_provider_popup .shipping_provider').val(provider_name);
487
- jQuery('.edit_provider_popup .shipping_display_name').val(custom_provider_name);
488
- jQuery('.edit_provider_popup .api_provider_name').val(api_provider_name);
489
- jQuery('.edit_provider_popup .tracking_url').val(provider_url);
490
- jQuery('.edit_provider_popup .thumb_url').val(image);
491
- jQuery('.edit_provider_popup .thumb_id').val(custom_thumb_id);
492
- jQuery('.edit_provider_popup #provider_id').val(id);
493
- jQuery(".edit_provider_popup .shipping_country").val(shipping_country);
494
- jQuery('.edit_provider_popup #provider_type').val(provider);
495
- jQuery('.edit_provider_popup .tracking_url').parent('div').show();
496
- jQuery(".edit_provider_popup .shipping_country").parent('div').show();
497
- jQuery(".edit_provider_popup .shipping_provider").parent('div').show();
498
- jQuery('.edit_provider_popup').show();
499
- jQuery('.api_provider_name_container').hide();
500
- jQuery('.reset_default_provider').hide();
501
- jQuery('.custom_provider_instruction').show();
502
- } else{
503
- jQuery('.edit_provider_popup .shipping_provider').val(provider_name);
504
- jQuery('.edit_provider_popup .shipping_display_name').val(custom_provider_name);
505
- jQuery('.api_provider_new').remove();
506
-
507
- if(response.api_provider_name == null){
508
- } else if( IsValidJSONString(response.api_provider_name) ){
509
- var api_provider_name = jQuery.parseJSON( response.api_provider_name );
510
- var api_length = api_provider_name.length;
511
-
512
- if( api_length > 1){
513
- jQuery( api_provider_name ).each(function( index, value ){
514
- if( index == 0){
515
- jQuery('.edit_provider_popup .api_provider_name').val(value);
516
- } else{
517
- //jQuery('.api_provider_name_container').append('<div class="api_provider_new"><input type="text" name="api_provider_name[]" class="api_provider_name" value="'+value+'" placeholder="API Name"></div>');
518
- }
519
- });
520
- } else{
521
- jQuery('.edit_provider_popup .api_provider_name').val(api_provider_name);
522
- }
523
- jQuery('.api_provider_name_container').show();
524
- } else{
525
- jQuery('.edit_provider_popup .api_provider_name').val(response.api_provider_name);
526
-
527
- }
528
- jQuery('.api_provider_name_container').show();
529
- jQuery('.edit_provider_popup .thumb_url').val(image);
530
- jQuery('.edit_provider_popup .thumb_id').val(custom_thumb_id);
531
- jQuery('.edit_provider_popup #provider_id').val(id);
532
- jQuery('.edit_provider_popup #provider_type').val(provider);
533
- jQuery('.edit_provider_popup .tracking_url').parent('div').hide();
534
- jQuery(".edit_provider_popup .shipping_country").parent('div').hide();
535
- jQuery(".edit_provider_popup .shipping_provider").parent('div').hide();
536
- jQuery('.edit_provider_popup').show();
537
- jQuery('.reset_default_provider').show();
538
- jQuery('.custom_provider_instruction').hide();
539
- }
540
- },
541
- error: function(response) {
542
- console.log(response);
543
- }
544
- });
545
- });
546
-
547
- function IsValidJSONString(str) {
548
- try {
549
- JSON.parse(str);
550
- } catch (e) {
551
- return false;
552
- }
553
- return true;
554
- }
555
-
556
- jQuery(document).on("click", ".reset_default_provider", function(){
557
- var form = jQuery('#edit_provider_form');
558
-
559
- jQuery(".edit_provider_popup").block({
560
- message: null,
561
- overlayCSS: {
562
- background: "#fff",
563
- opacity: .6
564
- }
565
- });
566
-
567
- jQuery('#search_provider').removeAttr('value');
568
- var provider_id = jQuery(form).find('#provider_id').val();
569
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
570
- var ajax_data = {
571
- action: 'reset_default_provider',
572
- provider_id: provider_id,
573
- security: nonce,
574
- };
575
-
576
- jQuery.ajax({
577
- url: ajaxurl,
578
- data: ajax_data,
579
- type: 'POST',
580
- success: function(response) {
581
- jQuery(".provider_list").replaceWith(response);
582
- form[0].reset();
583
- jQuery('.edit_provider_popup').hide();
584
- jQuery(".edit_provider_popup").unblock();
585
- provider_grid_row();
586
- },
587
- error: function(response) {
588
- console.log(response);
589
- }
590
- });
591
- return false;
592
- });
593
-
594
- jQuery(document).on("submit", "#edit_provider_form", function(){
595
-
596
- var form = jQuery('#edit_provider_form');
597
- var error;
598
- var shipping_provider = jQuery("#edit_provider_form .shipping_provider");
599
- var shipping_country = jQuery("#edit_provider_form .shipping_country");
600
- var api_provider_name = jQuery(".api_provider_new .api_provider_name");
601
- var thumb_url = jQuery("#edit_provider_form .thumb_url");
602
- var tracking_url = jQuery("#edit_provider_form .tracking_url");
603
- var provider_type = jQuery("#edit_provider_form #provider_type");
604
-
605
- if(provider_type.val() == 'custom_provider'){
606
- if( shipping_provider.val() === '' ){
607
- showerror(shipping_provider);
608
- error = true;
609
- } else{
610
- hideerror(shipping_provider);
611
- }
612
-
613
- if( shipping_country.val() === '' ){
614
- showerror(shipping_country);
615
- error = true;
616
- } else{
617
- hideerror(shipping_country);
618
- }
619
- }
620
-
621
- if(provider_type.val() == 'default_provider'){
622
- for(var i=0; i<api_provider_name.length; i++) {
623
- if(validate(api_provider_name[i]) == false){
624
- showerror(jQuery(api_provider_name[i]));
625
- error = true;
626
- } else{
627
- hideerror(jQuery(api_provider_name[i]));
628
- }
629
- }
630
- }
631
-
632
- if(error == true){
633
- return false;
634
- }
635
- jQuery(".edit_provider_popup").block({
636
- message: null,
637
- overlayCSS: {
638
- background: "#fff",
639
- opacity: .6
640
- }
641
- });
642
-
643
- jQuery('#search_provider').removeAttr('value');
644
-
645
- jQuery.ajax({
646
- url: ajaxurl,
647
- data: form.serialize(),
648
- type: 'POST',
649
- success: function(response) {
650
- jQuery(".provider_list").replaceWith(response);
651
- form[0].reset();
652
- jQuery('.edit_provider_popup').hide();
653
- jQuery(".edit_provider_popup").unblock();
654
- provider_grid_row();
655
- },
656
- error: function(response) {
657
- console.log(response);
658
- }
659
- });
660
- return false;
661
- });
662
-
663
- jQuery( ".thumb_url" ).keyup(function() {
664
- var url = jQuery(this).val();
665
- if(url == ''){
666
- jQuery('.thumb_id').val('');
667
- }
668
- });
669
-
670
- jQuery(document).on("click", "#reset_providers", function(){
671
- jQuery("#content1 ").block({
672
- message: null,
673
- overlayCSS: {
674
- background: "#fff",
675
- opacity: .6
676
- }
677
- });
678
- var r = confirm( 'Do you really want to change all provider status?' );
679
- if (r === true) {
680
- } else {
681
- jQuery("#content1").unblock();
682
- return;
683
- }
684
-
685
- jQuery('#search_provider').removeAttr('value');
686
-
687
- var reset_checked = 0;
688
- if(jQuery(this).prop("checked") == true){
689
- reset_checked = 1;
690
- }
691
-
692
- var error;
693
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
694
- var ajax_data = {
695
- action: 'update_provider_status',
696
- status: reset_checked,
697
- security: nonce,
698
- };
699
- jQuery.ajax({
700
- url: ajaxurl,
701
- data: ajax_data,
702
- type: 'POST',
703
- success: function(response) {
704
- jQuery(".provider_list").replaceWith(response);
705
- jQuery("#content1").unblock();
706
- provider_grid_row();
707
- },
708
- error: function(response) {
709
- console.log(response);
710
- }
711
- });
712
- });
713
-
714
- jQuery(document).on("click", ".upgrade_to_ast_pro", function(){
715
- jQuery('.upgrade_to_pro_popup').show();
716
- });
717
-
718
- jQuery(document).on("click", ".sync_providers", function(){
719
- jQuery('.sync_provider_popup').show();
720
- jQuery("#reset_tracking_providers").prop("checked", false);
721
- });
722
-
723
- jQuery(document).on("click", ".sync_providers_btn", function(){
724
-
725
- jQuery('.sync_providers_btn').attr("disabled", true);
726
- jQuery('.sync_provider_popup .spinner').addClass('active');
727
- jQuery('#reset_tracking_providers').val;
728
-
729
- var reset_checked = 0;
730
- if(jQuery('#reset_tracking_providers').prop("checked") == true){
731
- reset_checked = 1;
732
- }
733
-
734
- jQuery('.sync_message').hide();
735
- jQuery('#search_provider').removeAttr('value');
736
- var nonce = jQuery( '#nonce_shipping_provider' ).val();
737
-
738
- var ajax_data = {
739
- action: 'sync_providers',
740
- reset_checked: reset_checked,
741
- security: nonce,
742
- };
743
- jQuery.ajax({
744
- url: ajaxurl,
745
- data: ajax_data,
746
- type: 'POST',
747
- dataType: "json",
748
- success: function(response) {
749
- jQuery('.sync_provider_popup .spinner').removeClass('active');
750
- jQuery(".provider_list").replaceWith(response.html);
751
-
752
- if(response.sync_error == 1 ){
753
- jQuery( ".sync_message" ).text( response.message );
754
- jQuery( ".sync_providers_btn" ).text( 'Retry' );
755
- } else{
756
- if(reset_checked == 1){
757
- jQuery('.reset_db_message').show();
758
- } else{
759
- jQuery(".providers_added span").text(response.added);
760
- if(response.added > 0 ){
761
- jQuery( ".providers_added" ).append( response.added_html );
762
- }
763
-
764
- jQuery(".providers_updated span").text(response.updated);
765
- if(response.updated > 0 ){
766
- jQuery( ".providers_updated" ).append( response.updated_html );
767
- }
768
-
769
- jQuery(".providers_deleted span").text(response.deleted);
770
- if(response.deleted > 0 ){
771
- jQuery( ".providers_deleted" ).append( response.deleted_html );
772
- }
773
- jQuery(".synch_result").show();
774
- }
775
- }
776
-
777
- jQuery(".reset_db_fieldset").hide();
778
- jQuery(".sync_providers_btn").attr("disabled", false);
779
- jQuery(".sync_providers_btn").hide();
780
- jQuery(".close_synch_popup").show();
781
- jQuery( '.tipTip' ).tipTip( {
782
- 'attribute': 'data-tip'
783
- } );
784
- provider_grid_row();
785
- },
786
- error: function(response) {
787
- console.log(response);
788
- }
789
- });
790
- });
791
-
792
- jQuery(document).on("click", "#view_added_details", function(){
793
- jQuery('#added_providers').show();
794
- jQuery(this).hide();
795
- jQuery('#hide_added_details').show();
796
- });
797
- jQuery(document).on("click", "#hide_added_details", function(){
798
- jQuery('#added_providers').hide();
799
- jQuery(this).hide();
800
- jQuery('#view_added_details').show();
801
- });
802
-
803
- jQuery(document).on("click", "#view_updated_details", function(){
804
- jQuery('#updated_providers').show();
805
- jQuery(this).hide();
806
- jQuery('#hide_updated_details').show();
807
- });
808
- jQuery(document).on("click", "#hide_updated_details", function(){
809
- jQuery('#updated_providers').hide();
810
- jQuery(this).hide();
811
- jQuery('#view_updated_details').show();
812
- });
813
-
814
- jQuery(document).on("click", "#view_deleted_details", function(){
815
- jQuery('#deleted_providers').show();
816
- jQuery(this).hide();
817
- jQuery('#hide_deleted_details').show();
818
- });
819
- jQuery(document).on("click", "#hide_deleted_details", function(){
820
- jQuery('#deleted_providers').hide();
821
- jQuery(this).hide();
822
- jQuery('#view_deleted_details').show();
823
- });
824
-
825
- function validate (input) {
826
- if(jQuery(input).val().trim() == '' || jQuery(input).val().trim() == 0){
827
- return false;
828
- }
829
- }
830
-
831
- function showerror(element){
832
- element.css("border","1px solid red");
833
- }
834
- function hideerror(element){
835
- element.css("border","1px solid #ddd");
836
- }
837
- jQuery(document).on("change", "#wc_ast_status_shipped", function(){
838
- if(jQuery(this).prop("checked") == true){
839
- jQuery("[for=show_in_completed] .multiple_label").text('Shipped');
840
- jQuery("label .shipped_label").text('shipped');
841
- } else{
842
- jQuery("[for=show_in_completed] .multiple_label").text('Completed');
843
- jQuery("label .shipped_label").text('completed');
844
- }
845
- });
846
-
847
- jQuery(document).on("click", ".tab_input", function(){
848
- var tab = jQuery(this).data('tab');
849
- var label = jQuery(this).data('label');
850
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
851
- window.history.pushState({path:url},'',url);
852
- });
853
-
854
- jQuery(document).on("click", ".accordion", function(){
855
- if ( jQuery(this).hasClass( 'active' ) ) {
856
- jQuery(this).removeClass( 'active' );
857
- jQuery(this).siblings( '.panel' ).slideUp( 'slow' );
858
- jQuery( '.accordion' ).find('span.dashicons').addClass('dashicons-arrow-right-alt2');
859
- jQuery( '.accordion' ).find('span.ast-accordion-btn').hide();
860
- } else {
861
- jQuery( '.accordion' ).removeClass( 'active' );
862
- jQuery(".accordion").find('span.ast-accordion-btn').hide();
863
- jQuery(".accordion").find('span.dashicons').addClass('dashicons-arrow-right-alt2');
864
- jQuery( '.panel' ).slideUp('slow');
865
- jQuery(this).addClass( 'active' );
866
- jQuery(this).find('span.dashicons').removeClass('dashicons-arrow-right-alt2');
867
- jQuery(this).find('span.ast-accordion-btn').show();
868
- jQuery(this).find('span.ast-accordion-btn button').prop("disabled", true);
869
- jQuery(this).siblings( '.panel' ).slideDown( 'slow' );
870
- }
871
- });
872
-
873
- jQuery(document).on("click", ".woocommerce-save-button", function(e){
874
-
875
- var form = jQuery('#wc_ast_settings_form');
876
- form.find(".spinner").addClass("active");
877
-
878
- jQuery.ajax({
879
- url: ajaxurl,
880
- data: form.serialize(),
881
- type: 'POST',
882
- success: function(response) {
883
- form.find(".spinner").removeClass("active");
884
- jQuery(document).ast_snackbar( shipment_tracking_table_rows.i18n.data_saved );
885
- jQuery( '.accordion' ).removeClass( 'active' );
886
- jQuery( '.accordion' ).find( 'span.ast-accordion-btn' ).hide();
887
- jQuery( '.accordion' ).find( 'span.dashicons' ).addClass( 'dashicons-arrow-right-alt2' );
888
- jQuery( '.panel' ).slideUp( 'slow' );
889
- },
890
- error: function(response) {
891
- console.log(response);
892
- }
893
- });
894
- return false;
895
- });
896
-
897
-
898
- jQuery(document).on("change", "#wc_ast_settings_form .ast-settings-toggle,.order_status_toggle,.enable_order_status_email_input,.custom_order_color_select, #wc_ast_status_shipped", function(){
899
- jQuery('span.ast-accordion-btn button').prop("disabled", false);
900
- });
901
-
902
- jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
903
- change: function(e, ui) {
904
- var color = ui.color.toString();
905
- jQuery('.order-status-table .order-label.wc-partially-shipped').css('background',color);
906
- },
907
- });
908
-
909
- jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
910
- change: function(e, ui) {
911
- var color = ui.color.toString();
912
- jQuery('.order-status-table .order-label.wc-updated-tracking').css('background',color);
913
- },
914
- });
915
-
916
- jQuery('body').click( function(){
917
- if ( jQuery('.order-status-table button.button.wp-color-result').hasClass( 'wp-picker-open' ) ) {
918
- jQuery('span.ast-accordion-btn button').prop("disabled", false);
919
- }
920
- });
921
-
922
- jQuery('.order-status-table button.button.wp-color-result').click( function(){
923
- if ( jQuery(this).hasClass( 'wp-picker-open' ) ) {}else{jQuery('span.ast-accordion-btn button').prop("disabled", false);}
924
- });
925
- jQuery(".wc_ast_api_date_format").on("click", function (e) {
926
- jQuery('span.ast-accordion-btn button').prop("disabled", false);
927
- });
928
- jQuery( "#wc_ast_show_orders_actions,#wc_ast_unclude_tracking_info" ).on("change", function (e) {
929
- jQuery('span.ast-accordion-btn button').prop("disabled", false);
930
- });
931
-
932
- /* zorem_snackbar jquery */
933
- (function( $ ){
934
- $.fn.ast_snackbar = function(msg) {
935
- if ( jQuery('.snackbar-logs').length === 0 ){
936
- $("body").append("<section class=snackbar-logs></section>");
937
- }
938
- var ast_snackbar = $("<article></article>").addClass('snackbar-log snackbar-log-success snackbar-log-show').text( msg );
939
- $(".snackbar-logs").append(ast_snackbar);
940
- setTimeout(function(){ ast_snackbar.remove(); }, 3000);
941
- return this;
942
- };
943
- })( jQuery );
944
-
945
- /* zorem_snackbar_warning jquery */
946
- (function( $ ){
947
- $.fn.ast_snackbar_warning = function(msg) {
948
- if ( jQuery('.snackbar-logs').length === 0 ){
949
- $("body").append("<section class=snackbar-logs></section>");
950
- }
951
- var ast_snackbar_warning = $("<article></article>").addClass( 'snackbar-log snackbar-log-error snackbar-log-show' ).html( msg );
952
- $(".snackbar-logs").append(ast_snackbar_warning);
953
- setTimeout(function(){ ast_snackbar_warning.remove(); }, 3000);
954
- return this;
955
- };
956
- })( jQuery );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/shipment-provider-img/wahana.png ADDED
Binary file
assets/shipment-provider-img/xpressbees.png ADDED
Binary file
assets/shipment-provider-img/yamato.png ADDED
Binary file
assets/shipment-provider-img/yanwen.png ADDED
Binary file
assets/shipment-provider-img/yodel.png ADDED
Binary file
assets/shipment-provider-img/yun-express-tracking.png ADDED
Binary file
assets/shipment-provider-img/yurtici-kargo.png ADDED
Binary file
assets/tracking.csv DELETED
@@ -1,4 +0,0 @@
1
- order_id,tracking_provider,tracking_number,date_shipped,status_shipped
2
- 1,UPS,number123,12/03/2020,1
3
- 2,USPS,dfsdf23123,12/03/2020,1
4
- 3,DHL,dfsdf45swd,12/03/2020,0
 
 
 
 
includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php DELETED
@@ -1,479 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- /**
7
- * REST API shipment tracking controller.
8
- *
9
- * Handles requests to /orders/shipment-tracking endpoint.
10
- *
11
- * @since 1.5.0
12
- */
13
-
14
- class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_REST_Controller {
15
-
16
- /**
17
- * Endpoint namespace.
18
- *
19
- * @var string
20
- */
21
- protected $namespace = 'wc-ast/v3';
22
-
23
- /**
24
- * Route base.
25
- *
26
- * @var string
27
- */
28
- protected $rest_base = 'orders/(?P<order_id>[\d]+)/shipment-trackings';
29
-
30
- /**
31
- * Post type.
32
- *
33
- * @var string
34
- */
35
- protected $post_type = 'shop_order';
36
-
37
- /**
38
- * Set namespace
39
- *
40
- * @return WC_Advanced_Shipment_Tracking_REST_API_Controller
41
- */
42
- public function set_namespace( $namespace ) {
43
- $this->namespace = $namespace;
44
- return $this;
45
- }
46
-
47
- /**
48
- * Register the routes for trackings.
49
- */
50
- public function register_routes() {
51
- register_rest_route( $this->namespace, '/' . $this->rest_base, array(
52
- array(
53
- 'methods' => WP_REST_Server::READABLE,
54
- 'callback' => array( $this, 'get_items' ),
55
- 'permission_callback' => array( $this, 'get_items_permissions_check' ),
56
- 'args' => $this->get_collection_params(),
57
- ),
58
- array(
59
- 'methods' => WP_REST_Server::CREATABLE,
60
- 'callback' => array( $this, 'create_item' ),
61
- 'permission_callback' => array( $this, 'create_item_permissions_check' ),
62
- 'args' => array_merge( $this->get_endpoint_args_for_item_schema( WP_REST_Server::CREATABLE ), array(
63
- 'tracking_number' => array(
64
- 'required' => true,
65
- ),
66
- ) ),
67
- ),
68
- 'schema' => array( $this, 'get_public_item_schema' ),
69
- ) );
70
-
71
- register_rest_route( $this->namespace, '/' . $this->rest_base . '/providers', array(
72
- array(
73
- 'methods' => WP_REST_Server::READABLE,
74
- 'callback' => array( $this, 'get_providers' ),
75
- 'permission_callback' => array( $this, 'get_items_permissions_check' ),
76
- ),
77
- ) );
78
-
79
- register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>[a-fA-F0-9]{0,32})', array(
80
- array(
81
- 'methods' => WP_REST_Server::READABLE,
82
- 'callback' => array( $this, 'get_item' ),
83
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
84
- 'args' => array(
85
- 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
86
- ),
87
- ),
88
- array(
89
- 'methods' => WP_REST_Server::DELETABLE,
90
- 'callback' => array( $this, 'delete_item' ),
91
- 'permission_callback' => array( $this, 'delete_item_permissions_check' ),
92
- ),
93
- 'schema' => array( $this, 'get_public_item_schema' ),
94
- ) );
95
- }
96
-
97
- /**
98
- * Check whether a given request has permission to read order shipment-trackings.
99
- *
100
- * @param WP_REST_Request $request Full details about the request.
101
- * @return WP_Error|boolean
102
- */
103
- public function get_items_permissions_check( $request ) {
104
- if ( ! wc_rest_check_post_permissions( $this->post_type, 'read' ) ) {
105
- return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot list resources.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
106
- }
107
- return true;
108
- }
109
-
110
- /**
111
- * Check if a given request has access create order shipment-tracking.
112
- *
113
- * @param WP_REST_Request $request Full details about the request.
114
- * @return boolean
115
- */
116
- public function create_item_permissions_check( $request ) {
117
-
118
- if ( ! wc_rest_check_post_permissions( $this->post_type, 'create' ) ) {
119
- return new WP_Error( 'woocommerce_rest_cannot_create', __( 'Sorry, you are not allowed to create resources.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
120
- }
121
- return true;
122
- }
123
-
124
- /**
125
- * Check if a given request has access to read a order shipment-tracking.
126
- *
127
- * @param WP_REST_Request $request Full details about the request.
128
- * @return WP_Error|boolean
129
- */
130
- public function get_item_permissions_check( $request ) {
131
- if ( ! wc_rest_check_post_permissions( $this->post_type, 'read', (int) $request['order_id'] ) ) {
132
- return new WP_Error( 'woocommerce_rest_cannot_view', __( 'Sorry, you cannot view this resource.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
133
- }
134
- return true;
135
- }
136
-
137
- /**
138
- * Check if a given request has access delete a order shipment-tracking.
139
- *
140
- * @param WP_REST_Request $request Full details about the request.
141
- * @return boolean
142
- */
143
- public function delete_item_permissions_check( $request ) {
144
- if ( ! wc_rest_check_post_permissions( $this->post_type, 'delete', (int) $request['order_id'] ) ) {
145
- return new WP_Error( 'woocommerce_rest_cannot_delete', __( 'Sorry, you are not allowed to delete this resource.', 'woocommerce-shipment-tracking' ), array( 'status' => rest_authorization_required_code() ) );
146
- }
147
- return true;
148
- }
149
-
150
- /**
151
- * Checks if an order ID is a valid order.
152
- *
153
- * @param int $order_id
154
- * @return bool
155
- * @since 1.6.4
156
- */
157
- public function is_valid_order_id( $order_id ) {
158
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
159
- $order = get_post( $order_id );
160
- if ( empty( $order->post_type ) || $this->post_type !== $order->post_type ) {
161
- return false;
162
- }
163
- } else {
164
- $order = wc_get_order( $order_id );
165
- // in 3.0 the order factor will return false if the order class
166
- // throws an exception or the class doesn't exist.
167
- if ( false === $order ) {
168
- return false;
169
- }
170
- }
171
- return true;
172
- }
173
-
174
- /**
175
- * Get shipment-trackings from an order.
176
- *
177
- * @param WP_REST_Request $request
178
- * @return array
179
- */
180
- public function get_items( $request ) {
181
- $order_id = (int) $request['order_id'];
182
-
183
- if ( ! $this->is_valid_order_id( $order_id ) ) {
184
- return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-shipment-tracking' ), array( 'status' => 404 ) );
185
- }
186
-
187
- $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
188
- $tracking_items = ast_get_tracking_items( $order_id );
189
-
190
- $data = array();
191
- foreach ( $tracking_items as $tracking_item ) {
192
- $tracking_item['order_id'] = $order_id;
193
-
194
- $tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
195
- $tracking_item = $this->prepare_response_for_collection( $tracking_item );
196
- $data[] = $tracking_item;
197
- }
198
-
199
- return rest_ensure_response( $data );
200
- }
201
-
202
- /**
203
- * Get shipment-tracking providers.
204
- *
205
- * @param WP_REST_Request $request
206
- * @return array
207
- */
208
- public function get_providers( $request ) {
209
- $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
210
- return rest_ensure_response( $st->get_providers_for_app() );
211
- }
212
-
213
- /**
214
- * Create a single order shipment-tracking.
215
- *
216
- * @param WP_REST_Request $request Full details about the request.
217
- *
218
- * @return WP_Error|WP_REST_Response
219
- */
220
- public function create_item( $request ) {
221
- if ( ! empty( $request['tracking_id'] ) ) {
222
- return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', 'woo-advanced-shipment-tracking' ), array( 'status' => 400 ) );
223
- }
224
-
225
- $order_id = (int) $request['order_id'];
226
-
227
- $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
228
- $order_id = $ast->get_formated_order_id( $order_id );
229
-
230
- if ( ! $this->is_valid_order_id( $order_id ) ) {
231
- return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
232
- }
233
-
234
- if ( preg_match( '/[^a-z0-9- \b]+/i', $request['tracking_number'] ) ) {
235
- return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Special character not allowd in tracking number', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
236
- }
237
-
238
- $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
239
-
240
- $tracking_provider_name = ( isset( $request['custom_tracking_provider'] ) && !empty( $request['custom_tracking_provider'] ) ) ? $request['custom_tracking_provider'] : $request['tracking_provider'];
241
-
242
- $replace_tracking = isset($request['replace_tracking']) ? $request['replace_tracking'] : 0;
243
-
244
- if ( 1 == $replace_tracking ) {
245
- $order = wc_get_order($order_id);
246
-
247
- if ( $order ) {
248
- $tracking_items = ast_get_tracking_items( $order_id );
249
-
250
- if ( count( $tracking_items ) > 0 ) {
251
- foreach ( $tracking_items as $key => $item ) {
252
- unset( $tracking_items[ $key ] );
253
- }
254
- $ast->save_tracking_items( $order_id, $tracking_items );
255
- }
256
- }
257
- }
258
-
259
- $tracking_provider = $ast_admin->get_provider_slug_from_name( $tracking_provider_name );
260
-
261
- $args = array(
262
- 'tracking_provider' => wc_clean( $tracking_provider ),
263
- 'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
264
- 'tracking_number' => wc_clean( $request['tracking_number'] ),
265
- 'date_shipped' => wc_clean( $request['date_shipped'] ),
266
- 'status_shipped' => wc_clean( $request['status_shipped'] ),
267
- 'source' => 'REST_API',
268
- );
269
-
270
- $args = apply_filters( 'ast_api_create_item_arg', $args, $request );
271
-
272
- $tracking_item = $ast->add_tracking_item( $order_id, $args );
273
- $tracking_item['order_id'] = $order_id;
274
- $formatted = $ast->get_formatted_tracking_item( $order_id, $tracking_item );
275
- $tracking_item = array_merge( $tracking_item, $formatted );
276
-
277
- $request->set_param( 'context', 'edit' );
278
-
279
- $response = $this->prepare_item_for_response( $tracking_item, $request );
280
- $response = rest_ensure_response( $response );
281
-
282
- $response->set_status( 201 );
283
- $response->header( 'Location', rest_url( sprintf( '/%s/%s/%d', $this->namespace, str_replace( '(?P<order_id>[\d]+)', $order_id, $this->rest_base ), $tracking_item['tracking_id'] ) ) );
284
-
285
- return $response;
286
- }
287
-
288
- /**
289
- * Get a single order shipment-tracking.
290
- *
291
- * @param WP_REST_Request $request Full details about the request.
292
- * @return WP_Error|WP_REST_Response
293
- */
294
- public function get_item( $request ) {
295
- $tracking_id = $request['id'];
296
-
297
- $order_id = (int) $request['order_id'];
298
- if ( ! $this->is_valid_order_id( $order_id ) ) {
299
- return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
300
- }
301
-
302
- $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
303
- $tracking_item = $st->get_tracking_item( $order_id, $tracking_id, true );
304
-
305
- if ( ! $tracking_item ) {
306
- return new WP_Error( 'woocommerce_rest_order_shipment_tracking_invalid_id', __( 'Invalid shipment tracking ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
307
- }
308
-
309
- $tracking_item['order_id'] = $order_id;
310
- $tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
311
- $response = rest_ensure_response( $tracking_item );
312
-
313
- return $response;
314
- }
315
-
316
- /**
317
- * Delete a single order shipment-tracking.
318
- *
319
- * @param WP_REST_Request $request Full details about the request.
320
- * @return WP_REST_Response|WP_Error
321
- */
322
- public function delete_item( $request ) {
323
- $tracking_id = $request['id'];
324
-
325
- $order_id = (int) $request['order_id'];
326
-
327
- if ( ! $this->is_valid_order_id( $order_id ) ) {
328
- return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
329
- }
330
-
331
- $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
332
- $tracking_item = $st->get_tracking_item( $order_id, $tracking_id, true );
333
-
334
- if ( ! $tracking_item ) {
335
- return new WP_Error( 'woocommerce_rest_order_shipment_tracking_invalid_id', __( 'Invalid shipment tracking ID.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 404 ) );
336
- }
337
-
338
- $tracking_item['order_id'] = $order_id;
339
- $tracking_item = $this->prepare_item_for_response( $tracking_item, $request );
340
- $response = rest_ensure_response( $tracking_item );
341
-
342
- $result = $st->delete_tracking_item( $order_id, $tracking_id );
343
- if ( ! $result ) {
344
- return new WP_Error( 'woocommerce_rest_cannot_delete_order_shipment_tracking', __( 'The shipment tracking cannot be deleted.', 'woocommerce-advanced-shipment-tracking' ), array( 'status' => 500 ) );
345
- }
346
-
347
- return $response;
348
- }
349
-
350
- /**
351
- * Prepare a single order shipment-note output for response.
352
- *
353
- * @param array $tracking_item Shipment tracking item
354
- * @param WP_REST_Request $request Request object
355
- *
356
- * @return WP_REST_Response $response Response data
357
- */
358
- public function prepare_item_for_response( $tracking_item, $request ) {
359
- $date_shipped = gmdate('Y-m-d');
360
- if ( isset( $tracking_item['date_shipped'] ) ) {
361
- $date_shipped = gmdate( 'Y-m-d', $tracking_item['date_shipped'] );
362
- }
363
- $data = array(
364
- 'tracking_id' => $tracking_item['tracking_id'],
365
- 'tracking_provider' => $tracking_item['formatted_tracking_provider'],
366
- 'tracking_link' => $tracking_item['ast_tracking_link'],
367
- 'tracking_number' => $tracking_item['tracking_number'],
368
- 'date_shipped' => $date_shipped,
369
- );
370
-
371
- $order_id = $tracking_item['order_id'];
372
-
373
- $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
374
- $data = $this->add_additional_fields_to_object( $data, $request );
375
- $data = $this->filter_response_by_context( $data, $context );
376
-
377
- // Wrap the data in a response object.
378
- $response = rest_ensure_response( $data );
379
-
380
- $response->add_links( $this->prepare_links( $order_id, $tracking_item ) );
381
-
382
- /**
383
- * Filter order shipment-tracking object returned from the REST API.
384
- *
385
- * @param WP_REST_Response $response The response object.
386
- * @param array $tracking_item Order tracking item used to create response.
387
- * @param WP_REST_Request $request Request object.
388
- */
389
- return apply_filters( 'woocommerce_rest_prepare_order_shipment_tracking', $response, $tracking_item, $request );
390
- }
391
-
392
- /**
393
- * Prepare links for the request.
394
- *
395
- * @param int $order_id Order ID
396
- * @param array $shipment_tracking Shipment tracking item
397
- *
398
- * @return array Links for the given order shipment-tracking.
399
- */
400
- protected function prepare_links( $order_id, $tracking_item ) {
401
- $order_id = (int) $order_id;
402
- $base = str_replace( '(?P<order_id>[\d]+)', $order_id, $this->rest_base );
403
- $links = array(
404
- 'self' => array(
405
- 'href' => rest_url( sprintf( '/%s/%s/%s', $this->namespace, $base, $tracking_item['tracking_id'] ) ),
406
- ),
407
- 'collection' => array(
408
- 'href' => rest_url( sprintf( '/%s/%s', $this->namespace, $base ) ),
409
- ),
410
- 'up' => array(
411
- 'href' => rest_url( sprintf( '/%s/orders/%d', $this->namespace, $order_id ) ),
412
- ),
413
- );
414
- return $links;
415
- }
416
-
417
- /**
418
- * Get the Order Notes schema, conforming to JSON Schema.
419
- *
420
- * @return array
421
- */
422
- public function get_item_schema() {
423
- $schema = array(
424
- '$schema' => 'http://json-schema.org/draft-04/schema#',
425
- 'title' => 'tax',
426
- 'type' => 'shipment_tracking',
427
- 'properties' => array(
428
- 'tracking_id' => array(
429
- 'description' => __( 'Unique identifier for shipment tracking.', 'woocommerce-shipment-tracking' ),
430
- 'type' => 'string',
431
- 'context' => array( 'view', 'edit' ),
432
- 'readonly' => true,
433
- ),
434
- 'tracking_provider' => array(
435
- 'description' => __( 'Tracking provider name.', 'woocommerce-shipment-tracking' ),
436
- 'type' => 'string',
437
- 'context' => array( 'view', 'edit' ),
438
- 'readonly' => false,
439
- ),
440
- 'custom_tracking_provider' => array(
441
- 'description' => __( 'Custom tracking provider name.', 'woocommerce-shipment-tracking' ),
442
- 'type' => 'string',
443
- 'context' => array( 'edit' ),
444
- 'readonly' => false,
445
- ),
446
- 'custom_tracking_link' => array(
447
- 'description' => __( 'Custom tracking provider link.', 'woocommerce-shipment-tracking' ),
448
- 'type' => 'url',
449
- 'context' => array( 'edit' ),
450
- 'readonly' => false,
451
- ),
452
- 'tracking_number' => array(
453
- 'description' => __( 'Tracking number.', 'woocommerce-shipment-tracking' ),
454
- 'type' => 'string',
455
- 'context' => array( 'view', 'edit' ),
456
- 'readonly' => false,
457
- ),
458
- 'date_shipped' => array(
459
- 'description' => __( 'Date when package was shipped.', 'woocommerce-shipment-tracking' ),
460
- 'type' => 'date',
461
- 'context' => array( 'view', 'edit' ),
462
- 'readonly' => false,
463
- ),
464
- ),
465
- );
466
- return $this->add_additional_fields_schema( $schema );
467
- }
468
-
469
- /**
470
- * Get the query params for collections.
471
- *
472
- * @return array
473
- */
474
- public function get_collection_params() {
475
- return array(
476
- 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
477
- );
478
- }
479
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-admin-notices.php DELETED
@@ -1,111 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_AST_Admin_Notices_Under_WC_Admin {
7
-
8
- /**
9
- * Instance of this class.
10
- *
11
- * @var object Class Instance
12
- */
13
- private static $instance;
14
-
15
- /**
16
- * Initialize the main plugin function
17
- */
18
- public function __construct() {
19
- $this->init();
20
- }
21
-
22
- /**
23
- * Get the class instance
24
- *
25
- * @return WC_Advanced_Shipment_Tracking_Admin_notice
26
- */
27
- public static function get_instance() {
28
-
29
- if ( null === self::$instance ) {
30
- self::$instance = new self();
31
- }
32
-
33
- return self::$instance;
34
- }
35
-
36
- /*
37
- * init from parent mail class
38
- */
39
- public function init() {
40
- //add_action('init', array( $this, 'admin_notices_for_ast_pro' ) );
41
- }
42
-
43
- public function admin_notices_for_ast_pro() {
44
-
45
- if ( class_exists( 'ast_pro' ) ) {
46
- return;
47
- }
48
-
49
- if ( ! class_exists( 'Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes' ) ) {
50
- return;
51
- }
52
-
53
- $already_set = get_transient( 'ast_pro_wc_admin' );
54
-
55
- if ( 'yes' == $already_set ) {
56
- return;
57
- }
58
-
59
- set_transient( 'ast_pro_wc_admin', 'yes' );
60
-
61
- $note_name = 'ast_pro_wc_admin_notice';
62
- //$data_store = WC_Data_Store::load( 'admin-note' );
63
-
64
- // Otherwise, add the note
65
- $activated_time = current_time( 'timestamp', 0 );
66
- $activated_time_formatted = gmdate( 'F jS', $activated_time );
67
- $note = new Automattic\WooCommerce\Admin\Notes\WC_Admin_Note();
68
- $note->set_title( 'Advanced Shipment Tracking PRO' );
69
- $note->set_content( 'We just released the Advanced Shipment Tracking Pro! Upgrade now and enjoy a 20% off early bird discount. To redeem your discount, use coupon code ASTPRO20 (valid until March 31st)' );
70
- $note->set_content_data( (object) array(
71
- 'getting_started' => true,
72
- 'activated' => $activated_time,
73
- 'activated_formatted' => $activated_time_formatted,
74
- ) );
75
- $note->set_type( 'info' );
76
- $note->set_image('');
77
- $note->set_name( $note_name );
78
- $note->set_source( 'AST Pro' );
79
- $note->set_image('');
80
- // This example has two actions. A note can have 0 or 1 as well.
81
- $note->add_action(
82
- 'settings', 'Upgrade to AST Pro', 'https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/'
83
- );
84
- $note->save();
85
- }
86
- }
87
-
88
- /**
89
- * Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
90
- *
91
- * @since 1.6.5
92
- * @version 1.6.5
93
- *
94
- * @return zorem_woocommerce_advanced_shipment_tracking
95
- */
96
- function WC_AST_Admin_Notices_Under_WC_Admin() {
97
- static $instance;
98
-
99
- if ( ! isset( $instance ) ) {
100
- $instance = new WC_AST_Admin_Notices_Under_WC_Admin();
101
- }
102
-
103
- return $instance;
104
- }
105
-
106
- /**
107
- * Register this class globally.
108
- *
109
- * Backward compatibility.
110
- */
111
- WC_AST_Admin_Notices_Under_WC_Admin();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-admin-notice.php DELETED
@@ -1,163 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_Advanced_Shipment_Tracking_Admin_Notice {
7
-
8
- /**
9
- * Instance of this class.
10
- *
11
- * @var object Class Instance
12
- */
13
- private static $instance;
14
-
15
- /**
16
- * Initialize the main plugin function
17
- */
18
- public function __construct() {
19
- $this->init();
20
- }
21
-
22
- /**
23
- * Get the class instance
24
- *
25
- * @return WC_Advanced_Shipment_Tracking_Admin_Notice
26
- */
27
- public static function get_instance() {
28
-
29
- if ( null === self::$instance ) {
30
- self::$instance = new self();
31
- }
32
-
33
- return self::$instance;
34
- }
35
-
36
- /*
37
- * init from parent mail class
38
- */
39
- public function init() {
40
- add_action( 'admin_notices', array( $this, 'ast_pro_admin_notice' ) );
41
- add_action( 'admin_init', array( $this, 'ast_pro_admin_notice_ignore' ) );
42
-
43
- add_action( 'plugins_loaded', array( $this, 'on_plugins_loaded' ) );
44
- }
45
-
46
- /*
47
- * init on plugin loaded
48
- */
49
- public function on_plugins_loaded() {
50
-
51
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
52
- if ( $wc_ast_api_key && !function_exists( 'trackship_for_woocommerce' ) ) {
53
- add_action( 'admin_notices', array( $this, 'ast_install_ts4wc' ) );
54
- }
55
- }
56
-
57
-
58
- /*
59
- * Display admin notice on plugin install or update
60
- */
61
- public function ast_pro_admin_notice() {
62
-
63
- if ( class_exists( 'ast_pro' ) ) {
64
- return;
65
- }
66
-
67
- if ( get_option('ast_pro_1_3_4_admin_notice_ignore') ) {
68
- return;
69
- }
70
-
71
- $dismissable_url = esc_url( add_query_arg( 'ast-pro-1-3-4-ignore-notice', 'true' ) );
72
- ?>
73
- <style>
74
- .wp-core-ui .notice.ast-dismissable-notice{
75
- position: relative;
76
- padding-right: 38px;
77
- border-left-color: #005B9A;
78
- }
79
- .wp-core-ui .notice.ast-dismissable-notice h3{
80
- margin-bottom: 5px;
81
- }
82
- .wp-core-ui .notice.ast-dismissable-notice a.notice-dismiss{
83
- padding: 9px;
84
- text-decoration: none;
85
- }
86
- .wp-core-ui .button-primary.ast_notice_btn {
87
- background: #005B9A;
88
- color: #fff;
89
- border-color: #005B9A;
90
- text-transform: uppercase;
91
- padding: 0 11px;
92
- font-size: 12px;
93
- height: 30px;
94
- line-height: 28px;
95
- margin: 5px 0 15px;
96
- }
97
- </style>
98
- <?php
99
- if ( is_plugin_active( 'woocommerce-product-vendors/woocommerce-product-vendors.php' ) ) {
100
- ?>
101
- <div class="notice updated notice-success ast-dismissable-notice">
102
- <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
103
- <h3>AST Fulfillment manager!</h3>
104
- <p>We noticed that you are using the WooCommerce Product Vendors plugin. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager</a> comes with built-in integration with the Product Vendors extension. Check out <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager">more info</a></br>
105
- Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
106
- </p>
107
- <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
108
- <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
109
- </div>
110
- <?php } else if ( is_plugin_active( 'woocommerce-shipstation-integration/woocommerce-shipstation.php' ) ) { ?>
111
- <div class="notice updated notice-success ast-dismissable-notice">
112
- <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
113
- <h3>AST Fulfillment manager!</h3>
114
- <p>We noticed that you are using ShipStation to ship your orders. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager </a> comes with built-in integration with the ShipStation extension and helps you avoid repetitively copy & paste tracking info from the order notes to the shipment tracking section.</br>
115
- Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
116
- </p>
117
- <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
118
- <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
119
- </div>
120
- <?php } else if ( is_plugin_active( 'woocommerce-services/woocommerce-services.php' ) ) { ?>
121
- <div class="notice updated notice-success ast-dismissable-notice">
122
- <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
123
- <h3>AST Fulfillment manager!</h3>
124
- <p>We noticed that you are using WooCommerce Shipping to ship your orders. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager</a> comes with built-in integration with the WooCommerce Shipping & Tax extension and helps you avoid repetitively copy & paste tracking info into the shipment tracking section after generating the labels.</br>
125
- Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
126
- </p>
127
- <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
128
- <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
129
- </div>
130
- <?php } else { ?>
131
- <div class="notice updated notice-success ast-dismissable-notice">
132
- <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
133
- <h3>AST Fulfillment manager!</h3>
134
- <p>AST Fulfillment Manager comes with advanced features that will streamline & automate your fulfillment workflow and help keep your customers happy and informed!</br>
135
- Get a 20% discount when you upgrade to the AST Fulfillment Manager! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
136
- </p>
137
- <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
138
- <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
139
- </div>
140
- <?php
141
- }
142
- }
143
-
144
- /*
145
- * Dismiss admin notice for trackship
146
- */
147
- public function ast_pro_admin_notice_ignore() {
148
- if ( isset( $_GET['ast-pro-1-3-4-ignore-notice'] ) ) {
149
- update_option( 'ast_pro_1_3_4_admin_notice_ignore', 'true' );
150
- }
151
- }
152
-
153
- /*
154
- * Display admin notice on if Store is connected to TrackShip and TrackShip For WooCommerce plugin is not activate
155
- */
156
- public function ast_install_ts4wc() {
157
- ?>
158
- <div class="notice notice-error">
159
- <p><strong>Please note:</strong> TrackShip's functionality was moved and now you need to also install <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="blank">TrackShip for WooCommerce</a> plugin. To avoid any interruptions with the service and keep tracking orders with TrackShip, please install <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="blank">TrackShip for WooCommerce</a> before updating to this version of the Advanced Shipment Tracking plugin.</p>
160
- </div>
161
- <?php
162
- }
163
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-admin.php DELETED
@@ -1,2256 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
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
-
16
- if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
17
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
18
- }
19
-
20
- if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
21
- $main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
22
- $this->table = $main_blog_prefix . 'woo_shippment_provider';
23
- } else {
24
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
25
- }
26
-
27
- } else {
28
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
29
- }
30
-
31
- }
32
-
33
- /**
34
- * Instance of this class.
35
- *
36
- * @var object Class Instance
37
- */
38
- private static $instance;
39
-
40
- /**
41
- * Get the class instance
42
- *
43
- * @return WC_Advanced_Shipment_Tracking_Admin
44
- */
45
- public static function get_instance() {
46
-
47
- if ( null === self::$instance ) {
48
- self::$instance = new self();
49
- }
50
-
51
- return self::$instance;
52
- }
53
-
54
- /*
55
- * init from parent mail class
56
- */
57
- public function init() {
58
-
59
- // add bulk order tracking number filter for exported / non-exported orders
60
- add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
61
-
62
- // add bulk order filter for exported / non-exported orders
63
- add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipping_provider'), 20 );
64
- add_filter( 'request', array( $this, 'filter_orders_by_shipping_provider_query' ) );
65
-
66
- add_filter( 'woocommerce_email_title', array( $this, 'change_completed_woocommerce_email_title'), 10, 2 );
67
-
68
- add_action( 'wp_ajax_wc_ast_upload_csv_form_update', array( $this, 'upload_tracking_csv_fun') );
69
-
70
- add_action( 'admin_footer', array( $this, 'footer_function'), 1 );
71
-
72
- add_filter( 'woocommerce_admin_order_actions', array( $this, 'add_delivered_order_status_actions_button'), 100, 2 );
73
-
74
- //Shipping Provider Action
75
- add_action( 'wp_ajax_filter_shipiing_provider_by_status', array( $this, 'filter_shipiing_provider_by_status_fun') );
76
-
77
- add_action( 'wp_ajax_get_provider_details', array( $this, 'get_provider_details_fun') );
78
-
79
- add_action( 'wp_ajax_update_custom_shipment_provider', array( $this, 'update_custom_shipment_provider_fun') );
80
-
81
- add_action( 'wp_ajax_reset_default_provider', array( $this, 'reset_default_provider_fun') );
82
-
83
- add_action( 'wp_ajax_woocommerce_shipping_provider_delete', array( $this, 'woocommerce_shipping_provider_delete' ) );
84
-
85
- add_action( 'wp_ajax_update_provider_status', array( $this, 'update_provider_status_fun') );
86
-
87
- add_action( 'wp_ajax_reset_shipping_providers_database', array( $this, 'reset_shipping_providers_database_fun') );
88
-
89
- add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
90
-
91
- add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
92
-
93
- add_action( 'update_order_status_after_adding_tracking', array( $this, 'update_order_status_after_adding_tracking'), 10, 2 );
94
-
95
- add_action( 'add_more_api_provider', array( $this, 'add_more_api_provider' ) );
96
- }
97
-
98
- /*
99
- * Get shipped orders
100
- */
101
- public function get_shipped_orders() {
102
- $range = get_option( 'wc_ast_api_date_range', 30 );
103
- $args = array(
104
- 'status' => 'wc-completed',
105
- 'limit' => -1,
106
- );
107
-
108
- if ( 0 != $range ) {
109
- $start = strtotime( gmdate( 'Y-m-d 00:00:00', strtotime( '-' . $range . ' days' ) ) );
110
- $end = strtotime( gmdate( 'Y-m-d 23:59:59', strtotime( '-1 days' ) ) );
111
- $args['date_completed'] = $start . ' ... ' . $end;
112
- }
113
-
114
- return wc_get_orders( $args );
115
- }
116
-
117
- /**
118
- * Load admin styles.
119
- */
120
- public function admin_styles( $hook ) {
121
-
122
- if ( !isset( $_GET['page'] ) ) {
123
- return;
124
- }
125
-
126
- if ( 'woocommerce-advanced-shipment-tracking' != $_GET['page'] ) {
127
- return;
128
- }
129
-
130
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
131
-
132
- wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
133
- wp_enqueue_script( 'select2');
134
-
135
- wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
136
-
137
- wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version, true );
138
-
139
- wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
140
- wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
141
- wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
142
-
143
- wp_enqueue_script( 'selectWoo' );
144
- wp_enqueue_script( 'wc-enhanced-select' );
145
-
146
- wp_register_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
147
- wp_enqueue_style( 'woocommerce_admin_styles' );
148
- wp_enqueue_style( 'wp-color-picker' );
149
-
150
- wp_register_script( 'jquery-tiptip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery' ), WC_VERSION, true );
151
-
152
- wp_enqueue_script( 'jquery-tiptip' );
153
- wp_enqueue_script( 'jquery-blockui' );
154
- wp_enqueue_script( 'wp-color-picker' );
155
-
156
- wp_enqueue_script( 'ajax-queue', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/jquery.ajax.queue.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
157
-
158
- wp_enqueue_script( 'ast_settings', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
159
-
160
- wp_enqueue_script( 'ast_hip', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/hip.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
161
-
162
- wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
163
-
164
- wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
165
- 'i18n' => array(
166
- 'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
167
- 'delete_provider' => __( 'Really delete this entry? This will not be undo.', 'woo-advanced-shipment-tracking' ),
168
- 'upload_only_csv_file' => __( 'You can upload only csv file.', 'woo-advanced-shipment-tracking' ),
169
- 'browser_not_html' => __( 'This browser does not support HTML5.', 'woo-advanced-shipment-tracking' ),
170
- 'upload_valid_csv_file' => __( 'Please upload a valid CSV file.', 'woo-advanced-shipment-tracking' ),
171
- ),
172
- 'delete_rates_nonce' => wp_create_nonce( 'delete-rate' ),
173
- ) );
174
- wp_enqueue_media();
175
- }
176
-
177
- /*
178
- * Admin Menu add function
179
- * WC sub menu
180
- */
181
- public function register_woocommerce_menu() {
182
- add_submenu_page( 'woocommerce', 'Shipment Tracking', __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ), 'manage_woocommerce', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
183
- }
184
-
185
- /*
186
- * callback for Shipment Tracking page
187
- */
188
- public function woocommerce_advanced_shipment_tracking_page_callback() {
189
-
190
- global $order, $wpdb;
191
- $WC_Countries = new WC_Countries();
192
- $countries = $WC_Countries->get_countries();
193
-
194
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM {$this->table} ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
195
-
196
- foreach ( $default_shippment_providers as $key => $value ) {
197
- $search = array('(US)', '(UK)');
198
- $replace = array('', '');
199
-
200
- if ( $value->shipping_country && 'Global' != $value->shipping_country ) {
201
- $country = str_replace( $search, $replace, $WC_Countries->countries[ $value->shipping_country ] );
202
- $default_shippment_providers[ $key ]->country = $country;
203
- } elseif ( $value->shipping_country && 'Global' == $value->shipping_country ) {
204
- $default_shippment_providers[ $key ]->country = 'Global';
205
- }
206
- }
207
-
208
- wp_enqueue_script( 'shipment_tracking_table_rows' );
209
- ?>
210
-
211
- <div class="zorem-layout">
212
- <?php do_action( 'ast_settings_admin_notice' ); ?>
213
- <div class="zorem-layout__header">
214
- <h1 class="page_heading">
215
- <a href="javascript:void(0)"><?php esc_html_e( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ); ?></a> <span class="dashicons dashicons-arrow-right-alt2"></span> <span class="breadcums_page_heading"><?php esc_html_e( 'Settings', 'woo-advanced-shipment-tracking' ); ?></span>
216
- </h1>
217
- <img class="zorem-layout__header-logo" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ast-logo.png">
218
- </div>
219
- <div class="woocommerce zorem_admin_layout">
220
- <div class="ast_admin_content zorem_admin_settings">
221
- <?php include 'views/activity_panel.php'; ?>
222
- <div class="ast_nav_div">
223
- <?php
224
- $this->get_html_menu_tab( $this->get_ast_tab_settings_data() );
225
- ?>
226
- <div class="menu_devider"></div>
227
- <?php
228
- require_once( 'views/admin_options_shipping_provider.php' );
229
- require_once( 'views/admin_options_settings.php' );
230
- require_once( 'views/admin_options_bulk_upload.php' );
231
- require_once( 'views/integrations_admin_options.php' );
232
- do_action( 'ast_paypal_settings_panel' );
233
- require_once( 'views/admin_options_addons.php' );
234
- include 'views/admin_options_trackship_integration.php';
235
- ?>
236
- </div>
237
- </div>
238
- </div>
239
- </div>
240
- <div id="" class="popupwrapper upgrade_to_pro_popup" style="display:none;">
241
- <div class="popuprow">
242
- <div class="popup_body">
243
- <h2 class="upgrade_title">Upgrade to AST PRO</h2>
244
- <ul class="ast_pro_features_list">
245
- <li>Premium Support</li>
246
- <li>Tracking per item</li>
247
- <li>Fully customizable responsive tracking widget</li>
248
- <li>Custom order status "Shipped"</li>
249
- <li>Custom email templates</li>
250
- <li>PayPal tracking integration</li>
251
- <li>Fulfillment dashboard</li>
252
- <li>Auto-detect shipping providers</li>
253
- <li>Tracking automation - Built-in integrations with ShipStation, Ordoro, WooCommerce Shipping and more..</li>
254
- </ul>
255
- <a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="button-primary btn_ast2 btn_large" target="_blank">UPGRADE TO PRO</a>
256
- </div>
257
- </div>
258
- <div class="popupclose"></div>
259
- </div>
260
- <?php
261
- }
262
-
263
- /*
264
- * callback for Shipment Tracking menu array
265
- */
266
- public function get_ast_tab_settings_data() {
267
-
268
- $ast_customizer_settings = new wcast_initialise_customizer_settings();
269
- $go_pro_label = class_exists( 'ast_pro' ) ? __( 'License', 'woo-advanced-shipment-tracking' ) : __( 'Go Pro', 'woo-advanced-shipment-tracking' ) ;
270
-
271
- $wc_ast_api_key = get_option('wc_ast_api_key');
272
- $ts4wc_installed = ( function_exists( 'trackship_for_woocommerce' ) ) ? true : false;
273
- $trackship_display = ( !$wc_ast_api_key && !$ts4wc_installed ) ? true : false ;
274
-
275
- $setting_data = array(
276
- 'tab2' => array(
277
- 'title' => __( 'Settings', 'woo-advanced-shipment-tracking' ),
278
- 'show' => true,
279
- 'class' => 'tab_label first_label',
280
- 'data-tab' => 'settings',
281
- 'data-label' => __( 'Settings', 'woo-advanced-shipment-tracking' ),
282
- 'name' => 'tabs',
283
- 'position' => 1,
284
- ),
285
- /*'customize' => array(
286
- 'title' => __( 'Customizer', 'woo-advanced-shipment-tracking' ),
287
- 'type' => 'link',
288
- 'link' => $ast_customizer_settings->get_customizer_url( 'ast_tracking_general_section', 'settings' ),
289
- 'show' => true,
290
- 'class' => 'tab_label',
291
- 'data-tab' => 'trackship',
292
- 'data-label' => __( 'Customize', 'woo-advanced-shipment-tracking' ),
293
- 'name' => 'tabs',
294
- 'position' => 3,
295
- ),*/
296
- 'tab1' => array(
297
- 'title' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
298
- 'show' => true,
299
- 'class' => 'tab_label',
300
- 'data-tab' => 'shipping-providers',
301
- 'data-label' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
302
- 'name' => 'tabs',
303
- 'position' => 2,
304
- ),
305
- 'tab4' => array(
306
- 'title' => __( 'CSV Import', 'woo-advanced-shipment-tracking' ),
307
- 'show' => true,
308
- 'class' => 'tab_label',
309
- 'data-tab' => 'bulk-upload',
310
- 'data-label' => __( 'CSV Import', 'woo-advanced-shipment-tracking' ),
311
- 'name' => 'tabs',
312
- 'position' => 4,
313
- ),
314
- 'integrations_tab' => array(
315
- 'title' => __( 'Integrations', 'woo-advanced-shipment-tracking' ),
316
- 'show' => true,
317
- 'class' => 'tab_label',
318
- 'data-tab' => 'integrations',
319
- 'data-label' => 'Integrations',
320
- 'name' => 'tabs',
321
- ),
322
- 'trackship' => array(
323
- 'title' => 'TrackShip',
324
- 'show' => $trackship_display,
325
- 'class' => 'tab_label',
326
- 'data-tab' => 'trackship',
327
- 'data-label' => 'TrackShip',
328
- 'name' => 'tabs',
329
- 'position' => 4,
330
- ),
331
- 'tab6' => array(
332
- 'title' => $go_pro_label,
333
- 'show' => true,
334
- 'class' => 'tab_label',
335
- 'data-tab' => 'addons',
336
- 'data-label' => $go_pro_label,
337
- 'name' => 'tabs',
338
- 'position' => 5,
339
- ),
340
- );
341
- return apply_filters( 'ast_menu_tab_options', $setting_data );
342
- }
343
-
344
- /*
345
- * callback for Shipment Tracking general settings data
346
- */
347
- public function get_ast_tab_general_settings_data() {
348
- $setting_data = array(
349
- 'tab_general_settings' => array(
350
- 'title' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
351
- 'show' => true,
352
- 'class' => 'inner_tab_label',
353
- 'data-tab' => 'general-settings',
354
- 'data-label' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
355
- 'name' => 'ast_generatral_settings_tabs',
356
- 'position' => 1,
357
- ),
358
- 'tab_order_status' => array(
359
- 'title' => __( 'Order Statuses', 'woo-advanced-shipment-tracking' ),
360
- 'show' => true,
361
- 'class' => 'inner_tab_label',
362
- 'data-tab' => 'order-status',
363
- 'data-label' => __( 'Order Statuses', 'woo-advanced-shipment-tracking' ),
364
- 'name' => 'ast_generatral_settings_tabs',
365
- 'position' => 1,
366
- ),
367
- );
368
- return apply_filters( 'ast_general_settings_tab_options', $setting_data );
369
- }
370
-
371
- /*
372
- * functions for add integrations options in AST settings
373
- */
374
- public function integrations_settings_options() {
375
-
376
- $form_data = array(
377
- 'enable_ordoro_integration' => array(
378
- 'type' => 'tgl_checkbox',
379
- 'title' => __( 'Enable the Ordoro tracking integration', 'ast-pro' ),
380
- 'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the Ordoro', 'ast-pro' ),
381
- 'img' => 'ordoro.png',
382
- 'show' => true,
383
- 'default' => 1,
384
- 'disabled' => true,
385
- 'class' => '',
386
- ),
387
- 'enable_cartrover_integration' => array(
388
- 'type' => 'tgl_checkbox',
389
- 'title' => __( 'Enable the CartRover tracking integration', 'ast-pro' ),
390
- 'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the CartRover', 'ast-pro' ),
391
- 'img' => 'cart-rover.png',
392
- 'show' => true,
393
- 'default' => 1,
394
- 'disabled' => true,
395
- 'class' => '',
396
- ),
397
- 'enable_shipstation_integration' => array(
398
- 'type' => 'tgl_checkbox',
399
- 'title' => __( 'Enable the ShipStation integration', 'woo-advanced-shipment-tracking' ),
400
- 'desc' => __( 'Adding tracking information to your orders shipped with ShipStation and automate your workflow', 'woo-advanced-shipment-tracking' ),
401
- 'img' => 'shipstation.png',
402
- 'show' => true,
403
- 'default' => 0,
404
- 'disabled' => true,
405
- 'class' => '',
406
- ),
407
- 'enable_wc_shipping_integration' => array(
408
- 'type' => 'tgl_checkbox',
409
- 'title' => __( 'Enable the WC Shipping integration', 'woo-advanced-shipment-tracking' ),
410
- 'desc' => __( 'Adding tracking information to your orders shipped with WooCommerce Shipping to the Shipment Tracking and automate your workflow', 'woo-advanced-shipment-tracking' ),
411
- 'img' => 'woo-shipping.png',
412
- 'show' => true,
413
- 'default' => 0,
414
- 'disabled' => true,
415
- 'class' => '',
416
- ),
417
- 'enable_ups_shipping_label_pluginhive' => array(
418
- 'type' => 'tgl_checkbox',
419
- 'title' => __( 'Enable the WooCommerce UPS Shipping Plugin with Print Label plugin integration', 'woo-advanced-shipment-tracking' ),
420
- 'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the WooCommerce UPS Shipping Plugin with Print Label plugin by PluginHive', 'woo-advanced-shipment-tracking' ),
421
- 'img' => 'woo-UPS-shipping.png',
422
- 'show' => true,
423
- 'default' => 0,
424
- 'disabled' => true,
425
- 'class' => '',
426
- ),
427
- 'enable_ordoro_integration' => array(
428
- 'type' => 'tgl_checkbox',
429
- 'title' => __( 'Enable the Ordoro tracking integration', 'woo-advanced-shipment-tracking' ),
430
- 'desc' => __( 'Adding tracking information to your orders when generating shipping labels using the Ordoro', 'woo-advanced-shipment-tracking' ),
431
- 'img' => 'ordoro.png',
432
- 'show' => true,
433
- 'default' => 0,
434
- 'disabled' => true,
435
- 'class' => '',
436
- ),
437
- 'enable_quickbooks_commerce_integration' => array(
438
- 'type' => 'tgl_checkbox',
439
- 'title' => __( 'Enable the QuickBooks Commerce (formerly TradeGecko) Integrations', 'woo-advanced-shipment-tracking' ),
440
- 'desc' => __( 'Adding tracking information to your orders shipped with QuickBooks Commerce and automate your workflow', 'woo-advanced-shipment-tracking' ),
441
- 'img' => 'quickbooks.png',
442
- 'show' => true,
443
- 'default' => 0,
444
- 'disabled' => true,
445
- 'class' => '',
446
- ),
447
- 'enable_readytoship_integration' => array(
448
- 'type' => 'tgl_checkbox',
449
- 'title' => __( 'Enable the ReadyToShip integration', 'woo-advanced-shipment-tracking' ),
450
- 'desc' => __( 'Adding tracking information to your orders shipped with ReadyToShip and automate your workflow', 'woo-advanced-shipment-tracking' ),
451
- 'img' => 'readytoship.png',
452
- 'show' => true,
453
- 'default' => 0,
454
- 'disabled' => true,
455
- 'class' => '',
456
- ),
457
- 'enable_royalmail_integration' => array(
458
- 'type' => 'tgl_checkbox',
459
- 'title' => __( 'Enable the Royal Mail Click & Drop integration', 'woo-advanced-shipment-tracking' ),
460
- 'desc' => __( 'Adding tracking information to your orders shipped with Royal Mail Click & Drop and automate your workflow', 'woo-advanced-shipment-tracking' ),
461
- 'img' => 'royal-mail.png',
462
- 'show' => true,
463
- 'default' => 0,
464
- 'disabled' => true,
465
- 'class' => '',
466
- ),
467
- 'enable_customcat_integration' => array(
468
- 'type' => 'tgl_checkbox',
469
- 'title' => __( 'Enable the CustomCat integration', 'woo-advanced-shipment-tracking' ),
470
- 'desc' => __( 'Adding tracking information to your orders shipped with CustomCat and automate your workflow', 'woo-advanced-shipment-tracking' ),
471
- 'img' => 'customcat.png',
472
- 'show' => true,
473
- 'default' => 0,
474
- 'disabled' => true,
475
- 'class' => '',
476
- ),
477
- 'enable_dear_inventory_integration' => array(
478
- 'type' => 'tgl_checkbox',
479
- 'title' => __( 'Enable the Dear Systems integration', 'woo-advanced-shipment-tracking' ),
480
- 'desc' => __( 'Adding tracking information to your orders shipped with Dear Systems and automate your workflow', 'woo-advanced-shipment-tracking' ),
481
- 'img' => 'dear-system.png',
482
- 'show' => true,
483
- 'default' => 0,
484
- 'disabled' => true,
485
- 'class' => '',
486
- ),
487
- 'enable_printify_integration' => array(
488
- 'type' => 'tgl_checkbox',
489
- 'title' => __( 'Enable the Printify integration', 'woo-advanced-shipment-tracking' ),
490
- 'desc' => __( 'Adding tracking information to your orders shipped with Printify and automate your workflow', 'woo-advanced-shipment-tracking' ),
491
- 'img' => 'printify.png',
492
- 'show' => true,
493
- 'default' => 0,
494
- 'disabled' => true,
495
- 'class' => '',
496
- ),
497
- 'enable_picqer_integration' => array(
498
- 'type' => 'tgl_checkbox',
499
- 'title' => __( 'Enable the Picqer integration', 'woo-advanced-shipment-tracking' ),
500
- 'desc' => __( 'Adding tracking information to your orders shipped with Picqer and automate your workflow', 'woo-advanced-shipment-tracking' ),
501
- 'img' => 'picqer.png',
502
- 'show' => true,
503
- 'default' => 0,
504
- 'disabled' => true,
505
- 'class' => '',
506
- ),
507
- 'enable_3plwinner_integration' => array(
508
- 'type' => 'tgl_checkbox',
509
- 'title' => __( 'Enable the 3plwinner integration', 'woo-advanced-shipment-tracking' ),
510
- 'desc' => __( 'Adding tracking information to your orders shipped with 3plwinner and automate your workflow', 'woo-advanced-shipment-tracking' ),
511
- 'img' => '3plwinner.png',
512
- 'show' => true,
513
- 'default' => 0,
514
- 'disabled' => true,
515
- 'class' => '',
516
- ),
517
- 'enable_dianxiaomi_integration' => array(
518
- 'type' => 'tgl_checkbox',
519
- 'title' => __( 'Enable the Dianxiaomi integration', 'woo-advanced-shipment-tracking' ),
520
- 'desc' => __( 'Adding tracking information to your orders shipped with Dianxiaomi and automate your workflow', 'woo-advanced-shipment-tracking' ),
521
- 'img' => 'dianxiaomi.png',
522
- 'show' => true,
523
- 'default' => 0,
524
- 'disabled' => true,
525
- 'class' => '',
526
- ),
527
- 'enable_eiz_integration' => array(
528
- 'type' => 'tgl_checkbox',
529
- 'title' => __( 'Enable the EIZ integration', 'woo-advanced-shipment-tracking' ),
530
- 'desc' => __( 'Adding tracking information to your orders shipped with EIZ and automate your workflow', 'woo-advanced-shipment-tracking' ),
531
- 'img' => 'eiz.png',
532
- 'show' => true,
533
- 'default' => 0,
534
- 'disabled' => true,
535
- 'class' => '',
536
- ),
537
- 'enable_ali2woo_integration' => array(
538
- 'type' => 'tgl_checkbox',
539
- 'title' => __( 'Enable the AliExpress Dropshipping integration', 'woo-advanced-shipment-tracking' ),
540
- 'desc' => __( 'Add Tracking Information in AST meta fields when you automatically sync tracking numbers from aliexpress orders', 'woo-advanced-shipment-tracking' ),
541
- 'img' => 'aliexpress.png',
542
- 'show' => true,
543
- 'default' => 0,
544
- 'disabled' => true,
545
- 'class' => '',
546
- ),
547
- 'enable_pdf_invoice_integration_ewout' => array(
548
- 'type' => 'tgl_checkbox',
549
- 'title' => __( 'PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin By Ewout Fernhout', 'woo-advanced-shipment-tracking' ),
550
- 'desc' => __( 'Add tracking information in invoice PDF generate by WooCommerce PDF Invoices & Packing Slips plugin By Ewout Fernhout', 'woo-advanced-shipment-tracking' ),
551
- 'img' => 'WooCommerce-PDF-Invoices-Packing-Slips.png',
552
- 'show' => true,
553
- 'default' => 0,
554
- 'disabled' => true,
555
- 'class' => '',
556
- ),
557
- 'enable_pdf_invoice_integration_bas' => array(
558
- 'type' => 'tgl_checkbox',
559
- 'title' => __( 'PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers', 'woo-advanced-shipment-tracking' ),
560
- 'desc' => __( 'Add tracking information in invoice PDF generate by WooCommerce PDF Invoices plugin By Bas Elbers', 'woo-advanced-shipment-tracking' ),
561
- 'img' => 'WooCommerce-PDF-Invoices.png',
562
- 'show' => true,
563
- 'default' => 0,
564
- 'disabled' => true,
565
- 'class' => '',
566
- ),
567
- );
568
-
569
- return $form_data;
570
- }
571
-
572
- /*
573
- * callback for HTML function for Shipment Tracking menu
574
- */
575
- public function get_html_menu_tab( $arrays, $tab_class = 'tab_input' ) {
576
-
577
- $tab = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'settings';
578
- $settings = isset( $_GET['settings'] ) ? sanitize_text_field( $_GET['settings'] ) : 'general-settings';
579
-
580
- foreach ( (array) $arrays as $id => $array ) {
581
- $checked = ( $tab == $array['data-tab'] || $settings == $array['data-tab'] ) ? 'checked' : '';
582
- if ( $array['show'] ) {
583
- if ( isset( $array['type'] ) && 'link' == $array['type'] ) {
584
- ?>
585
- <a class="menu_link" href="<?php esc_html_e( esc_url( $array['link'] ) ); ?>"><?php esc_html_e( $array['title'] ); ?></a>
586
- <?php
587
- } else {
588
- ?>
589
- <input class="<?php esc_html_e( $tab_class ); ?>" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $array['name'] ); ?>" type="radio" data-tab="<?php esc_html_e( $array['data-tab'] ); ?>" data-label="<?php esc_html_e( $array['data-label'] ); ?>" <?php esc_html_e( $checked ); ?>/>
590
- <label class="<?php esc_html_e( $array['class'] ); ?>" for="<?php esc_html_e( $id ); ?>"><?php esc_html_e( $array['title'] ); ?></label>
591
- <?php
592
- }
593
- }
594
- }
595
- }
596
-
597
- /*
598
- * get UL html of fields
599
- */
600
- public function get_html_ul( $arrays ) {
601
- ?>
602
- <ul class="settings_ul">
603
- <?php
604
- foreach ( (array) $arrays as $id => $array ) {
605
-
606
- if ( $array['show'] ) {
607
-
608
- if ( 'checkbox' == $array['type'] ) {
609
- $default = isset( $array['default'] ) ? $array['default'] : '';
610
- $checked = ( get_option( $id, $default ) ) ? 'checked' : '' ;
611
- ?>
612
- <li>
613
- <input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
614
- <input class="" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" <?php esc_html_e( $checked ); ?> value="1"/>
615
-
616
- <label class="setting_ul_checkbox_label"><?php esc_html_e( $array['title'] ); ?>
617
- <?php if ( isset( $array['tooltip'] ) ) { ?>
618
- <span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
619
- <?php } ?>
620
- </label>
621
- </li>
622
- <?php
623
- } else if ( 'tgl_checkbox' == $array['type'] ) {
624
- $default = isset( $array['default'] ) ? $array['default'] : '';
625
- $checked = ( get_option( $id, $default ) ) ? 'checked' : '' ;
626
- $tgl_class = isset( $array['tgl_color'] ) ? 'ast-tgl-btn-green' : '';
627
- $disabled = isset( $array['disabled'] ) && true == $array['disabled'] ? 'disabled' : '';
628
- ?>
629
- <li>
630
- <span class="ast-tgl-btn-parent">
631
- <input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
632
- <input class="ast-tgl ast-tgl-flat ast-settings-toggle" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" <?php esc_html_e( $checked ); ?> value="1" <?php esc_html_e( $disabled ); ?>/>
633
- <label class="ast-tgl-btn <?php esc_html_e( $tgl_class ); ?>" for="<?php esc_html_e( $id ); ?>"></label>
634
- </span>
635
-
636
- <div class="setting_ul_tgl_checkbox_label"><label><?php esc_html_e( $array['title'] ); ?></label>
637
- <?php if ( isset( $array['tooltip'] ) ) { ?>
638
- <span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
639
- <?php } ?>
640
- <?php if ( isset( $array['desc'] ) ) { ?>
641
- <div class="tgl_checkbox_desc"><?php esc_html_e( $array['desc'] ); ?></div>
642
- <?php } ?>
643
- </div>
644
-
645
- <?php if ( isset( $array['customize_link'] ) ) { ?>
646
- <a href="<?php esc_html_e( $array['customize_link'] ); ?>" class="button-primary btn_ts_transparent btn_large ts_customizer_btn">
647
- <?php esc_html_e( 'Customize', 'woo-advanced-shipment-tracking' ); ?>
648
- </a>
649
- <?php } ?>
650
- </li>
651
- <?php
652
- } else if ( 'radio' == $array['type'] ) {
653
- ?>
654
- <li class="settings_radio_li">
655
- <label><strong><?php esc_html_e( $array['title'] ); ?></strong>
656
- <?php if ( isset( $array['tooltip'] ) ) { ?>
657
- <span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
658
- <?php } ?>
659
- </label>
660
-
661
- <?php
662
-
663
- foreach ( (array) $array['options'] as $key => $val ) {
664
- $selected = ( get_option( $id, $array['default'] ) == (string) $key ) ? 'checked' : '' ;
665
- ?>
666
- <span class="radio_section">
667
- <label class="" for="<?php esc_html_e( $id ); ?>_<?php esc_html_e( $key ); ?>">
668
- <input type="radio" id="<?php esc_html_e( $id ); ?>_<?php esc_html_e( $key ); ?>" name="<?php esc_html_e( $id ); ?>" class="<?php esc_html_e( $id ); ?>" value="<?php esc_html_e( $key ); ?>" <?php esc_html_e( $selected ); ?> />
669
- <span class=""><?php esc_html_e( $val ); ?></span></br>
670
- </label>
671
- </span>
672
- <?php } ?>
673
- </li>
674
- <?php
675
- } else if ( 'multiple_select' == $array['type'] ) {
676
- ?>
677
- <li class="multiple_select_li">
678
- <label><?php esc_html_e( $array['title'] ); ?>
679
- <?php if ( isset( $array['tooltip'] ) ) { ?>
680
- <span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
681
- <?php } ?>
682
- </label>
683
- <div class="multiple_select_container">
684
- <select multiple class="wc-enhanced-select" name="<?php esc_html_e( $id ); ?>[]" id="<?php esc_html_e( $id ); ?>">
685
- <?php
686
- foreach ( (array) $array['options'] as $key => $val ) {
687
- $multi_checkbox_data = get_option( $id );
688
- $checked = isset( $multi_checkbox_data[ $key ] ) && 1 == $multi_checkbox_data[ $key ] ? 'selected' : '' ;
689
- ?>
690
- <option value="<?php echo esc_attr( $key ); ?>" <?php esc_html_e( $checked ); ?>><?php esc_html_e( $val['status'] ); ?></option>
691
- <?php
692
- }
693
- ?>
694
- </select>
695
- </div>
696
- </li>
697
- <?php
698
- } else if ( 'multiple_checkbox' == $array['type'] ) {
699
- ?>
700
- <li>
701
- <div class="multiple_checkbox_label">
702
- <label for=""><strong><?php esc_html_e( $array['title'] ); ?></strong></label>
703
- <span class="multiple_checkbox_description"><?php esc_html_e( $array['desc'] ); ?></span>
704
- </div >
705
- <div class="multiple_checkbox_parent">
706
- <?php
707
- $op = 1;
708
- foreach ( (array) $array['options'] as $key => $val ) {
709
- $multi_checkbox_data = get_option($id);
710
- $checked = isset( $multi_checkbox_data[ $key ] ) && 1 == $multi_checkbox_data[ $key ] ? 'checked' : '' ;
711
- ?>
712
- <span class="multiple_checkbox">
713
- <label class="" for="">
714
- <input type="hidden" name="<?php esc_html_e( $id ); ?>[<?php esc_html_e( $key ); ?>]" value="0"/>
715
- <input type="checkbox" name="<?php esc_html_e( $id ); ?>[<?php esc_html_e( $key ); ?>]" class="" <?php esc_html_e( $checked ); ?> value="1"/>
716
- <span class="multiple_label"><?php esc_html_e( $val['status'] ); ?></span>
717
- </br>
718
- </label>
719
- </span>
720
- <?php } ?>
721
- </div>
722
- </li>
723
- <?php
724
- } else if ( 'dropdown_tpage' == $array['type'] ) {
725
- ?>
726
- <li>
727
- <label class="left_label"><?php esc_html_e( $array['title'] ); ?>
728
- <?php if ( isset( $array['tooltip'] ) ) { ?>
729
- <span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
730
- <?php } ?>
731
- </label>
732
-
733
- <select class="select select2 tracking_page_select" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>">
734
- <?php
735
- foreach ( (array) $array['options'] as $page_id => $page_name ) {
736
- $selected = ( get_option( $id ) == $page_id ) ? 'selected' : '' ;
737
- ?>
738
- <option value="<?php esc_html_e( $page_id ); ?>" <?php esc_html_e( $selected ); ?>><?php esc_html_e( $page_name ); ?></option>
739
- <?php
740
- }
741
- $selected = ( 'other' == get_option( $id ) ) ? 'selected' : '';
742
- ?>
743
- <option <?php esc_html_e( $selected ); ?> value="other"><?php esc_html_e( 'Other', 'woo-advanced-shipment-tracking' ); ?></option>
744
- </select>
745
- <?php $style = ( 'other' != get_option( $id ) ) ? 'display:none;' : ''; ?>
746
- <fieldset style="<?php esc_html_e( $style ); ?>" class="trackship_other_page_fieldset">
747
- <input type="text" name="wc_ast_trackship_other_page" id="wc_ast_trackship_other_page" value="<?php esc_html_e( get_option('wc_ast_trackship_other_page') ); ?>">
748
- </fieldset>
749
-
750
- <p class="tracking_page_desc"><?php esc_html_e( 'add the [wcast-track-order] shortcode in the selected page.', 'woo-advanced-shipment-tracking' ); ?>
751
- <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/integration/" target="blank"><?php esc_html_e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a>
752
- </p>
753
-
754
- </li>
755
- <?php
756
- } else if ( 'button' == $array['type'] ) {
757
- ?>
758
- <li>
759
- <label class="left_label"><?php esc_html_e( $array['title'] ); ?>
760
- <?php if ( isset( $array['tooltip'] ) ) { ?>
761
- <span class="woocommerce-help-tip tipTip" title="<?php esc_html_e( $array['tooltip'] ); ?>"></span>
762
- <?php } ?>
763
- </label>
764
- <?php
765
- if ( isset( $array['customize_link'] ) ) {
766
- ?>
767
- <a href="<?php esc_html_e( $array['customize_link'] ); ?>" class="button-primary btn_ts_transparent btn_large ts_customizer_btn"><?php esc_html_e( 'Customize', 'woo-advanced-shipment-tracking' ); ?></a>
768
- <?php } ?>
769
- </li>
770
- <?php
771
- }
772
- }
773
- }
774
- ?>
775
- </ul>
776
- <?php
777
- }
778
-
779
- public function get_add_tracking_options() {
780
-
781
- $wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
782
-
783
- if ( 1 == $wc_ast_status_shipped ) {
784
- $completed_order_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
785
- } else {
786
- $completed_order_label = __( 'Completed', 'woocommerce' );
787
- }
788
-
789
- $all_order_status = wc_get_order_statuses();
790
-
791
- $default_order_status = array(
792
- 'wc-pending' => 'Pending payment',
793
- 'wc-processing' => 'Processing',
794
- 'wc-on-hold' => 'On hold',
795
- 'wc-completed' => 'Completed',
796
- 'wc-delivered' => 'Delivered',
797
- 'wc-cancelled' => 'Cancelled',
798
- 'wc-refunded' => 'Refunded',
799
- 'wc-failed' => 'Failed',
800
- 'wc-ready-pickup' => 'Ready for Pickup',
801
- 'wc-pickup' => 'Picked up',
802
- 'wc-partial-shipped' => 'Partially Shipped',
803
- 'wc-updated-tracking' => 'Updated Tracking',
804
- );
805
-
806
- foreach ( $default_order_status as $key => $value ) {
807
- unset($all_order_status[$key]);
808
- }
809
- $custom_order_status = $all_order_status;
810
-
811
- foreach ( $custom_order_status as $key => $value ) {
812
- unset($custom_order_status[$key]);
813
- $key = str_replace( 'wc-', '', $key);
814
- $custom_order_status[$key] = array(
815
- 'status' => __( $value, '' ),
816
- 'type' => 'custom',
817
- );
818
- }
819
-
820
- $actions_order_status = array(
821
- 'processing' => array(
822
- 'status' => __( 'Processing', 'woocommerce' ),
823
- 'type' => 'default',
824
- ),
825
- 'completed' => array(
826
- 'status' => $completed_order_label,
827
- 'type' => 'default',
828
- ),
829
- 'partial-shipped' => array(
830
- 'status' => __( 'Partially Shipped', '' ),
831
- 'type' => 'default',
832
- 'class' => 'partially_shipped_checkbox',
833
- ),
834
- 'updated-tracking' => array(
835
- 'status' => __( 'Updated Tracking', '' ),
836
- 'type' => 'default',
837
- 'class' => 'updated_tracking_checkbox',
838
- ),
839
- 'on-hold' => array(
840
- 'status' => __( 'On Hold', 'woocommerce' ),
841
- 'type' => 'default',
842
- ),
843
- 'cancelled' => array(
844
- 'status' => __( 'Cancelled', 'woocommerce' ),
845
- 'type' => 'default',
846
- ),
847
- 'refunded' => array(
848
- 'status' => __( 'Refunded', 'woocommerce' ),
849
- 'type' => 'default',
850
- ),
851
- 'failed' => array(
852
- 'status' => __( 'Failed', 'woocommerce' ),
853
- 'type' => 'default',
854
- ),
855
- );
856
-
857
- $action_order_status_array = array_merge( $actions_order_status, $custom_order_status );
858
-
859
- $form_data = array(
860
- 'wc_ast_default_mark_shipped' => array(
861
- 'type' => 'tgl_checkbox',
862
- 'title' => __( 'Set the "mark as shipped" option checked when adding tracking info to orders', 'woo-advanced-shipment-tracking' ),
863
- 'show' => true,
864
- 'class' => '',
865
- ),
866
- 'wc_ast_show_orders_actions' => array(
867
- 'type' => 'multiple_select',
868
- 'title' => __( 'Add Tracking Order action', 'woo-advanced-shipment-tracking' ),
869
- 'options' => $action_order_status_array,
870
- 'show' => true,
871
- 'class' => '',
872
- ),
873
- );
874
- return $form_data;
875
- }
876
-
877
- public function get_customer_view_options() {
878
-
879
- $wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
880
- $completed_order_label = ( 1 == $wc_ast_status_shipped ) ? __( 'Shipped', 'woo-advanced-shipment-tracking' ) : __( 'Completed', 'woocommerce' );
881
-
882
- $all_order_status = wc_get_order_statuses();
883
-
884
- $default_order_status = array(
885
- 'wc-pending' => 'Pending payment',
886
- 'wc-processing' => 'Processing',
887
- 'wc-on-hold' => 'On hold',
888
- 'wc-completed' => 'Completed',
889
- 'wc-delivered' => 'Delivered',
890
- 'wc-cancelled' => 'Cancelled',
891
- 'wc-refunded' => 'Refunded',
892
- 'wc-failed' => 'Failed',
893
- 'wc-ready-pickup' => 'Ready for Pickup',
894
- 'wc-pickup' => 'Picked up',
895
- 'wc-partial-shipped' => 'Partially Shipped',
896
- 'wc-updated-tracking' => 'Updated Tracking',
897
- );
898
-
899
- foreach ( $default_order_status as $key => $value ) {
900
- unset($all_order_status[$key]);
901
- }
902
-
903
- $custom_order_status = $all_order_status;
904
-
905
- foreach ( $custom_order_status as $key => $value ) {
906
- unset($custom_order_status[$key]);
907
- $key = str_replace( 'wc-', '', $key);
908
- $custom_order_status[$key] = array(
909
- 'status' => __( $value, '' ),
910
- 'type' => 'custom',
911
- );
912
- }
913
-
914
- $order_status = array(
915
- 'processing' => array(
916
- 'status' => __( 'Processing', 'woocommerce' ),
917
- 'type' => 'default',
918
- ),
919
- 'completed' => array(
920
- 'status' => $completed_order_label,
921
- 'type' => 'default',
922
- ),
923
- 'partial-shipped' => array(
924
- 'status' => __( 'Partially Shipped', '' ),
925
- 'type' => 'default',
926
- 'class' => 'partially_shipped_checkbox',
927
- ),
928
- 'updated-tracking' => array(
929
- 'status' => __( 'Updated Tracking', '' ),
930
- 'type' => 'default',
931
- 'class' => 'updated_tracking_checkbox',
932
- ),
933
- 'cancelled' => array(
934
- 'status' => __( 'Cancelled', 'woocommerce' ),
935
- 'type' => 'default',
936
- ),
937
- 'on-hold' => array(
938
- 'status' => __( 'On Hold', 'woocommerce' ),
939
- 'type' => 'default',
940
- ),
941
- 'refunded' => array(
942
- 'status' => __( 'Refunded', 'woocommerce' ),
943
- 'type' => 'default',
944
- ),
945
-
946
- 'failed' => array(
947
- 'status' => __( 'Failed', 'woocommerce' ),
948
- 'type' => 'default',
949
- ),
950
- 'show_in_customer_invoice' => array(
951
- 'status' => __( 'Customer Invoice', 'woocommerce' ),
952
- 'type' => 'default',
953
- ),
954
- 'show_in_customer_note' => array(
955
- 'status' => __( 'Customer note', 'woocommerce' ),
956
- 'type' => 'default',
957
- ),
958
- );
959
-
960
- $order_status_array = array_merge( $order_status, $custom_order_status );
961
-
962
- $form_data = array(
963
- 'wc_ast_unclude_tracking_info' => array(
964
- 'type' => 'multiple_select',
965
- 'title' => __( 'Order Emails Display', 'woo-advanced-shipment-tracking' ),
966
- 'options' => $order_status_array,
967
- 'show' => true,
968
- 'class' => '',
969
- ),
970
- 'display_track_in_my_account' => array(
971
- 'type' => 'tgl_checkbox',
972
- 'title' => __( 'Enable Track button in orders history (actions)', 'woo-advanced-shipment-tracking' ),
973
- 'show' => true,
974
- 'class' => '',
975
- ),
976
- 'open_track_in_new_tab' => array(
977
- 'type' => 'tgl_checkbox',
978
- 'title' => __( 'Open the Track Button link in a new tab', 'woo-advanced-shipment-tracking' ),
979
- 'show' => true,
980
- 'class' => '',
981
- ),
982
- );
983
- return $form_data;
984
- }
985
-
986
- public function get_shipment_tracking_api_options() {
987
- $form_data = array(
988
- 'wc_ast_api_date_format' => array(
989
- 'type' => 'radio',
990
- 'title' => __( 'API Date Format', 'woo-advanced-shipment-tracking' ),
991
- 'desc' => __( 'Choose for which Order status to display', 'woo-advanced-shipment-tracking' ),
992
- 'options' => array(
993
- 'd-m-Y' => 'DD/MM/YYYY',
994
- 'm-d-Y' => 'MM/DD/YYYY',
995
- ),
996
- 'default' => 'd-m-Y',
997
- 'show' => true,
998
- 'class' => '',
999
- ),
1000
- );
1001
- return $form_data;
1002
- }
1003
-
1004
- /*
1005
- * get updated tracking status settings array data
1006
- * return array
1007
- */
1008
- public function get_updated_tracking_data() {
1009
- $form_data = array(
1010
- 'wc_ast_status_updated_tracking' => array(
1011
- 'type' => 'checkbox',
1012
- 'title' => __( 'Enable custom order status “Updated Tracking"', '' ),
1013
- 'show' => true,
1014
- 'class' => '',
1015
- ),
1016
- 'wc_ast_status_updated_tracking_label_color' => array(
1017
- 'type' => 'color',
1018
- 'title' => __( 'Updated Tracking Label color', '' ),
1019
- 'class' => 'updated_tracking_status_label_color_th',
1020
- 'show' => true,
1021
- ),
1022
- 'wc_ast_status_updated_tracking_label_font_color' => array(
1023
- 'type' => 'dropdown',
1024
- 'title' => __( 'Updated Tracking Label font color', '' ),
1025
- 'options' => array(
1026
- '' =>__( 'Select', 'woocommerce' ),
1027
- '#fff' =>__( 'Light', '' ),
1028
- '#000' =>__( 'Dark', '' ),
1029
- ),
1030
- 'class' => 'updated_tracking_status_label_color_th',
1031
- 'show' => true,
1032
- ),
1033
- 'wcast_enable_updated_tracking_email' => array(
1034
- 'type' => 'checkbox',
1035
- 'title' => __( 'Enable the Updated Tracking order status email', '' ),
1036
- 'title_link'=> "<a class='settings_edit' href='" . ps_customizer()->get_customizer_url( 'custom_order_status_email' , 'updated_tracking' ) . "'>" . __( 'Edit', 'woocommerce' ) . '</a>',
1037
- 'class' => 'updated_tracking_status_label_color_th',
1038
- 'show' => true,
1039
- ),
1040
- );
1041
- return $form_data;
1042
- }
1043
-
1044
- /*
1045
- * get Partially Shipped array data
1046
- * return array
1047
- */
1048
- public function get_partial_shipped_data() {
1049
- $form_data = array(
1050
- 'wc_ast_status_partial_shipped' => array(
1051
- 'type' => 'checkbox',
1052
- 'title' => __( 'Enable custom order status “Partially Shipped"', '' ),
1053
- 'show' => true,
1054
- 'class' => '',
1055
- ),
1056
- 'wc_ast_status_partial_shipped_label_color' => array(
1057
- 'type' => 'color',
1058
- 'title' => __( 'Partially Shipped Label color', '' ),
1059
- 'class' => 'partial_shipped_status_label_color_th',
1060
- 'show' => true,
1061
- ),
1062
- 'wc_ast_status_partial_shipped_label_font_color' => array(
1063
- 'type' => 'dropdown',
1064
- 'title' => __( 'Partially Shipped Label font color', '' ),
1065
- 'options' => array(
1066
- '' =>__( 'Select', 'woocommerce' ),
1067
- '#fff' =>__( 'Light', '' ),
1068
- '#000' =>__( 'Dark', '' ),
1069
- ),
1070
- 'class' => 'partial_shipped_status_label_color_th',
1071
- 'show' => true,
1072
- ),
1073
- 'wcast_enable_partial_shipped_email' => array(
1074
- 'type' => 'checkbox',
1075
- 'title' => __( 'Enable the Partially Shipped order status email', '' ),
1076
- 'title_link'=> "<a class='settings_edit' href='" . ps_customizer()->get_customizer_url( 'custom_order_status_email', 'partially_shipped' ) . "'>" . __( 'Edit', 'woocommerce' ) . '</a>',
1077
- 'class' => 'partial_shipped_status_label_color_th',
1078
- 'show' => true,
1079
- ),
1080
- );
1081
- return $form_data;
1082
-
1083
- }
1084
-
1085
- /*
1086
- * get Order Status data
1087
- * return array
1088
- */
1089
- public function get_osm_data() {
1090
- $osm_data = array(
1091
- 'partial_shipped' => array(
1092
- 'id' => 'wc_ast_status_partial_shipped',
1093
- 'slug' => 'partial-shipped',
1094
- 'label' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
1095
- 'label_class' => 'wc-partially-shipped',
1096
- 'option_id' => 'woocommerce_customer_partial_shipped_order_settings',
1097
- 'edit_email'=> ps_customizer()->get_customizer_url( 'custom_order_status_email', 'partially_shipped' ),
1098
- 'label_color_field' => 'wc_ast_status_partial_shipped_label_color',
1099
- 'font_color_field' => 'wc_ast_status_partial_shipped_label_font_color',
1100
- 'email_field' => 'wcast_enable_partial_shipped_email',
1101
- ),
1102
- );
1103
-
1104
- $updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0);
1105
-
1106
- if ( true == $updated_tracking_status ) {
1107
- $updated_tracking_data = array(
1108
- 'updated_tracking' => array(
1109
- 'id' => 'wc_ast_status_updated_tracking',
1110
- 'slug' => 'updated-tracking',
1111
- 'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
1112
- 'label_class' => 'wc-updated-tracking',
1113
- 'option_id' => 'woocommerce_customer_updated_tracking_order_settings',
1114
- 'edit_email'=> ut_customizer()->get_customizer_url( 'custom_order_status_email', 'updated_tracking' ),
1115
- 'label_color_field' => 'wc_ast_status_updated_tracking_label_color',
1116
- 'font_color_field' => 'wc_ast_status_updated_tracking_label_font_color',
1117
- 'email_field' => 'wcast_enable_updated_tracking_email',
1118
- ),
1119
- );
1120
- $osm_data = array_merge( $osm_data, $updated_tracking_data );
1121
- }
1122
- return apply_filters( 'ast_osm_data', $osm_data );
1123
- }
1124
-
1125
- /*
1126
- * settings form save
1127
- */
1128
- public function wc_ast_settings_form_update_callback() {
1129
-
1130
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1131
- exit( 'You are not allowed' );
1132
- }
1133
-
1134
- if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form_nonce' ) ) {
1135
-
1136
- $data = $this->get_add_tracking_options();
1137
-
1138
- foreach ( $data as $key => $val ) {
1139
-
1140
- if ( isset( $val['type'] ) && 'multiple_select' == $val['type'] ) {
1141
-
1142
- foreach ( $val['options'] as $op_status => $op_data ) {
1143
- $_POST[ $key ][$op_status] = 0;
1144
- }
1145
-
1146
- if ( isset( $_POST[ $key ] ) ) {
1147
- foreach ( wc_clean( $_POST[ $key ] ) as $key1 => $status) {
1148
- $_POST[ $key ][$status] = 1;
1149
- }
1150
- }
1151
-
1152
- if ( isset( $_POST[ $key ] ) ) {
1153
- update_option( $key, wc_clean( $_POST[ $key ] ) );
1154
- }
1155
-
1156
-
1157
- } else {
1158
-
1159
- if ( isset( $_POST[ $key ] ) ) {
1160
- update_option( $key, wc_clean( $_POST[ $key ] ) );
1161
- }
1162
- }
1163
-
1164
- if ( isset( $val['type'] ) && 'inline_checkbox' == $val['type'] ) {
1165
- foreach ( (array) $val['checkbox_array'] as $key1 => $val1 ) {
1166
- if ( isset( $_POST[ $key1 ] ) ) {
1167
- update_option( $key1, wc_clean( $_POST[ $key1 ] ) );
1168
- }
1169
- }
1170
- }
1171
- }
1172
-
1173
- $data1 = $this->get_customer_view_options();
1174
-
1175
- foreach ( $data1 as $key => $val ) {
1176
-
1177
- if ( isset( $val['type'] ) && 'multiple_select' == $val['type'] ) {
1178
-
1179
- foreach ( $val['options'] as $op_status => $op_data ) {
1180
- $_POST[ $key ][$op_status] = 0;
1181
- }
1182
-
1183
- foreach ( wc_clean( $_POST[ $key ] ) as $key1 => $status) {
1184
- $_POST[ $key ][$status] = 1;
1185
- }
1186
-
1187
- update_option( $key, wc_clean( $_POST[ $key ] ) );
1188
-
1189
- } else {
1190
-
1191
- if ( isset( $_POST[ $key ] ) ) {
1192
- update_option( $key, wc_clean( $_POST[ $key ] ) );
1193
- }
1194
- }
1195
- }
1196
-
1197
- $data2 = $this->get_shipment_tracking_api_options();
1198
-
1199
- foreach ( $data2 as $key => $val ) {
1200
-
1201
- if ( isset( $_POST[ $key ] ) ) {
1202
- update_option( $key, wc_clean( $_POST[ $key ] ) );
1203
- }
1204
- }
1205
-
1206
- $wc_ast_status_shipped = isset( $_POST[ 'wc_ast_status_shipped' ] ) ? wc_clean( $_POST[ 'wc_ast_status_shipped' ] ) : '';
1207
- update_option( 'wc_ast_status_shipped', $wc_ast_status_shipped );
1208
-
1209
- $data = $this->get_partial_shipped_data();
1210
-
1211
- foreach ( $data as $key => $val ) {
1212
-
1213
- if ( 'wcast_enable_partial_shipped_email' == $key ) {
1214
- if ( isset( $_POST['wcast_enable_partial_shipped_email'] ) ) {
1215
-
1216
- if ( 1 == $_POST['wcast_enable_partial_shipped_email'] ) {
1217
- update_option( 'customizer_partial_shipped_order_settings_enabled', wc_clean( $_POST['wcast_enable_partial_shipped_email'] ) );
1218
- $enabled = 'yes';
1219
- } else {
1220
- update_option( 'customizer_partial_shipped_order_settings_enabled', '' );
1221
- $enabled = 'no';
1222
- }
1223
-
1224
- $wcast_enable_partial_shipped_email = get_option( 'woocommerce_customer_partial_shipped_order_settings' );
1225
- $wcast_enable_partial_shipped_email['enabled'] = $enabled;
1226
- update_option( 'woocommerce_customer_partial_shipped_order_settings', $wcast_enable_partial_shipped_email );
1227
- }
1228
- }
1229
-
1230
- if ( isset( $_POST[ $key ] ) ) {
1231
- update_option( $key, wc_clean( $_POST[ $key ] ) );
1232
- }
1233
- }
1234
-
1235
- $data = $this->get_updated_tracking_data();
1236
-
1237
- foreach ( $data as $key => $val ) {
1238
-
1239
- if ( 'wcast_enable_updated_tracking_email' == $key ) {
1240
- if ( isset( $_POST['wcast_enable_updated_tracking_email'] ) ) {
1241
- if ( 1 == $_POST['wcast_enable_updated_tracking_email'] ) {
1242
- update_option( 'customizer_updated_tracking_order_settings_enabled', wc_clean( $_POST['wcast_enable_updated_tracking_email'] ) );
1243
- $enabled = 'yes';
1244
- } else {
1245
- update_option( 'customizer_updated_tracking_order_settings_enabled', '' );
1246
- $enabled = 'no';
1247
- }
1248
-
1249
- $wcast_enable_updated_tracking_email = get_option( 'woocommerce_customer_updated_tracking_order_settings' );
1250
- $wcast_enable_updated_tracking_email['enabled'] = $enabled;
1251
- update_option( 'woocommerce_customer_updated_tracking_order_settings', $wcast_enable_updated_tracking_email );
1252
- }
1253
- }
1254
-
1255
- if ( isset( $_POST[ $key ] ) ) {
1256
- update_option( $key, wc_clean( $_POST[ $key ] ) );
1257
- }
1258
- }
1259
- }
1260
- }
1261
-
1262
- /*
1263
- * Change style of delivered order label
1264
- */
1265
- public function footer_function() {
1266
- if ( !is_plugin_active( 'woocommerce-order-status-manager/woocommerce-order-status-manager.php' ) ) {
1267
- $bg_color = get_option( 'wc_ast_status_label_color', '#59c889' );
1268
- $color = get_option( 'wc_ast_status_label_font_color', '#fff' );
1269
-
1270
- $ps_bg_color = get_option( 'wc_ast_status_partial_shipped_label_color', '#1e73be' );
1271
- $ps_color = get_option( 'wc_ast_status_partial_shipped_label_font_color', '#fff' );
1272
-
1273
- $ut_bg_color = get_option( 'wc_ast_status_updated_tracking_label_color', '#23a2dd' );
1274
- $ut_color = get_option( 'wc_ast_status_updated_tracking_label_font_color', '#fff' );
1275
- ?>
1276
- <style>
1277
- .order-status.status-delivered,.order-status-table .order-label.wc-delivered{
1278
- background: <?php esc_html_e( $bg_color ); ?>;
1279
- color: <?php esc_html_e( $color ); ?>;
1280
- }
1281
- .order-status.status-partial-shipped,.order-status-table .order-label.wc-partially-shipped{
1282
- background: <?php esc_html_e( $ps_bg_color ); ?>;
1283
- color: <?php esc_html_e( $ps_color ); ?>;
1284
- }
1285
- .order-status.status-updated-tracking,.order-status-table .order-label.wc-updated-tracking{
1286
- background: <?php esc_html_e( $ut_bg_color ); ?>;
1287
- color: <?php esc_html_e( $ut_color ); ?>;
1288
- }
1289
- </style>
1290
- <?php
1291
- }
1292
- }
1293
-
1294
- /*
1295
- * Ajax call for upload tracking details into order from bulk upload
1296
- */
1297
- public function upload_tracking_csv_fun() {
1298
-
1299
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1300
- exit( 'You are not allowed' );
1301
- }
1302
-
1303
- check_ajax_referer( 'nonce_csv_import', 'security' );
1304
-
1305
- $replace_tracking_info = isset( $_POST['replace_tracking_info'] ) ? wc_clean( $_POST['replace_tracking_info'] ) : '';
1306
- $date_format_for_csv_import = isset( $_POST['date_format_for_csv_import'] ) ? wc_clean( $_POST['date_format_for_csv_import'] ) : '';
1307
- update_option( 'date_format_for_csv_import', $date_format_for_csv_import );
1308
- $order_number = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
1309
-
1310
- $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
1311
- $order_id = $wast->get_formated_order_id( $order_number );
1312
-
1313
- $tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
1314
- $tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
1315
- $status_shipped = ( isset( $_POST['status_shipped'] ) ? wc_clean( $_POST['status_shipped'] ) : '' );
1316
- $date_shipped = ( isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '' );
1317
- $date_shipped = str_replace( '/', '-', $date_shipped );
1318
- $trackings = ( isset( $_POST['trackings'] ) ? wc_clean( $_POST['trackings'] ) : '' );
1319
-
1320
- $sku = isset( $_POST['sku'] ) ? wc_clean( $_POST['sku'] ) : '';
1321
- $qty = isset( $_POST['qty'] ) ? wc_clean( $_POST['qty'] ) : '';
1322
- $date_shipped = empty( $date_shipped ) ? gmdate('d-m-Y') : $date_shipped ;
1323
-
1324
- global $wpdb;
1325
-
1326
- $sql = $wpdb->prepare( "SELECT COUNT(*) FROM {$this->table} WHERE api_provider_name = %s", $tracking_provider );
1327
- $shippment_provider = $wpdb->get_var( $sql );
1328
-
1329
- if ( 0 == $shippment_provider ) {
1330
- $sql = "SELECT COUNT(*) FROM {$this->table} WHERE JSON_CONTAINS(api_provider_name, '[" . '"' . $tracking_provider . '"' . "]')";
1331
- $shippment_provider = $wpdb->get_var( $sql );
1332
- }
1333
-
1334
- if ( 0 == $shippment_provider ) {
1335
- $sql = $wpdb->prepare( "SELECT COUNT(*) FROM {$this->table} WHERE provider_name = %s", $tracking_provider );
1336
- $shippment_provider = $wpdb->get_var( $sql );
1337
- }
1338
-
1339
- $order = wc_get_order($order_id);
1340
-
1341
- if ( false === $order ) {
1342
- echo '<li class="invalid_order_id_error">Failed - Invalid Order Id - Order ' . esc_html( $order_number ) . '</li>';
1343
- exit;
1344
- }
1345
-
1346
- if ( 0 == $shippment_provider ) {
1347
- echo '<li class="shipping_provider_error">Failed - Invalid Shipping Provider - Order ' . esc_html( $order_number ) . '</li>';
1348
- exit;
1349
- }
1350
-
1351
- if ( empty( $tracking_number ) ) {
1352
- echo '<li class="tracking_number_error">Failed - Empty Tracking Number - Order ' . esc_html( $order_number ) . '</li>';
1353
- exit;
1354
- }
1355
-
1356
- if ( empty( $date_shipped ) ) {
1357
- echo '<li class="empty_date_shipped_error">Failed - Empty Date Shipped - Order ' . esc_html( $order_number ) . '</li>';
1358
- exit;
1359
- }
1360
-
1361
- if ( !$this->isDate( $date_shipped, $date_format_for_csv_import ) ) {
1362
- echo '<li class="invalid_date_shipped_error">Failed - Invalid Date Shipped - Order ' . esc_html( $order_number ) . '</li>';
1363
- exit;
1364
- }
1365
-
1366
- if ( 'm-d-Y' == $date_format_for_csv_import ) {
1367
- $date_array = explode( '-', $date_shipped );
1368
- $date_shipped = $date_array[1] . '-' . $date_array[0] . '-' . $date_array[2];
1369
- }
1370
-
1371
- $tracking_items = ast_get_tracking_items( $order_id );
1372
-
1373
- if ( 1 == $replace_tracking_info ) {
1374
-
1375
- $order = wc_get_order($order_id);
1376
-
1377
- if ( $order ) {
1378
-
1379
- if ( count( $tracking_items ) > 0 ) {
1380
- foreach ( $tracking_items as $key => $item ) {
1381
-
1382
- $tracking_exist = false;
1383
-
1384
- if ( class_exists( 'ast_woo_advanced_shipment_tracking_by_products' ) ) {
1385
- $item_tracking_number = $item['tracking_number'];
1386
- $tracking_exist = in_array( $item_tracking_number, array_column( $trackings, 'tracking_number' ) );
1387
- }
1388
-
1389
- if ( false == $tracking_exist ) {
1390
- unset( $tracking_items[ $key ] );
1391
- }
1392
- }
1393
- $wast->save_tracking_items( $order_id, $tracking_items );
1394
- }
1395
- }
1396
- }
1397
-
1398
- if ( $shippment_provider && $tracking_number && $date_shipped ) {
1399
-
1400
- $tracking_provider = $this->get_provider_slug_from_name( $tracking_provider );
1401
-
1402
- $args = array(
1403
- 'tracking_provider' => $tracking_provider,
1404
- 'tracking_number' => $tracking_number,
1405
- 'date_shipped' => $date_shipped,
1406
- 'status_shipped' => $status_shipped,
1407
- );
1408
-
1409
- if ( '' != $sku ) {
1410
-
1411
- $products_list = array();
1412
-
1413
- if ( $qty > 0 ) {
1414
-
1415
- $product_id = ast_get_product_id_by_sku( $sku );
1416
-
1417
- if ( $product_id ) {
1418
-
1419
- $product_data = (object) array (
1420
- 'product' => $product_id,
1421
- 'qty' => $qty,
1422
- );
1423
-
1424
- array_push( $products_list, $product_data );
1425
-
1426
- $product_data_array = array();
1427
- $product_data_array[ $product_id ] = $qty;
1428
-
1429
- $status_shipped = ( isset( $_POST['status_shipped'] ) ? wc_clean( $_POST['status_shipped'] ) : '' );
1430
-
1431
- $autocomplete_order_tpi = get_option( 'autocomplete_order_tpi', 0 );
1432
- if ( 1 == $autocomplete_order_tpi ) {
1433
- $status_shipped = $this->autocomplete_order_after_adding_all_products( $order_id, $status_shipped, $products_list );
1434
- $args['status_shipped'] = $status_shipped;
1435
- }
1436
-
1437
- if ( count( $tracking_items ) > 0 ) {
1438
- foreach ( $tracking_items as $key => $item ) {
1439
- if ( $item['tracking_number'] == $tracking_number ) {
1440
-
1441
- if ( isset( $item['products_list'] ) && !empty( $item['products_list'] ) ) {
1442
-
1443
- $product_list_array = array();
1444
- foreach ( $item['products_list'] as $item_product_list ) {
1445
- $product_list_array[ $item_product_list->product ] = $item_product_list->qty;
1446
- }
1447
-
1448
- $mearge_array = array();
1449
- foreach ( array_keys( $product_data_array + $product_list_array ) as $product) {
1450
- $mearge_array[ $product ] = (int) ( isset( $product_data_array[ $product ] ) ? $product_data_array[ $product ] : 0 ) + (int) ( isset( $product_list_array[$product] ) ? $product_list_array[ $product ] : 0 );
1451
- }
1452
-
1453
- foreach ( $mearge_array as $productid => $product_qty ) {
1454
- $merge_product_data[] = (object) array (
1455
- 'product' => $productid,
1456
- 'qty' => $product_qty,
1457
- );
1458
- }
1459
-
1460
- if ( !empty( $merge_product_data ) ) {
1461
- $tracking_items[ $key ]['products_list'] = $merge_product_data;
1462
- $wast->save_tracking_items( $order_id, $tracking_items );
1463
-
1464
- $order = new WC_Order( $order_id );
1465
-
1466
- do_action( 'update_order_status_after_adding_tracking', $status_shipped, $order );
1467
-
1468
- echo '<li class="success">Success - added tracking info to Order ' . esc_html( $order_number ) . '</li>';
1469
- exit;
1470
- }
1471
- }
1472
- }
1473
- }
1474
- }
1475
-
1476
- $product_args = array(
1477
- 'products_list' => $products_list,
1478
- );
1479
- }
1480
- }
1481
- $args = array_merge( $args, $product_args );
1482
- }
1483
-
1484
- $wast->add_tracking_item( $order_id, $args );
1485
-
1486
- echo '<li class="success">Success - added tracking info to Order ' . esc_html( $order_number ) . '</li>';
1487
- exit;
1488
- } else {
1489
- echo '<li class="invalid_tracking_data_error">Failed - Invalid Tracking Data</li>';
1490
- exit;
1491
- }
1492
- }
1493
-
1494
- /*
1495
- * Function for autocompleted order after adding all product through TPI
1496
- */
1497
- public function autocomplete_order_after_adding_all_products( $order_id, $status_shipped, $products_list ) {
1498
-
1499
- $order = wc_get_order( $order_id );
1500
- $items = $order->get_items();
1501
- $items_count = count( $items );
1502
-
1503
- $added_products = $this->get_all_added_product_list_with_qty( $order_id );
1504
-
1505
- $new_products = array();
1506
-
1507
- foreach ( $products_list as $in_list ) {
1508
-
1509
- if ( isset( $new_products[ $in_list->product ] ) ) {
1510
- $new_products[ $in_list->product ] = (int) $new_products[ $in_list->product ] + (int) $in_list->qty;
1511
- } else {
1512
- $new_products[ $in_list->product ] = $in_list->qty;
1513
- }
1514
- }
1515
-
1516
- $total_products_data = array();
1517
-
1518
- foreach ( array_keys( $new_products + $added_products ) as $products ) {
1519
- $total_products_data[ $products ] = ( isset( $new_products[ $products ] ) ? $new_products[ $products ] : 0 ) + ( isset( $added_products[ $products ] ) ? $added_products[ $products ] : 0 );
1520
- }
1521
-
1522
- $orders_products_data = array();
1523
- foreach ( $items as $item ) {
1524
- $checked = 0;
1525
- $qty = $item->get_quantity();
1526
-
1527
- if ( 1 == $items_count && 1 == $qty ) {
1528
- return $status_shipped;
1529
- }
1530
-
1531
- $variation_id = $item->get_variation_id();
1532
- $product_id = $item->get_product_id();
1533
-
1534
- if ( 0 != $variation_id ) {
1535
- $product_id = $variation_id;
1536
- }
1537
-
1538
- $orders_products_data[ $product_id ] = $qty;
1539
- }
1540
-
1541
- $change_status = 0;
1542
- $autocomplete_order = true;
1543
-
1544
- foreach ( $orders_products_data as $product_id => $qty ) {
1545
- if (isset( $total_products_data[ $product_id ] ) ) {
1546
- if ( $qty > $total_products_data[ $product_id ] ) {
1547
- $autocomplete_order = false;
1548
- $change_status = 1;
1549
- } else {
1550
- $change_status = 1;
1551
- }
1552
- } else {
1553
- $autocomplete_order = false;
1554
- }
1555
- }
1556
-
1557
- if ( $autocomplete_order && 1 == $change_status ) {
1558
- $status_shipped = 1;
1559
- }
1560
- return $status_shipped;
1561
- }
1562
-
1563
- /*
1564
- * Function for get already added product in TPI
1565
- */
1566
- public function get_all_added_product_list_with_qty( $order_id ) {
1567
-
1568
- $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
1569
- $tracking_items = ast_get_tracking_items( $order_id );
1570
-
1571
- $product_list = array();
1572
-
1573
- foreach ( $tracking_items as $tracking_item ) {
1574
- if ( isset( $tracking_item[ 'products_list' ] ) ) {
1575
- $product_list[] = $tracking_item[ 'products_list' ];
1576
- }
1577
- }
1578
-
1579
- $all_list = array();
1580
- foreach ( $product_list as $list ) {
1581
- foreach ( $list as $in_list ) {
1582
- if ( isset( $all_list[ $in_list->product ] ) ) {
1583
- $all_list[ $in_list->product ] = (int) $all_list[ $in_list->product ] + (int) $in_list->qty;
1584
- } else {
1585
- $all_list[ $in_list->product ] = $in_list->qty;
1586
- }
1587
- }
1588
- }
1589
-
1590
- return $all_list;
1591
- }
1592
-
1593
- /*
1594
- * Updated order status to Shipped(Completed), Partially Shipped, Updated Tracking
1595
- */
1596
- public function update_order_status_after_adding_tracking( $status_shipped, $order ) {
1597
-
1598
- $order_id = $order->get_id();
1599
-
1600
- if ( 1 == $status_shipped ) {
1601
-
1602
- $custom_shipped = apply_filters( 'check_for_custom_shipped', false, $status_shipped, $order );
1603
-
1604
- if ( !$custom_shipped ) {
1605
- if ( 'completed' == $order->get_status() ) {
1606
- do_action( 'send_order_to_trackship', $order_id );
1607
- } else {
1608
- $order->update_status( 'completed' );
1609
- }
1610
- }
1611
- }
1612
-
1613
- if ( 2 == $status_shipped ) {
1614
-
1615
- $wc_ast_status_partial_shipped = get_option( 'wc_ast_status_partial_shipped' );
1616
-
1617
- if ( $wc_ast_status_partial_shipped ) {
1618
-
1619
- $previous_order_status = $order->get_status();
1620
-
1621
- if ( 'partial-shipped' == $previous_order_status ) {
1622
- WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
1623
- }
1624
-
1625
- $order->update_status('partial-shipped');
1626
- do_action( 'send_order_to_trackship', $order_id );
1627
- }
1628
- }
1629
-
1630
- if ( 3 == $status_shipped ) {
1631
-
1632
- $wc_ast_status_updated_tracking = get_option( 'wc_ast_status_updated_tracking' );
1633
-
1634
- if ( $wc_ast_status_updated_tracking ) {
1635
-
1636
- $previous_order_status = $order->get_status();
1637
-
1638
- if ( 'updated-tracking' == $previous_order_status ) {
1639
- WC()->mailer()->emails['WC_Email_Customer_Updated_Tracking_Order']->trigger( $order_id, $order );
1640
- }
1641
-
1642
- $order->update_status( 'updated-tracking' );
1643
- do_action( 'send_order_to_trackship', $order_id );
1644
- }
1645
- }
1646
- }
1647
-
1648
- /**
1649
- * Check if the value is a valid date
1650
- *
1651
- * @param mixed $value
1652
- *
1653
- * @return boolean
1654
- */
1655
- public function isDate( $date, $format = 'd-m-Y' ) {
1656
- if ( !$date ) {
1657
- return false;
1658
- }
1659
-
1660
- $d = DateTime::createFromFormat( $format, $date );
1661
- // The Y ( 4 digits year ) returns TRUE for any integer with any number of digits so changing the comparison from == to === fixes the issue.
1662
- return $d && $d->format( $format ) === $date;
1663
- }
1664
-
1665
- /*
1666
- * Change completed order email title to Shipped Order
1667
- */
1668
- public function change_completed_woocommerce_email_title( $email_title, $email ) {
1669
- $wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
1670
- // Only on backend Woocommerce Settings "Emails" tab
1671
- if ( 1 == $wc_ast_status_shipped ) {
1672
- if ( isset( $_GET['page'] ) && 'wc-settings' == $_GET['page'] && isset( $_GET['tab'] ) && 'email' == $_GET['tab'] ) {
1673
- switch ( $email->id ) {
1674
- case 'customer_completed_order':
1675
- $email_title = __( 'Shipped Order', 'woo-advanced-shipment-tracking' );
1676
- break;
1677
- }
1678
- }
1679
- }
1680
- return $email_title;
1681
- }
1682
-
1683
- /*
1684
- * Add action button in order list to change order status from completed to delivered
1685
- */
1686
- public function add_delivered_order_status_actions_button( $actions, $order ) {
1687
-
1688
- wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
1689
- 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);
1690
- wp_localize_script(
1691
- 'woocommerce-advanced-shipment-tracking-js',
1692
- 'ast_orders_params',
1693
- array(
1694
- 'order_nonce' => wp_create_nonce( 'ast-order-list' ),
1695
- )
1696
- );
1697
-
1698
- $wc_ast_show_orders_actions = get_option( 'wc_ast_show_orders_actions' );
1699
- $order_array = array();
1700
-
1701
- foreach ( (array) $wc_ast_show_orders_actions as $order_status => $value ) {
1702
- if ( 1 == $value ) {
1703
- array_push($order_array, $order_status);
1704
- }
1705
- }
1706
-
1707
- if ( $order->get_shipping_method() != 'Local pickup' && $order->get_shipping_method() != 'Local Pickup' ) {
1708
- if ( $order->has_status( $order_array ) ) {
1709
- $actions['add_tracking'] = array(
1710
- 'url' => '#' . $order->get_id(),
1711
- 'name' => __( 'Add Tracking', 'woo-advanced-shipment-tracking' ),
1712
- 'icon' => '<i class="fa fa-map-marker">&nbsp;</i>',
1713
- 'action' => 'add_inline_tracking', // keep "view" class for a clean button CSS
1714
- );
1715
- }
1716
- }
1717
-
1718
- $wc_ast_status_shipped = get_option( 'wc_ast_status_shipped' );
1719
- if ( $wc_ast_status_shipped ) {
1720
- $actions['complete']['name'] = __( 'Mark as Shipped', 'woo-advanced-shipment-tracking' );
1721
- }
1722
-
1723
- return $actions;
1724
- }
1725
-
1726
- /*
1727
- * Get providers list html
1728
- */
1729
- public function get_provider_html( $default_shippment_providers, $status ) {
1730
- $WC_Countries = new WC_Countries();
1731
- $upload_dir = wp_upload_dir();
1732
- $ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
1733
- ?>
1734
- <div class="provider_list">
1735
- <?php
1736
- if ( $default_shippment_providers ) {
1737
- if ( 'custom' == $status ) {
1738
- ?>
1739
- </br><a href="javaScript:void(0);" class="button-primary btn_ast2 btn_large add_custom_provider" id="add-custom"><span class="dashicons dashicons-plus-alt"></span><?php esc_html_e( 'Add Custom Provider', 'woo-advanced-shipment-tracking' ); ?></a>
1740
- <?php } ?>
1741
- <div class="provider-grid-row grid-row">
1742
- <?php
1743
- foreach ( $default_shippment_providers as $d_s_p ) {
1744
- $provider_type = ( 1 == $d_s_p->shipping_default ) ? 'default_provider' : 'custom_provider';
1745
- ?>
1746
- <div class="grid-item hip-item">
1747
- <div class="grid-top">
1748
- <div class="grid-provider-img">
1749
- <?php
1750
- $custom_thumb_id = $d_s_p->custom_thumb_id;
1751
- if ( 1 == $d_s_p->shipping_default ) {
1752
- if ( 0 != $custom_thumb_id ) {
1753
- $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
1754
- $provider_image = $image_attributes[0];
1755
- } else {
1756
- $provider_image = $ast_directory . '' . sanitize_title( $d_s_p->provider_name ) . '.png?v=' . wc_advanced_shipment_tracking()->version;
1757
- }
1758
- echo '<img class="provider-thumb" src="' . esc_url( $provider_image ) . '">';
1759
- } else {
1760
- $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
1761
-
1762
- if ( 0 != $custom_thumb_id ) {
1763
- echo '<img class="provider-thumb" src="' . esc_url( $image_attributes[0] ) . '">';
1764
- } else {
1765
- echo '<img class="provider-thumb" src="' . esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ) . 'assets/images/icon-default.png">';
1766
- }
1767
- }
1768
- ?>
1769
- </div>
1770
- <div class="grid-provider-name">
1771
- <span class="provider_name">
1772
- <?php
1773
- esc_html_e( $d_s_p->provider_name );
1774
- $enable_edit = false;
1775
-
1776
- if ( isset( $d_s_p->custom_provider_name ) && '' != $d_s_p->custom_provider_name ) {
1777
- esc_html_e( ' (' . $d_s_p->custom_provider_name . ')' );
1778
- $enable_edit = true;
1779
- }
1780
-
1781
- if ( isset( $d_s_p->api_provider_name ) && '' != $d_s_p->api_provider_name ) {
1782
- $enable_edit = true;
1783
- if ( $this->isJSON( $d_s_p->api_provider_name ) && class_exists( 'ast_pro' ) ) {
1784
- $api_count = count( json_decode( $d_s_p->api_provider_name ) );
1785
- } else {
1786
- $api_count = 1;
1787
- }
1788
- $api_text = __( 'API aliases', 'woo-advanced-shipment-tracking' );
1789
- esc_html_e( ' (' . $api_count . ' ' . $api_text . ')' );
1790
- }
1791
- ?>
1792
- </span>
1793
- <span class="provider_country">
1794
- <?php
1795
- $search = array('(US)', '(UK)');
1796
- $replace = array('', '');
1797
-
1798
- if ( $d_s_p->shipping_country && 'Global' != $d_s_p->shipping_country ) {
1799
- esc_html_e( str_replace( $search, $replace, $WC_Countries->countries[ $d_s_p->shipping_country ] ) );
1800
- } elseif ( $d_s_p->shipping_country && 'Global' == $d_s_p->shipping_country ) {
1801
- esc_html_e( 'Global' );
1802
- }
1803
- ?>
1804
- </span>
1805
- </div>
1806
- <div class="grid-provider-settings">
1807
- <?php
1808
-
1809
- $edit_provider_class = ( $enable_edit ) ? apply_filters( 'edit_provider_class', 'edit_provider' ) : 'upgrade_to_ast_pro';
1810
-
1811
- if ( 0 == $d_s_p->shipping_default ) {
1812
- echo '<span class="dashicons dashicons-trash remove provider_actions_btn" data-pid="' . esc_html( $d_s_p->id ) . '"></span>';
1813
- }
1814
- ?>
1815
- <span class="dashicons dashicons-admin-generic <?php esc_html_e( $edit_provider_class ); ?> provider_actions_btn" data-provider="<?php esc_html_e( $provider_type ); ?>" data-pid="<?php esc_html_e( $d_s_p->id ); ?>"></span>
1816
- </div>
1817
- </div>
1818
- <div class="grid-bottom">
1819
- <div class="grid-provider-ts">
1820
- <?php
1821
- if ( 1 == $d_s_p->trackship_supported ) {
1822
- echo '<span class="dashicons dashicons-yes-alt"></span>';
1823
- } else {
1824
- echo '<span class="dashicons dashicons-dismiss"></span>';
1825
- }
1826
- ?>
1827
- <span>TrackShip</span>
1828
- </div>
1829
- <div class="grid-provider-enable">
1830
- <?php $checked = ( 1 == $d_s_p->display_in_order ) ? 'checked' : ''; ?>
1831
- <input class="ast-tgl ast-tgl-flat status_slide" id="list-switch-<?php esc_html_e( $d_s_p->id ); ?>" name="select_custom_provider[]" type="checkbox" <?php esc_html_e( $checked ); ?> value="<?php esc_html_e( $d_s_p->id ); ?>"/>
1832
- <label class="ast-tgl-btn" for="list-switch-<?php esc_html_e( $d_s_p->id ); ?>"></label>
1833
- </div>
1834
- </div>
1835
- </div>
1836
- <?php } ?>
1837
-
1838
- </div>
1839
- <?php
1840
- } else {
1841
- if ( 'custom' == $status ) {
1842
- ?>
1843
- <p class="provider_message">
1844
- <?php
1845
- /* translators: %s: replace with status */
1846
- printf( esc_html_e( 'You did not create any %s shipping providers yet.', 'woo-advanced-shipment-tracking' ), esc_html( $status ) );
1847
- ?>
1848
- </p>
1849
- <a href="javaScript:void(0);" class="button-primary btn_ast2 btn_large add_custom_provider" id="add-custom">
1850
- <span class="dashicons dashicons-plus-alt"></span>
1851
- <?php esc_html_e( 'Add Custom Provider', 'woo-advanced-shipment-tracking' ); ?>
1852
- </a>
1853
- <?php } else { ?>
1854
- <p class="provider_message">
1855
- <?php
1856
- /* translators: %s: replace with status */
1857
- printf( esc_html_e( "You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking' ), esc_html( $status ) );
1858
- ?>
1859
- </p>
1860
- <?php
1861
- }
1862
- }
1863
- ?>
1864
- </div>
1865
- <?php
1866
- }
1867
-
1868
- /*
1869
- * filter shipping providers by stats
1870
- */
1871
- public function filter_shipiing_provider_by_status_fun() {
1872
-
1873
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1874
- exit( 'You are not allowed' );
1875
- }
1876
-
1877
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
1878
-
1879
- $status = isset( $_POST['status'] ) ? wc_clean( $_POST['status'] ) : '';
1880
-
1881
- global $wpdb;
1882
-
1883
- if ( 'active' == $status ) {
1884
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
1885
- }
1886
-
1887
- if ( 'inactive' == $status ) {
1888
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 0" );
1889
- }
1890
-
1891
- if ( 'custom' == $status ) {
1892
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
1893
- }
1894
-
1895
- if ( 'all' == $status ) {
1896
- $status = '';
1897
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
1898
- }
1899
-
1900
- $html = $this->get_provider_html( $default_shippment_providers, $status );
1901
- exit;
1902
- }
1903
-
1904
- /*
1905
- * Check if valid json
1906
- */
1907
- public function isJSON( $string ) {
1908
- return is_string( $string ) && is_array( json_decode( $string, true ) ) && ( json_last_error() == JSON_ERROR_NONE ) ? true : false;
1909
- }
1910
-
1911
- /*
1912
- * Update shipment provider status
1913
- */
1914
- public function update_shipment_status_fun() {
1915
-
1916
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1917
- exit( 'You are not allowed' );
1918
- }
1919
-
1920
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
1921
-
1922
- $checked = isset( $_POST['checked'] ) ? wc_clean( $_POST['checked'] ) : '';
1923
- $id = isset( $_POST['id'] ) ? wc_clean( $_POST['id'] ) : '';
1924
-
1925
- global $wpdb;
1926
- $success = $wpdb->update( $this->table,
1927
- array(
1928
- 'display_in_order' => $checked,
1929
- ),
1930
- array( 'id' => $id )
1931
- );
1932
- exit;
1933
- }
1934
-
1935
- /**
1936
- * Update default provider function
1937
- */
1938
- public function update_default_provider_fun() {
1939
-
1940
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1941
- exit( 'You are not allowed' );
1942
- }
1943
-
1944
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
1945
-
1946
- $default_provider = isset( $_POST['default_provider'] ) ? wc_clean( $_POST['default_provider'] ) : '';
1947
- $checked = isset( $_POST['checked'] ) ? wc_clean( $_POST['checked'] ) : '';
1948
-
1949
- if ( 1 == $checked ) {
1950
- update_option( 'wc_ast_default_provider', $default_provider );
1951
- } else {
1952
- update_option( 'wc_ast_default_provider', '' );
1953
- }
1954
- exit;
1955
- }
1956
-
1957
- /**
1958
- * Create slug from title
1959
- */
1960
- public static function create_slug( $text ) {
1961
- // replace non letter or digits by -
1962
- $text = preg_replace('~[^\pL\d]+~u', '-', $text);
1963
-
1964
- // transliterate
1965
- $text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
1966
-
1967
- // remove unwanted characters
1968
- $text = preg_replace('~[^-\w]+~', '', $text);
1969
-
1970
- // trim
1971
- $text = trim($text, '-');
1972
-
1973
- // remove duplicate -
1974
- $text = preg_replace('~-+~', '-', $text);
1975
-
1976
- // lowercase
1977
- $text = strtolower($text);
1978
-
1979
- $text = 'cp-' . $text;
1980
-
1981
- if ( empty( $text ) ) {
1982
- return '';
1983
- }
1984
-
1985
- return $text;
1986
- }
1987
-
1988
- /*
1989
- * Delet provide by ajax
1990
- */
1991
- public function woocommerce_shipping_provider_delete() {
1992
-
1993
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1994
- exit( 'You are not allowed' );
1995
- }
1996
-
1997
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
1998
-
1999
- $provider_id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
2000
-
2001
- if ( ! empty( $provider_id ) ) {
2002
- global $wpdb;
2003
- $where = array(
2004
- 'id' => $provider_id,
2005
- 'shipping_default' => 0
2006
- );
2007
- $wpdb->delete( $this->table, $where );
2008
- }
2009
- $status = 'all';
2010
-
2011
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
2012
- $html = $this->get_provider_html( $default_shippment_providers, $status );
2013
- exit;
2014
- }
2015
-
2016
- /**
2017
- * Get shipping provider details fun
2018
- */
2019
- public function get_provider_details_fun() {
2020
-
2021
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
2022
- exit( 'You are not allowed' );
2023
- }
2024
-
2025
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
2026
-
2027
- $id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
2028
- global $wpdb;
2029
-
2030
- $shippment_provider = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $this->table WHERE id=%d", $id ) );
2031
-
2032
- if ( 0 != $shippment_provider[0]->custom_thumb_id ) {
2033
- $image = wp_get_attachment_url( $shippment_provider[0]->custom_thumb_id );
2034
- } else {
2035
- $image = null;
2036
- }
2037
-
2038
- $provider_name = $shippment_provider[0]->provider_name;
2039
- $custom_provider_name = $shippment_provider[0]->custom_provider_name;
2040
- $api_provider_name = $shippment_provider[0]->api_provider_name;
2041
-
2042
- echo json_encode( array('id' => $shippment_provider[0]->id,'provider_name' => $provider_name,'custom_provider_name' => $custom_provider_name,'api_provider_name' => $api_provider_name,'provider_url' => $shippment_provider[0]->provider_url,'shipping_country' => $shippment_provider[0]->shipping_country,'custom_thumb_id' => $shippment_provider[0]->custom_thumb_id,'image' => $image) );
2043
- exit;
2044
- }
2045
-
2046
- /**
2047
- * Update custom shipping provider and returen html of it
2048
- */
2049
- public function update_custom_shipment_provider_fun() {
2050
-
2051
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
2052
- exit( 'You are not allowed' );
2053
- }
2054
-
2055
- check_ajax_referer( 'nonce_edit_shipping_provider', 'nonce_edit_shipping_provider' );
2056
-
2057
- global $wpdb;
2058
-
2059
- $provider_id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
2060
- $tracking_url = isset( $_POST['tracking_url'] ) ? wc_clean( $_POST['tracking_url'] ) : '';
2061
- $thumb_id = isset( $_POST['thumb_id'] ) ? wc_clean( $_POST['thumb_id'] ) : '';
2062
- $shipping_provider = isset( $_POST['shipping_provider'] ) ? wc_clean( $_POST['shipping_provider'] ) : '';
2063
- $shipping_display_name = isset( $_POST['shipping_display_name'] ) ? wc_clean( $_POST['shipping_display_name'] ) : '';
2064
- $shipping_country = isset( $_POST['shipping_country'] ) ? wc_clean( $_POST['shipping_country'] ) : '';
2065
- $api_provider_name = isset( $_POST['api_provider_name'] ) ? wc_clean( $_POST['api_provider_name'] ) : '';
2066
- $provider_type = isset( $_POST['provider_type'] ) ? wc_clean( $_POST['provider_type'] ) : '';
2067
-
2068
- if ( [] == array_filter( $api_provider_name ) ) {
2069
- $api_provider_name = null;
2070
- } else {
2071
- $api_provider_name = wc_clean( json_encode( $api_provider_name ) );
2072
- }
2073
-
2074
- if ( 'default_provider' == $provider_type ) {
2075
- $data_array = array(
2076
- 'custom_provider_name' => $shipping_display_name,
2077
- 'api_provider_name' => $api_provider_name,
2078
- 'custom_thumb_id' => $thumb_id,
2079
- );
2080
- } else {
2081
- $data_array = array(
2082
- 'shipping_country' => $shipping_country,
2083
- 'provider_name' => $shipping_provider,
2084
- 'custom_provider_name' => $shipping_display_name,
2085
- 'ts_slug' => $shipping_provider,
2086
- 'custom_thumb_id' => $thumb_id,
2087
- 'provider_url' => $tracking_url
2088
- );
2089
- }
2090
-
2091
- $where_array = array(
2092
- 'id' => $provider_id,
2093
- );
2094
- $wpdb->update( $this->table, $data_array, $where_array );
2095
- $status = 'active';
2096
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
2097
- $html = $this->get_provider_html( $default_shippment_providers, $status );
2098
- exit;
2099
- }
2100
-
2101
- /**
2102
- * Reset default provider
2103
- */
2104
- public function reset_default_provider_fun() {
2105
-
2106
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
2107
- exit( 'You are not allowed' );
2108
- }
2109
-
2110
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
2111
-
2112
- global $wpdb;
2113
-
2114
- $provider_id = isset( $_POST['provider_id'] ) ? wc_clean( $_POST['provider_id'] ) : '';
2115
-
2116
- $data_array = array(
2117
- 'custom_provider_name' => null,
2118
- 'custom_thumb_id' => null,
2119
- 'api_provider_name' => null,
2120
- );
2121
-
2122
- $where_array = array(
2123
- 'id' => $provider_id,
2124
- );
2125
-
2126
- $wpdb->update( $this->table, $data_array, $where_array );
2127
- $status = 'active';
2128
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
2129
- $html = $this->get_provider_html( $default_shippment_providers, $status );
2130
- exit;
2131
- }
2132
-
2133
- /**
2134
- * Update bulk status of providers to active
2135
- */
2136
- public function update_provider_status_fun() {
2137
-
2138
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
2139
- exit( 'You are not allowed' );
2140
- }
2141
-
2142
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
2143
-
2144
- global $wpdb;
2145
-
2146
- $status = isset( $_POST['status'] ) ? wc_clean( $_POST['status'] ) : '';
2147
-
2148
- $data_array = array(
2149
- 'display_in_order' => $status,
2150
- );
2151
-
2152
- $display_in_order = ( 1 == $status ) ? 0 : 1;
2153
-
2154
- $where_array = array(
2155
- 'display_in_order' => $display_in_order,
2156
- );
2157
-
2158
- $wpdb->update( $this->table, $data_array, $where_array );
2159
- $status = 'all';
2160
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
2161
- $html = $this->get_provider_html( $default_shippment_providers, $status );
2162
- exit;
2163
- }
2164
-
2165
- /**
2166
- * Add bulk filter for Shipping provider in orders list
2167
- *
2168
- * @since 2.4
2169
- */
2170
- public function filter_orders_by_shipping_provider() {
2171
- global $typenow, $wpdb;
2172
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
2173
-
2174
- if ( 'shop_order' === $typenow ) {
2175
- ?>
2176
- <select name="_shop_order_shipping_provider" id="dropdown_shop_order_shipping_provider">
2177
- <option value=""><?php esc_html_e( 'Filter by shipping provider', 'woo-advanced-shipment-tracking' ); ?></option>
2178
- <?php foreach ( $default_shippment_providers as $provider ) : ?>
2179
- <option value="<?php echo esc_attr( $provider->ts_slug ); ?>" <?php echo esc_attr( isset( $_GET['_shop_order_shipping_provider'] ) ? selected( $provider->ts_slug, wc_clean( $_GET['_shop_order_shipping_provider'] ), false ) : '' ); ?>>
2180
- <?php printf( '%1$s', esc_html( $provider->provider_name ) ); ?>
2181
- </option>
2182
- <?php endforeach; ?>
2183
- </select>
2184
- <?php
2185
- }
2186
- }
2187
-
2188
- /**
2189
- * Process bulk filter action for shipment status orders
2190
- *
2191
- * @since 3.0.0
2192
- * @param array $vars query vars without filtering
2193
- * @return array $vars query vars with (maybe) filtering
2194
- */
2195
- public function filter_orders_by_shipping_provider_query( $vars ) {
2196
- global $typenow;
2197
- if ( 'shop_order' === $typenow && isset( $_GET['_shop_order_shipping_provider'] ) && '' != $_GET['_shop_order_shipping_provider'] ) {
2198
- $vars['meta_query'][] = array(
2199
- 'key' => '_wc_shipment_tracking_items',
2200
- 'value' => wc_clean( $_GET['_shop_order_shipping_provider'] ),
2201
- 'compare' => 'LIKE'
2202
- );
2203
- }
2204
-
2205
- return $vars;
2206
- }
2207
-
2208
- /**
2209
- * Process bulk filter action for shipment status orders
2210
- *
2211
- * @since 2.7.4
2212
- * @param array $vars query vars without filtering
2213
- * @return array $vars query vars with (maybe) filtering
2214
- */
2215
- public function filter_orders_by_tracking_number_query( $search_fields ) {
2216
- $search_fields[] = '_wc_shipment_tracking_items';
2217
- return $search_fields;
2218
- }
2219
-
2220
- /*
2221
- * get tracking provider slug (ts_slug) from database
2222
- *
2223
- * return provider slug
2224
- */
2225
- public function get_provider_slug_from_name( $tracking_provider_name ) {
2226
-
2227
- global $wpdb;
2228
-
2229
- $tracking_provider = $wpdb->get_var( $wpdb->prepare( "SELECT ts_slug FROM $this->table WHERE api_provider_name = %s", $tracking_provider_name ) );
2230
-
2231
- if ( !$tracking_provider ) {
2232
- $query = "SELECT ts_slug FROM $this->table WHERE JSON_CONTAINS(api_provider_name, '[" . '"' . $tracking_provider_name . '"' . "]')";
2233
- $tracking_provider = $wpdb->get_var( $query );
2234
- }
2235
-
2236
- if ( !$tracking_provider ) {
2237
- $tracking_provider = $wpdb->get_var( $wpdb->prepare( "SELECT ts_slug FROM $this->table WHERE provider_name = %s", $tracking_provider_name ) );
2238
- }
2239
-
2240
- if ( !$tracking_provider ) {
2241
- $tracking_provider = $tracking_provider_name ;
2242
- }
2243
-
2244
- return $tracking_provider;
2245
- }
2246
-
2247
- /*
2248
- * function for add more provider btn
2249
- */
2250
- public function add_more_api_provider() {
2251
- $tooltip_text = class_exists( 'ast_pro' ) ? __( 'Add API Name alias', 'woo-advanced-shipment-tracking' ) : __( 'Multiple API names mapping is a pro features', 'woo-advanced-shipment-tracking' ) ;
2252
- ?>
2253
- <span class="dashicons dashicons-insert woocommerce-help-tip tipTip add_more_api_provider" title="<?php esc_html_e( $tooltip_text ); ?>"></span>
2254
- <?php
2255
- }
2256
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-install.php DELETED
@@ -1,419 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_Advanced_Shipment_Tracking_Install {
7
-
8
- /**
9
- * Instance of this class.
10
- *
11
- * @var object Class Instance
12
- */
13
- private static $instance;
14
-
15
- /**
16
- * Initialize the main plugin function
17
- */
18
- public function __construct() {
19
-
20
- global $wpdb;
21
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
22
-
23
- if ( is_multisite() ) {
24
-
25
- if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
26
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
27
- }
28
-
29
- if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
30
- $main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
31
- $this->table = $main_blog_prefix . 'woo_shippment_provider';
32
- } else {
33
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
34
- }
35
- } else {
36
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
37
- }
38
-
39
- $this->init();
40
- }
41
-
42
- /**
43
- * Get the class instance
44
- *
45
- * @return WC_Advanced_Shipment_Tracking_Install
46
- */
47
- public static function get_instance() {
48
-
49
- if ( null === self::$instance ) {
50
- self::$instance = new self();
51
- }
52
-
53
- return self::$instance;
54
- }
55
-
56
- /*
57
- * init from parent mail class
58
- */
59
- public function init() {
60
- add_action( 'init', array( $this, 'update_database_check' ) );
61
- add_action( 'update_ts_shipment_status_order_mete', array( $this, 'update_ts_shipment_status_order_mete' ) );
62
- add_action( 'wp_ajax_update_ts_shipment_status_order_mete', array( $this, 'update_ts_shipment_status_order_mete' ) );
63
- }
64
-
65
- /**
66
- * Define plugin activation function
67
- *
68
- * Create Table
69
- *
70
- * Insert data
71
- *
72
- *
73
- */
74
- public function woo_shippment_tracking_install() {
75
-
76
- // Add transient to trigger redirect.
77
- set_transient( '_ast_activation_redirect', 1, 30 );
78
-
79
- $this->create_shippment_tracking_table();
80
- $this->update_shipping_providers();
81
-
82
- $wc_ast_default_mark_shipped = get_option( 'wc_ast_default_mark_shipped' );
83
- if ( '' == $wc_ast_default_mark_shipped ) {
84
- update_option( 'wc_ast_default_mark_shipped', 1 );
85
- }
86
-
87
- $wc_ast_unclude_tracking_info = get_option( 'wc_ast_unclude_tracking_info' );
88
- if ( empty( $wc_ast_unclude_tracking_info ) ) {
89
- $data_array = array( 'completed' => 1, 'partial-shipped' => 1, 'updated-tracking' => 1 );
90
- update_option( 'wc_ast_unclude_tracking_info', $data_array );
91
- }
92
-
93
- $wc_ast_show_orders_actions = get_option( 'wc_ast_show_orders_actions' );
94
- if ( empty( $wc_ast_show_orders_actions ) ) {
95
- $data_array = array( 'processing' => 1, 'completed' => 1, 'partial-shipped' => 1, 'updated-tracking' => 1 );
96
- update_option( 'wc_ast_show_orders_actions', $data_array );
97
- }
98
- update_option( 'wc_advanced_shipment_tracking', '3.21' );
99
- }
100
-
101
- /*
102
- * function for create shipping provider table
103
- */
104
- public function create_shippment_tracking_table() {
105
-
106
- global $wpdb;
107
-
108
- if ( !$wpdb->query( $wpdb->prepare( 'show tables like %s', $this->table ) ) ) {
109
- $charset_collate = $wpdb->get_charset_collate();
110
- $sql = "CREATE TABLE $this->table (
111
- id mediumint(9) NOT NULL AUTO_INCREMENT,
112
- provider_name varchar(500) DEFAULT '' NOT NULL,
113
- api_provider_name text NULL DEFAULT NULL,
114
- custom_provider_name text NULL DEFAULT NULL,
115
- ts_slug text NULL DEFAULT NULL,
116
- provider_url varchar(500) DEFAULT '' NULL,
117
- shipping_country varchar(45) DEFAULT '' NULL,
118
- shipping_default tinyint(4) NULL DEFAULT '0',
119
- custom_thumb_id int(11) NOT NULL DEFAULT '0',
120
- display_in_order tinyint(4) NOT NULL DEFAULT '1',
121
- trackship_supported int(11) NOT NULL DEFAULT '0',
122
- sort_order int(11) NOT NULL DEFAULT '0',
123
- PRIMARY KEY (id)
124
- ) $charset_collate;";
125
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
126
- dbDelta( $sql );
127
- } else {
128
- $this->check_all_column_exist();
129
- }
130
- }
131
-
132
- /*
133
- * check if all column exist in shipping provider database
134
- */
135
- public function check_all_column_exist() {
136
-
137
- global $wpdb;
138
- $results = $wpdb->get_row( "SELECT * FROM $this->table LIMIT 1", ARRAY_A );
139
- $db_update_need = false;
140
-
141
- if ( !array_key_exists( 'provider_name', $results ) ) {
142
- $wpdb->query( "ALTER TABLE $this->table ADD provider_name varchar(500) DEFAULT '' NOT NULL AFTER id" );
143
- $db_update_need = true;
144
- }
145
-
146
- if ( !array_key_exists( 'api_provider_name', $results ) ) {
147
- $wpdb->query( "ALTER TABLE $this->table ADD api_provider_name text NULL DEFAULT NULL AFTER provider_name" );
148
- $db_update_need = true;
149
- }
150
-
151
- if ( !array_key_exists( 'custom_provider_name', $results ) ) {
152
- $wpdb->query( "ALTER TABLE $this->table ADD custom_provider_name text NULL DEFAULT NULL AFTER api_provider_name" );
153
- $db_update_need = true;
154
- }
155
-
156
- if ( !array_key_exists( 'ts_slug', $results ) ) {
157
- $wpdb->query( "ALTER TABLE $this->table ADD ts_slug text NULL DEFAULT NULL AFTER custom_provider_name" );
158
- $db_update_need = true;
159
- }
160
-
161
- if ( !array_key_exists( 'provider_url', $results ) ) {
162
- $wpdb->query( "ALTER TABLE $this->table ADD provider_url varchar(500) DEFAULT '' NULL AFTER ts_slug" );
163
- $db_update_need = true;
164
- }
165
-
166
- if ( !array_key_exists( 'shipping_country', $results ) ) {
167
- $wpdb->query( "ALTER TABLE $this->table ADD shipping_country varchar(45) DEFAULT '' NULL AFTER provider_url" );
168
- $db_update_need = true;
169
- }
170
-
171
- if ( !array_key_exists( 'shipping_default', $results ) ) {
172
- $wpdb->query( "ALTER TABLE $this->table ADD shipping_default tinyint(4) NULL DEFAULT '0' AFTER shipping_country" );
173
- $db_update_need = true;
174
- }
175
-
176
- if ( !array_key_exists( 'custom_thumb_id', $results ) ) {
177
- $wpdb->query( "ALTER TABLE $this->table ADD custom_thumb_id int(11) NOT NULL DEFAULT '0' AFTER shipping_default" );
178
- $db_update_need = true;
179
- }
180
-
181
- if ( !array_key_exists( 'display_in_order', $results ) ) {
182
- $wpdb->query( "ALTER TABLE $this->table ADD display_in_order tinyint(4) NOT NULL DEFAULT '1' AFTER custom_thumb_id" );
183
- $db_update_need = true;
184
- }
185
-
186
- if ( !array_key_exists( 'trackship_supported', $results ) ) {
187
- $wpdb->query( "ALTER TABLE $this->table ADD trackship_supported int(11) NOT NULL DEFAULT '0' AFTER display_in_order" );
188
- $db_update_need = true;
189
- }
190
-
191
- if ( !array_key_exists( 'sort_order', $results ) ) {
192
- $wpdb->query( "ALTER TABLE $this->table ADD sort_order int(11) NOT NULL DEFAULT '0' AFTER trackship_supported" );
193
- $db_update_need = true;
194
- }
195
-
196
- if ( $db_update_need ) {
197
- $this->update_shipping_providers();
198
- }
199
- }
200
-
201
- /*
202
- * database update
203
- */
204
- public function update_database_check() {
205
- if ( is_admin() ) {
206
-
207
- if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.14', '<' ) ) {
208
- $this->add_provider_image_in_upload_directory();
209
- update_option( 'wc_advanced_shipment_tracking', '3.14');
210
- }
211
-
212
- if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.20', '<' ) ) {
213
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 1 ), '' );
214
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 2 ), '' );
215
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 3 ), '' );
216
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 4 ), '' );
217
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 5 ), '' );
218
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 6 ), '' );
219
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 7 ), '' );
220
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 8 ), '' );
221
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 9 ), '' );
222
- as_schedule_single_action( time(), 'update_ts_shipment_status_order_mete' , array( 'order_page' => 10 ), '' );
223
- update_option( 'wc_advanced_shipment_tracking', '3.20');
224
- }
225
-
226
- if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.21', '<') ) {
227
- $this->check_all_column_exist();
228
- update_option( 'wc_advanced_shipment_tracking', '3.21');
229
- }
230
- if ( version_compare( get_option( 'wc_advanced_shipment_tracking' ), '3.22', '<' ) ) {
231
-
232
- $upload_dir = wp_upload_dir();
233
- $ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
234
-
235
- $tracking_items[] = array(
236
- 'tracking_provider' => 'usps',
237
- 'custom_tracking_provider' => '',
238
- 'formatted_tracking_provider' => 'USPS',
239
- 'tracking_provider_image' => $ast_directory . 'usps.png',
240
- 'formatted_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
241
- 'ast_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
242
- 'tracking_number' => '112123113',
243
- 'date_shipped' => strtotime( gmdate( 'Y-m-d' ) ),
244
- );
245
-
246
- update_post_meta( 1, '_wc_shipment_tracking_items', $tracking_items );
247
- update_option( 'wc_advanced_shipment_tracking', '3.22');
248
- }
249
- }
250
- }
251
-
252
- /*
253
- * function for update order meta from shipment_status to ts_shipment_status for filter order by shipment status
254
- */
255
- public function update_ts_shipment_status_order_mete( $page ) {
256
-
257
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
258
- if ( !$wc_ast_api_key ) {
259
- return;
260
- }
261
-
262
- $args = array(
263
- 'limit' => 100,
264
- 'paged' => $page,
265
- 'return' => 'ids',
266
- );
267
-
268
- $orders = wc_get_orders( $args );
269
-
270
- foreach ( $orders as $order_id ) {
271
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true );
272
- if ( !empty( $shipment_status ) ) {
273
- foreach ( $shipment_status as $key => $shipment ) {
274
- $ts_shipment_status[ $key ][ 'status' ] = $shipment[ 'status' ];
275
- update_post_meta( $order_id, 'ts_shipment_status', $ts_shipment_status );
276
- }
277
- }
278
- }
279
- }
280
-
281
- /**
282
- * Function for add provider image in uploads directory under wp-content/uploads/ast-shipping-providers
283
- */
284
- public function add_provider_image_in_upload_directory() {
285
- $upload_dir = wp_upload_dir();
286
- $ast_directory = $upload_dir['basedir'] . '/ast-shipping-providers';
287
-
288
- if ( !is_dir( $ast_directory ) ) {
289
- wp_mkdir_p( $ast_directory );
290
- }
291
-
292
- $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
293
- $resp = wp_remote_get( $url );
294
-
295
- if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
296
- $providers = json_decode( $resp['body'], true );
297
- foreach ( $providers as $provider ) {
298
- $provider_name = $provider['shipping_provider'];
299
- $img_url = $provider['img_url'];
300
- $img_slug = sanitize_title($provider_name);
301
- $img = $ast_directory . '/' . $img_slug . '.png';
302
- $ch = curl_init();
303
-
304
- curl_setopt($ch, CURLOPT_HEADER, 0);
305
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
306
- curl_setopt($ch, CURLOPT_URL, $img_url);
307
-
308
- $data = curl_exec($ch);
309
- curl_close($ch);
310
- file_put_contents($img, $data);
311
- }
312
- }
313
- }
314
-
315
- /**
316
- * Get providers list from trackship and update providers in database
317
- */
318
- public function update_shipping_providers() {
319
- global $wpdb;
320
- $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
321
- $resp = wp_remote_get( $url );
322
-
323
- $upload_dir = wp_upload_dir();
324
- $ast_directory = $upload_dir['basedir'] . '/ast-shipping-providers';
325
-
326
- if ( !is_dir( $ast_directory ) ) {
327
- wp_mkdir_p( $ast_directory );
328
- }
329
-
330
- if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
331
-
332
- $providers = json_decode( $resp['body'], true );
333
-
334
- $providers_name = array();
335
-
336
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
337
- foreach ( $default_shippment_providers as $key => $val ) {
338
- $shippment_providers[ $val->provider_name ] = $val;
339
- }
340
-
341
- foreach ( $providers as $key => $val ) {
342
- $providers_name[ $val['provider_name'] ] = $val;
343
- }
344
-
345
- $n = 0;
346
- foreach ( $providers as $provider ) {
347
-
348
- $provider_name = $provider['shipping_provider'];
349
- $provider_url = $provider['provider_url'];
350
- $shipping_country = $provider['shipping_country'];
351
- $ts_slug = $provider['shipping_provider_slug'];
352
- $trackship_supported = $provider['trackship_supported'];
353
-
354
- if ( isset( $shippment_providers[ $provider_name ] ) ) {
355
- $db_provider_url = $shippment_providers[$provider_name]->provider_url;
356
- $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
357
- $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
358
- $db_trackship_supported = $shippment_providers[$provider_name]->trackship_supported;
359
-
360
- if ( ( $db_provider_url != $provider_url ) || ( $db_shipping_country != $shipping_country ) || ( $db_ts_slug != $ts_slug ) || ( $db_trackship_supported != $trackship_supported ) ) {
361
- $data_array = array(
362
- 'ts_slug' => $ts_slug,
363
- 'provider_url' => $provider_url,
364
- 'shipping_country' => $shipping_country,
365
- 'trackship_supported' => $trackship_supported,
366
- );
367
- $where_array = array(
368
- 'provider_name' => $provider_name,
369
- );
370
- $wpdb->update( $this->table, $data_array, $where_array);
371
- }
372
- } else {
373
- $img_url = $provider['img_url'];
374
- $img_slug = sanitize_title($provider_name);
375
- $img = $ast_directory . '/' . $img_slug . '.png';
376
-
377
- $ch = curl_init();
378
-
379
- curl_setopt($ch, CURLOPT_HEADER, 0);
380
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
381
- curl_setopt($ch, CURLOPT_URL, $img_url);
382
-
383
- $data = curl_exec($ch);
384
- curl_close($ch);
385
-
386
- file_put_contents($img, $data);
387
-
388
- $display_in_order = 1;
389
- if ( $n > 14 ) {
390
- $display_in_order = 0;
391
- }
392
-
393
- $data_array = array(
394
- 'shipping_country' => sanitize_text_field($shipping_country),
395
- 'provider_name' => sanitize_text_field($provider_name),
396
- 'ts_slug' => $ts_slug,
397
- 'provider_url' => sanitize_text_field($provider_url),
398
- 'display_in_order' => $display_in_order,
399
- 'shipping_default' => 1,
400
- 'trackship_supported' => $provider['trackship_supported'],
401
- );
402
- $result = $wpdb->insert( $this->table, $data_array );
403
- $n++;
404
- }
405
- }
406
-
407
- foreach ( $default_shippment_providers as $db_provider ) {
408
-
409
- if ( !isset( $providers_name[ $db_provider->provider_name ] ) ) {
410
- $where = array(
411
- 'provider_name' => $db_provider->provider_name,
412
- 'shipping_default' => 1
413
- );
414
- $wpdb->delete( $this->table, $where );
415
- }
416
- }
417
- }
418
- }
419
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-settings.php DELETED
@@ -1,704 +0,0 @@
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
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
15
-
16
- if ( is_multisite() ) {
17
-
18
- if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
19
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
20
- }
21
-
22
- if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
23
- $main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
24
- $this->table = $main_blog_prefix . 'woo_shippment_provider';
25
- } else {
26
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
27
- }
28
- } else {
29
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
30
- }
31
- }
32
-
33
- /**
34
- * Instance of this class.
35
- *
36
- * @var object Class Instance
37
- */
38
- private static $instance;
39
-
40
- /**
41
- * Get the class instance
42
- *
43
- * @return WC_Advanced_Shipment_Tracking_Settings
44
- */
45
- public static function get_instance() {
46
-
47
- if ( null === self::$instance ) {
48
- self::$instance = new self();
49
- }
50
-
51
- return self::$instance;
52
- }
53
-
54
- /*
55
- * init from parent mail class
56
- */
57
- public function init() {
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
- add_action( 'woocommerce_update_options_email_customer_partial_shipped_order', array( $this, 'save_partial_shipped_email' ), 100, 1);
65
- add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun' ) );
66
-
67
- //new order status
68
- $updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0 );
69
- if ( true == $updated_tracking_status ) {
70
- //register order status
71
- add_action( 'init', array( $this, 'register_updated_tracking_order_status' ) );
72
- //add status after completed
73
- add_filter( 'wc_order_statuses', array( $this, 'add_updated_tracking_to_order_statuses' ) );
74
- //Custom Statuses in admin reports
75
- add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_updated_tracking_order_status_to_reports' ), 20, 1 );
76
- // for automate woo to check order is paid
77
- add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'updated_tracking_woocommerce_order_is_paid_statuses' ) );
78
- add_filter('woocommerce_order_is_download_permitted', array( $this, 'add_updated_tracking_to_download_permission' ), 10, 2);
79
- //add bulk action
80
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_updated_tracking' ), 50, 1 );
81
- //add reorder button
82
- add_filter( 'woocommerce_valid_order_statuses_for_order_again', array( $this, 'add_reorder_button_updated_tracking' ), 50, 1 );
83
- add_filter( 'wcast_order_status_email_type', array( $this, 'wcast_order_status_email_type' ), 50, 1 );
84
- }
85
-
86
- //new order status
87
- $partial_shipped_status = get_option( 'wc_ast_status_partial_shipped', 0 );
88
- if ( true == $partial_shipped_status ) {
89
- //register order status
90
- add_action( 'init', array( $this, 'register_partial_shipped_order_status' ) );
91
- //add status after completed
92
- add_filter( 'wc_order_statuses', array( $this, 'add_partial_shipped_to_order_statuses' ) );
93
- //Custom Statuses in admin reports
94
- add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_partial_shipped_order_status_to_reports' ), 20, 1 );
95
- // for automate woo to check order is paid
96
- add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'partial_shipped_woocommerce_order_is_paid_statuses' ) );
97
- add_filter('woocommerce_order_is_download_permitted', array( $this, 'add_partial_shipped_to_download_permission' ), 10, 2);
98
- //add bulk action
99
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_partial_shipped' ), 50, 1 );
100
- //add reorder button
101
- add_filter( 'woocommerce_valid_order_statuses_for_order_again', array( $this, 'add_reorder_button_partial_shipped' ), 50, 1 );
102
- }
103
-
104
- // Hook for add admin body class in settings page
105
- add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
106
-
107
- // Ajax hook for open inline tracking form
108
- add_action( 'wp_ajax_ast_open_inline_tracking_form', array( $this, 'ast_open_inline_tracking_form_fun' ) );
109
- }
110
-
111
- /**
112
- * Register new status : Updated Tracking
113
- **/
114
- public function register_updated_tracking_order_status() {
115
- register_post_status( 'wc-updated-tracking', array(
116
- 'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
117
- 'public' => true,
118
- 'show_in_admin_status_list' => true,
119
- 'show_in_admin_all_list' => true,
120
- 'exclude_from_search' => false,
121
- /* translators: %s: replace with Updated Tracking Count */
122
- 'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
123
- ) );
124
- }
125
-
126
- /**
127
- * Register new status : Partially Shipped
128
- **/
129
- public function register_partial_shipped_order_status() {
130
- register_post_status( 'wc-partial-shipped', array(
131
- 'label' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
132
- 'public' => true,
133
- 'show_in_admin_status_list' => true,
134
- 'show_in_admin_all_list' => true,
135
- 'exclude_from_search' => false,
136
- /* translators: %s: replace with Partially Shipped Count */
137
- 'label_count' => _n_noop( 'Partially Shipped <span class="count">(%s)</span>', 'Partially Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
138
- ) );
139
- }
140
-
141
- /*
142
- * add status after completed
143
- */
144
- public function add_updated_tracking_to_order_statuses( $order_statuses ) {
145
- $new_order_statuses = array();
146
- foreach ( $order_statuses as $key => $status ) {
147
- $new_order_statuses[ $key ] = $status;
148
- if ( 'wc-completed' === $key ) {
149
- $new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
150
- }
151
- }
152
- return $new_order_statuses;
153
- }
154
-
155
- /*
156
- * add status after completed
157
- */
158
- public function add_partial_shipped_to_order_statuses( $order_statuses ) {
159
- $new_order_statuses = array();
160
- foreach ( $order_statuses as $key => $status ) {
161
- $new_order_statuses[ $key ] = $status;
162
- if ( 'wc-completed' === $key ) {
163
- $new_order_statuses['wc-partial-shipped'] = __( 'Partially Shipped', 'woo-advanced-shipment-tracking' );
164
- }
165
- }
166
- return $new_order_statuses;
167
- }
168
-
169
- /*
170
- * Adding the updated-tracking order status to the default woocommerce order statuses
171
- */
172
- public function include_updated_tracking_order_status_to_reports( $statuses ) {
173
- if ( $statuses ) {
174
- $statuses[] = 'updated-tracking';
175
- }
176
- return $statuses;
177
- }
178
-
179
- /*
180
- * Adding the partial-shipped order status to the default woocommerce order statuses
181
- */
182
- public function include_partial_shipped_order_status_to_reports( $statuses ) {
183
- if ( $statuses ) {
184
- $statuses[] = 'partial-shipped';
185
- }
186
- return $statuses;
187
- }
188
-
189
- /*
190
- * mark status as a paid.
191
- */
192
- public function updated_tracking_woocommerce_order_is_paid_statuses( $statuses ) {
193
- $statuses[] = 'updated-tracking';
194
- return $statuses;
195
- }
196
-
197
- /*
198
- * Give download permission to updated tracking order status
199
- */
200
- public function add_updated_tracking_to_download_permission( $data, $order ) {
201
- if ( $order->has_status( 'updated-tracking' ) ) {
202
- return true;
203
- }
204
- return $data;
205
- }
206
-
207
- /*
208
- * mark status as a paid.
209
- */
210
- public function partial_shipped_woocommerce_order_is_paid_statuses( $statuses ) {
211
- $statuses[] = 'partial-shipped';
212
- return $statuses;
213
- }
214
-
215
- /*
216
- * Give download permission to partial shipped order status
217
- */
218
- public function add_partial_shipped_to_download_permission( $data, $order ) {
219
- if ( $order->has_status( 'partial-shipped' ) ) {
220
- return true;
221
- }
222
- return $data;
223
- }
224
-
225
- /*
226
- * add bulk action
227
- * Change order status to Updated Tracking
228
- */
229
- public function add_bulk_actions_updated_tracking( $bulk_actions ) {
230
- $lable = wc_get_order_status_name( 'updated-tracking' );
231
- $bulk_actions['mark_updated-tracking'] = __( 'Change status to ' . $lable . '', 'woo-advanced-shipment-tracking' );
232
- return $bulk_actions;
233
- }
234
-
235
- /*
236
- * add bulk action
237
- * Change order status to Partially Shipped
238
- */
239
- public function add_bulk_actions_partial_shipped( $bulk_actions ) {
240
- $lable = wc_get_order_status_name( 'partial-shipped' );
241
- $bulk_actions['mark_partial-shipped'] = __( 'Change status to ' . $lable . '', 'woo-advanced-shipment-tracking' );
242
- return $bulk_actions;
243
- }
244
-
245
- /*
246
- * add order again button for delivered order status
247
- */
248
- public function add_reorder_button_partial_shipped( $statuses ) {
249
- $statuses[] = 'partial-shipped';
250
- return $statuses;
251
- }
252
-
253
- /*
254
- * add order again button for delivered order status
255
- */
256
- public function add_reorder_button_updated_tracking( $statuses ) {
257
- $statuses[] = 'updated-tracking';
258
- return $statuses;
259
- }
260
-
261
- /*
262
- * add Updated Tracking in order status email customizer
263
- */
264
- public function wcast_order_status_email_type( $order_status ) {
265
- $updated_tracking_status = array(
266
- 'updated_tracking' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
267
- );
268
- $order_status = array_merge( $order_status, $updated_tracking_status );
269
- return $order_status;
270
- }
271
-
272
- /*
273
- * Rename WooCommerce Order Status
274
- */
275
- public function wc_renaming_order_status( $order_statuses ) {
276
-
277
- $enable = get_option( 'wc_ast_status_shipped', 0);
278
- if ( false == $enable ) {
279
- return $order_statuses;
280
- }
281
-
282
- foreach ( $order_statuses as $key => $status ) {
283
- $new_order_statuses[ $key ] = $status;
284
- if ( 'wc-completed' === $key ) {
285
- $order_statuses['wc-completed'] = esc_html__( 'Shipped', 'woo-advanced-shipment-tracking' );
286
- }
287
- }
288
- return $order_statuses;
289
- }
290
-
291
- /*
292
- * define the woocommerce_register_shop_order_post_statuses callback
293
- * rename filter
294
- * rename from completed to shipped
295
- */
296
- public function filter_woocommerce_register_shop_order_post_statuses( $array ) {
297
-
298
- $enable = get_option( 'wc_ast_status_shipped', 0);
299
- if ( false == $enable ) {
300
- return $array;
301
- }
302
-
303
- if ( isset( $array[ 'wc-completed' ] ) ) {
304
- /* translators: %s: replace with shipped order count */
305
- $array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
306
- }
307
- return $array;
308
- }
309
-
310
- /*
311
- * rename bulk action
312
- */
313
- public function modify_bulk_actions( $bulk_actions ) {
314
-
315
- $enable = get_option( 'wc_ast_status_shipped', 0);
316
- if ( false == $enable ) {
317
- return $bulk_actions;
318
- }
319
-
320
- if ( isset( $bulk_actions['mark_completed'] ) ) {
321
- $bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
322
- }
323
- return $bulk_actions;
324
- }
325
-
326
- /*
327
- * Add class in admin settings page
328
- */
329
- public function ahipment_tracking_admin_body_class( $classes ) {
330
- $page = ( isset( $_REQUEST['page'] ) ? wc_clean( $_REQUEST['page'] ) : '' );
331
- if ( 'woocommerce-advanced-shipment-tracking' == $page ) {
332
- $classes .= ' shipment_tracking_admin_settings';
333
- }
334
- return $classes;
335
- }
336
-
337
- public function ast_open_inline_tracking_form_fun() {
338
-
339
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
340
- exit( 'You are not allowed' );
341
- }
342
-
343
- check_ajax_referer( 'ast-order-list', 'security' );
344
-
345
- $order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) :'';
346
- $order = wc_get_order( $order_id );
347
- $order_number = $order->get_order_number();
348
-
349
- global $wpdb;
350
- $WC_Countries = new WC_Countries();
351
- $countries = $WC_Countries->get_countries();
352
-
353
- $shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $this->table WHERE display_in_order = 1 GROUP BY shipping_country" );
354
-
355
- $default_provider = get_option( 'wc_ast_default_provider' );
356
- ob_start();
357
- ?>
358
- <div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
359
- <div class="trackingpopup_row">
360
- <div class="popup_header">
361
- <h3 class="popup_title"><?php esc_html_e( 'Add Tracking - order ', 'woo-advanced-shipment-tracking'); ?> - #<?php esc_html_e( $order_number ); ?></h2>
362
- <span class="dashicons dashicons-no-alt popup_close_icon"></span>
363
- </div>
364
- <div class="popup_body">
365
- <form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
366
- <?php do_action( 'ast_tracking_form_between_form', $order_id, 'inline' ); ?>
367
- <p class="form-field tracking_number_field form-50">
368
- <label for="tracking_number"><?php esc_html_e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
369
- <input type="text" class="short" name="tracking_number" id="tracking_number" value="" autocomplete="off">
370
- </p>
371
- <p class="form-field form-50">
372
- <label for="tracking_number"><?php esc_html_e( 'Shipping Provider:', 'woo-advanced-shipment-tracking'); ?></label>
373
- <select class="chosen_select tracking_provider_dropdown" id="tracking_provider" name="tracking_provider">
374
- <option value=""><?php esc_html_e( 'Shipping Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
375
- <?php
376
- foreach ( $shippment_countries as $s_c ) {
377
- if ( 'Global' != $s_c->shipping_country ) {
378
- $country_name = esc_attr( $WC_Countries->countries[ $s_c->shipping_country ] );
379
- } else {
380
- $country_name = 'Global';
381
- }
382
- echo '<optgroup label="' . esc_html( $country_name ) . '">';
383
- $country = $s_c->shipping_country;
384
- $shippment_providers_by_country = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $this->table WHERE shipping_country = %s AND display_in_order = 1", $country ) );
385
- foreach ( $shippment_providers_by_country as $providers ) {
386
- $selected = ( esc_attr( $providers->provider_name ) == $default_provider ) ? 'selected' : '';
387
- echo '<option value="' . esc_attr( $providers->ts_slug ) . '" ' . esc_html( $selected ) . '>' . esc_html( $providers->provider_name ) . '</option>';
388
- }
389
- echo '</optgroup>';
390
- }
391
- ?>
392
- </select>
393
- </p>
394
- <p class="form-field tracking_product_code_field form-50">
395
- <label for="tracking_product_code"><?php esc_html_e( 'Product Code:', 'woo-advanced-shipment-tracking'); ?></label>
396
- <input type="text" class="short" name="tracking_product_code" id="tracking_product_code" value="">
397
- </p>
398
- <p class="form-field date_shipped_field form-50">
399
- <label for="date_shipped"><?php esc_html_e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
400
- <input type="text" class="ast-date-picker-field" name="date_shipped" id="date_shipped" value="<?php echo esc_html( date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ) ); ?>" placeholder="<?php echo esc_html( date_i18n( esc_html_e( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ) ); ?>">
401
- </p>
402
- <?php do_action( 'ast_after_tracking_field', $order_id ); ?>
403
- <hr>
404
- <?php wc_advanced_shipment_tracking()->actions->mark_order_as_fields_html(); ?>
405
- <hr>
406
- <p>
407
- <?php wp_nonce_field( 'wc_ast_inline_tracking_form', 'wc_ast_inline_tracking_form_nonce' ); ?>
408
- <input type="hidden" name="action" value="add_inline_tracking_number">
409
- <input type="hidden" name="order_id" id="order_id" value="<?php esc_html_e( $order_id ); ?>">
410
- <input type="submit" name="Submit" value="<?php esc_html_e( 'Fulfill Order', 'woo-advanced-shipment-tracking' ); ?>" class="button-primary btn_green">
411
- </p>
412
- </form>
413
- </div>
414
- </div>
415
- <div class="popupclose"></div>
416
- </div>
417
- <?php
418
- $html = ob_get_clean();
419
- echo $html;
420
- exit;
421
- }
422
-
423
- /**
424
- * Update Partially Shipped order email enable/disable in customizer
425
- */
426
- public function save_partial_shipped_email( $data ) {
427
- $woocommerce_customer_partial_shipped_order_enabled = ( isset( $_REQUEST['woocommerce_customer_partial_shipped_order_enabled'] ) ? wc_clean( $_REQUEST['woocommerce_customer_partial_shipped_order_enabled'] ) : '' );
428
- update_option( 'customizer_partial_shipped_order_settings_enabled', $woocommerce_customer_partial_shipped_order_enabled );
429
- }
430
-
431
- /**
432
- * Synch provider function
433
- */
434
- public function sync_providers_fun() {
435
-
436
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
437
- exit( 'You are not allowed' );
438
- }
439
-
440
- check_ajax_referer( 'nonce_shipping_provider', 'security' );
441
-
442
- $reset_checked = isset( $_POST[ 'reset_checked' ] ) ? wc_clean( $_POST[ 'reset_checked' ] ) : '';
443
- global $wpdb;
444
-
445
- $url = apply_filters( 'ast_sync_provider_url', 'https://trackship.info/wp-json/WCAST/v1/Provider' );
446
- $resp = wp_remote_get( $url );
447
-
448
- $upload_dir = wp_upload_dir();
449
- $ast_directory = $upload_dir['basedir'] . '/ast-shipping-providers';
450
-
451
- if ( !is_dir( $ast_directory ) ) {
452
- wp_mkdir_p( $ast_directory );
453
- }
454
-
455
- if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
456
- $providers = json_decode( $resp['body'], true );
457
-
458
- if ( 1 == $reset_checked ) {
459
-
460
- $wpdb->query( "DROP TABLE IF EXISTS {$this->table}" );
461
-
462
- $install = WC_Advanced_Shipment_Tracking_Install::get_instance();
463
- $install->create_shippment_tracking_table();
464
-
465
- foreach ( $providers as $provider ) {
466
- $provider_name = $provider['shipping_provider'];
467
- $provider_url = $provider['provider_url'];
468
- $shipping_country = $provider['shipping_country'];
469
- $ts_slug = $provider['shipping_provider_slug'];
470
- $img_url = $provider['img_url'];
471
- $trackship_supported = $provider['trackship_supported'];
472
- $img_slug = sanitize_title( $provider_name );
473
-
474
- $img = $ast_directory . '/' . $img_slug . '.png';
475
-
476
- $ch = curl_init();
477
-
478
- curl_setopt( $ch, CURLOPT_HEADER, 0 );
479
- curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
480
- curl_setopt( $ch, CURLOPT_URL, $img_url );
481
-
482
- $data = curl_exec( $ch );
483
- curl_close( $ch );
484
-
485
- file_put_contents( $img, $data );
486
-
487
- $data_array = array(
488
- 'shipping_country' => sanitize_text_field( $shipping_country ),
489
- 'provider_name' => sanitize_text_field( $provider_name ),
490
- 'ts_slug' => $ts_slug,
491
- 'provider_url' => sanitize_text_field( $provider_url ),
492
- 'display_in_order' => 1,
493
- 'shipping_default' => 1,
494
- 'trackship_supported' => sanitize_text_field( $trackship_supported ),
495
- );
496
-
497
- $data_array = apply_filters( 'ast_sync_provider_data_array', $data_array, $provider );
498
-
499
- $result = $wpdb->insert( $this->table, $data_array );
500
- }
501
-
502
- $status = 'active';
503
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
504
- ob_start();
505
- $admin = new WC_Advanced_Shipment_Tracking_Admin();
506
- $html = $admin->get_provider_html( $default_shippment_providers, $status );
507
- $html = ob_get_clean();
508
-
509
- echo json_encode( array( 'html' => $html ) );
510
- exit;
511
- } else {
512
-
513
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
514
-
515
- foreach ( $default_shippment_providers as $key => $val ) {
516
- $shippment_providers[ $val->provider_name ] = $val;
517
- }
518
-
519
- foreach ( $providers as $key => $val ) {
520
- $providers_name[ $val['provider_name'] ] = $val;
521
- }
522
-
523
- $added = 0;
524
- $updated = 0;
525
- $deleted = 0;
526
- $added_html = '';
527
- $updated_html = '';
528
- $deleted_html = '';
529
-
530
- foreach ( $providers as $provider ) {
531
-
532
- $provider_name = $provider['shipping_provider'];
533
- $provider_url = $provider['provider_url'];
534
- $shipping_country = $provider['shipping_country'];
535
- $ts_slug = $provider['shipping_provider_slug'];
536
- $trackship_supported = $provider['trackship_supported'];
537
-
538
- if ( isset( $shippment_providers[ $provider_name ] ) ) {
539
- $db_provider_url = $shippment_providers[ $provider_name ]->provider_url;
540
- $db_shipping_country = $shippment_providers[ $provider_name ]->shipping_country;
541
- $db_ts_slug = $shippment_providers[ $provider_name ]->ts_slug;
542
- $db_trackship_supported = $shippment_providers[ $provider_name ]->trackship_supported;
543
-
544
- $update_needed = apply_filters( 'ast_sync_provider_update', false, $provider, $shippment_providers );
545
-
546
- if ( $db_provider_url != $provider_url ) {
547
- $update_needed = true;
548
- } elseif ( $db_shipping_country != $shipping_country ) {
549
- $update_needed = true;
550
- } elseif ( $db_ts_slug != $ts_slug ) {
551
- $update_needed = true;
552
- } elseif ( $db_trackship_supported != $trackship_supported ) {
553
- $update_needed = true;
554
- }
555
-
556
- if ( $update_needed ) {
557
-
558
- $data_array = array(
559
- 'ts_slug' => $ts_slug,
560
- 'provider_url' => $provider_url,
561
- 'shipping_country' => $shipping_country,
562
- 'trackship_supported' => $trackship_supported,
563
- );
564
-
565
- $data_array = apply_filters( 'ast_sync_provider_data_array', $data_array, $provider );
566
-
567
- $where_array = array(
568
- 'provider_name' => $provider_name,
569
- );
570
- $wpdb->update( $this->table, $data_array, $where_array );
571
- $updated_data[ $updated ] = array( 'provider_name' => $provider_name );
572
- $updated++;
573
- }
574
- } else {
575
- $img_url = $provider['img_url'];
576
- $img_slug = sanitize_title( $provider_name );
577
- $img = $ast_directory . '/' . $img_slug . '.png';
578
-
579
- $ch = curl_init();
580
-
581
- curl_setopt( $ch, CURLOPT_HEADER, 0 );
582
- curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
583
- curl_setopt( $ch, CURLOPT_URL, $img_url );
584
-
585
- $data = curl_exec( $ch );
586
- curl_close( $ch );
587
-
588
- file_put_contents( $img, $data );
589
-
590
- $data_array = array(
591
- 'shipping_country' => sanitize_text_field( $shipping_country ),
592
- 'provider_name' => sanitize_text_field( $provider_name ),
593
- 'ts_slug' => $ts_slug,
594
- 'provider_url' => sanitize_text_field( $provider_url ),
595
- 'display_in_order' => 0,
596
- 'shipping_default' => 1,
597
- 'trackship_supported' => sanitize_text_field( $trackship_supported ),
598
- );
599
-
600
- $data_array = apply_filters( 'ast_sync_provider_data_array', $data_array, $provider );
601
-
602
- $result = $wpdb->insert( $this->table, $data_array );
603
- $added_data[ $added ] = array( 'provider_name' => $provider_name );
604
- $added++;
605
- }
606
- }
607
-
608
- foreach ( $default_shippment_providers as $db_provider ) {
609
- if ( !isset( $providers_name[ $db_provider->provider_name ] ) ) {
610
- $where = array(
611
- 'provider_name' => $db_provider->provider_name,
612
- 'shipping_default' => 1
613
- );
614
- $wpdb->delete( $this->table, $where );
615
- $deleted_data[ $deleted ] = array( 'provider_name' => $db_provider->provider_name );
616
- $deleted++;
617
- }
618
- }
619
-
620
- if ( $added > 0 ) {
621
- ob_start();
622
- $added_html = $this->added_html( $added_data );
623
- $added_html = ob_get_clean();
624
- }
625
-
626
- if ( $updated > 0 ) {
627
- ob_start();
628
- $updated_html = $this->updated_html( $updated_data );
629
- $updated_html = ob_get_clean();
630
- }
631
-
632
- if ( $deleted > 0 ) {
633
- ob_start();
634
- $deleted_html = $this->deleted_html( $deleted_data );
635
- $deleted_html = ob_get_clean();
636
- }
637
-
638
- $status = 'active';
639
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table ORDER BY shipping_default ASC, display_in_order DESC, trackship_supported DESC, id ASC" );
640
- ob_start();
641
- $admin = new WC_Advanced_Shipment_Tracking_Admin();
642
- $html = $admin->get_provider_html( $default_shippment_providers, $status );
643
- $html = ob_get_clean();
644
-
645
- echo json_encode( array( 'added' => $added, 'added_html' => $added_html, 'updated' => $updated, 'updated_html' => $updated_html, 'deleted' => $deleted, 'deleted_html' => $deleted_html,'html' => $html ) );
646
- exit;
647
- }
648
- } else {
649
- echo json_encode( array( 'sync_error' => 1, 'message' => __( 'There are some issue with sync, Please Retry.', 'woo-advanced-shipment-tracking') ) );
650
- exit;
651
- }
652
- }
653
-
654
- /**
655
- * Output html of added provider from sync providers
656
- */
657
- public function added_html( $added_data ) {
658
- ?>
659
- <ul class="updated_details" id="added_providers">
660
- <?php
661
- foreach ( $added_data as $added ) {
662
- ?>
663
- <li><?php esc_html_e( $added['provider_name'] ); ?></li>
664
- <?php } ?>
665
- </ul>
666
- <a class="view_synch_details" id="view_added_details" href="javaScript:void(0);" style="display: block;"><?php esc_html_e( 'view details', 'woo-advanced-shipment-tracking' ); ?></a>
667
- <a class="view_synch_details" id="hide_added_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'hide details', 'woo-advanced-shipment-tracking' ); ?></a>
668
- <?php
669
- }
670
-
671
- /**
672
- * Output html of updated provider from sync providers
673
- */
674
- public function updated_html( $updated_data ) {
675
- ?>
676
- <ul class="updated_details" id="updated_providers">
677
- <?php
678
- foreach ( $updated_data as $updated ) {
679
- ?>
680
- <li><?php esc_html_e( $updated['provider_name'] ); ?></li>
681
- <?php } ?>
682
- </ul>
683
- <a class="view_synch_details" id="view_updated_details" href="javaScript:void(0);" style="display: block;"><?php esc_html_e( 'view details', 'woo-advanced-shipment-tracking' ); ?></a>
684
- <a class="view_synch_details" id="hide_updated_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'hide details', 'woo-advanced-shipment-tracking' ); ?></a>
685
- <?php
686
- }
687
-
688
- /**
689
- * Output html of deleted provider from sync providers
690
- */
691
- public function deleted_html( $deleted_data ) {
692
- ?>
693
- <ul class="updated_details" id="deleted_providers">
694
- <?php
695
- foreach ( $deleted_data as $deleted ) {
696
- ?>
697
- <li><?php esc_html_e( $deleted['provider_name'] ); ?></li>
698
- <?php } ?>
699
- </ul>
700
- <a class="view_synch_details" id="view_deleted_details" href="javaScript:void(0);" style="display: block;"><?php esc_html_e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
701
- <a class="view_synch_details" id="hide_deleted_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
702
- <?php
703
- }
704
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking.php DELETED
@@ -1,1685 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
- class WC_Advanced_Shipment_Tracking_Actions {
6
-
7
- /**
8
- * Instance of this class.
9
- *
10
- * @var object Class Instance
11
- */
12
- private static $instance;
13
-
14
- public function __construct() {
15
-
16
- global $wpdb;
17
- if ( is_multisite() ) {
18
-
19
- if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
20
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
21
- }
22
-
23
- if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
24
- $main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
25
- $this->table = $main_blog_prefix . 'woo_shippment_provider';
26
- } else {
27
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
28
- }
29
- } else {
30
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
31
- }
32
- }
33
-
34
- /**
35
- * Get the class instance
36
- *
37
- * @return WC_Advanced_Shipment_Tracking_Actions
38
- */
39
- public static function get_instance() {
40
-
41
- if ( null === self::$instance ) {
42
- self::$instance = new self();
43
- }
44
-
45
- return self::$instance;
46
- }
47
-
48
- /**
49
- * Get shipping providers from database
50
- */
51
- public function get_providers() {
52
-
53
- if ( empty( $this->providers ) ) {
54
- $this->providers = array();
55
-
56
- global $wpdb;
57
- $wpdb->hide_errors();
58
- $results = $wpdb->get_results( "SELECT * FROM {$this->table}" );
59
-
60
- if ( ! empty( $results ) ) {
61
-
62
- foreach ( $results as $row ) {
63
- $provider_name = !empty( $row->custom_provider_name ) ? $row->custom_provider_name : $row->provider_name;
64
- $shippment_providers[ $row->ts_slug ] = array(
65
- 'provider_name'=> $provider_name,
66
- 'provider_url' => $row->provider_url,
67
- 'trackship_supported' => $row->trackship_supported,
68
- );
69
- }
70
-
71
- $this->providers = $shippment_providers;
72
- }
73
- }
74
- return $this->providers;
75
-
76
- }
77
-
78
- /**
79
- * Get shipping providers from database for WooCommerce App
80
- */
81
- public function get_providers_for_app() {
82
-
83
- if ( empty( $this->providers_for_app ) ) {
84
- $this->providers_for_app = array();
85
-
86
- global $wpdb;
87
- $WC_Countries = new WC_Countries();
88
- $wpdb->hide_errors();
89
-
90
- $shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM {$this->table} WHERE display_in_order = 1 GROUP BY shipping_country" );
91
-
92
- $results = $wpdb->get_results( "SELECT * FROM {$this->table} GROUP BY shipping_country" );
93
-
94
-
95
- foreach ( $shippment_countries as $s_c ) {
96
-
97
- $country_name = ( 'Global' != $s_c->shipping_country ) ? esc_attr( $WC_Countries->countries[ $s_c->shipping_country ] ) : 'Global';
98
- $country = $s_c->shipping_country;
99
- $shippment_providers_by_country = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$this->table} WHERE shipping_country = %s AND display_in_order = 1", $country ) );
100
-
101
- $providers_array = array();
102
- $new_provider = array();
103
-
104
- foreach ( $shippment_providers_by_country as $providers ) {
105
- $new_provider = array(
106
- $providers->provider_name => $providers->provider_url,
107
- );
108
- $providers_array = array_merge( $providers_array, $new_provider );
109
- }
110
-
111
- $shippment_providers[ $country_name ] = $providers_array;
112
-
113
- $this->providers_for_app = $shippment_providers;
114
- }
115
- }
116
- return $this->providers_for_app;
117
-
118
- }
119
-
120
- /**
121
- * Load admin styles.
122
- */
123
- public function admin_styles() {
124
- $plugin_url = wc_shipment_tracking()->plugin_url;
125
- wp_enqueue_style( 'ast_styles', $plugin_url . '/assets/css/admin.css', array(), wc_shipment_tracking()->version );
126
- }
127
-
128
- /**
129
- * Define shipment tracking column in admin orders list.
130
- *
131
- * @since 1.6.1
132
- *
133
- * @param array $columns Existing columns
134
- *
135
- * @return array Altered columns
136
- */
137
- public function shop_order_columns( $columns ) {
138
- $columns['woocommerce-advanced-shipment-tracking'] = __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' );
139
- return $columns;
140
- }
141
-
142
- /**
143
- * Render shipment tracking in custom column.
144
- *
145
- * @since 1.6.1
146
- *
147
- * @param string $column Current column
148
- */
149
- public function render_shop_order_columns( $column ) {
150
- global $post;
151
- if ( 'woocommerce-advanced-shipment-tracking' === $column ) {
152
- echo wp_kses_post( $this->get_shipment_tracking_column( $post->ID ) );
153
- }
154
- }
155
-
156
- /**
157
- * Get content for shipment tracking column.
158
- *
159
- * @since 1.6.1
160
- *
161
- * @param int $order_id Order ID
162
- *
163
- * @return string Column content to render
164
- */
165
- public function get_shipment_tracking_column( $order_id ) {
166
- ob_start();
167
-
168
- $tracking_items = $this->get_tracking_items( $order_id );
169
-
170
- if ( count( $tracking_items ) > 0 ) {
171
- echo '<ul class="wcast-tracking-number-list">';
172
-
173
- foreach ( $tracking_items as $tracking_item ) {
174
- global $wpdb;
175
-
176
- $tracking_provider = isset( $tracking_item['tracking_provider'] ) ? $tracking_item['tracking_provider'] : $tracking_item['custom_tracking_provider'];
177
- $tracking_provider = apply_filters( 'convert_provider_name_to_slug', $tracking_provider );
178
-
179
- $results = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table WHERE ts_slug = %s", $tracking_provider ) );
180
-
181
- $provider_name = apply_filters('get_ast_provider_name', $tracking_provider, $results);
182
-
183
- $formatted = $this->get_formatted_tracking_item( $order_id, $tracking_item );
184
-
185
- if ( $formatted['ast_tracking_link'] ) {
186
- printf(
187
- '<li id="tracking-item-%s" class="tracking-item-%s"><div><b>%s</b></div><a href="%s" target="_blank" class=ft11>%s</a><a class="inline_tracking_delete" rel="%s" data-order="%s" data-nonce="' . esc_html( wp_create_nonce( 'delete-tracking-item' ) ) . '"><span class="dashicons dashicons-trash"></span></a></li>',
188
- esc_attr( $tracking_item['tracking_id'] ),
189
- esc_attr( $tracking_item['tracking_id'] ),
190
- esc_html( $provider_name ),
191
- esc_url( $formatted['ast_tracking_link'] ),
192
- esc_html( $tracking_item['tracking_number'] ),
193
- esc_attr( $tracking_item['tracking_id'] ),
194
- esc_attr( $order_id )
195
- );
196
- } else {
197
- printf(
198
- '<li id="tracking-item-%s" class="tracking-item-%s"><div><b>%s</b></div>%s<a class="inline_tracking_delete" rel="%s" data-order="%s" data-nonce="' . esc_html( wp_create_nonce( 'delete-tracking-item' ) ) . '"><span class="dashicons dashicons-trash"></span></a></li>',
199
- esc_attr( $tracking_item['tracking_id'] ),
200
- esc_attr( $tracking_item['tracking_id'] ),
201
- esc_html( $provider_name ),
202
- esc_html( $tracking_item['tracking_number'] ),
203
- esc_attr( $tracking_item['tracking_id'] ),
204
- esc_attr( $order_id )
205
- );
206
- }
207
- }
208
- echo '</ul>';
209
- } else {
210
- echo '–';
211
- }
212
- return apply_filters( 'woocommerce_shipment_tracking_get_shipment_tracking_column', ob_get_clean(), $order_id, $tracking_items );
213
- }
214
-
215
- /**
216
- * Add the meta box for shipment info on the order page
217
- */
218
- public function add_meta_box() {
219
- add_meta_box( 'woocommerce-advanced-shipment-tracking', __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ), array( $this, 'meta_box' ), 'shop_order', 'side', 'high' );
220
- }
221
-
222
- /**
223
- * Returns a HTML node for a tracking item for the admin meta box
224
- */
225
- public function display_html_tracking_item_for_meta_box( $order_id, $item ) {
226
-
227
- global $wpdb;
228
-
229
- $formatted = $this->get_formatted_tracking_item( $order_id, $item );
230
- $tracking_provider = isset( $item['tracking_provider'] ) ? $item['tracking_provider'] : $item['custom_tracking_provider'];
231
- $tracking_provider = apply_filters( 'convert_provider_name_to_slug', $tracking_provider );
232
- $results = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table WHERE ts_slug = %s", $tracking_provider ) );
233
- $provider_name = apply_filters( 'get_ast_provider_name', $tracking_provider, $results );
234
- ?>
235
- <div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
236
- <div class="tracking-content">
237
- <div class="tracking-content-div">
238
- <strong><?php echo esc_html( $provider_name ); ?></strong>
239
- <?php if ( strlen( $formatted['ast_tracking_link'] ) > 0 ) { ?>
240
- -
241
- <?php
242
- echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . esc_html( $item['tracking_number'] ) . '</a>', esc_url( $formatted['ast_tracking_link'] ) );
243
- ?>
244
- <?php } else { ?>
245
- <span> - <?php echo esc_html( $item['tracking_number'] ); ?></span>
246
- <?php } ?>
247
- </div>
248
- <?php
249
- do_action( 'ast_after_tracking_number', $order_id, $item['tracking_id'] );
250
- do_action( 'ast_shipment_tracking_end', $order_id, $item );
251
- ?>
252
- </div>
253
- <p class="meta">
254
- <?php /* translators: 1: shipping date */ ?>
255
- <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( get_option( 'date_format' ), $item['date_shipped'] ) ) ); ?>
256
- <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php esc_html_e( 'Delete', 'woocommerce' ); ?></a>
257
- </p>
258
- </div>
259
- <?php
260
- }
261
-
262
- /**
263
- * Show the meta box for shipment info on the order page
264
- */
265
- public function meta_box() {
266
- global $post,$wpdb;
267
-
268
- $order = wc_get_order( $post->ID );
269
- $order_status = $order->get_status();
270
-
271
- $WC_Countries = new WC_Countries();
272
- $countries = $WC_Countries->get_countries();
273
-
274
- $tracking_items = $this->get_tracking_items( $post->ID );
275
-
276
- $shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $this->table WHERE display_in_order = 1 GROUP BY shipping_country" );
277
-
278
- $shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table" );
279
-
280
- $default_provider = get_option( 'wc_ast_default_provider' );
281
- $wc_ast_default_mark_shipped = get_option( 'wc_ast_default_mark_shipped' );
282
- $wc_ast_status_partial_shipped = get_option( 'wc_ast_status_partial_shipped' );
283
- $value = 1;
284
- $cbvalue = '';
285
-
286
- if ( 1 == $wc_ast_default_mark_shipped ) {
287
- if ( $wc_ast_status_partial_shipped ) {
288
- $cbvalue = 'change_order_to_shipped';
289
- } else {
290
- $cbvalue = 1;
291
- }
292
- }
293
-
294
- $wc_ast_status_shipped = get_option( 'wc_ast_status_shipped' );
295
-
296
- if ( 1 == $wc_ast_status_shipped ) {
297
- $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
298
- $shipped_label = 'Shipped';
299
- } else {
300
- $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
301
- $shipped_label = 'Completed';
302
- }
303
-
304
- echo '<div id="tracking-items">';
305
- if ( count( $tracking_items ) > 0 ) {
306
- foreach ( $tracking_items as $tracking_item ) {
307
- $this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
308
- }
309
- }
310
- echo '</div>';
311
-
312
- do_action( 'ast_add_tracking_btn' );
313
-
314
- echo '<div id="advanced-shipment-tracking-form">';
315
- ?>
316
- <p class="form-field tracking_number_field ">
317
- <label for="tracking_number"><?php esc_html_e( 'Tracking number:', 'woo-advanced-shipment-tracking' ); ?></label>
318
- <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" autocomplete="off">
319
- </p>
320
- <?php
321
- echo '<p class="form-field tracking_provider_field"><label for="tracking_provider">' . esc_html__( 'Shipping Provider:', 'woo-advanced-shipment-tracking' ) . '</label><br/><select id="tracking_provider" name="tracking_provider" class="chosen_select tracking_provider_dropdown" style="width:100%;">';
322
-
323
- echo '<option value="">' . esc_html__( 'Select Provider', 'woo-advanced-shipment-tracking' ) . '</option>';
324
-
325
- foreach ( $shippment_countries as $s_c ) {
326
- if ( 'Global' != $s_c->shipping_country ) {
327
- $country_name = esc_attr( $WC_Countries->countries[$s_c->shipping_country] );
328
- } else {
329
- $country_name = 'Global';
330
- }
331
- echo '<optgroup label="' . esc_html( $country_name ) . '">';
332
- $country = $s_c->shipping_country;
333
- $shippment_providers_by_country = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_country = '$country' AND display_in_order = 1" );
334
- foreach ( $shippment_providers_by_country as $providers ) {
335
- $providers->ts_slug;
336
- $selected = ( esc_attr( $providers->provider_name ) == $default_provider ) ? 'selected' : '';
337
- echo '<option value="' . esc_attr( $providers->ts_slug ) . '" ' . esc_html( $selected ) . '>' . esc_html( $providers->provider_name ) . '</option>';
338
- }
339
- echo '</optgroup>';
340
- }
341
-
342
- echo '</select> ';
343
-
344
- woocommerce_wp_hidden_input( array(
345
- 'id' => 'wc_shipment_tracking_get_nonce',
346
- 'value' => wp_create_nonce( 'get-tracking-item' ),
347
- ) );
348
-
349
- woocommerce_wp_hidden_input( array(
350
- 'id' => 'wc_shipment_tracking_delete_nonce',
351
- 'value' => wp_create_nonce( 'delete-tracking-item' ),
352
- ) );
353
-
354
- woocommerce_wp_hidden_input( array(
355
- 'id' => 'wc_shipment_tracking_create_nonce',
356
- 'value' => wp_create_nonce( 'create-tracking-item' ),
357
- ) );
358
-
359
- woocommerce_wp_text_input( array(
360
- 'id' => 'tracking_product_code',
361
- 'label' => __( 'Product Code:', 'woo-advanced-shipment-tracking' ),
362
- 'placeholder' => '',
363
- 'description' => '',
364
- 'value' => '',
365
- ) );
366
-
367
- woocommerce_wp_text_input( array(
368
- 'id' => 'date_shipped',
369
- 'label' => __( 'Date shipped:', 'woo-advanced-shipment-tracking' ),
370
- 'placeholder' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ),
371
- 'description' => '',
372
- 'class' => 'date-picker-field',
373
- 'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
374
- ) );
375
-
376
- do_action( 'ast_after_tracking_field', $post->ID);
377
- do_action( 'ast_tracking_form_between_form', $post->ID, 'single_order' );
378
-
379
- if ( 'auto-draft' != $order_status ) {
380
- wc_advanced_shipment_tracking()->actions->mark_order_as_fields_html();
381
- }
382
-
383
- if ( 'auto-draft' != $order_status ) {
384
- echo '<button class="button button-primary btn_ast2 button-save-form">' . esc_html__( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
385
- }
386
-
387
- echo '<p class="preview_tracking_link">' . esc_html__( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . esc_html__( 'Track Shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
388
-
389
- echo '</div>';
390
-
391
- $provider_array = array();
392
-
393
- foreach ( $shippment_providers as $provider ) {
394
- $provider_array[ sanitize_title( $provider->provider_name ) ] = urlencode( $provider->provider_url );
395
- }
396
-
397
- $js = "
398
- jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field ').hide();
399
-
400
- jQuery( 'input#tracking_number, #tracking_provider' ).change( function() {
401
-
402
- var tracking = jQuery( 'input#tracking_number' ).val();
403
- var provider = jQuery( '#tracking_provider' ).val();
404
- var providers = jQuery.parseJSON( '" . json_encode( $provider_array ) . "' );
405
-
406
- var postcode = jQuery( '#_shipping_postcode' ).val();
407
-
408
- if ( ! postcode.length ) {
409
- postcode = jQuery( '#_billing_postcode' ).val();
410
- }
411
-
412
- postcode = encodeURIComponent( postcode );
413
-
414
- var link = '';
415
-
416
- if ( providers[ provider ] ) {
417
- link = providers[provider];
418
- link = link.replace( '%25number%25', tracking );
419
- link = link.replace( '%252%24s', postcode );
420
- link = decodeURIComponent( link );
421
-
422
- jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).hide();
423
- } else {
424
- jQuery( 'p.custom_tracking_link_field, p.custom_tracking_provider_field' ).show();
425
-
426
- link = jQuery( 'input#custom_tracking_link' ).val();
427
- }
428
-
429
- if ( link ) {
430
- jQuery( 'p.preview_tracking_link a' ).attr( 'href', link );
431
- jQuery( 'p.preview_tracking_link' ).show();
432
- } else {
433
- jQuery( 'p.preview_tracking_link' ).hide();
434
- }
435
-
436
- } ).change();";
437
-
438
- if ( function_exists( 'wc_enqueue_js' ) ) {
439
- wc_enqueue_js( $js );
440
- } else {
441
- WC()->add_inline_js( $js );
442
- }
443
-
444
- wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
445
- wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version, true );
446
- ?>
447
- <script>
448
- jQuery(document).on("change", "#tracking_provider", function(){
449
- var selected_provider = jQuery(this).val();
450
- if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
451
- jQuery('.tracking_product_code_field').show();
452
- } else{
453
- jQuery('.tracking_product_code_field').hide();
454
- }
455
- });
456
- </script>
457
- <?php
458
- do_action( 'ast_tracking_form_end_meta_box' );
459
- }
460
-
461
- /*
462
- * Function for mark order as html
463
- */
464
- public function mark_order_as_fields_html() {
465
-
466
- $wc_ast_status_shipped = get_option( 'wc_ast_status_shipped', 0 );
467
- $shipped_label = ( 1 == $wc_ast_status_shipped ) ? __( 'Shipped', 'woo-advanced-shipment-tracking' ) : __( 'Completed', 'woo-advanced-shipment-tracking' );
468
-
469
- $wc_ast_default_mark_shipped = get_option( 'wc_ast_default_mark_shipped' );
470
- $wc_ast_status_partial_shipped = get_option( 'wc_ast_status_partial_shipped' );
471
-
472
- $order_status_array = apply_filters( 'mark_order_as_fields_data' , array(
473
- 'change_order_to_shipped' => array(
474
- 'name' => 'change_order_to_shipped',
475
- 'class' => 'mark_shipped_checkbox',
476
- 'label' => $shipped_label,
477
- 'checked' => ( 1 == $wc_ast_default_mark_shipped ) ? true : false,
478
- 'show' => true,
479
- ),
480
- 'change_order_to_partial_shipped' => array(
481
- 'name' => 'change_order_to_shipped',
482
- 'class' => 'mark_shipped_checkbox',
483
- 'label' => __( 'Partial Shipped', 'woo-advanced-shipment-tracking'),
484
- 'checked' => false,
485
- 'show' => ( 1 == $wc_ast_status_partial_shipped ) ? true : false
486
- ),
487
- )
488
- );
489
- ?>
490
-
491
- <fieldset class="form-field change_order_to_shipped_field">
492
- <span><?php esc_html_e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></span>
493
- <ul class="wc-radios">
494
- <?php
495
- foreach ( $order_status_array as $value => $data ) {
496
- if ( isset( $data['show'] ) && true == $data['show'] ) {
497
- $checked = $data['checked'] ? 'checked' : '';
498
- ?>
499
- <li>
500
- <label>
501
- <input name="<?php esc_html_e( $data['name'] ); ?>" value="<?php esc_html_e( $value ); ?>" type="checkbox" class="select short mark_shipped_checkbox" <?php esc_html_e( $checked ); ?>><?php esc_html_e( $data['label'] ); ?>
502
- </label>
503
- </li>
504
- <?php
505
- }
506
- }
507
- ?>
508
- </ul>
509
- </fieldset>
510
- <?php
511
- }
512
-
513
- /*
514
- * Function for add tracking button in order details page
515
- */
516
- public function ast_add_tracking_btn() {
517
- echo '<button class="button button-primary btn_ast2 btn_full button-show-tracking-form" type="button">' . esc_html__( 'Add Tracking Info', 'woo-advanced-shipment-tracking' ) . '</button>';
518
- }
519
-
520
- /**
521
- * Order Tracking Get All Order Items AJAX
522
- *
523
- * Function for getting all tracking items associated with the order
524
- */
525
- public function get_meta_box_items_ajax() {
526
-
527
- check_ajax_referer( 'get-tracking-item', 'security', true );
528
-
529
- $order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
530
- $tracking_items = $this->get_tracking_items( $order_id );
531
-
532
- foreach ( $tracking_items as $tracking_item ) {
533
- $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
534
- }
535
- die();
536
- }
537
-
538
- /**
539
- * Get shipping provider custom name or name
540
- */
541
- public function get_ast_provider_name_callback( $provider_name, $results ) {
542
-
543
- if ( !empty( $results ) ) {
544
- $provider_name = ( null != $results->custom_provider_name ) ? $results->custom_provider_name : $results->provider_name;
545
- }
546
-
547
- return $provider_name;
548
- }
549
-
550
- /**
551
- * Get shipping provider image src
552
- */
553
- public function get_shipping_provdider_src_callback( $results ) {
554
-
555
- if ( !empty( $results ) ) {
556
-
557
- $upload_dir = wp_upload_dir();
558
- $ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
559
- $ast_base_directory = $upload_dir['basedir'] . '/ast-shipping-providers/';
560
-
561
- $custom_thumb_id = $results->custom_thumb_id;
562
-
563
- if ( 0 == (int) $custom_thumb_id && 1 == (int) $results->shipping_default ) {
564
- $src = $ast_directory . '' . sanitize_title( $results->provider_name ) . '.png?v=' . wc_advanced_shipment_tracking()->version;
565
- } else if ( 0 != (int) $custom_thumb_id ) {
566
- $image_attributes = wp_get_attachment_image_src( (int) $custom_thumb_id , array( '60', '60' ) );
567
- if ( $image_attributes[0] ) {
568
- $src = $image_attributes[0];
569
- }
570
- } else {
571
- $src = wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/images/icon-default.png';
572
- }
573
- } else {
574
- $src = wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/images/icon-default.png';
575
- }
576
- return $src;
577
- }
578
-
579
- /**
580
- * Order Tracking Save
581
- *
582
- * Function for saving tracking items
583
- */
584
- public function save_meta_box( $post_id, $post ) {
585
-
586
- // Check the nonce.
587
- if ( empty( $_POST['woocommerce_meta_nonce'] ) || ! wp_verify_nonce( wp_unslash( wc_clean( $_POST['woocommerce_meta_nonce'] ) ), 'woocommerce_save_data' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
588
- return;
589
- }
590
-
591
- $tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
592
- $tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
593
-
594
- if ( strlen( $tracking_number ) > 0 && '' != $tracking_provider ) {
595
-
596
- $tracking_product_code = isset( $_POST['tracking_product_code'] ) ? wc_clean( $_POST['tracking_product_code'] ) : '';
597
- $date_shipped = isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '';
598
- $tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
599
- $tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
600
- $order = new WC_Order($post_id);
601
-
602
- $args = array(
603
- 'tracking_provider' => $tracking_provider,
604
- 'tracking_number' => $tracking_number,
605
- 'tracking_product_code' => $tracking_product_code,
606
- 'date_shipped' => $date_shipped,
607
- );
608
-
609
- $args = apply_filters( 'tracking_info_args', $args, $_POST, $post_id );
610
-
611
- if ( isset( $_POST['change_order_to_shipped'] ) ) {
612
- if ( 'change_order_to_shipped' == $_POST['change_order_to_shipped'] ) {
613
- $args['status_shipped'] = 1;
614
- } elseif ( 'change_order_to_partial_shipped' == $_POST['change_order_to_shipped'] ) {
615
- $args['status_shipped'] = 2;
616
- }
617
- } else {
618
- $args['status_shipped'] = 0;
619
- }
620
-
621
- $this->add_tracking_item( $post_id, $args );
622
- }
623
- }
624
-
625
- /**
626
- * Order Tracking Save AJAX
627
- *
628
- * Function for saving tracking items via AJAX
629
- */
630
- public function save_meta_box_ajax() {
631
-
632
- check_ajax_referer( 'create-tracking-item', 'security', true );
633
-
634
- $tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
635
- $tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
636
- $tracking_number = str_replace( ' ', '', $tracking_number );
637
-
638
- if ( strlen( $tracking_number ) > 0 && '' != $tracking_provider ) {
639
-
640
- $order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
641
- $order = new WC_Order( $order_id );
642
- $tracking_product_code = isset( $_POST['tracking_product_code'] ) ? wc_clean( $_POST['tracking_product_code'] ) : '';
643
- $date_shipped = isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '';
644
-
645
- $args = array(
646
- 'tracking_provider' => $tracking_provider,
647
- 'tracking_number' => $tracking_number,
648
- 'tracking_product_code' => $tracking_product_code,
649
- 'date_shipped' => $date_shipped,
650
- );
651
-
652
- $args = apply_filters( 'tracking_info_args', $args, $_POST, $order_id );
653
-
654
- $change_order_to_shipped = isset( $_POST[ 'change_order_to_shipped' ] ) ? wc_clean( $_POST[ 'change_order_to_shipped' ] ) : '';
655
-
656
- if ( 'change_order_to_shipped' == $change_order_to_shipped ) {
657
- $args['status_shipped'] = 1;
658
- } elseif ( 'change_order_to_partial_shipped' == $change_order_to_shipped ) {
659
- $args['status_shipped'] = 2;
660
- }
661
-
662
- $tracking_item = $this->add_tracking_item( $order_id, $args );
663
-
664
- do_action( 'ast_save_tracking_details_end', $order_id, $_POST );
665
-
666
- if ( isset( $_POST['productlist'] ) && !empty( $_POST['productlist'] ) && '[]' != $_POST['productlist'] ) {
667
- echo 'reload';
668
- die();
669
- }
670
-
671
- $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
672
- }
673
-
674
- die();
675
- }
676
-
677
- /**
678
- * Order Tracking Save AJAX
679
- *
680
- * Function for saving tracking items via AJAX
681
- */
682
- public function save_inline_tracking_number() {
683
-
684
- check_ajax_referer( 'wc_ast_inline_tracking_form', 'wc_ast_inline_tracking_form_nonce' );
685
-
686
- $tracking_provider = isset( $_POST['tracking_provider'] ) ? wc_clean( $_POST['tracking_provider'] ) : '';
687
- $tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
688
-
689
- if ( strlen( $tracking_number ) > 0 && '' != $tracking_provider ) {
690
-
691
- $order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
692
- $tracking_product_code = isset( $_POST['tracking_product_code'] ) ? wc_clean( $_POST['tracking_product_code'] ) : '';
693
- $date_shipped = isset( $_POST['date_shipped'] ) ? wc_clean( $_POST['date_shipped'] ) : '';
694
-
695
- $args = array(
696
- 'tracking_provider' => $tracking_provider,
697
- 'tracking_number' => $tracking_number,
698
- 'tracking_product_code' => $tracking_product_code,
699
- 'date_shipped' => $date_shipped,
700
- );
701
-
702
- $args = apply_filters( 'tracking_info_args', $args, $_POST, $order_id );
703
-
704
- $change_order_to_shipped = isset( $_POST[ 'change_order_to_shipped' ] ) ? wc_clean( $_POST[ 'change_order_to_shipped' ] ) : '';
705
-
706
- if ( 'change_order_to_shipped' == $change_order_to_shipped || 'yes' == $change_order_to_shipped ) {
707
- $args['status_shipped'] = 1;
708
- } elseif ( 'change_order_to_partial_shipped' == $change_order_to_shipped ) {
709
- $args['status_shipped'] = 2;
710
- }
711
-
712
- $tracking_item = $this->add_tracking_item( $order_id, $args );
713
- do_action( 'ast_save_tracking_details_end', $order_id, $_POST );
714
- }
715
- }
716
-
717
- /**
718
- * Order Tracking Delete
719
- *
720
- * Function to delete a tracking item
721
- */
722
- public function meta_box_delete_tracking() {
723
-
724
- check_ajax_referer( 'delete-tracking-item', 'security' );
725
-
726
- $order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
727
- $tracking_id = isset( $_POST['tracking_id'] ) ? wc_clean( $_POST['tracking_id'] ) : '';
728
- $tracking_items = $this->get_tracking_items( $order_id, true );
729
-
730
- do_action( 'delete_tracking_number_from_trackship', $tracking_items, $tracking_id, $order_id );
731
-
732
- foreach ( $tracking_items as $tracking_item ) {
733
- if ( $tracking_item['tracking_id'] == $tracking_id ) {
734
-
735
- $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
736
- $tracking_number = $tracking_item['tracking_number'];
737
- $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
738
- $order = wc_get_order( $order_id );
739
-
740
- /* translators: %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number */
741
- $note = sprintf( __( 'Tracking info was deleted for tracking provider %1$s with tracking number %2$s', 'woo-advanced-shipment-tracking' ), $tracking_provider, $tracking_number );
742
-
743
- // Add the note
744
- $order->add_order_note( $note );
745
- }
746
- }
747
-
748
- $this->delete_tracking_item( $order_id, $tracking_id );
749
- }
750
-
751
- /**
752
- * Display Shipment info in the frontend (order view/tracking page).
753
- */
754
- public function show_tracking_info_order( $order_id ) {
755
-
756
- wp_enqueue_style( 'front_style' );
757
- wp_enqueue_script( 'jquery-blockui' );
758
- wp_enqueue_script( 'front-js' );
759
-
760
- $local_template = get_stylesheet_directory() . '/woocommerce/myaccount/tracking-info.php';
761
-
762
- if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
763
- wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
764
- } else {
765
- wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
766
- }
767
- }
768
-
769
- /**
770
- * Adds a new column Track to the "My Orders" table in the account.
771
- *
772
- * @param string[] $columns the columns in the orders table
773
- * @return string[] updated columns
774
- */
775
- public function add_column_my_account_orders( $columns ) {
776
-
777
- $new_columns = array();
778
- foreach ( $columns as $key => $name ) {
779
-
780
- $new_columns[ $key ] = $name;
781
-
782
- // add ship-to after order status column
783
- if ( 'order-total' === $key ) {
784
- $new_columns['order-ast-track'] = __( 'Track', 'woo-advanced-shipment-tracking' );
785
- }
786
- }
787
-
788
- return $new_columns;
789
- }
790
-
791
- /**
792
- * Adds data to the custom "Track" column in "My Account > Orders".
793
- *
794
- * @param \WC_Order $order the order object for the row
795
- */
796
- public function add_column_my_account_orders_ast_track_column( $actions, $order ) {
797
-
798
- $order_id = $order->get_id();
799
- $tracking_items = $this->get_tracking_items( $order_id, true );
800
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
801
- $use_tracking_page = get_option( 'wc_ast_use_tracking_page' );
802
- $display_track_in_my_account = get_option( 'display_track_in_my_account', 0 );
803
- $open_track_in_new_tab = get_option( 'open_track_in_new_tab', 0 );
804
-
805
- if ( 1 != $display_track_in_my_account ) {
806
- return $actions;
807
- }
808
-
809
- if ( 0 == count( $tracking_items ) ) {
810
- return $actions;
811
- }
812
-
813
- if ( count( $tracking_items ) > 1 && ( !$wc_ast_api_key || !$use_tracking_page ) ) {
814
- $actions['ast_multi_track'] = array(
815
- // adjust URL as needed
816
- 'url' => $order->get_view_order_url(),
817
- 'name' => __( 'Track', 'woo-advanced-shipment-tracking' ),
818
- );
819
- return $actions;
820
- }
821
-
822
- if ( 1 == $open_track_in_new_tab ) {
823
- ?>
824
- <script>
825
- jQuery( document ).ready(function() {
826
- jQuery('.ast_track').attr("target","_blank");
827
- });
828
- </script>
829
- <?php
830
- }
831
- $tracking_items = reset($tracking_items);
832
- $actions['ast_track'] = array(
833
- // adjust URL as needed
834
- 'url' => $tracking_items[ 'ast_tracking_link' ],
835
- 'name' => __( 'Track', 'woo-advanced-shipment-tracking' ),
836
- );
837
- return $actions;
838
- }
839
-
840
- /**
841
- * Display shipment info in customer emails.
842
- *
843
- * @version 1.6.8
844
- *
845
- * @param WC_Order $order Order object.
846
- * @param bool $sent_to_admin Whether the email is being sent to admin or not.
847
- * @param bool $plain_text Whether email is in plain text or not.
848
- * @param WC_Email $email Email object.
849
- */
850
- public function email_display( $order, $sent_to_admin, $plain_text = null, $email = null ) {
851
-
852
- $wc_ast_unclude_tracking_info = get_option( 'wc_ast_unclude_tracking_info' );
853
-
854
- $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
855
-
856
- $preview = ( ( isset( $_REQUEST['wcast-tracking-preview'] ) && '1' === $_REQUEST['wcast-tracking-preview'] ) || ( isset( $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) ) ? true : false;
857
-
858
- $local_template = get_stylesheet_directory() . '/woocommerce/emails/tracking-info.php';
859
-
860
- $order = wc_get_order( $order_id );
861
-
862
- if ( $preview && 1 == $order_id ) {
863
-
864
- $upload_dir = wp_upload_dir();
865
- $ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
866
-
867
- $tracking_items[] = array(
868
- 'tracking_provider' => 'usps',
869
- 'custom_tracking_provider' => '',
870
- 'formatted_tracking_provider' => 'USPS',
871
- 'tracking_provider_image' => $ast_directory . 'usps.png',
872
- 'formatted_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
873
- 'ast_tracking_link' => 'https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=112123113',
874
- 'tracking_number' => '112123113',
875
- 'date_shipped' => strtotime( gmdate( 'Y-m-d' ) ),
876
- );
877
-
878
- if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
879
- wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $tracking_items, 'order_id'=> 1 ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
880
- } else {
881
- wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $tracking_items, 'order_id'=> 1 ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
882
- }
883
-
884
- } else if ( $order ) {
885
- $order_status = $order->get_status();
886
-
887
- if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && isset( $wc_ast_unclude_tracking_info['show_in_customer_invoice'] ) && 0 == $wc_ast_unclude_tracking_info['show_in_customer_invoice'] ) {
888
- return;
889
- }
890
-
891
- if ( is_a( $email, 'WC_Email_Customer_Note' ) && isset( $wc_ast_unclude_tracking_info['show_in_customer_note'] ) && 0 == $wc_ast_unclude_tracking_info['show_in_customer_note'] ) {
892
- return;
893
- }
894
-
895
- if ( isset( $wc_ast_unclude_tracking_info[ $order_status ] ) && 0 == $wc_ast_unclude_tracking_info[ $order_status ] && !is_a( $email, 'WC_Email_Customer_Invoice' ) && !is_a( $email, 'WC_Email_Customer_Note' ) ) {
896
- return;
897
- }
898
-
899
- if ( is_a( $email, 'WC_Email_Customer_Refunded_Order' ) && isset( $wc_ast_unclude_tracking_info[ 'refunded' ] ) && 0 == $wc_ast_unclude_tracking_info[ 'refunded' ] ) {
900
- return;
901
- }
902
-
903
- $tracking_items = $this->get_tracking_items( $order_id, true );
904
-
905
- if ( true === $plain_text ) {
906
-
907
- if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
908
- 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/', get_stylesheet_directory() . '/woocommerce/' );
909
- } else {
910
- 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/' );
911
- }
912
- } else {
913
- if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
914
- wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
915
- } else {
916
- wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
917
- }
918
- }
919
- }
920
- }
921
-
922
- /**
923
- * Prevents data being copied to subscription renewals
924
- */
925
- public function woocommerce_subscriptions_renewal_order_meta_query( $order_meta_query, $original_order_id, $renewal_order_id, $new_order_role ) {
926
- $order_meta_query .= " AND `meta_key` NOT IN ( '_wc_shipment_tracking_items' )";
927
- return $order_meta_query;
928
- }
929
-
930
- /*
931
- * Works out the final tracking provider and tracking link and appends then to the returned tracking item
932
- *
933
- */
934
- public function get_formatted_tracking_item( $order_id, $tracking_item ) {
935
- $formatted = array();
936
- $tracking_items = $this->get_tracking_items( $order_id );
937
- $trackship_supported = '';
938
-
939
- foreach ( $tracking_items as $key => $item ) {
940
- if ( $item['tracking_id'] == $tracking_item['tracking_id'] ) {
941
- $shipmet_key = $key;
942
- }
943
- }
944
-
945
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true );
946
-
947
- $status = isset( $shipment_status[ $shipmet_key ][ 'status' ] ) ? $shipment_status[ $shipmet_key ][ 'status' ] : '';
948
-
949
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
950
- $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
951
- } else {
952
- $order = new WC_Order( $order_id );
953
- $postcode = $order->get_shipping_postcode();
954
- }
955
-
956
- $formatted['formatted_tracking_provider'] = '';
957
- $formatted['formatted_tracking_link'] = '';
958
-
959
- if ( empty( $postcode ) ) {
960
- $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
961
- }
962
-
963
- $tracking_provider = isset( $tracking_item['tracking_provider'] ) ? $tracking_item['tracking_provider'] : $tracking_item['custom_tracking_provider'];
964
- $tracking_provider = apply_filters( 'convert_provider_name_to_slug', $tracking_provider );
965
- $tracking_item['tracking_provider'] = $tracking_provider;
966
-
967
- $link_format = '';
968
-
969
- foreach ( $this->get_providers() as $provider => $format ) {
970
- if ( $provider === $tracking_item['tracking_provider'] || $format['provider_name'] === $tracking_item['tracking_provider'] ) {
971
- $link_format = $format['provider_url'];
972
- $trackship_supported = $format['trackship_supported'];
973
- $formatted['formatted_tracking_provider'] = $format['provider_name'];
974
- break;
975
- }
976
-
977
- if ( $link_format ) {
978
- break;
979
- }
980
- }
981
-
982
- if ( $link_format ) {
983
- $searchVal = array( '%number%', str_replace( ' ', '', '%2 $ s' ) );
984
- $tracking_number = str_replace( ' ', '', $tracking_item['tracking_number'] );
985
- $replaceVal = array( $tracking_number, urlencode( $postcode ) );
986
- $link_format = str_replace( $searchVal, $replaceVal, $link_format );
987
-
988
- if ( isset( $tracking_item[ 'tracking_product_code' ] ) ) {
989
- $searchnumber2 = array( '%number2%', str_replace(' ', '', '%2 $ s') );
990
- $tracking_product_code = str_replace(' ', '', $tracking_item['tracking_product_code']);
991
- $link_format = str_replace( $searchnumber2, $tracking_product_code, $link_format );
992
- }
993
-
994
- if ( null != $order->get_shipping_country() ) {
995
- $shipping_country = $order->get_shipping_country();
996
- } else {
997
- $shipping_country = $order->get_billing_country();
998
- }
999
-
1000
- if ( $shipping_country ) {
1001
-
1002
- if ( 'jp-post' == $tracking_item['tracking_provider'] && 'JP' != $shipping_country ) {
1003
- $local_en = '&locale=en';
1004
- $link_format = $link_format . $local_en;
1005
- }
1006
-
1007
- if ( 'dhl-ecommerce' == $tracking_item['tracking_provider'] ) {
1008
- $link_format = str_replace('us-en', strtolower($shipping_country) . '-en', $link_format);
1009
- }
1010
-
1011
- if ( 'dhl-freight' == $tracking_item['tracking_provider'] ) {
1012
- $link_format = str_replace('global-en', strtolower($shipping_country) . '-en', $link_format);
1013
- }
1014
- }
1015
-
1016
- if ( null != $order->get_shipping_postcode() ) {
1017
- $shipping_postal_code = $order->get_shipping_postcode();
1018
- } else {
1019
- $shipping_postal_code = $order->get_billing_postcode();
1020
- }
1021
-
1022
- $shipping_country = str_replace( ' ', '', $shipping_country );
1023
- $link_format = str_replace( '%country_code%', $shipping_country, $link_format );
1024
-
1025
- if ( 'apc-overnight' == $tracking_item['tracking_provider'] ) {
1026
- $shipping_postal_code = str_replace( ' ', '+', $shipping_postal_code );
1027
- } else {
1028
- $shipping_postal_code = str_replace( ' ', '', $shipping_postal_code );
1029
- }
1030
-
1031
- $link_format = str_replace( '%postal_code%', $shipping_postal_code, $link_format );
1032
-
1033
- $formatted_tracking_link = $link_format;
1034
- $formatted['formatted_tracking_link'] = $link_format;
1035
- } else {
1036
- $formatted_tracking_link = isset( $tracking_item['custom_tracking_link'] ) ? $tracking_item['custom_tracking_link'] : '' ;
1037
- $formatted['formatted_tracking_link'] = $formatted_tracking_link;
1038
- }
1039
-
1040
- $ts_tracking_page = $this->check_ts_tracking_page_for_tracking_item( $order_id, $tracking_item, $status );
1041
-
1042
- if ( $ts_tracking_page ) {
1043
-
1044
- $tracking_page = get_option( 'wc_ast_trackship_page_id' );
1045
- $order_key = $order->get_order_key();
1046
-
1047
- if ( 'other' == $tracking_page ) {
1048
- $trackship_other_page = get_option( 'wc_ast_trackship_other_page' );
1049
- $ts_tracking_link = add_query_arg( array(
1050
- 'order_id' => $order_id,
1051
- 'order_key' => $order_key,
1052
- ), $trackship_other_page );
1053
- } else {
1054
- $ts_tracking_link = add_query_arg( array(
1055
- 'order_id' => $order_id,
1056
- 'order_key' => $order_key,
1057
- ), get_permalink( $tracking_page ) );
1058
- }
1059
-
1060
- $formatted['ast_tracking_link'] = $ts_tracking_link;
1061
- } else {
1062
- $formatted['ast_tracking_link'] = $formatted_tracking_link;
1063
- }
1064
-
1065
- global $wpdb;
1066
- $results = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$this->table} WHERE ts_slug = %s", $tracking_item['tracking_provider'] ) );
1067
- $formatted[ 'tracking_provider_image' ] = apply_filters( 'get_shipping_provdider_src', $results );
1068
-
1069
- return $formatted;
1070
- }
1071
-
1072
- public function check_ts_tracking_page_for_tracking_item( $order_id, $tracking_item, $status ) {
1073
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
1074
- $use_tracking_page = get_option( 'wc_ast_use_tracking_page' );
1075
-
1076
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true );
1077
- if ( empty( $shipment_status ) ) {
1078
- return false;
1079
- }
1080
-
1081
- $trackship_supported = 0;
1082
-
1083
- foreach ( $this->get_providers() as $provider => $format ) {
1084
- if ( $provider === $tracking_item['tracking_provider'] || $format['provider_name'] == $tracking_item['tracking_provider'] ) {
1085
- $trackship_supported = isset( $format['trackship_supported'] ) ? $format['trackship_supported'] : 0;
1086
- break;
1087
- }
1088
- }
1089
-
1090
- if ( $wc_ast_api_key && $use_tracking_page && 1 == $trackship_supported && 'carrier_unsupported' != $status && function_exists( 'trackship_for_woocommerce' ) ) {
1091
- return true;
1092
- }
1093
- return false;
1094
- }
1095
-
1096
- /**
1097
- * Deletes a tracking item from post_meta array
1098
- *
1099
- * @param int $order_id Order ID
1100
- * @param string $tracking_id Tracking ID
1101
- *
1102
- * @return bool True if tracking item is deleted successfully
1103
- */
1104
- public function delete_tracking_item( $order_id, $tracking_id ) {
1105
- $tracking_items = $this->get_tracking_items( $order_id );
1106
-
1107
- $is_deleted = false;
1108
-
1109
- if ( count( $tracking_items ) > 0 ) {
1110
- foreach ( $tracking_items as $key => $item ) {
1111
- if ( $item['tracking_id'] == $tracking_id ) {
1112
- unset( $tracking_items[ $key ] );
1113
- $is_deleted = true;
1114
- do_action( 'fix_shipment_tracking_for_deleted_tracking', $order_id, $key, $item );
1115
- break;
1116
- }
1117
- }
1118
- $this->save_tracking_items( $order_id, $tracking_items );
1119
- }
1120
-
1121
- $tracking_items = $this->get_tracking_items( $order_id );
1122
-
1123
- if ( !$tracking_items ) {
1124
- delete_post_meta( $order_id, '_wc_shipment_tracking_items' );
1125
- }
1126
-
1127
- return $is_deleted;
1128
- }
1129
-
1130
- /*
1131
- * Adds a tracking item to the post_meta array
1132
- *
1133
- * @param int $order_id Order ID
1134
- * @param array $tracking_items List of tracking item
1135
- *
1136
- * @return array Tracking item
1137
- */
1138
- public function add_tracking_item( $order_id, $args ) {
1139
- $tracking_item = array();
1140
-
1141
- $tracking_item['tracking_provider'] = isset( $args['tracking_provider'] ) ? wc_clean( $args['tracking_provider'] ) : '';
1142
- $tracking_item['custom_tracking_provider'] = isset( $args['custom_tracking_provider'] ) ? wc_clean( $args['custom_tracking_provider'] ) : '';
1143
- $tracking_item['custom_tracking_link'] = isset( $args['custom_tracking_link'] ) ? wc_clean( $args['custom_tracking_link'] ) : '';
1144
- $tracking_item['tracking_number'] = isset( $args['tracking_number'] ) ? wc_clean( $args['tracking_number'] ) : '';
1145
- $tracking_item['tracking_product_code'] = isset( $args['tracking_product_code'] ) ? wc_clean( $args['tracking_product_code'] ) : '';
1146
-
1147
- if ( isset( $args['date_shipped'] ) ) {
1148
- $date = str_replace( '/', '-', $args['date_shipped'] );
1149
- $date = date_create( $date );
1150
-
1151
- if ( isset($args['source']) && 'REST_API' == $args['source'] ) {
1152
- $wc_ast_api_date_format = get_option( 'wc_ast_api_date_format', 'd-m-Y' );
1153
- $date = date_format( $date, $wc_ast_api_date_format );
1154
- } else {
1155
- $date = date_format( $date, 'd-m-Y' );
1156
- }
1157
-
1158
- $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
1159
- }
1160
-
1161
- $tracking_item['products_list'] = isset( $args['products_list'] ) ? wc_clean( $args['products_list'] ) : '';
1162
- $tracking_item['status_shipped'] = isset( $args['status_shipped'] ) ? wc_clean( $args['status_shipped'] ) : '';
1163
- $tracking_item['date_shipped'] = !isset( $args['date_shipped'] ) ? time() : $tracking_item['date_shipped'];
1164
-
1165
- if ( 0 == (int) $tracking_item['date_shipped'] ) {
1166
- $tracking_item['date_shipped'] = time();
1167
- }
1168
-
1169
- if ( isset($tracking_item['custom_tracking_provider'] )) {
1170
- $tracking_item['tracking_id'] = md5( "{$tracking_item['custom_tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
1171
- } else {
1172
- $tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
1173
- }
1174
-
1175
- $tracking_item = apply_filters( 'tracking_item_args', $tracking_item, $args, $order_id );
1176
-
1177
- $tracking_items = $this->get_tracking_items( $order_id );
1178
-
1179
- $tracking_items[] = $tracking_item;
1180
-
1181
- $status_shipped = ( isset( $tracking_item[ 'status_shipped' ] ) ? $tracking_item[ 'status_shipped' ] : '' );
1182
-
1183
- $this->save_tracking_items( $order_id, $tracking_items );
1184
-
1185
- $order = new WC_Order( $order_id );
1186
-
1187
- do_action( 'update_order_status_after_adding_tracking', $status_shipped, $order );
1188
-
1189
- $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
1190
- $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
1191
-
1192
- /* translators: %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number */
1193
- $note = sprintf( __( 'Order was shipped with %1$s and tracking number is: %2$s', 'woo-advanced-shipment-tracking' ), $tracking_provider, $tracking_item['tracking_number'] );
1194
-
1195
- // Add the note
1196
- $order->add_order_note( $note );
1197
-
1198
- return $tracking_item;
1199
- }
1200
-
1201
- public function seach_tracking_number_in_items( $tracking_number, $tracking_items ) {
1202
- foreach ( $tracking_items as $key => $val ) {
1203
- if ( $val['tracking_number'] === $tracking_number ) {
1204
- return $key;
1205
- }
1206
- }
1207
- return null;
1208
- }
1209
-
1210
- /*
1211
- * Adds a tracking item to the post_meta array from external system programatticaly
1212
- *
1213
- * @param int $order_id Order ID
1214
- * @param array $tracking_items List of tracking item
1215
- *
1216
- * @return array Tracking item
1217
- */
1218
- public function insert_tracking_item( $order_id, $args ) {
1219
- $tracking_item = array();
1220
- $tracking_provider = $args['tracking_provider'];
1221
-
1222
- $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
1223
- $shippment_provider = $ast_admin->get_provider_slug_from_name( $tracking_provider );
1224
-
1225
- if ( $args['tracking_provider'] && !empty( $shippment_provider ) ) {
1226
- $tracking_item['tracking_provider'] = wc_clean ( $shippment_provider );
1227
- } else if ( $args['tracking_provider'] ) {
1228
- $tracking_item['tracking_provider'] = $args['tracking_provider'];
1229
- }
1230
-
1231
- if ( $args['tracking_number'] ) {
1232
- $tracking_item['tracking_number'] = wc_clean( $args['tracking_number'] );
1233
- }
1234
-
1235
- if ( $args['date_shipped'] ) {
1236
- $date = str_replace( '/', '-', $args['date_shipped'] );
1237
- $date = date_create($date);
1238
- $date = date_format( $date, 'd-m-Y' );
1239
-
1240
- $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
1241
- }
1242
-
1243
- if ( $args['status_shipped'] ) {
1244
- $tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
1245
- }
1246
-
1247
- if ( 0 == (int) $tracking_item['date_shipped'] ) {
1248
- $tracking_item['date_shipped'] = time();
1249
- }
1250
-
1251
- $tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
1252
-
1253
- $tracking_items = $this->get_tracking_items( $order_id );
1254
- $tracking_items[] = $tracking_item;
1255
-
1256
- if ( $tracking_item['tracking_provider'] ) {
1257
- $this->save_tracking_items( $order_id, $tracking_items );
1258
-
1259
- $status_shipped = ( isset( $tracking_item['status_shipped'] ) ? $tracking_item['status_shipped'] : '' );
1260
-
1261
- $order = new WC_Order( $order_id );
1262
-
1263
- do_action( 'update_order_status_after_adding_tracking', $status_shipped, $order );
1264
-
1265
- $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
1266
- $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
1267
-
1268
- /* translators: %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number */
1269
- $note = sprintf( __( 'Order was shipped with %1$s and tracking number is: %2$s', 'woo-advanced-shipment-tracking' ), $tracking_provider, $tracking_item['tracking_number'] );
1270
-
1271
- // Add the note
1272
- $order->add_order_note( $note );
1273
-
1274
- return $tracking_item;
1275
- }
1276
- }
1277
-
1278
-
1279
-
1280
- /**
1281
- * Saves the tracking items array to post_meta.
1282
- *
1283
- * @param int $order_id Order ID
1284
- * @param array $tracking_items List of tracking item
1285
- */
1286
- public function save_tracking_items( $order_id, $tracking_items ) {
1287
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
1288
- update_post_meta( $order_id, '_wc_shipment_tracking_items', $tracking_items );
1289
- } else {
1290
- $order = new WC_Order( $order_id );
1291
- $order->update_meta_data( '_wc_shipment_tracking_items', $tracking_items );
1292
- $order->save_meta_data();
1293
- }
1294
- }
1295
-
1296
- /**
1297
- * Gets a single tracking item from the post_meta array for an order.
1298
- *
1299
- * @param int $order_id Order ID
1300
- * @param string $tracking_id Tracking ID
1301
- * @param bool $formatted Wether or not to reslove the final tracking
1302
- * link and provider in the returned tracking item.
1303
- * Default to false.
1304
- *
1305
- * @return null|array Null if not found, otherwise array of tracking item will be returned
1306
- */
1307
- public function get_tracking_item( $order_id, $tracking_id, $formatted = false ) {
1308
- $tracking_items = $this->get_tracking_items( $order_id, $formatted );
1309
-
1310
- if ( count( $tracking_items ) ) {
1311
- foreach ( $tracking_items as $item ) {
1312
- if ( $item['tracking_id'] === $tracking_id ) {
1313
- return $item;
1314
- }
1315
- }
1316
- }
1317
- return null;
1318
- }
1319
-
1320
- /*
1321
- * Gets all tracking itesm fron the post meta array for an order
1322
- *
1323
- * @param int $order_id Order ID
1324
- * @param bool $formatted Wether or not to reslove the final tracking link
1325
- * and provider in the returned tracking item.
1326
- * Default to false.
1327
- *
1328
- * @return array List of tracking items
1329
- */
1330
- public function get_tracking_items( $order_id, $formatted = false ) {
1331
-
1332
- global $wpdb;
1333
- $order = wc_get_order( $order_id );
1334
- if ( $order ) {
1335
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
1336
- $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
1337
- } else {
1338
- $order = new WC_Order( $order_id );
1339
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
1340
- }
1341
-
1342
- if ( is_array( $tracking_items ) ) {
1343
- if ( $formatted ) {
1344
- foreach ( $tracking_items as &$item ) {
1345
- $formatted_item = $this->get_formatted_tracking_item( $order_id, $item );
1346
- $item = array_merge( $item, $formatted_item );
1347
- }
1348
- }
1349
- return $tracking_items;
1350
- } else {
1351
- return array();
1352
- }
1353
- } else {
1354
- return array();
1355
- }
1356
- }
1357
-
1358
- /**
1359
- * Gets the absolute plugin path without a trailing slash, e.g.
1360
- * /path/to/wp-content/plugins/plugin-directory
1361
- *
1362
- * @return string plugin path
1363
- */
1364
- public function get_plugin_path() {
1365
- $this->plugin_path = untrailingslashit( plugin_dir_path( dirname( __FILE__ ) ) );
1366
- return $this->plugin_path;
1367
- }
1368
-
1369
- /**
1370
- * Validation code add tracking info form
1371
- */
1372
- public function custom_validation_js() {
1373
- ?>
1374
- <script>
1375
- jQuery(document).on("click",".button-save-form",function(e){
1376
- var error;
1377
- var tracking_provider = jQuery("#tracking_provider");
1378
- var tracking_number = jQuery("#tracking_number");
1379
-
1380
- if(tracking_provider.val() == '' ){
1381
- jQuery( "#select2-tracking_provider-container" ).closest( ".select2-selection" ).css( "border-color", "red" );
1382
- error = true;
1383
- } else {
1384
- jQuery( "#select2-tracking_provider-container" ).closest( ".select2-selection" ).css( "border-color", "" );
1385
- }
1386
- if(tracking_number.val() == '' ){
1387
- tracking_number.css( "border-color", "red" );
1388
- error = true;
1389
- } else {
1390
- var pattern = /^[0-9a-zA-Z- \b]+$/;
1391
- if(!pattern.test(tracking_number.val())){
1392
- tracking_number.css( "border-color", "red" );
1393
- error = true;
1394
- } else{
1395
- tracking_number.css( "border-color", "" );
1396
- }
1397
- }
1398
-
1399
- if(error == true){
1400
- return false;
1401
- }
1402
- });
1403
- </script>
1404
- <?php
1405
- }
1406
-
1407
- /*
1408
- * Get formated order id
1409
- */
1410
- public function get_formated_order_id( $order_id ) {
1411
-
1412
- if ( is_plugin_active( 'custom-order-numbers-for-woocommerce/custom-order-numbers-for-woocommerce.php' ) ) {
1413
- $alg_wc_custom_order_numbers_enabled = get_option( 'alg_wc_custom_order_numbers_enabled' );
1414
- $alg_wc_custom_order_numbers_prefix = get_option( 'alg_wc_custom_order_numbers_prefix' );
1415
- $new_order_id = str_replace( $alg_wc_custom_order_numbers_prefix, '', $order_id );
1416
-
1417
- if ( 'yes' == $alg_wc_custom_order_numbers_enabled ) {
1418
- $args = array(
1419
- 'post_type' => 'shop_order',
1420
- 'posts_per_page' => '1',
1421
- 'meta_query' => array(
1422
- 'relation' => 'AND',
1423
- array(
1424
- 'key' => '_alg_wc_custom_order_number',
1425
- 'value' => $new_order_id,
1426
- ),
1427
- ),
1428
- 'post_status' => array_keys( wc_get_order_statuses() ) ,
1429
- );
1430
- $posts = get_posts( $args );
1431
- $my_query = new WP_Query( $args );
1432
-
1433
- if ( $my_query->have_posts() ) {
1434
- while ( $my_query->have_posts()) {
1435
- $my_query->the_post();
1436
- if ( get_the_ID() ) {
1437
- $order_id = get_the_ID();
1438
- }
1439
- } // end while
1440
- } // end if
1441
- $order_id;
1442
- wp_reset_postdata();
1443
- }
1444
- }
1445
-
1446
- if ( is_plugin_active( 'woocommerce-sequential-order-numbers/woocommerce-sequential-order-numbers.php' ) ) {
1447
-
1448
- $s_order_id = wc_sequential_order_numbers()->find_order_by_order_number( $order_id );
1449
- if ( $s_order_id ) {
1450
- $order_id = $s_order_id;
1451
- }
1452
- }
1453
-
1454
- if ( is_plugin_active( 'woocommerce-sequential-order-numbers-pro/woocommerce-sequential-order-numbers-pro.php' ) ) {
1455
-
1456
- // search for the order by custom order number
1457
- $query_args = array(
1458
- 'numberposts' => 1,
1459
- 'meta_key' => '_order_number_formatted',
1460
- 'meta_value' => $order_id,
1461
- 'post_type' => 'shop_order',
1462
- 'post_status' => 'any',
1463
- 'fields' => 'ids',
1464
- );
1465
-
1466
- $posts = get_posts( $query_args );
1467
- if ( !empty( $posts ) ) {
1468
- list( $order_id ) = $posts;
1469
- }
1470
- }
1471
-
1472
- if ( is_plugin_active( 'woocommerce-jetpack/woocommerce-jetpack.php' ) ) {
1473
-
1474
- $wcj_order_numbers_enabled = get_option( 'wcj_order_numbers_enabled' );
1475
- // Get prefix and suffix options
1476
- $prefix = do_shortcode( get_option( 'wcj_order_number_prefix', '' ) );
1477
- $prefix .= date_i18n( get_option( 'wcj_order_number_date_prefix', '' ) );
1478
- $suffix = do_shortcode( get_option( 'wcj_order_number_suffix', '' ) );
1479
- $suffix .= date_i18n( get_option( 'wcj_order_number_date_suffix', '' ) );
1480
-
1481
- // Ignore suffix and prefix from search input
1482
- $search_no_suffix = preg_replace( "/\A{$prefix}/i", '', $order_id );
1483
- $search_no_suffix_and_prefix = preg_replace( "/{$suffix}\z/i", '', $search_no_suffix );
1484
- $final_search = empty( $search_no_suffix_and_prefix ) ? $search : $search_no_suffix_and_prefix;
1485
-
1486
- if ( 'yes' == $wcj_order_numbers_enabled ) {
1487
- $query_args = array(
1488
- 'numberposts' => 1,
1489
- 'meta_key' => '_wcj_order_number',
1490
- 'meta_value' => $final_search,
1491
- 'post_type' => 'shop_order',
1492
- 'post_status' => 'any',
1493
- 'fields' => 'ids',
1494
- );
1495
-
1496
- $posts = get_posts( $query_args );
1497
- if ( !empty( $posts ) ) {
1498
- list( $order_id ) = $posts;
1499
- }
1500
- }
1501
- }
1502
-
1503
- if ( is_plugin_active( 'wp-lister-amazon/wp-lister-amazon.php' ) ) {
1504
- $wpla_use_amazon_order_number = get_option( 'wpla_use_amazon_order_number' );
1505
- if ( 1 == $wpla_use_amazon_order_number ) {
1506
- $query_args = array(
1507
- 'numberposts' => 1,
1508
- 'meta_key' => '_wpla_amazon_order_id',
1509
- 'meta_value' => $order_id,
1510
- 'post_type' => 'shop_order',
1511
- 'post_status' => 'any',
1512
- 'fields' => 'ids',
1513
- );
1514
-
1515
- $posts = get_posts( $query_args );
1516
- if ( !empty( $posts ) ) {
1517
- list( $order_id ) = $posts;
1518
- }
1519
- }
1520
- }
1521
-
1522
- if ( is_plugin_active( 'wp-lister/wp-lister.php' ) || is_plugin_active( 'wp-lister-for-ebay/wp-lister.php' ) ) {
1523
- $args = array(
1524
- 'post_type' => 'shop_order',
1525
- 'posts_per_page' => '1',
1526
- 'meta_query' => array(
1527
- 'relation' => 'OR',
1528
- array(
1529
- 'key' => '_ebay_extended_order_id',
1530
- 'value' => $order_id
1531
- ),
1532
- array(
1533
- 'key' => '_ebay_order_id',
1534
- 'value' => $order_id
1535
- ),
1536
- ),
1537
- 'post_status' => 'any',
1538
- );
1539
-
1540
- $posts = get_posts( $args );
1541
- $my_query = new WP_Query( $args );
1542
-
1543
- if ( $my_query->have_posts() ) {
1544
- while ( $my_query->have_posts() ) {
1545
- $my_query->the_post();
1546
- if ( get_the_ID() ) {
1547
- $order_id = get_the_ID();
1548
- }
1549
- } // end while
1550
- } // end if
1551
- wp_reset_postdata();
1552
- }
1553
-
1554
- if ( is_plugin_active( 'yith-woocommerce-sequential-order-number-premium/init.php' ) ) {
1555
- $query_args = array(
1556
- 'numberposts' => 1,
1557
- 'meta_key' => '_ywson_custom_number_order_complete',
1558
- 'meta_value' => $order_id,
1559
- 'post_type' => 'shop_order',
1560
- 'post_status' => 'any',
1561
- 'fields' => 'ids',
1562
- );
1563
-
1564
- $posts = get_posts( $query_args );
1565
- if ( !empty( $posts ) ) {
1566
- list( $order_id ) = $posts;
1567
- }
1568
- }
1569
-
1570
- if ( is_plugin_active( 'wt-woocommerce-sequential-order-numbers/wt-advanced-order-number.php' ) ) {
1571
- $query_args = array(
1572
- 'numberposts' => 1,
1573
- 'meta_key' => '_order_number',
1574
- 'meta_value' => $order_id,
1575
- 'post_type' => 'shop_order',
1576
- 'post_status' => 'any',
1577
- 'fields' => 'ids',
1578
- );
1579
-
1580
- $posts = get_posts( $query_args );
1581
- if ( !empty( $posts ) ) {
1582
- list( $order_id ) = $posts;
1583
- }
1584
- }
1585
-
1586
- return apply_filters( 'ast_formated_order_id', $order_id );
1587
- }
1588
-
1589
- /*
1590
- * Return option value for customizer
1591
- */
1592
- public function get_option_value_from_array( $array, $key, $default_value ) {
1593
-
1594
- $array_data = get_option( $array );
1595
- $value = '';
1596
-
1597
- if ( isset( $array_data[ $key ] ) ) {
1598
- $value = $array_data[ $key ];
1599
- if ( '' != $value ) {
1600
- return $value;
1601
- }
1602
- }
1603
-
1604
- if ( '' == $value ) {
1605
- $value = $default_value;
1606
- }
1607
-
1608
- return $value;
1609
- }
1610
-
1611
- /*
1612
- * Return checkbox option value for customizer
1613
- */
1614
- public function get_checkbox_option_value_from_array( $array, $key, $default_value ) {
1615
-
1616
- $array_data = get_option( $array );
1617
- $value = '';
1618
-
1619
- if ( isset( $array_data[ $key ] ) ) {
1620
- $value = $array_data[ $key ];
1621
- return $value;
1622
- }
1623
-
1624
- if ( '' == $value ) {
1625
- $value = $default_value;
1626
- }
1627
-
1628
- return $value;
1629
- }
1630
-
1631
- /*
1632
- * Return Tracking information template
1633
- */
1634
- public function tracking_info_template( $order_id, $tracking_items, $shipment_status = '' ) {
1635
-
1636
- $local_template = get_stylesheet_directory() . '/woocommerce/emails/tracking-info.php';
1637
-
1638
- if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
1639
- return wc_get_template_html( 'emails/tracking-info.php', array(
1640
- 'tracking_items' => $tracking_items,
1641
- 'order_id' => $order_id,
1642
- 'show_shipment_status' => true,
1643
- 'new_status' => $shipment_status,
1644
- ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
1645
- } else {
1646
- return wc_get_template_html( 'emails/tracking-info.php', array(
1647
- 'tracking_items' => $tracking_items,
1648
- 'order_id' => $order_id,
1649
- 'show_shipment_status' => true,
1650
- 'new_status' => $shipment_status,
1651
- ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
1652
- }
1653
- }
1654
-
1655
- /*
1656
- * Return order details template
1657
- */
1658
- public function order_details_template( $order, $hide_shipping_item_price = '' ) {
1659
- return wc_get_template_html(
1660
- 'emails/wcast-email-order-details.php', array(
1661
- 'order' => $order,
1662
- 'hide_shipping_item_price' => $hide_shipping_item_price,
1663
- 'sent_to_admin' => false,
1664
- 'plain_text' => false,
1665
- 'email' => '',
1666
- ),
1667
- 'woocommerce-advanced-shipment-tracking/',
1668
- wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
1669
- );
1670
- }
1671
-
1672
- /*
1673
- * Return shipping address template
1674
- */
1675
- public function order_shipping_details_template( $order ) {
1676
- return wc_get_template_html(
1677
- 'emails/wcast-shipping-email-addresses.php', array(
1678
- 'order' => $order,
1679
- 'sent_to_admin' => false,
1680
- ),
1681
- 'woocommerce-advanced-shipment-tracking/',
1682
- wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
1683
- );
1684
- }
1685
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-partial-shipped-email-customizer.php DELETED
@@ -1,375 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Partial_Shipped_Customizer_Email {
11
-
12
-
13
- // Get our default values
14
- public function __construct() {
15
- // Get our Customizer defaults
16
- $this->defaults = $this->wcast_generate_defaults();
17
-
18
- // Register our sample default controls
19
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
20
-
21
- // Only proceed if this is own request.
22
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
23
- return;
24
- }
25
-
26
- // Register our sections
27
- add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
28
-
29
- // Remove unrelated components.
30
- add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
31
-
32
- // Remove unrelated sections.
33
- add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
34
-
35
- // Unhook divi front end.
36
- add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
37
-
38
- // Unhook Flatsome js
39
- add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
40
-
41
- add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
42
-
43
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
44
-
45
- add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
46
- }
47
-
48
- public function enqueue_preview_scripts() {
49
- wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
50
- wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
51
- // Send variables to Javascript
52
- $preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
53
- wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
54
- 'site_title' => $this->get_blogname(),
55
- 'order_number' => $preview_id,
56
- ));
57
- }
58
-
59
- /**
60
- * Get blog name formatted for emails.
61
- *
62
- * @return string
63
- */
64
- public function get_blogname() {
65
- return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
66
- }
67
-
68
- /**
69
- * Checks to see if we are opening our custom customizer preview
70
- *
71
- * @return bool
72
- */
73
- public function is_own_preview_request() {
74
- return isset( $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-partial-shipped-email-customizer-preview'];
75
- }
76
-
77
- /**
78
- * Checks to see if we are opening our custom customizer controls
79
- *
80
- * @return bool
81
- */
82
- public function is_own_customizer_request() {
83
- return isset( $_REQUEST['email'] ) && 'custom_order_status_email' === $_REQUEST['email'];
84
- }
85
-
86
- /**
87
- * Get Customizer URL
88
- *
89
- */
90
- public function get_customizer_url( $email, $order_status ) {
91
- return add_query_arg( array(
92
- 'wcast-customizer' => '1',
93
- 'email' => $email,
94
- 'order_status' => $order_status,
95
- 'autofocus[section]' => 'custom_order_status_email',
96
- 'url' => urlencode( add_query_arg( array( 'wcast-partial-shipped-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
97
- 'return' => urlencode( $this->get_email_settings_page_url() ),
98
- ), admin_url( 'customize.php' ) );
99
- }
100
-
101
- /**
102
- * Get WooCommerce email settings page URL
103
- *
104
- * @return string
105
- */
106
- public function get_email_settings_page_url() {
107
- return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
108
- }
109
-
110
- /**
111
- * Code for initialize default value for customizer
112
- */
113
- public function wcast_generate_defaults() {
114
- $customizer_defaults = array(
115
- 'wcast_partial_shipped_email_subject' => __( 'Your {site_title} order is now partially shipped', 'woo-advanced-shipment-tracking' ),
116
- 'wcast_partial_shipped_email_heading' => __( 'Your Order is Partially Shipped', 'woo-advanced-shipment-tracking' ),
117
- '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' ),
118
- 'wcast_enable_partial_shipped_email' => 'no',
119
- );
120
-
121
- return apply_filters( 'partially_shipped_customizer_defaults', $customizer_defaults );
122
- }
123
-
124
- /**
125
- * Register our sample default controls
126
- */
127
- public function wcast_register_sample_default_controls( $wp_customize ) {
128
- /**
129
- * Load all our Customizer Custom Controls
130
- */
131
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
132
-
133
- $order_status = array(
134
- 'partially_shipped' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
135
- );
136
- $order_status = apply_filters('wcast_order_status_email_type', $order_status);
137
-
138
- // Preview Order
139
- $wp_customize->add_setting( 'wcast_order_status_email_type',
140
- array(
141
- 'default' => 'mockup',
142
- 'transport' => 'postMessage',
143
- 'sanitize_callback' => '',
144
- 'type' => 'option',
145
- )
146
- );
147
- $wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_order_status_email_type',
148
- array(
149
- 'label' => __( 'Email Type', 'woo-advanced-shipment-tracking' ),
150
- 'description' => '',
151
- 'section' => 'custom_order_status_email',
152
- 'input_attrs' => array(
153
- 'placeholder' => __( 'Select email type', 'woo-advanced-shipment-tracking' ),
154
- 'class' => 'preview_email_type',
155
- ),
156
- 'choices' => $order_status,
157
- )
158
- ) );
159
-
160
- // Display Shipment Provider image/thumbnail
161
- $wp_customize->add_setting( 'customizer_partial_shipped_order_settings_enabled',
162
- array(
163
- 'default' => $this->defaults['wcast_enable_partial_shipped_email'],
164
- 'transport' => 'postMessage',
165
- 'type' => 'option',
166
- 'sanitize_callback' => ''
167
- )
168
- );
169
- $wp_customize->add_control( 'customizer_partial_shipped_order_settings_enabled',
170
- array(
171
- 'label' => __( 'Enable Partially Shipped order status email', 'woo-advanced-shipment-tracking' ),
172
- 'description' => '',
173
- 'section' => 'custom_order_status_email',
174
- 'type' => 'checkbox',
175
- 'active_callback' => array( $this, 'active_callback' ),
176
- )
177
- );
178
-
179
- // Header Text
180
- $wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[subject]',
181
- array(
182
- 'default' => $this->defaults['wcast_partial_shipped_email_subject'],
183
- 'transport' => 'postMessage',
184
- 'type' => 'option',
185
- 'sanitize_callback' => ''
186
- )
187
- );
188
- $wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[subject]',
189
- array(
190
- 'label' => __( 'Subject', 'woocommerce' ),
191
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
192
- 'section' => 'custom_order_status_email',
193
- 'type' => 'text',
194
- 'input_attrs' => array(
195
- 'class' => '',
196
- 'style' => '',
197
- 'placeholder' => __( $this->defaults['wcast_partial_shipped_email_subject'], 'woo-advanced-shipment-tracking' ),
198
- ),
199
- 'active_callback' => array( $this, 'active_callback' ),
200
- )
201
- );
202
-
203
- // Header Text
204
- $wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[heading]',
205
- array(
206
- 'default' => $this->defaults['wcast_partial_shipped_email_heading'],
207
- 'transport' => 'postMessage',
208
- 'type' => 'option',
209
- 'sanitize_callback' => ''
210
- )
211
- );
212
- $wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[heading]',
213
- array(
214
- 'label' => __( 'Email heading', 'woocommerce' ),
215
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
216
- 'section' => 'custom_order_status_email',
217
- 'type' => 'text',
218
- 'input_attrs' => array(
219
- 'class' => '',
220
- 'style' => '',
221
- 'placeholder' => __( $this->defaults['wcast_partial_shipped_email_heading'], 'woo-advanced-shipment-tracking' ),
222
- ),
223
- 'active_callback' => array( $this, 'active_callback' ),
224
- )
225
- );
226
-
227
-
228
- // Test of TinyMCE control
229
- $wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[wcast_partial_shipped_email_content]',
230
- array(
231
- 'default' => $this->defaults['wcast_partial_shipped_email_content'],
232
- 'transport' => 'refresh',
233
- 'sanitize_callback' => 'wp_kses_post',
234
- 'type' => 'option',
235
- )
236
- );
237
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'woocommerce_customer_partial_shipped_order_settings[wcast_partial_shipped_email_content]',
238
- array(
239
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
240
- 'description' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}',
241
- 'section' => 'custom_order_status_email',
242
- 'input_attrs' => array(
243
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
244
- 'mediaButtons' => true,
245
- 'placeholder' => __( $this->defaults['wcast_partial_shipped_email_content'], 'woo-advanced-shipment-tracking' ),
246
- ),
247
- 'active_callback' => array( $this, 'active_callback' ),
248
- )
249
- ) );
250
-
251
- $wp_customize->add_setting( 'wcast_partial_shipped_code_block',
252
- array(
253
- 'default' => '',
254
- 'transport' => 'postMessage',
255
- 'sanitize_callback' => ''
256
- )
257
- );
258
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_partial_shipped_code_block',
259
- array(
260
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
261
- '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>',
262
- 'section' => 'custom_order_status_email',
263
- 'active_callback' => array( $this, 'active_callback' ),
264
- )
265
- ) );
266
- }
267
-
268
- public function active_callback() {
269
- return ( $this->is_own_preview_request() ) ? true : false ;
270
- }
271
-
272
- /**
273
- * Set up preview
274
- *
275
- * @return void
276
- */
277
- public function set_up_preview() {
278
- // Make sure this is own preview request.
279
- if ( ! $this->is_own_preview_request() ) {
280
- return;
281
- }
282
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/partial_shipped_preview.php';
283
- exit;
284
- }
285
-
286
- /**
287
- * Code for preview of delivered order status email
288
- */
289
- public function preview_partial_shipped_email() {
290
- // Load WooCommerce emails.
291
- $wc_emails = WC_Emails::instance();
292
- $emails = $wc_emails->get_emails();
293
- $preview_id = 'mockup';
294
- $email_type = 'WC_Email_Customer_Partial_Shipped_Order';
295
-
296
- if ( false === $email_type ) {
297
- return false;
298
- }
299
-
300
- // Reference email.
301
- if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
302
- $email = $emails[ $email_type ];
303
- }
304
- $order_status = 'partial-shipped';
305
- // Get an order
306
- $order = wcast_customizer()->get_wc_order_for_preview( $order_status, $preview_id );
307
-
308
- // Make sure gateways are running in case the email needs to input content from them.
309
- WC()->payment_gateways();
310
- // Make sure shipping is running in case the email needs to input content from it.
311
- WC()->shipping();
312
-
313
- $email->object = $order;
314
- $email->find['order-date'] = '{order_date}';
315
- $email->find['order-number'] = '{order_number}';
316
- if ( is_object( $order ) ) {
317
- $email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
318
- $email->replace['order-number'] = $email->object->get_order_number();
319
- // Other properties
320
- $email->recipient = $email->object->get_billing_email();
321
- }
322
-
323
- // Get email content and apply styles.
324
- $content = $email->get_content();
325
-
326
- $content = $email->style_inline( $content );
327
- $content = apply_filters( 'woocommerce_mail_content', $content );
328
-
329
- echo wp_kses_post( $content );
330
- }
331
- }
332
-
333
- /**
334
- * Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
335
- *
336
- * @since 1.6.5
337
- * @version 1.6.5
338
- *
339
- * @return zorem_woocommerce_advanced_shipment_tracking
340
- */
341
- function ps_customizer() {
342
- static $instance;
343
-
344
- if ( ! isset( $instance ) ) {
345
- $instance = new Wcast_Partial_Shipped_Customizer_Email();
346
- }
347
-
348
- return $instance;
349
- }
350
-
351
- /**
352
- * Register this class globally.
353
- *
354
- * Backward compatibility.
355
- */
356
- ps_customizer();
357
-
358
- add_action( 'customize_save_customizer_partial_shipped_order_settings_enabled', 'woocommerce_customer_partial_shipped_order_settings_fun', 100, 1 );
359
-
360
- /**
361
- * Update Delivered order email enable/disable
362
- */
363
- function woocommerce_customer_partial_shipped_order_settings_fun( $data ) {
364
-
365
- $customized = isset( $_POST['customized'] ) ? wc_clean( $_POST['customized'] ) : '';
366
- $post_values = json_decode( wp_unslash( $customized ), true );
367
- $partial_shipped_order_settings = get_option( 'woocommerce_customer_partial_shipped_order_settings');
368
-
369
- if ( isset( $post_values['customizer_partial_shipped_order_settings_enabled'] ) && ( 1 == $post_values['customizer_partial_shipped_order_settings_enabled'] ) ) {
370
- $partial_shipped_order_settings['enabled'] = 'yes';
371
- } else {
372
- $partial_shipped_order_settings['enabled'] = 'no';
373
- }
374
- update_option( 'woocommerce_customer_partial_shipped_order_settings', $partial_shipped_order_settings );
375
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-tracking-info-customizer.php DELETED
@@ -1,1163 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Initialise_Customizer_Settings {
11
- // Get our default values
12
- private static $order_ids = null;
13
-
14
- public function __construct() {
15
- // Get our Customizer defaults
16
- $this->defaults = $this->wcast_generate_defaults();
17
-
18
- // Register our sample default controls
19
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
20
-
21
- // Only proceed if this is own request.
22
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
23
- return;
24
- }
25
-
26
- // Register our sections
27
- add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
28
-
29
- // Remove unrelated components.
30
- add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
31
-
32
- // Remove unrelated sections.
33
- add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
34
-
35
- // Unhook divi front end.
36
- add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
37
-
38
- // Unhook Flatsome js
39
- add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
40
-
41
- add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
42
-
43
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
44
-
45
- add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
46
- }
47
-
48
-
49
- /**
50
- * Add css and js for preview
51
- */
52
- public function enqueue_preview_scripts() {
53
- wp_enqueue_script('wcast-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . '/assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
54
- wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
55
- $preview_id = get_theme_mod('wcast_email_preview_order_id');
56
- wp_localize_script('wcast-preview-scripts', 'wcast_preview', array(
57
- 'site_title' => $this->get_blogname(),
58
- 'order_number' => $preview_id,
59
- ));
60
- }
61
-
62
- /**
63
- * Get blog name formatted for emails.
64
- *
65
- * @return string
66
- */
67
- public function get_blogname() {
68
- return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
69
- }
70
-
71
- /**
72
- * Checks to see if we are opening our custom customizer preview
73
- *
74
- * @return bool
75
- */
76
- public function is_own_preview_request() {
77
- return isset( $_REQUEST['wcast-tracking-preview'] ) && '1' === $_REQUEST['wcast-tracking-preview'];
78
- }
79
-
80
- /**
81
- * Checks to see if we are opening our custom customizer controls
82
- *
83
- * @return bool
84
- */
85
- public function is_own_customizer_request() {
86
- return isset( $_REQUEST['email'] ) && 'ast_tracking_general_section' === $_REQUEST['email'];
87
- }
88
-
89
- /**
90
- * Get Customizer URL
91
- *
92
- */
93
- public function get_customizer_url( $email, $return_tab ) {
94
- return add_query_arg( array(
95
- 'wcast-customizer' => '1',
96
- 'email' => $email,
97
- //'autofocus[section]' => 'ast_tracking_general_section',
98
- 'url' => urlencode( add_query_arg( array( 'wcast-tracking-preview' => '1' ), home_url( '/' ) ) ),
99
- 'return' => urlencode( $this->get_email_settings_page_url($return_tab) ),
100
- //'autofocus[panel]' => 'ast_tracking_display_panel',
101
- ), admin_url( 'customize.php' ) );
102
- }
103
-
104
- /**
105
- * Get WooCommerce email settings page URL
106
- *
107
- * @return string
108
- */
109
- public function get_email_settings_page_url( $return_tab ) {
110
- return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking&tab=' . $return_tab );
111
- }
112
-
113
- /**
114
- * Code for initialize default value for customizer
115
- */
116
- public function wcast_generate_defaults() {
117
- $customizer_defaults = array(
118
- 'display_shipment_provider_image' => 1,
119
- 'display_shipment_provider_name' => 1,
120
- 'remove_date_from_tracking' => '',
121
- 'header_text_change' => '',
122
- 'additional_header_text' => '',
123
- 'table_bg_color' => '#ffffff',
124
- 'table_border_color' => '#e0e0e0',
125
- 'table_border_size' => '1',
126
- 'table_header_font_size' => '',
127
- 'table_header_font_color' => '',
128
- 'table_header_bg_color' => '#fafafa',
129
- 'table_header_font_weight' => '400',
130
- 'table_content_font_size' => '12',
131
- 'table_content_font_color' => '#212121',
132
- 'tracking_link_font_color' => '',
133
- 'tracking_link_bg_color' => '',
134
- 'wcast_preview_order_id' => 'mockup',
135
- 'table_content_line_height' => '20',
136
- 'table_content_font_weight' => '400',
137
- 'table_padding' => '12',
138
- 'header_content_text_align' => 'left',
139
- 'tracking_link_border' => 1,
140
- 'show_track_label' => '',
141
- 'provider_header_text' => __( 'Provider', 'woo-advanced-shipment-tracking' ),
142
- 'tracking_number_header_text' => __( 'Tracking Number', 'woo-advanced-shipment-tracking' ),
143
- 'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
144
- 'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
145
- 'display_tracking_info_at' => 'before_order',
146
- 'select_tracking_template' => 'default_table',
147
- 'simple_provider_font_size' => '14',
148
- 'simple_provider_font_color' => '#212121',
149
- 'show_provider_border' => 1,
150
- 'provider_border_color' => '#e0e0e0',
151
- 'simple_layout_content' => __( 'Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}', 'woo-advanced-shipment-tracking' ),
152
- );
153
-
154
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
155
- }
156
-
157
- /**
158
- * Register our sample default controls
159
- */
160
- public function wcast_register_sample_default_controls( $wp_customize ) {
161
- /**
162
- * Load all our Customizer Custom Controls
163
- */
164
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
165
-
166
- $font_size_array[ '' ] = __( 'Select', 'woocommerce' );
167
- for ( $i = 10; $i <= 30; $i++ ) {
168
- $font_size_array[ $i ] = $i . 'px';
169
- }
170
-
171
- // Tracking Display Position
172
- $wp_customize->add_setting( 'tracking_info_settings[display_tracking_info_at]',
173
- array(
174
- 'default' => $this->defaults['display_tracking_info_at'],
175
- 'transport' => 'refresh',
176
- 'sanitize_callback' => '',
177
- 'type' => 'option',
178
- )
179
- );
180
- $wp_customize->add_control( 'tracking_info_settings[display_tracking_info_at]',
181
- array(
182
- 'label' => __( 'Tracking Display Position', 'woo-advanced-shipment-tracking' ),
183
- 'section' => 'ast_tracking_general_section',
184
- 'type' => 'select',
185
- 'choices' => array(
186
- 'before_order' => __( 'Before Order Details', 'woo-advanced-shipment-tracking' ),
187
- 'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
188
- )
189
- )
190
- );
191
-
192
- // Show track label
193
- $wp_customize->add_setting( 'tracking_info_settings[hide_trackig_header]',
194
- array(
195
- 'default' => '',
196
- 'transport' => 'refresh',
197
- 'sanitize_callback' => '',
198
- 'type' => 'option',
199
- )
200
- );
201
- $wp_customize->add_control( 'tracking_info_settings[hide_trackig_header]',
202
- array(
203
- 'label' => __( 'Hide Tracking Header', 'woo-advanced-shipment-tracking' ),
204
- 'description' => '',
205
- 'section' => 'ast_tracking_general_section',
206
- 'type' => 'checkbox'
207
- )
208
- );
209
-
210
- // Header Text
211
- $wp_customize->add_setting( 'tracking_info_settings[header_text_change]',
212
- array(
213
- 'default' => $this->defaults['header_text_change'],
214
- 'transport' => 'postMessage',
215
- 'sanitize_callback' => '',
216
- 'type' => 'option',
217
- )
218
- );
219
- $wp_customize->add_control( 'tracking_info_settings[header_text_change]',
220
- array(
221
- 'label' => __( 'Tracking Header text', 'woo-advanced-shipment-tracking' ),
222
- 'description' => '',
223
- 'section' => 'ast_tracking_general_section',
224
- 'type' => 'text',
225
- 'input_attrs' => array(
226
- 'class' => '',
227
- 'style' => '',
228
- 'placeholder' => __( 'Tracking Information', 'woo-advanced-shipment-tracking' ),
229
- ),
230
- 'active_callback' => array( $this, 'active_callback_for_hide_trackig_header' ),
231
- )
232
- );
233
-
234
- // Additional text after header
235
- $wp_customize->add_setting( 'tracking_info_settings[additional_header_text]',
236
- array(
237
- 'default' => $this->defaults['additional_header_text'],
238
- 'transport' => 'postMessage',
239
- 'sanitize_callback' => '',
240
- 'type' => 'option',
241
- )
242
- );
243
- $wp_customize->add_control( 'tracking_info_settings[additional_header_text]',
244
- array(
245
- 'label' => __( 'Additional text after header', 'woo-advanced-shipment-tracking' ),
246
- 'section' => 'ast_tracking_general_section',
247
- 'type' => 'textarea',
248
- 'input_attrs' => array(
249
- 'class' => '',
250
- 'style' => '',
251
- 'placeholder' =>'',
252
- ),
253
- )
254
- );
255
-
256
- // Tracking display layout
257
-
258
- $tracking_template = array(
259
- '' => __( 'Select Template', 'woo-advanced-shipment-tracking' ),
260
- 'default_table' => __( 'Table Layout', 'woo-advanced-shipment-tracking' ),
261
- 'simple_list' => 'Simple Layout',
262
- );
263
- $tracking_template = apply_filters('ast_tracking_template', $tracking_template);
264
- $wp_customize->add_setting( 'tracking_info_settings[select_tracking_template]',
265
- array(
266
- 'default' => $this->defaults['select_tracking_template'],
267
- 'transport' => 'refresh',
268
- 'sanitize_callback' => '',
269
- 'type' => 'option',
270
- )
271
- );
272
- $wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'tracking_info_settings[select_tracking_template]',
273
- array(
274
- 'label' => __( 'Tracking display layout', 'woo-advanced-shipment-tracking' ),
275
- 'section' => 'ast_tracking_general_section',
276
- 'input_attrs' => array(
277
- 'placeholder' => __( 'Tracking display layout', 'woo-advanced-shipment-tracking' ),
278
- 'class' => 'tracking_template_select',
279
- ),
280
- 'choices' => $tracking_template,
281
- )
282
- ) );
283
-
284
- // Test of Toggle Switch Custom Control
285
- $wp_customize->add_setting( 'tracking_info_settings[simple_content_header]',
286
- array(
287
- 'default' => '',
288
- 'transport' => 'postMessage',
289
- 'sanitize_callback' => '',
290
- 'type' => 'option',
291
- )
292
- );
293
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[simple_content_header]',
294
- array(
295
- 'label' => __( 'Simple Layout Design', 'woo-advanced-shipment-tracking' ),
296
- 'section' => 'ast_tracking_general_section',
297
- 'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
298
- )
299
- ) );
300
-
301
- // Additional text after header
302
- $wp_customize->add_setting( 'tracking_info_settings[simple_layout_content]',
303
- array(
304
- 'default' => $this->defaults['simple_layout_content'],
305
- 'transport' => 'refresh',
306
- 'sanitize_callback' => '',
307
- 'type' => 'option',
308
- )
309
- );
310
- $wp_customize->add_control( 'tracking_info_settings[simple_layout_content]',
311
- array(
312
- 'label' => __( 'Content', 'woo-advanced-shipment-tracking' ),
313
- 'section' => 'ast_tracking_general_section',
314
- 'type' => 'textarea',
315
- 'input_attrs' => array(
316
- 'class' => '',
317
- 'style' => '',
318
- 'placeholder' =>'',
319
- ),
320
- 'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
321
- )
322
- );
323
-
324
- $wp_customize->add_setting( 'tracking_info_settings[simple_content_variables]',
325
- array(
326
- 'default' => '',
327
- 'transport' => 'postMessage',
328
- 'sanitize_callback' => ''
329
- )
330
- );
331
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'tracking_info_settings[simple_content_variables]',
332
- array(
333
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
334
- 'description' => '<code>{ship_date}<br>{shipping_provider}<br>{tracking_number_link}</code>',
335
- 'section' => 'ast_tracking_general_section',
336
- 'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
337
- )
338
- ) );
339
-
340
- // Simple Layout Provider font size
341
- $wp_customize->add_setting( 'tracking_info_settings[simple_provider_font_size]',
342
- array(
343
- 'default' => $this->defaults['simple_provider_font_size'],
344
- 'transport' => 'postMessage',
345
- 'sanitize_callback' => '',
346
- 'type' => 'option',
347
- )
348
- );
349
- $wp_customize->add_control( 'tracking_info_settings[simple_provider_font_size]',
350
- array(
351
- 'label' => __( 'Content font size', 'woo-advanced-shipment-tracking' ),
352
- 'section' => 'ast_tracking_general_section',
353
- 'type' => 'select',
354
- 'choices' => $font_size_array,
355
- 'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
356
- )
357
- );
358
-
359
- // Table header font color
360
- $wp_customize->add_setting( 'tracking_info_settings[simple_provider_font_color]',
361
- array(
362
- 'default' => $this->defaults['simple_provider_font_color'],
363
- 'transport' => 'postMessage',
364
- 'sanitize_callback' => '',
365
- 'type' => 'option',
366
- )
367
- );
368
- $wp_customize->add_control( 'tracking_info_settings[simple_provider_font_color]',
369
- array(
370
- 'label' => __( 'Content font color', 'woo-advanced-shipment-tracking' ),
371
- 'section' => 'ast_tracking_general_section',
372
- 'type' => 'color',
373
- 'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
374
- )
375
- );
376
-
377
- // Show track label
378
- $wp_customize->add_setting( 'tracking_info_settings[show_provider_border]',
379
- array(
380
- 'default' => $this->defaults['show_provider_border'],
381
- 'transport' => 'refresh',
382
- 'sanitize_callback' => '',
383
- 'type' => 'option',
384
- )
385
- );
386
- $wp_customize->add_control( 'tracking_info_settings[show_provider_border]',
387
- array(
388
- 'label' => __( 'Show bottom border', 'woo-advanced-shipment-tracking' ),
389
- 'description' => '',
390
- 'section' => 'ast_tracking_general_section',
391
- 'type' => 'checkbox',
392
- 'active_callback' => array( $this, 'active_callback_for_simple_layout' ),
393
- )
394
- );
395
-
396
- // Table header font color
397
- $wp_customize->add_setting( 'tracking_info_settings[provider_border_color]',
398
- array(
399
- 'default' => $this->defaults['provider_border_color'],
400
- 'transport' => 'postMessage',
401
- 'sanitize_callback' => '',
402
- 'type' => 'option',
403
- )
404
- );
405
- $wp_customize->add_control( 'tracking_info_settings[provider_border_color]',
406
- array(
407
- 'label' => __( 'Bottom border color', 'woo-advanced-shipment-tracking' ),
408
- 'section' => 'ast_tracking_general_section',
409
- 'type' => 'color',
410
- 'active_callback' => array( $this, 'active_callback_for_simple_layout_show_provider_border' ),
411
- )
412
- );
413
-
414
-
415
-
416
- // Test of Toggle Switch Custom Control
417
- $wp_customize->add_setting( 'tracking_info_settings[table_content_header]',
418
- array(
419
- 'default' => '',
420
- 'transport' => 'postMessage',
421
- 'sanitize_callback' => '',
422
- 'type' => 'option',
423
- )
424
- );
425
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[table_content_header]',
426
- array(
427
- 'label' => __( 'Table Options', 'woo-advanced-shipment-tracking' ),
428
- 'section' => 'ast_tracking_general_section',
429
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
430
- )
431
- ) );
432
-
433
- // Hide Shipment Provider name
434
- $wp_customize->add_setting( 'tracking_info_settings[display_shipment_provider_name]',
435
- array(
436
- 'default' => $this->defaults['display_shipment_provider_name'],
437
- 'transport' => 'refresh',
438
- 'sanitize_callback' => '',
439
- 'type' => 'option',
440
- )
441
- );
442
- $wp_customize->add_control( 'tracking_info_settings[display_shipment_provider_name]',
443
- array(
444
- 'label' => __( 'Display shipping provider name', 'woo-advanced-shipment-tracking' ),
445
- 'description' => '',
446
- 'section' => 'ast_tracking_general_section',
447
- 'type' => 'checkbox',
448
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
449
- )
450
- );
451
-
452
- // Display Shipment Provider image/thumbnail
453
- $wp_customize->add_setting( 'tracking_info_settings[display_shipment_provider_image]',
454
- array(
455
- 'default' => $this->defaults['display_shipment_provider_image'],
456
- 'transport' => 'refresh',
457
- 'sanitize_callback' => '',
458
- 'type' => 'option',
459
- )
460
- );
461
- $wp_customize->add_control( 'tracking_info_settings[display_shipment_provider_image]',
462
- array(
463
- 'label' => __( 'Display shipping provider image', 'woo-advanced-shipment-tracking' ),
464
- 'description' => '',
465
- 'section' => 'ast_tracking_general_section',
466
- 'type' => 'checkbox',
467
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
468
- )
469
- );
470
-
471
- // Remove date from tracking info
472
- $wp_customize->add_setting( 'tracking_info_settings[remove_date_from_tracking]',
473
- array(
474
- 'default' => $this->defaults['remove_date_from_tracking'],
475
- 'transport' => 'postMessage',
476
- 'sanitize_callback' => '',
477
- 'type' => 'option',
478
- )
479
- );
480
- $wp_customize->add_control( 'tracking_info_settings[remove_date_from_tracking]',
481
- array(
482
- 'label' => __( 'Hide the shipped date', 'woo-advanced-shipment-tracking' ),
483
- 'description' => '',
484
- 'section' => 'ast_tracking_general_section',
485
- 'type' => 'checkbox',
486
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
487
- )
488
- );
489
-
490
- // Use tracking number as a link
491
- $wp_customize->add_setting( 'tracking_info_settings[tracking_number_link]',
492
- array(
493
- 'default' => '',
494
- 'transport' => 'refresh',
495
- 'sanitize_callback' => '',
496
- 'type' => 'option',
497
- )
498
- );
499
- $wp_customize->add_control( 'tracking_info_settings[tracking_number_link]',
500
- array(
501
- 'label' => __( 'Use tracking number as a link', 'woo-advanced-shipment-tracking' ),
502
- 'description' => '',
503
- 'section' => 'ast_tracking_general_section',
504
- 'type' => 'checkbox',
505
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
506
- )
507
- );
508
-
509
- // Test of Toggle Switch Custom Control
510
- $wp_customize->add_setting( 'tracking_info_settings[table_design_options]',
511
- array(
512
- 'default' => '',
513
- 'transport' => 'postMessage',
514
- 'sanitize_callback' => '',
515
- 'type' => 'option',
516
- )
517
- );
518
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[table_design_options]',
519
- array(
520
- 'label' => __( 'Table Design Options', 'woo-advanced-shipment-tracking' ),
521
- 'section' => 'ast_tracking_general_section',
522
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
523
- )
524
- ) );
525
-
526
- // Table Border color
527
- $wp_customize->add_setting( 'tracking_info_settings[table_border_color]',
528
- array(
529
- 'default' => $this->defaults['table_border_color'],
530
- 'transport' => 'postMessage',
531
- 'sanitize_callback' => 'sanitize_hex_color',
532
- 'type' => 'option',
533
- )
534
- );
535
- $wp_customize->add_control( 'tracking_info_settings[table_border_color]',
536
- array(
537
- 'label' => __( 'Border color', 'woo-advanced-shipment-tracking' ),
538
- 'section' => 'ast_tracking_general_section',
539
- 'type' => 'color',
540
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
541
- )
542
- );
543
-
544
- // Table Border size
545
- $wp_customize->add_setting( 'tracking_info_settings[table_border_size]',
546
- array(
547
- 'default' => $this->defaults['table_border_size'],
548
- 'transport' => 'postMessage',
549
- 'sanitize_callback' => '',
550
- 'type' => 'option',
551
- )
552
- );
553
- $wp_customize->add_control( 'tracking_info_settings[table_border_size]',
554
- array(
555
- 'label' => __( 'Border size', 'woo-advanced-shipment-tracking' ),
556
- 'section' => 'ast_tracking_general_section',
557
- 'type' => 'select',
558
- 'choices' => array(
559
- '' => __( 'Select', 'woocommerce' ),
560
- '1' => '1 px',
561
- '2' => '2 px',
562
- '3' => '3 px',
563
- '4' => '4 px',
564
- '5' => '5 px',
565
- ),
566
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
567
- )
568
- );
569
-
570
- // Table Border size
571
- $wp_customize->add_setting( 'tracking_info_settings[header_content_text_align]',
572
- array(
573
- 'default' => $this->defaults['header_content_text_align'],
574
- 'transport' => 'postMessage',
575
- 'sanitize_callback' => '',
576
- 'type' => 'option',
577
- )
578
- );
579
- $wp_customize->add_control( 'tracking_info_settings[header_content_text_align]',
580
- array(
581
- 'label' => __( 'Text align', 'woo-advanced-shipment-tracking' ),
582
- 'section' => 'ast_tracking_general_section',
583
- 'type' => 'select',
584
- 'choices' => array(
585
- '' => __( 'Select', 'woocommerce' ),
586
- 'left' => __( 'Left', '' ),
587
- 'right' => __( 'Right', '' ),
588
- 'center' => __( 'Center', '' )
589
- ),
590
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
591
- )
592
- );
593
-
594
- // Test of Toggle Switch Custom Control
595
- $wp_customize->add_setting( 'tracking_info_settings[table_header_block]',
596
- array(
597
- 'default' => '',
598
- 'transport' => 'postMessage',
599
- 'sanitize_callback' => '',
600
- 'type' => 'option',
601
- )
602
- );
603
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[table_header_block]',
604
- array(
605
- 'label' => __( 'Table Header', 'woo-advanced-shipment-tracking' ),
606
- 'section' => 'ast_tracking_general_section',
607
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
608
- )
609
- ) );
610
-
611
- // Show track label
612
- $wp_customize->add_setting( 'tracking_info_settings[hide_table_header]',
613
- array(
614
- 'default' => '',
615
- 'transport' => 'refresh',
616
- 'sanitize_callback' => '',
617
- 'type' => 'option',
618
- )
619
- );
620
- $wp_customize->add_control( 'tracking_info_settings[hide_table_header]',
621
- array(
622
- 'label' => __( 'Hide Table Headers', 'woo-advanced-shipment-tracking' ),
623
- 'description' => '',
624
- 'section' => 'ast_tracking_general_section',
625
- 'type' => 'checkbox',
626
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
627
- )
628
- );
629
-
630
- // Provider Header Text
631
- $wp_customize->add_setting( 'tracking_info_settings[provider_header_text]',
632
- array(
633
- 'default' => $this->defaults['provider_header_text'],
634
- 'transport' => 'postMessage',
635
- 'sanitize_callback' => '',
636
- 'type' => 'option',
637
- )
638
- );
639
- $wp_customize->add_control( 'tracking_info_settings[provider_header_text]',
640
- array(
641
- 'label' => __( 'Shipping provider header text', 'woo-advanced-shipment-tracking' ),
642
- 'description' => '',
643
- 'section' => 'ast_tracking_general_section',
644
- 'type' => 'text',
645
- 'input_attrs' => array(
646
- 'class' => '',
647
- 'style' => '',
648
- 'placeholder' => __( 'Provider', 'woo-advanced-shipment-tracking' ),
649
- ),
650
- 'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
651
- )
652
- );
653
-
654
- // Tracking Number Header Text
655
- $wp_customize->add_setting( 'tracking_info_settings[tracking_number_header_text]',
656
- array(
657
- 'default' => $this->defaults['tracking_number_header_text'],
658
- 'transport' => 'postMessage',
659
- 'sanitize_callback' => '',
660
- 'type' => 'option',
661
- )
662
- );
663
- $wp_customize->add_control( 'tracking_info_settings[tracking_number_header_text]',
664
- array(
665
- 'label' => __( 'Tracking number header text', 'woo-advanced-shipment-tracking' ),
666
- 'description' => '',
667
- 'section' => 'ast_tracking_general_section',
668
- 'type' => 'text',
669
- 'input_attrs' => array(
670
- 'class' => '',
671
- 'style' => '',
672
- 'placeholder' => __( 'Tracking Number', 'woo-advanced-shipment-tracking' ),
673
- ),
674
- 'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
675
- )
676
- );
677
- // Shipped Date Header Text
678
- $wp_customize->add_setting( 'tracking_info_settings[shipped_date_header_text]',
679
- array(
680
- 'default' => $this->defaults['shipped_date_header_text'],
681
- 'transport' => 'postMessage',
682
- 'sanitize_callback' => '',
683
- 'type' => 'option',
684
- )
685
- );
686
- $wp_customize->add_control( 'tracking_info_settings[shipped_date_header_text]',
687
- array(
688
- 'label' => __( 'Shipped date header text', 'woo-advanced-shipment-tracking' ),
689
- 'description' => '',
690
- 'section' => 'ast_tracking_general_section',
691
- 'type' => 'text',
692
- 'input_attrs' => array(
693
- 'class' => '',
694
- 'style' => '',
695
- 'placeholder' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
696
- ),
697
- 'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
698
- )
699
- );
700
-
701
- // Table header font size
702
- $wp_customize->add_setting( 'tracking_info_settings[table_header_font_size]',
703
- array(
704
- 'default' => $this->defaults['table_header_font_size'],
705
- 'transport' => 'postMessage',
706
- 'sanitize_callback' => '',
707
- 'type' => 'option',
708
- )
709
- );
710
- $wp_customize->add_control( 'tracking_info_settings[table_header_font_size]',
711
- array(
712
- 'label' => __( 'Headers font size', 'woo-advanced-shipment-tracking' ),
713
- 'section' => 'ast_tracking_general_section',
714
- 'type' => 'select',
715
- 'choices' => $font_size_array,
716
- 'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
717
- )
718
- );
719
-
720
- // Table header font color
721
- $wp_customize->add_setting( 'tracking_info_settings[table_header_bg_color]',
722
- array(
723
- 'default' => $this->defaults['table_header_bg_color'],
724
- 'transport' => 'postMessage',
725
- 'sanitize_callback' => '',
726
- 'type' => 'option',
727
- )
728
- );
729
- $wp_customize->add_control( 'tracking_info_settings[table_header_bg_color]',
730
- array(
731
- 'label' => __( 'Headers background color', 'woo-advanced-shipment-tracking' ),
732
- 'section' => 'ast_tracking_general_section',
733
- 'type' => 'color',
734
- 'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
735
- )
736
- );
737
-
738
- // Table header font color
739
- $wp_customize->add_setting( 'tracking_info_settings[table_header_font_color]',
740
- array(
741
- 'default' => $this->defaults['table_header_font_color'],
742
- 'transport' => 'postMessage',
743
- 'sanitize_callback' => '',
744
- 'type' => 'option',
745
- )
746
- );
747
- $wp_customize->add_control( 'tracking_info_settings[table_header_font_color]',
748
- array(
749
- 'label' => __( 'Headers font color', 'woo-advanced-shipment-tracking' ),
750
- 'section' => 'ast_tracking_general_section',
751
- 'type' => 'color',
752
- 'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
753
- )
754
- );
755
-
756
- // Table content font weight
757
- $wp_customize->add_setting( 'tracking_info_settings[table_header_font_weight]',
758
- array(
759
- 'default' => $this->defaults['table_header_font_weight'],
760
- 'transport' => 'postMessage',
761
- 'sanitize_callback' => '',
762
- 'type' => 'option',
763
- )
764
- );
765
- $wp_customize->add_control( new AST_Slider_Custom_Control( $wp_customize, 'tracking_info_settings[table_header_font_weight]',
766
- array(
767
- 'label' => __( 'Headers font weight', 'woo-advanced-shipment-tracking' ),
768
- 'section' => 'ast_tracking_general_section',
769
- 'input_attrs' => array(
770
- 'default' => $this->defaults['table_header_font_weight'],
771
- 'step' => 100,
772
- 'min' => 400,
773
- 'max' => 900,
774
- ),
775
- 'active_callback' => array( $this, 'active_callback_for_table_layout_table_header' ),
776
- )
777
- ));
778
-
779
- // Test of Toggle Switch Custom Control
780
- $wp_customize->add_setting( 'table_header',
781
- array(
782
- 'default' => '',
783
- 'transport' => 'postMessage',
784
- 'sanitize_callback' => '',
785
- 'type' => 'option',
786
- )
787
- );
788
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
789
- array(
790
- 'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
791
- 'section' => 'ast_tracking_general_section',
792
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
793
- )
794
- ) );
795
-
796
- // Table Background color
797
- $wp_customize->add_setting( 'tracking_info_settings[table_bg_color]',
798
- array(
799
- 'default' => $this->defaults['table_bg_color'],
800
- 'transport' => 'postMessage',
801
- 'sanitize_callback' => 'sanitize_hex_color',
802
- 'type' => 'option',
803
- )
804
- );
805
- $wp_customize->add_control( 'tracking_info_settings[table_bg_color]',
806
- array(
807
- 'label' => __( 'Content Background color', 'woo-advanced-shipment-tracking' ),
808
- 'section' => 'ast_tracking_general_section',
809
- 'type' => 'color',
810
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
811
- )
812
- );
813
-
814
- // Table content font color
815
- $wp_customize->add_setting( 'tracking_info_settings[table_content_font_color]',
816
- array(
817
- 'default' => $this->defaults['table_content_font_color'],
818
- 'transport' => 'postMessage',
819
- 'sanitize_callback' => '',
820
- 'type' => 'option',
821
- )
822
- );
823
- $wp_customize->add_control( 'tracking_info_settings[table_content_font_color]',
824
- array(
825
- 'label' => __( 'Content font color', 'woo-advanced-shipment-tracking' ),
826
- 'section' => 'ast_tracking_general_section',
827
- 'type' => 'color',
828
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
829
- )
830
- );
831
-
832
- // Table content font size
833
- $wp_customize->add_setting( 'tracking_info_settings[table_content_font_size]',
834
- array(
835
- 'default' => $this->defaults['table_content_font_size'],
836
- 'transport' => 'postMessage',
837
- 'sanitize_callback' => '',
838
- 'type' => 'option',
839
- )
840
- );
841
- $wp_customize->add_control( 'tracking_info_settings[table_content_font_size]',
842
- array(
843
- 'label' => __( 'Content font size', 'woo-advanced-shipment-tracking' ),
844
- 'section' => 'ast_tracking_general_section',
845
- 'type' => 'select',
846
- 'choices' => $font_size_array,
847
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
848
- )
849
- );
850
-
851
- // Table content line height
852
- $wp_customize->add_setting( 'tracking_info_settings[table_content_line_height]',
853
- array(
854
- 'default' => $this->defaults['table_content_line_height'],
855
- 'transport' => 'postMessage',
856
- 'sanitize_callback' => '',
857
- 'type' => 'option',
858
- )
859
- );
860
- $wp_customize->add_control( new AST_Slider_Custom_Control( $wp_customize, 'tracking_info_settings[table_content_line_height]',
861
- array(
862
- 'label' => __( 'Content line height', 'woo-advanced-shipment-tracking' ),
863
- 'section' => 'ast_tracking_general_section',
864
- 'input_attrs' => array(
865
- 'default' => $this->defaults['table_content_line_height'],
866
- 'step' => 1,
867
- 'min' => 20,
868
- 'max' => 90,
869
- ),
870
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
871
- )
872
- ));
873
-
874
- // Table content font weight
875
- $wp_customize->add_setting( 'tracking_info_settings[table_content_font_weight]',
876
- array(
877
- 'default' => $this->defaults['table_content_font_weight'],
878
- 'transport' => 'postMessage',
879
- 'sanitize_callback' => '',
880
- 'type' => 'option',
881
- )
882
- );
883
- $wp_customize->add_control( new AST_Slider_Custom_Control( $wp_customize, 'tracking_info_settings[table_content_font_weight]',
884
- array(
885
- 'label' => __( 'Content font weight', 'woo-advanced-shipment-tracking' ),
886
- 'section' => 'ast_tracking_general_section',
887
- 'input_attrs' => array(
888
- 'default' => $this->defaults['table_content_font_weight'],
889
- 'step' => 100,
890
- 'min' => 400,
891
- 'max' => 900,
892
- ),
893
- 'active_callback' => array( $this, 'active_callback_for_table_layout' ),
894
- )
895
- ));
896
-
897
- $wp_customize->add_setting( 'tracking_info_settings[shipment_link_header]',
898
- array(
899
- 'default' => '',
900
- 'transport' => 'postMessage',
901
- 'sanitize_callback' => '',
902
- 'type' => 'option',
903
- )
904
- );
905
-
906
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'tracking_info_settings[shipment_link_header]',
907
- array(
908
- 'label' => __( 'Track Button', 'woo-advanced-shipment-tracking' ),
909
- 'section' => 'ast_tracking_general_section',
910
- 'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
911
- )
912
- ) );
913
-
914
- // Show track label
915
- $wp_customize->add_setting( 'tracking_info_settings[show_track_label]',
916
- array(
917
- 'default' => $this->defaults['show_track_label'],
918
- 'transport' => 'refresh',
919
- 'sanitize_callback' => '',
920
- 'type' => 'option',
921
- )
922
- );
923
- $wp_customize->add_control( 'tracking_info_settings[show_track_label]',
924
- array(
925
- 'label' => __( 'Track Header', 'woo-advanced-shipment-tracking' ),
926
- 'description' => '',
927
- 'section' => 'ast_tracking_general_section',
928
- 'type' => 'checkbox',
929
- 'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
930
- )
931
- );
932
-
933
- // Track Header Text
934
- $wp_customize->add_setting( 'tracking_info_settings[track_header_text]',
935
- array(
936
- 'default' => $this->defaults['track_header_text'],
937
- 'transport' => 'postMessage',
938
- 'sanitize_callback' => '',
939
- 'type' => 'option',
940
- )
941
- );
942
- $wp_customize->add_control( 'tracking_info_settings[track_header_text]',
943
- array(
944
- 'label' => __( 'Track header text', 'woo-advanced-shipment-tracking' ),
945
- 'description' => '',
946
- 'section' => 'ast_tracking_general_section',
947
- 'type' => 'text',
948
- 'input_attrs' => array(
949
- 'class' => '',
950
- 'style' => '',
951
- 'placeholder' => __( 'Track', 'woo-advanced-shipment-tracking' ),
952
- ),
953
- 'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link_track_header' ),
954
- )
955
- );
956
-
957
- // Tracking link background color
958
- $wp_customize->add_setting( 'tracking_info_settings[tracking_link_bg_color]',
959
- array(
960
- 'default' => $this->defaults['tracking_link_bg_color'],
961
- 'transport' => 'postMessage',
962
- 'sanitize_callback' => '',
963
- 'type' => 'option',
964
- )
965
- );
966
- $wp_customize->add_control( 'tracking_info_settings[tracking_link_bg_color]',
967
- array(
968
- 'label' => __( 'Button color', 'woo-advanced-shipment-tracking' ),
969
- 'section' => 'ast_tracking_general_section',
970
- 'type' => 'color',
971
- 'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
972
- )
973
- );
974
-
975
- // Tracking link font color
976
- $wp_customize->add_setting( 'tracking_info_settings[tracking_link_font_color]',
977
- array(
978
- 'default' => $this->defaults['tracking_link_font_color'],
979
- 'transport' => 'postMessage',
980
- 'sanitize_callback' => '',
981
- 'type' => 'option',
982
- )
983
- );
984
- $wp_customize->add_control( 'tracking_info_settings[tracking_link_font_color]',
985
- array(
986
- 'label' => __( 'Button font color', 'woo-advanced-shipment-tracking' ),
987
- 'section' => 'ast_tracking_general_section',
988
- 'type' => 'color',
989
- 'active_callback' => array( $this, 'active_callback_for_table_layout_tracking_link' ),
990
- )
991
- );
992
- }
993
-
994
-
995
- public function active_callback_for_hide_trackig_header() {
996
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
997
- $hide_trackig_header = $ast->get_option_value_from_array( 'tracking_info_settings', 'hide_trackig_header', '' );
998
- return ( !$hide_trackig_header ) ? true : false ;
999
- }
1000
-
1001
- public function active_callback_for_table_layout() {
1002
-
1003
- $fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
1004
- if ( $fluid_template ) {
1005
- return false;
1006
- }
1007
-
1008
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1009
- $select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
1010
-
1011
- return ( 'default_table' == $select_tracking_template ) ? true : false ;
1012
- }
1013
-
1014
- public function active_callback_for_table_layout_table_header() {
1015
-
1016
- $fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
1017
- if ( $fluid_template ) {
1018
- return false;
1019
- }
1020
-
1021
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1022
- $select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
1023
- $hide_table_header = $ast->get_option_value_from_array( 'tracking_info_settings', 'hide_table_header', '' );
1024
-
1025
- return ( 'default_table' == $select_tracking_template && !$hide_table_header ) ? true : false ;
1026
- }
1027
-
1028
- public function active_callback_for_table_layout_tracking_link() {
1029
-
1030
- $fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
1031
- if ( $fluid_template ) {
1032
- return false;
1033
- }
1034
-
1035
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1036
- $select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
1037
- $tracking_number_link = $ast->get_option_value_from_array( 'tracking_info_settings', 'tracking_number_link', '' );
1038
-
1039
- return ( 'default_table' == $select_tracking_template && !$tracking_number_link ) ? true : false ;
1040
- }
1041
-
1042
- public function active_callback_for_table_layout_tracking_link_track_header() {
1043
-
1044
- $fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
1045
- if ( $fluid_template ) {
1046
- return false;
1047
- }
1048
-
1049
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1050
- $select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
1051
- $tracking_number_link = $ast->get_option_value_from_array( 'tracking_info_settings', 'tracking_number_link', '' );
1052
- $show_track_label = $ast->get_option_value_from_array( 'tracking_info_settings', 'show_track_label', '' );
1053
-
1054
- return ( 'default_table' == $select_tracking_template && !$tracking_number_link && $show_track_label ) ? true : false ;
1055
- }
1056
-
1057
- public function active_callback_for_simple_layout() {
1058
-
1059
- $fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
1060
- if ( $fluid_template ) {
1061
- return false;
1062
- }
1063
-
1064
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1065
- $select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
1066
-
1067
- return ( 'simple_list' == $select_tracking_template ) ? true : false ;
1068
- }
1069
-
1070
- public function active_callback_for_simple_layout_show_provider_border() {
1071
-
1072
- $fluid_template = apply_filters( 'check_if_fluid_template_exist', false );
1073
- if ( $fluid_template ) {
1074
- return false;
1075
- }
1076
-
1077
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1078
- $select_tracking_template = $ast->get_option_value_from_array( 'tracking_info_settings', 'select_tracking_template', $this->defaults['select_tracking_template'] );
1079
- $show_provider_border = $ast->get_option_value_from_array( 'tracking_info_settings', 'show_provider_border', $this->defaults['show_provider_border'] );
1080
-
1081
- return ( 'simple_list' == $select_tracking_template && $show_provider_border ) ? true : false ;
1082
- }
1083
-
1084
- /**
1085
- * Set up preview
1086
- *
1087
- * @return void
1088
- */
1089
- public function set_up_preview() {
1090
- // Make sure this is own preview request.
1091
- if ( ! $this->is_own_preview_request() ) {
1092
- return;
1093
- }
1094
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/preview.php';
1095
- exit;
1096
- }
1097
-
1098
- /**
1099
- * Code for preview of tracking info in email
1100
- */
1101
- public function preview_completed_email() {
1102
-
1103
- $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
1104
-
1105
- $tracking_info_settings = get_option('tracking_info_settings');
1106
-
1107
- if ( 'after_order' == $tracking_info_settings['display_tracking_info_at'] ) {
1108
- add_action( 'woocommerce_email_order_meta', array( $ast, 'email_display' ), 0, 4 );
1109
- } else {
1110
- add_action( 'woocommerce_email_before_order_table', array( $ast, 'email_display' ), 0, 4 );
1111
- }
1112
-
1113
- // Load WooCommerce emails.
1114
- $wc_emails = WC_Emails::instance();
1115
- $emails = $wc_emails->get_emails();
1116
- $email_template = 'customer_completed_order';
1117
- $preview_id = 'mockup';
1118
- $email_type = 'WC_Email_Customer_Completed_Order';
1119
-
1120
- if ( false === $email_type ) {
1121
- return false;
1122
- }
1123
-
1124
- $order_status = 'completed';
1125
-
1126
- // Reference email.
1127
- if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
1128
- $email = $emails[ $email_type ];
1129
- }
1130
-
1131
- // Get an order
1132
- $order = wcast_customizer()->get_wc_order_for_preview( $order_status, $preview_id );
1133
-
1134
- // Make sure gateways are running in case the email needs to input content from them.
1135
- WC()->payment_gateways();
1136
- // Make sure shipping is running in case the email needs to input content from it.
1137
- WC()->shipping();
1138
-
1139
- $email->object = $order;
1140
- $email->find['order-date'] = '{order_date}';
1141
- $email->find['order-number'] = '{order_number}';
1142
- if ( is_object( $order ) ) {
1143
- $email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
1144
- $email->replace['order-number'] = $email->object->get_order_number();
1145
- // Other properties
1146
- $email->recipient = $email->object->get_billing_email();
1147
- }
1148
- // Get email content and apply styles.
1149
- $content = $email->get_content();
1150
- $content = $email->style_inline( $content );
1151
- $content = apply_filters( 'woocommerce_mail_content', $content );
1152
-
1153
- if ( 'plain' === $email->email_type ) {
1154
- $content = '<div style="padding: 35px 40px; background-color: white;">' . str_replace( "\n", '<br/>', $content ) . '</div>';
1155
- }
1156
- echo wp_kses_post( $content );
1157
- }
1158
- }
1159
- /**
1160
- * Initialise our Customizer settings
1161
- */
1162
-
1163
- $wcast_customizer_settings = new Wcast_Initialise_Customizer_Settings();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-updated-tracking-email-customizer.php DELETED
@@ -1,420 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_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 ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
21
- return;
22
- }
23
-
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
- * @return bool
70
- */
71
- public function is_own_preview_request() {
72
- return isset( $_REQUEST['wcast-updated-tracking-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-updated-tracking-email-customizer-preview'];
73
- }
74
-
75
- /**
76
- * Checks to see if we are opening our custom customizer controls
77
- *
78
- * @return bool
79
- */
80
- public function is_own_customizer_request() {
81
- return isset( $_REQUEST['email'] ) && 'custom_order_status_email' === $_REQUEST['email'];
82
- }
83
-
84
- /**
85
- * Get Customizer URL
86
- *
87
- */
88
- public function get_customizer_url( $email, $order_status ) {
89
- return add_query_arg( array(
90
- 'wcast-customizer' => '1',
91
- 'email' => $email,
92
- 'order_status' => $order_status,
93
- 'autofocus[section]' => 'custom_order_status_email',
94
- 'url' => urlencode( add_query_arg( array( 'wcast-updated-tracking-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
95
- 'return' => urlencode( $this->get_email_settings_page_url() ),
96
- ), admin_url( 'customize.php' ) );
97
- }
98
-
99
- /**
100
- * Get WooCommerce email settings page URL
101
- *
102
- * @return string
103
- */
104
- public function get_email_settings_page_url() {
105
- return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
106
- }
107
-
108
- /**
109
- * Code for initialize default value for customizer
110
- */
111
- public function wcast_generate_defaults() {
112
- $customizer_defaults = array(
113
- 'wcast_updated_tracking_email_subject' => __( 'Your {site_title} order is now updated tracking', 'woo-advanced-shipment-tracking' ),
114
- 'wcast_updated_tracking_email_heading' => __( 'Tracking information Update', 'woocommerce' ),
115
- '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' ),
116
- 'wcast_enable_updated_tracking_email' => 'no',
117
- );
118
-
119
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
120
- }
121
-
122
- /**
123
- * Register our sample default controls
124
- */
125
- public function wcast_register_sample_default_controls( $wp_customize ) {
126
- /**
127
- * Load all our Customizer Custom Controls
128
- */
129
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
130
-
131
- // Display Shipment Provider image/thumbnail
132
- $wp_customize->add_setting( 'customizer_updated_tracking_order_settings_enabled',
133
- array(
134
- 'default' => $this->defaults['wcast_enable_updated_tracking_email'],
135
- 'transport' => 'postMessage',
136
- 'type' => 'option',
137
- 'sanitize_callback' => ''
138
- )
139
- );
140
- $wp_customize->add_control( 'customizer_updated_tracking_order_settings_enabled',
141
- array(
142
- 'label' => __( 'Enable Updated Tracking order status email', 'woo-advanced-shipment-tracking' ),
143
- 'description' => '',
144
- 'section' => 'custom_order_status_email',
145
- 'type' => 'checkbox',
146
- 'active_callback' => array( $this, 'active_callback' ),
147
- )
148
- );
149
-
150
- // Header Text
151
- $wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[subject]',
152
- array(
153
- 'default' => $this->defaults['wcast_updated_tracking_email_subject'],
154
- 'transport' => 'postMessage',
155
- 'type' => 'option',
156
- 'sanitize_callback' => ''
157
- )
158
- );
159
- $wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[subject]',
160
- array(
161
- 'label' => __( 'Subject', 'woocommerce' ),
162
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
163
- 'section' => 'custom_order_status_email',
164
- 'type' => 'text',
165
- 'input_attrs' => array(
166
- 'class' => '',
167
- 'style' => '',
168
- 'placeholder' => __( $this->defaults['wcast_updated_tracking_email_subject'], 'woo-advanced-shipment-tracking' ),
169
- ),
170
- 'active_callback' => array( $this, 'active_callback' ),
171
- )
172
- );
173
-
174
- // Header Text
175
- $wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[heading]',
176
- array(
177
- 'default' => $this->defaults['wcast_updated_tracking_email_heading'],
178
- 'transport' => 'postMessage',
179
- 'type' => 'option',
180
- 'sanitize_callback' => ''
181
- )
182
- );
183
- $wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[heading]',
184
- array(
185
- 'label' => __( 'Email heading', 'woocommerce' ),
186
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
187
- 'section' => 'custom_order_status_email',
188
- 'type' => 'text',
189
- 'input_attrs' => array(
190
- 'class' => '',
191
- 'style' => '',
192
- 'placeholder' => __( $this->defaults['wcast_updated_tracking_email_heading'], 'woo-advanced-shipment-tracking' ),
193
- ),
194
- 'active_callback' => array( $this, 'active_callback' ),
195
- )
196
- );
197
-
198
-
199
- // Test of TinyMCE control
200
- $wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[wcast_updated_tracking_email_content]',
201
- array(
202
- 'default' => $this->defaults['wcast_updated_tracking_email_content'],
203
- 'transport' => 'refresh',
204
- 'type' => 'option',
205
- 'sanitize_callback' => 'wp_kses_post'
206
- )
207
- );
208
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'woocommerce_customer_updated_tracking_order_settings[wcast_updated_tracking_email_content]',
209
- array(
210
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
211
- 'description' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}',
212
- 'section' => 'custom_order_status_email',
213
- 'input_attrs' => array(
214
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
215
- 'mediaButtons' => true,
216
- 'placeholder' => __( $this->defaults['wcast_updated_tracking_email_content'], 'woo-advanced-shipment-tracking' ),
217
- ),
218
- 'active_callback' => array( $this, 'active_callback' ),
219
- )
220
- ) );
221
-
222
- $wp_customize->add_setting( 'wcast_updated_tracking_code_block',
223
- array(
224
- 'default' => '',
225
- 'transport' => 'postMessage',
226
- 'sanitize_callback' => ''
227
- )
228
- );
229
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_updated_tracking_code_block',
230
- array(
231
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
232
- '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>',
233
- 'section' => 'custom_order_status_email',
234
- 'active_callback' => array( $this, 'active_callback' ),
235
- )
236
- ) );
237
- }
238
-
239
- public function active_callback() {
240
- return ( $this->is_own_preview_request() ) ? true : false ;
241
- }
242
-
243
- /**
244
- * Set up preview
245
- *
246
- * @return void
247
- */
248
- public function set_up_preview() {
249
- // Make sure this is own preview request.
250
- if ( ! $this->is_own_preview_request() ) {
251
- return;
252
- }
253
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/updated_tracking_preview.php';
254
- exit;
255
- }
256
-
257
- /**
258
- * Code for preview of delivered order status email
259
- */
260
- public function preview_updated_tracking_email() {
261
- // Load WooCommerce emails.
262
- $wc_emails = WC_Emails::instance();
263
- $emails = $wc_emails->get_emails();
264
- $preview_id = get_theme_mod('wcast_email_preview_order_id');
265
-
266
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
267
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
268
- echo wp_kses_post( $content );
269
- return;
270
- }
271
-
272
- $order = wc_get_order( $preview_id );
273
-
274
- if ( !$order ) {
275
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
276
- echo wp_kses_post( $content );
277
- return;
278
- }
279
-
280
- $email_type = 'WC_Email_Customer_Updated_Tracking_Order';
281
-
282
- if ( false === $email_type ) {
283
- return false;
284
- }
285
-
286
-
287
-
288
- // Reference email.
289
- if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
290
- $email = $emails[ $email_type ];
291
- }
292
- $order_status = 'updated-tracking';
293
- // Get an order
294
- $order = $this->get_wc_order_for_preview( $order_status, $preview_id );
295
-
296
- // Make sure gateways are running in case the email needs to input content from them.
297
- WC()->payment_gateways();
298
- // Make sure shipping is running in case the email needs to input content from it.
299
- WC()->shipping();
300
-
301
- $email->object = $order;
302
- $email->find['order-date'] = '{order_date}';
303
- $email->find['order-number'] = '{order_number}';
304
- if ( is_object( $order ) ) {
305
- $email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
306
- $email->replace['order-number'] = $email->object->get_order_number();
307
- // Other properties
308
- $email->recipient = $email->object->get_billing_email();
309
- }
310
-
311
- // Get email content and apply styles.
312
- $content = $email->get_content();
313
-
314
- $content = $email->style_inline( $content );
315
- $content = apply_filters( 'woocommerce_mail_content', $content );
316
-
317
- echo wp_kses_post( $content );
318
- }
319
-
320
- /**
321
- * Get WooCommerce order for preview
322
- *
323
- * @param string $order_status
324
- * @return object
325
- */
326
- public function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
327
- if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
328
- return wc_get_order( $order_id );
329
- } else {
330
- // Use mockup order
331
-
332
- // Instantiate order object
333
- $order = new WC_Order();
334
-
335
- // Other order properties
336
- $order->set_props( array(
337
- 'id' => 1,
338
- 'status' => ( null === $order_status ? 'processing' : $order_status ),
339
- 'billing_first_name' => 'Sherlock',
340
- 'billing_last_name' => 'Holmes',
341
- 'billing_company' => 'Detectives Ltd.',
342
- 'billing_address_1' => '221B Baker Street',
343
- 'billing_city' => 'London',
344
- 'billing_postcode' => 'NW1 6XE',
345
- 'billing_country' => 'GB',
346
- 'billing_email' => 'sherlock@holmes.co.uk',
347
- 'billing_phone' => '02079304832',
348
- 'date_created' => gmdate( 'Y-m-d H:i:s' ),
349
- 'total' => 24.90,
350
- ) );
351
-
352
- // Item #1
353
- $order_item = new WC_Order_Item_Product();
354
- $order_item->set_props( array(
355
- 'name' => 'A Study in Scarlet',
356
- 'subtotal' => '9.95',
357
- 'sku' => 'kwd_ex_1',
358
- ) );
359
- $order->add_item( $order_item );
360
-
361
- // Item #2
362
- $order_item = new WC_Order_Item_Product();
363
- $order_item->set_props( array(
364
- 'name' => 'The Hound of the Baskervilles',
365
- 'subtotal' => '14.95',
366
- 'sku' => 'kwd_ex_2',
367
- ) );
368
- $order->add_item( $order_item );
369
-
370
- // Return mockup order
371
- return $order;
372
- }
373
-
374
- }
375
- }
376
-
377
- /**
378
- * Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
379
- *
380
- * @since 1.6.5
381
- * @version 1.6.5
382
- *
383
- * @return zorem_woocommerce_advanced_shipment_tracking
384
- */
385
- function ut_customizer() {
386
- static $instance;
387
-
388
- if ( ! isset( $instance ) ) {
389
- $instance = new Wcast_Updated_Tracking_Customizer_Email();
390
- }
391
-
392
- return $instance;
393
- }
394
-
395
- /**
396
- * Register this class globally.
397
- *
398
- * Backward compatibility.
399
- */
400
- ut_customizer();
401
-
402
- add_action( 'customize_save_customizer_updated_tracking_order_settings_enabled', 'woocommerce_customer_updated_tracking_order_settings_fun', 100, 1 );
403
-
404
- /**
405
- * Update Delivered order email enable/disable
406
- *
407
- */
408
- function woocommerce_customer_updated_tracking_order_settings_fun( $data ) {
409
-
410
- $customized = isset( $_POST['customized'] ) ? wc_clean( $_POST['customized'] ) : '';
411
- $post_values = json_decode( wp_unslash( $customized ), true );
412
- $updated_tracking_order_settings = get_option( 'woocommerce_customer_updated_tracking_order_settings');
413
-
414
- if ( isset( $post_values[ 'customizer_updated_tracking_order_settings_enabled' ] ) && ( 1 == $post_values[ 'customizer_updated_tracking_order_settings_enabled' ] ) ) {
415
- $updated_tracking_order_settings['enabled'] = 'yes';
416
- } else {
417
- $updated_tracking_order_settings['enabled'] = 'no';
418
- }
419
- update_option( 'woocommerce_customer_updated_tracking_order_settings', $updated_tracking_order_settings );
420
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wcast-customizer.php DELETED
@@ -1,465 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_Advanced_Shipment_Tracking_Customizer {
7
-
8
- /**
9
- * Instance of this class.
10
- *
11
- * @var object Class Instance
12
- */
13
- private static $instance;
14
-
15
- /**
16
- * Initialize the main plugin function
17
- */
18
- public function __construct() {
19
- add_filter( 'woocommerce_order_needs_shipping_address', array( $this, 'preview_order_needs_shipping_address' ), 10, 3 );
20
- }
21
-
22
- public function preview_order_needs_shipping_address( $needs_address, $hide, $order ) {
23
-
24
- if ( $order->get_id() == 1 ) {
25
- return true;
26
- }
27
- return $needs_address;
28
- }
29
-
30
- /**
31
- * Register the Customizer sections
32
- */
33
- public function wcast_add_customizer_sections( $wp_customize ) {
34
-
35
- $wp_customize->add_section( 'ast_tracking_general_section',
36
- array(
37
- 'title' => __( 'Tracking info display', 'woo-advanced-shipment-tracking' ),
38
- 'description' => '',
39
- )
40
- );
41
-
42
- $wp_customize->add_section( 'custom_order_status_email',
43
- array(
44
- 'title' => __( 'Custom order status email', 'woo-advanced-shipment-tracking' ),
45
- 'description' => '',
46
- )
47
- );
48
- }
49
-
50
- /**
51
- * Add css and js for preview
52
- */
53
- public function enqueue_preview_scripts() {
54
-
55
- 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);
56
- wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
57
- wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
58
- 'site_title' => $this->get_blogname(),
59
- 'order_number' => get_theme_mod('wcast_email_preview_order_id'),
60
- ));
61
- }
62
-
63
- /**
64
- * Get blog name formatted for emails.
65
- *
66
- * @return string
67
- */
68
- public function get_blogname() {
69
- return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
70
- }
71
-
72
- /**
73
- * Add css and js for customizer
74
- */
75
- public function enqueue_customizer_scripts() {
76
-
77
- if ( isset( $_REQUEST['wcast-customizer'] ) && '1' === $_REQUEST['wcast-customizer'] ) {
78
- wp_enqueue_style( 'wp-color-picker' );
79
- wp_enqueue_style('wcast-customizer-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/customizer-styles.css', array(), wc_advanced_shipment_tracking()->version );
80
- wp_enqueue_script('wcast-customizer-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/customizer-scripts.js', array('jquery', 'customize-controls','wp-color-picker'), wc_advanced_shipment_tracking()->version, true);
81
-
82
- $email_type = ( isset($_REQUEST['order_status']) ) ? wc_clean( $_REQUEST['order_status'] ) : 'partially_shipped';
83
- $shipment_status = ( isset($_REQUEST['shipment_status']) ) ? wc_clean( $_REQUEST['shipment_status'] ) : 'in_transit';
84
- $email = ( isset($_REQUEST['email']) ) ? wc_clean( $_REQUEST['email'] ) : '';
85
-
86
- // Send variables to Javascript
87
- wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
88
- 'customizer_nonce' => wp_create_nonce( 'ast_customizer' ),
89
- 'ajax_url' => admin_url('admin-ajax.php'),
90
- 'email_preview_url' => $this->get_email_preview_url(),
91
- 'partial_shipped_email_preview_url' => $this->get_partial_shipped_email_preview_url(),
92
- 'shipped_email_preview_url' => $this->get_shipped_email_preview_url(),
93
- 'updated_tracking_email_preview_url' => $this->get_updated_tracking_email_preview_url(),
94
- 'email_type' => $email_type,
95
- 'shipment_status' => $shipment_status,
96
- 'tracking_preview_url' => $this->get_tracking_preview_url(),
97
- 'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
98
- 'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
99
- 'customer_exception_preview_url' => $this->get_customer_exception_preview_url(),
100
- 'customer_intransit_preview_url' => $this->get_customer_intransit_preview_url(),
101
- 'customer_onhold_preview_url' => $this->get_customer_onhold_preview_url(),
102
- 'customer_outfordelivery_preview_url' => $this->get_customer_outfordelivery_preview_url(),
103
- 'customer_delivered_preview_url' => $this->get_customer_delivered_preview_url(),
104
- 'customer_returntosender_preview_url' => $this->get_customer_returntosender_preview_url(),
105
- 'customer_availableforpickup_preview_url' => $this->get_customer_availableforpickup_preview_url(),
106
- 'trigger_click' => '#accordion-section-' . $email . ' h3',
107
- 'customizer_title' => 'Shipment Tracking',
108
- ));
109
-
110
- wp_localize_script('wp-color-picker', 'wpColorPickerL10n', array(
111
- 'clear' => __( 'Clear' ),
112
- 'clearAriaLabel' => __( 'Clear color' ),
113
- 'defaultString' => __( 'Default' ),
114
- 'defaultAriaLabel' => __( 'Select default color' ),
115
- 'pick' => __( 'Select Color' ),
116
- 'defaultLabel' => __( 'Color value' ),
117
- ));
118
- }
119
- }
120
-
121
- /**
122
- * Get Customizer URL
123
- *
124
- */
125
- public function get_email_preview_url() {
126
- return add_query_arg( array(
127
- 'wcast-email-customizer-preview' => '1',
128
- ), home_url( '' ) );
129
- }
130
-
131
- /**
132
- * Get Customizer URL
133
- *
134
- */
135
- public function get_partial_shipped_email_preview_url() {
136
- return add_query_arg( array(
137
- 'wcast-partial-shipped-email-customizer-preview' => '1',
138
- ), home_url( '' ) );
139
- }
140
-
141
- /**
142
- * Get Customizer URL
143
- *
144
- */
145
- public function get_shipped_email_preview_url() {
146
- return add_query_arg( array(
147
- 'wcast-shipped-email-customizer-preview' => '1',
148
- ), home_url( '' ) );
149
- }
150
-
151
- /**
152
- * Get Customizer URL
153
- *
154
- */
155
- public function get_custom_completed_email_preview_url() {
156
- return add_query_arg( array(
157
- 'wcast-custom-completed-email-customizer-preview' => '1',
158
- ), home_url( '' ) );
159
- }
160
-
161
- /**
162
- * Get Customizer URL
163
- *
164
- */
165
- public function get_updated_tracking_email_preview_url() {
166
- return add_query_arg( array(
167
- 'wcast-updated-tracking-email-customizer-preview' => '1',
168
- ), home_url( '' ) );
169
- }
170
-
171
- /**
172
- * Get Customizer URL
173
- *
174
- */
175
- public function get_tracking_preview_url() {
176
- return add_query_arg( array(
177
- 'wcast-tracking-preview' => '1',
178
- ), home_url( '' ) );
179
- }
180
-
181
- /**
182
- * Get Tracking Page Preview URL
183
- *
184
- */
185
- public function get_tracking_page_preview_url() {
186
- return add_query_arg( array(
187
- 'action' => 'preview_tracking_page',
188
- ), home_url( '' ) );
189
- }
190
-
191
- /**
192
- * Get Failuere Shipment status preview URL
193
- *
194
- */
195
- public function get_customer_failure_preview_url() {
196
- return add_query_arg( array(
197
- 'wcast-failure-email-customizer-preview' => '1',
198
- ), home_url( '' ) );
199
- }
200
-
201
- /**
202
- * Get Exception Shipment status preview URL
203
- *
204
- */
205
- public function get_customer_exception_preview_url() {
206
- return add_query_arg( array(
207
- 'wcast-exception-email-customizer-preview' => '1',
208
- ), home_url( '' ) );
209
- }
210
-
211
- /**
212
- * Get Tracking page preview URL
213
- *
214
- */
215
- public function get_customer_intransit_preview_url() {
216
- return add_query_arg( array(
217
- 'wcast-intransit-email-customizer-preview' => '1',
218
- ), home_url( '' ) );
219
- }
220
-
221
- /**
222
- * Get Tracking page preview URL
223
- *
224
- */
225
- public function get_customer_onhold_preview_url() {
226
- return add_query_arg( array(
227
- 'wcast-onhold-email-customizer-preview' => '1',
228
- ), home_url( '' ) );
229
- }
230
-
231
- /**
232
- * Get Tracking page preview URL
233
- *
234
- */
235
- public function get_customer_outfordelivery_preview_url() {
236
- return add_query_arg( array(
237
- 'wcast-outfordelivery-email-customizer-preview' => '1',
238
- ), home_url( '' ) );
239
- }
240
-
241
- /**
242
- * Get Tracking page preview URL
243
- *
244
- */
245
- public function get_customer_delivered_preview_url() {
246
- return add_query_arg( array(
247
- 'wcast-delivered-email-customizer-preview' => '1',
248
- ), home_url( '' ) );
249
- }
250
-
251
- /**
252
- * Get Tracking page preview URL
253
- *
254
- */
255
- public function get_customer_returntosender_preview_url() {
256
- return add_query_arg( array(
257
- 'wcast-returntosender-email-customizer-preview' => '1',
258
- ), home_url( '' ) );
259
- }
260
-
261
- /**
262
- * Get Tracking page preview URL
263
- *
264
- */
265
- public function get_customer_availableforpickup_preview_url() {
266
- return add_query_arg( array(
267
- 'wcast-availableforpickup-email-customizer-preview' => '1',
268
- ), home_url( '' ) );
269
- }
270
-
271
- /**
272
- * Remove unrelated components
273
- *
274
- * @param array $components
275
- * @param object $wp_customize
276
- * @return array
277
- */
278
- public function remove_unrelated_components( $components, $wp_customize ) {
279
- // Iterate over components
280
- foreach ( $components as $component_key => $component ) {
281
- // Check if current component is own component
282
- if ( ! $this->is_own_component( $component ) ) {
283
- unset($components[$component_key]);
284
- }
285
- }
286
-
287
- // Return remaining components
288
- return $components;
289
- }
290
-
291
- /**
292
- * Remove unrelated sections
293
- *
294
- * @param bool $active
295
- * @param object $section
296
- * @return bool
297
- */
298
- public function remove_unrelated_sections( $active, $section ) {
299
- // Check if current section is own section
300
- if ( ! $this->is_own_section( $section->id ) ) {
301
- return false;
302
- }
303
-
304
- // We can override $active completely since this runs only on own Customizer requests
305
- return true;
306
- }
307
-
308
- /**
309
- * Check if current component is own component
310
- *
311
- * @param string $component
312
- * @return bool
313
- */
314
- public function is_own_component( $component ) {
315
- return false;
316
- }
317
-
318
- /**
319
- * Check if current section is own section
320
- *
321
- * @param string $key
322
- * @return bool
323
- */
324
- public function is_own_section( $key ) {
325
-
326
- if ( 'ast_tracking_general_section' === $key || 'custom_order_status_email' === $key ) {
327
- return true;
328
- }
329
-
330
- // Section not found
331
- return false;
332
- }
333
-
334
- /*
335
- * Unhook flatsome front end.
336
- */
337
- public function unhook_flatsome() {
338
- // Unhook flatsome issue.
339
- wp_dequeue_style( 'flatsome-customizer-preview' );
340
- wp_dequeue_script( 'flatsome-customizer-frontend-js' );
341
- }
342
-
343
- /*
344
- * Unhook Divi front end.
345
- */
346
- public function unhook_divi() {
347
- // Divi Theme issue.
348
- remove_action( 'wp_footer', 'et_builder_get_modules_js_data' );
349
- remove_action( 'et_customizer_footer_preview', 'et_load_social_icons' );
350
- }
351
-
352
- /**
353
- * Get Order Ids
354
- *
355
- * @return array
356
- */
357
- public function get_order_ids() {
358
- $order_array = array();
359
- $order_array['mockup'] = __( 'Mockup Order', 'woo-advanced-shipment-tracking' );
360
-
361
- $orders = wc_get_orders( array(
362
- 'limit' => 20,
363
- 'orderby' => 'date',
364
- 'order' => 'DESC',
365
- 'meta_key' => '_wc_shipment_tracking_items', // The postmeta key field
366
- 'meta_compare' => 'EXISTS', // The comparison argument
367
- ));
368
-
369
- foreach ( $orders as $order ) {
370
-
371
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
372
- $tracking_items = ast_get_tracking_items( $order->get_id() );
373
-
374
- if ( $tracking_items ) {
375
- $order_array[ $order->get_id() ] = $order->get_id() . ' - ' . $order->get_billing_first_name() . ' ' . $order->get_billing_last_name();
376
- }
377
- }
378
- return $order_array;
379
- }
380
-
381
- /**
382
- * Get WooCommerce order for preview
383
- *
384
- * @param string $order_status
385
- * @return object
386
- */
387
- public function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
388
- if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
389
- return wc_get_order( $order_id );
390
- } else {
391
-
392
- // Instantiate order object
393
- $order = new WC_Order();
394
-
395
- // Other order properties
396
- $order->set_props( array(
397
- 'id' => 1,
398
- 'status' => ( null === $order_status ? 'processing' : $order_status ),
399
- 'shipping_first_name' => 'Sherlock',
400
- 'shipping_last_name' => 'Holmes',
401
- 'shipping_company' => 'Detectives Ltd.',
402
- 'shipping_address_1' => '221B Baker Street',
403
- 'shipping_city' => 'London',
404
- 'shipping_postcode' => 'NW1 6XE',
405
- 'shipping_country' => 'GB',
406
- 'billing_first_name' => 'Sherlock',
407
- 'billing_last_name' => 'Holmes',
408
- 'billing_company' => 'Detectives Ltd.',
409
- 'billing_address_1' => '221B Baker Street',
410
- 'billing_city' => 'London',
411
- 'billing_postcode' => 'NW1 6XE',
412
- 'billing_country' => 'GB',
413
- 'billing_email' => 'sherlock@holmes.co.uk',
414
- 'billing_phone' => '02079304832',
415
- 'date_created' => gmdate( 'Y-m-d H:i:s' ),
416
- 'total' => 24.90,
417
- ) );
418
-
419
- // Item #1
420
- $order_item = new WC_Order_Item_Product();
421
- $order_item->set_props( array(
422
- 'name' => 'A Study in Scarlet',
423
- 'subtotal' => '9.95',
424
- 'sku' => 'kwd_ex_1',
425
- ) );
426
- $order->add_item( $order_item );
427
-
428
- // Item #2
429
- $order_item = new WC_Order_Item_Product();
430
- $order_item->set_props( array(
431
- 'name' => 'The Hound of the Baskervilles',
432
- 'subtotal' => '14.95',
433
- 'sku' => 'kwd_ex_2',
434
- ) );
435
- $order->add_item( $order_item );
436
-
437
- // Return mockup order
438
- return $order;
439
- }
440
- }
441
- }
442
- /**
443
- * Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
444
- *
445
- * @since 1.6.5
446
- * @version 1.6.5
447
- *
448
- * @return zorem_woocommerce_advanced_shipment_tracking
449
- */
450
- function wcast_customizer() {
451
- static $instance;
452
-
453
- if ( ! isset( $instance ) ) {
454
- $instance = new wc_advanced_shipment_tracking_customizer();
455
- }
456
-
457
- return $instance;
458
- }
459
-
460
- /**
461
- * Register this class globally.
462
- *
463
- * Backward compatibility.
464
- */
465
- wcast_customizer();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/custom-controls.php DELETED
@@ -1,170 +0,0 @@
1
- <?php
2
- /**
3
- * AST Customizer Custom Controls
4
- *
5
- */
6
- if ( class_exists( 'WP_Customize_Control' ) ) {
7
- class WP_Customize_Heading_Control extends WP_Customize_Control {
8
-
9
- public function render_content() {
10
- ?>
11
- <label>
12
- <h3 class="control_heading"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></h3>
13
- <?php if ( ! empty( $this->description ) ) : ?>
14
- <span class="description customize-control-description"><?php esc_html_e( $this->description ); ?></span>
15
- <?php endif; ?>
16
- </label>
17
- <?php
18
- }
19
- }
20
-
21
- class WP_Customize_Codeinfoblock_Control extends WP_Customize_Control {
22
-
23
- public function render_content() {
24
- ?>
25
- <label>
26
- <h3 class="customize-control-title"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></h3>
27
- <?php if ( ! empty( $this->description ) ) : ?>
28
- <span class="description customize-control-description"><?php echo wp_kses_post( $this->description ); ?></span>
29
- <?php endif; ?>
30
- </label>
31
- <?php
32
- }
33
- }
34
-
35
- /**
36
- * Custom Control Base Class
37
- */
38
- class AST_Custom_Control extends WP_Customize_Control {
39
- protected function get_skyrocket_resource_url() {
40
- if ( strpos( wp_normalize_path( __DIR__ ), wp_normalize_path( WP_PLUGIN_DIR ) ) === 0 ) {
41
- // We're in a plugin directory and need to determine the url accordingly.
42
- return plugin_dir_url( __DIR__ );
43
- }
44
-
45
- return trailingslashit( get_template_directory_uri() );
46
- }
47
- }
48
-
49
- /**
50
- * Slider Custom Control
51
- */
52
- class AST_Slider_Custom_Control extends AST_Custom_Control {
53
- /**
54
- * The type of control being rendered
55
- */
56
- public $type = 'slider_control';
57
- /**
58
- * Enqueue our scripts and styles
59
- */
60
- public function enqueue() {
61
- wp_enqueue_script( 'ast-custom-controls-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/customizer.js', array( 'jquery', 'jquery-ui-core' ), wc_advanced_shipment_tracking()->version, true );
62
- wp_enqueue_style( 'ast-custom-controls-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/customizer.css', array(), wc_advanced_shipment_tracking()->version, 'all' );
63
- }
64
- /**
65
- * Render the control in the customizer
66
- */
67
- public function render_content() {
68
- ?>
69
- <div class="slider-custom-control">
70
- <span class="customize-control-title"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></span>
71
- <div class="slider" slider-min-value="<?php echo esc_attr( $this->input_attrs['min'] ); ?>" slider-max-value="<?php echo esc_attr( $this->input_attrs['max'] ); ?>" slider-step-value="<?php echo esc_attr( $this->input_attrs['step'] ); ?>">
72
- </div>
73
- <span class="slider-reset dashicons dashicons-image-rotate" slider-reset-value="<?php echo esc_attr( $this->input_attrs['default'] ); ?>"></span>
74
- <input type="number" id="<?php echo esc_attr( $this->id ); ?>" name="<?php echo esc_attr( $this->id ); ?>" value="<?php echo esc_attr( $this->value() ); ?>" class="customize-control-slider-value" <?php $this->link(); ?> />
75
- </div>
76
- <?php
77
- }
78
- }
79
-
80
- /**
81
- * Dropdown Select2 Custom Control
82
- */
83
- class AST_Dropdown_Select_Custom_Control extends AST_Custom_Control {
84
- /**
85
- * The type of control being rendered
86
- */
87
- public $type = 'dropdown_select';
88
- /**
89
- * The Placeholder value to display. Select2 requires a Placeholder value to be set when using the clearall option. Default = 'Please select...'
90
- */
91
- private $placeholder = 'Please select...';
92
- /**
93
- * Constructor
94
- */
95
- public function __construct( $manager, $id, $args = array(), $options = array() ) {
96
- parent::__construct( $manager, $id, $args );
97
- // Check if this is a multi-select field
98
- // Check if a placeholder string has been specified
99
- if ( isset( $this->input_attrs['placeholder'] ) && $this->input_attrs['placeholder'] ) {
100
- $this->placeholder = $this->input_attrs['placeholder'];
101
- }
102
- }
103
- /**
104
- * Render the control in the customizer
105
- */
106
- public function render_content() {
107
- $defaultValue = $this->value();
108
- ?>
109
- <div class="dropdown_select_control">
110
- <?php if ( !empty( $this->label ) ) { ?>
111
- <label for="<?php echo esc_attr( $this->id ); ?>" class="customize-control-title">
112
- <?php echo esc_html( $this->label ); ?>
113
- </label>
114
- <?php } ?>
115
- <?php if ( !empty( $this->description ) ) { ?>
116
- <span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
117
- <?php } ?>
118
- <select name="<?php echo esc_attr( $this->id ); ?>" id="<?php echo esc_attr( $this->id ); ?>" <?php $this->link(); ?> class="<?php esc_html_e( $this->input_attrs['class'] ); ?>" data-placeholder="<?php esc_html_e( $this->placeholder ); ?>">
119
- <?php
120
- foreach ( $this->choices as $key => $value ) {
121
- echo '<option value="' . esc_attr( $key ) . '" ' . selected( esc_attr( $key ), $defaultValue, false ) . '>' . esc_attr( $value ) . '</option>';
122
- }
123
- ?>
124
- </select>
125
- </div>
126
- <?php
127
- }
128
- }
129
-
130
- /**
131
- * TinyMCE Custom Control
132
- */
133
- class AST_TinyMCE_Custom_Control extends AST_Custom_Control {
134
- /**
135
- * The type of control being rendered
136
- */
137
- public $type = 'tinymce_editor';
138
- /**
139
- * Enqueue our scripts and styles
140
- */
141
- public function enqueue() {
142
- wp_enqueue_script( 'ast-custom-controls-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/customizer.js', array( 'jquery', 'jquery-ui-core' ), wc_advanced_shipment_tracking()->version, true );
143
- wp_enqueue_style( 'ast-custom-controls-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/customizer.css', array(), wc_advanced_shipment_tracking()->version, 'all' );
144
- wp_enqueue_editor();
145
- }
146
- /**
147
- * Pass our TinyMCE toolbar string to JavaScript
148
- */
149
- public function to_json() {
150
- parent::to_json();
151
- $this->json['asttinymcetoolbar1'] = isset( $this->input_attrs['toolbar1'] ) ? esc_attr( $this->input_attrs['toolbar1'] ) : 'bold italic bullist numlist alignleft aligncenter alignright link';
152
- $this->json['asttinymcetoolbar2'] = isset( $this->input_attrs['toolbar2'] ) ? esc_attr( $this->input_attrs['toolbar2'] ) : '';
153
- $this->json['astmediabuttons'] = isset( $this->input_attrs['mediaButtons'] ) && ( true === $this->input_attrs['mediaButtons'] ) ? true : false;
154
- }
155
- /**
156
- * Render the control in the customizer
157
- */
158
- public function render_content() {
159
- ?>
160
- <div class="tinymce-control">
161
- <span class="customize-control-title"><?php esc_html_e( $this->label, 'woo-advanced-shipment-tracking' ); ?></span>
162
- <?php if ( !empty( $this->description ) ) { ?>
163
- <span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
164
- <?php } ?>
165
- <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>
166
- </div>
167
- <?php
168
- }
169
- }
170
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/partial_shipped_preview.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
-
8
- <head>
9
-
10
- <meta charset="<?php bloginfo('charset'); ?>" />
11
- <meta name="viewport" content="width=device-width" />
12
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
13
- </head>
14
-
15
- <body class="ast_preview_body">
16
- <div id="overlay"></div>
17
- <div id="ast_preview_wrapper" style="display: block;">
18
-
19
- <?php wcast_partial_shipped_customizer_email::preview_partial_shipped_email(); ?>
20
-
21
- </div>
22
-
23
- <?php
24
- do_action( 'woomail_footer' );
25
- wp_footer();
26
- ?>
27
-
28
- </body>
29
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/preview.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
-
8
- <head>
9
-
10
- <meta charset="<?php bloginfo('charset'); ?>" />
11
- <meta name="viewport" content="width=device-width" />
12
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
13
- </head>
14
-
15
- <body class="ast_preview_body">
16
- <div id="overlay"></div>
17
- <div id="ast_preview_wrapper" style="display: block;">
18
-
19
- <?php wcast_initialise_customizer_settings::preview_completed_email(); ?>
20
-
21
- </div>
22
-
23
- <?php
24
- do_action( 'woomail_footer' );
25
- wp_footer();
26
- ?>
27
-
28
- </body>
29
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/updated_tracking_preview.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
-
7
- ?>
8
-
9
- <head>
10
-
11
- <meta charset="<?php bloginfo('charset'); ?>" />
12
- <meta name="viewport" content="width=device-width" />
13
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
14
- </head>
15
-
16
- <body class="ast_preview_body">
17
- <div id="overlay"></div>
18
- <div id="ast_preview_wrapper" style="display: block;">
19
- <?php $this->preview_updated_tracking_email(); ?>
20
- </div>
21
-
22
- <?php
23
- do_action( 'woomail_footer' );
24
- wp_footer();
25
- ?>
26
-
27
- </body>
28
-
29
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/email-manager.php DELETED
@@ -1,116 +0,0 @@
1
- <?php
2
- /**
3
- * Handles email sending
4
- */
5
- class WC_Advanced_Shipment_Tracking_Email_Manager {
6
-
7
- private static $instance;
8
-
9
- /**
10
- * Constructor sets up actions
11
- */
12
- public function __construct() {
13
- // template path
14
- if (!defined( 'AST_TEMPLATE_PATH' ) ) {
15
- define( 'AST_TEMPLATE_PATH', SHIPMENT_TRACKING_PATH . '/templates/' );
16
- }
17
- // hook for when order status is changed
18
- add_filter( 'woocommerce_email_classes', array( $this, 'custom_init_emails' ) );
19
- }
20
-
21
- /**
22
- * Code for include delivered email class
23
- */
24
- public function custom_init_emails( $emails ) {
25
-
26
- // Include the email class file if it's not included already
27
- $partial_shipped_status = get_option( 'wc_ast_status_partial_shipped', 0 );
28
- if ( true == $partial_shipped_status ) {
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
-
34
- $updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0 );
35
- if ( true == $updated_tracking_status ) {
36
- if ( ! isset( $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] ) ) {
37
- $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] = include_once( 'emails/class-shipment-updated-tracking-email.php' );
38
- }
39
- }
40
- return $emails;
41
- }
42
-
43
- /**
44
- * Code for format email content
45
- */
46
- public function email_content( $email_content, $order_id, $order ) {
47
-
48
- $order_number = $order->get_order_number();
49
-
50
- $customer_email = $order->get_billing_email();
51
- $first_name = $order->get_billing_first_name();
52
- $last_name = $order->get_billing_last_name();
53
- $company_name = $order->get_billing_company();
54
- $user = $order->get_user();
55
-
56
- if ( $user ) {
57
- $username = $user->user_login;
58
- }
59
-
60
- $email_content = str_replace( '{customer_email}', $customer_email, $email_content );
61
- $email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
62
- $email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
63
- $email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
64
-
65
- if ( isset( $company_name ) ) {
66
- $email_content = str_replace( '{customer_company_name}', $company_name, $email_content );
67
- } else {
68
- $email_content = str_replace( '{customer_company_name}', '', $email_content );
69
- }
70
-
71
- if ( isset( $username ) ) {
72
- $email_content = str_replace( '{customer_username}', $username, $email_content );
73
- } else {
74
- $email_content = str_replace( '{customer_username}', '', $email_content );
75
- }
76
-
77
- $email_content = str_replace( '{order_number}', $order_number, $email_content );
78
-
79
- return $email_content;
80
- }
81
-
82
- /**
83
- * Get blog name formatted for emails.
84
- *
85
- * @return string
86
- */
87
- private function get_blogname() {
88
- return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
89
- }
90
-
91
- }
92
-
93
- /**
94
- * Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
95
- *
96
- * @since 1.6.5
97
- * @version 1.6.5
98
- *
99
- * @return zorem_woocommerce_advanced_shipment_tracking
100
- */
101
- function wc_advanced_shipment_tracking_email_class() {
102
- static $instance;
103
-
104
- if ( ! isset( $instance ) ) {
105
- $instance = new WC_Advanced_Shipment_Tracking_Email_Manager();
106
- }
107
-
108
- return $instance;
109
- }
110
-
111
- /**
112
- * Register this class globally.
113
- *
114
- * Backward compatibility.
115
- */
116
- wc_advanced_shipment_tracking_email_class();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/emails/class-shipment-partial-shipped-email.php DELETED
@@ -1,197 +0,0 @@
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
- return wc_get_template_html(
105
- $this->template_html,
106
- array(
107
- 'order' => $this->object,
108
- 'email_heading' => $this->get_heading(),
109
- 'additional_content' => $this->get_additional_content(),
110
- 'sent_to_admin' => false,
111
- 'plain_text' => false,
112
- 'email' => $this,
113
- )
114
- );
115
- } else if ( class_exists('ast_pro') ) {
116
- return wc_get_template_html(
117
- 'emails/customer-partial-shipped-order.php',
118
- array(
119
- 'order' => $this->object,
120
- 'email_heading' => $this->get_heading(),
121
- 'additional_content' => $this->get_additional_content(),
122
- 'sent_to_admin' => false,
123
- 'plain_text' => false,
124
- 'email' => $this,
125
- ),
126
- 'woocommerce-advanced-shipment-tracking/',
127
- ast_pro()->get_plugin_path() . '/templates/'
128
- );
129
- } else {
130
- return wc_get_template_html(
131
- 'emails/customer-partial-shipped-order.php',
132
- array(
133
- 'order' => $this->object,
134
- 'email_heading' => $this->get_heading(),
135
- 'additional_content' => $this->get_additional_content(),
136
- 'sent_to_admin' => false,
137
- 'plain_text' => false,
138
- 'email' => $this,
139
- ),
140
- 'woocommerce-advanced-shipment-tracking/',
141
- wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
142
- );
143
- }
144
- }
145
-
146
- /**
147
- * Get content plain.
148
- *
149
- * @return string
150
- */
151
- public function get_content_plain() {
152
- $template = $this->get_template( 'template_html' );
153
- $local_file = $this->get_theme_template_file( $template );
154
- if ( file_exists( $local_file ) && is_writable( $local_file )) {
155
- //echo $local_file;exit;
156
- return wc_get_template_html(
157
- $this->template_html,
158
- array(
159
- 'order' => $this->object,
160
- 'email_heading' => $this->get_heading(),
161
- 'additional_content' => $this->get_additional_content(),
162
- 'sent_to_admin' => false,
163
- 'plain_text' => false,
164
- 'email' => $this,
165
- )
166
- );
167
- } else {
168
- return wc_get_template_html(
169
- 'emails/customer-partial-shipped-order.php',
170
- array(
171
- 'order' => $this->object,
172
- 'email_heading' => $this->get_heading(),
173
- 'additional_content' => $this->get_additional_content(),
174
- 'sent_to_admin' => false,
175
- 'plain_text' => false,
176
- 'email' => $this,
177
- ),
178
- 'woocommerce-advanced-shipment-tracking/',
179
- wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
180
- );
181
- }
182
- }
183
-
184
- /**
185
- * Default content to show below main email content.
186
- *
187
- * @since 3.7.0
188
- * @return string
189
- */
190
- public function get_default_additional_content() {
191
- return __( 'Thanks for shopping with us.', 'woocommerce' );
192
- }
193
- }
194
-
195
- endif;
196
-
197
- return new WC_Email_Customer_Partial_Shipped_Order();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/emails/class-shipment-updated-tracking-email.php DELETED
@@ -1,184 +0,0 @@
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/tracking-info.php DELETED
@@ -1,82 +0,0 @@
1
- <?php
2
- /**
3
- * Adds a tracking number to an order.
4
- *
5
- * @param int $order_id The order id of the order you want to
6
- * attach this tracking number to.
7
- * @param string $tracking_number The tracking number.
8
- * @param string $tracking_provider The tracking provider name.
9
- * @param int $date_shipped The timestamp of the shipped date.
10
- * This is optional, if not set it will
11
- * use current time.
12
- * @param int $status_shipped 0=no,1=shipped,2=partial shipped(if partial shipped order status is enabled)
13
- */
14
-
15
- function ast_insert_tracking_number( $order_id, $tracking_number, $tracking_provider, $date_shipped = null, $status_shipped = 0 ) {
16
- $args = array(
17
- 'tracking_provider' => $tracking_provider,
18
- 'tracking_number' => $tracking_number,
19
- 'date_shipped' => $date_shipped,
20
- 'status_shipped' => $status_shipped,
21
- );
22
- $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
23
- $ast->insert_tracking_item( $order_id, $args );
24
- }
25
-
26
- /**
27
- * Adds a tracking number to an order.
28
- *
29
- * @param int $order_id The order id of the order you want to
30
- * attach this tracking number to.
31
- * @param string $tracking_number The tracking number.
32
- * @param string $tracking_provider The tracking provider slug.
33
- * @param int $date_shipped The timestamp of the shipped date.
34
- * This is optional, if not set it will
35
- * use current time.
36
- * @param int $status_shipped 0=no,1=shipped,2=partial shipped(if partial shipped order status is enabled)
37
- */
38
-
39
- function ast_add_tracking_number( $order_id, $tracking_number, $tracking_provider, $date_shipped = null, $status_shipped = 0 ) {
40
- $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
41
- $args = array(
42
- 'tracking_provider' => $tracking_provider,
43
- 'tracking_number' => $tracking_number,
44
- 'date_shipped' => $date_shipped,
45
- 'status_shipped' => $status_shipped,
46
- );
47
- $ast->add_tracking_item( $order_id, $args );
48
- }
49
-
50
- /**
51
- * Get a tracking information for an order.
52
- *
53
- * @param int $order_id The order id of the order you want to
54
- * get tracking info.
55
- */
56
- if ( !function_exists( 'ast_get_tracking_items' ) ) {
57
- function ast_get_tracking_items( $order_id ) {
58
- $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
59
- $tracking_items = $ast->get_tracking_items( $order_id, true );
60
- return $tracking_items;
61
- }
62
- }
63
-
64
- if ( !function_exists( 'ast_get_product_id_by_sku' ) ) {
65
- function ast_get_product_id_by_sku( $sku = false ) {
66
-
67
- global $wpdb;
68
-
69
- if ( !$sku ) {
70
- return null;
71
- }
72
-
73
- $product_id = $wpdb->get_var(
74
- $wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta WHERE meta_key='_sku' AND meta_value=%s LIMIT 1", $sku ) );
75
-
76
- if ( $product_id ) {
77
- return $product_id;
78
- }
79
-
80
- return null;
81
- }
82
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/activity_panel.php DELETED
@@ -1,70 +0,0 @@
1
- <div class="woocommerce-layout__activity-panel">
2
- <div class="woocommerce-layout__activity-panel-tabs">
3
- <button type="button" id="activity-panel-tab-help" class="components-button woocommerce-layout__activity-panel-tab">
4
- <span class="dashicons dashicons-menu-alt"></span>
5
- </button>
6
- </div>
7
- <div class="woocommerce-layout__activity-panel-wrapper">
8
- <div class="woocommerce-layout__activity-panel-content" id="activity-panel-true">
9
- <div class="woocommerce-layout__activity-panel-header">
10
- <div class="woocommerce-layout__inbox-title">
11
- <p class="css-activity-panel-Text">Documentation</p>
12
- </div>
13
- </div>
14
- <div>
15
- <ul class="woocommerce-list woocommerce-quick-links__list">
16
- <li class="woocommerce-list__item has-action">
17
- <?php
18
- $support_link = class_exists( 'ast_pro' ) ? 'https://www.zorem.com/?support=1' : 'https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/#new-topic-0' ;
19
- ?>
20
- <a href="<?php echo esc_url( $support_link ); ?>" class="woocommerce-list__item-inner" target="_blank" >
21
- <div class="woocommerce-list__item-before">
22
- <span class="dashicons dashicons-media-document"></span>
23
- </div>
24
- <div class="woocommerce-list__item-text">
25
- <span class="woocommerce-list__item-title">
26
- <div class="woocommerce-list-Text">Get Support</div>
27
- </span>
28
- </div>
29
- <div class="woocommerce-list__item-after">
30
- <span class="dashicons dashicons-arrow-right-alt2"></span>
31
- </div>
32
- </a>
33
- </li>
34
- <li class="woocommerce-list__item has-action">
35
- <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
36
- <div class="woocommerce-list__item-before">
37
- <span class="dashicons dashicons-media-document"></span>
38
- </div>
39
- <div class="woocommerce-list__item-text">
40
- <span class="woocommerce-list__item-title">
41
- <div class="woocommerce-list-Text">Documentation</div>
42
- </span>
43
- </div>
44
- <div class="woocommerce-list__item-after">
45
- <span class="dashicons dashicons-arrow-right-alt2"></span>
46
- </div>
47
- </a>
48
- </li>
49
- <?php if ( !class_exists( 'ast_pro' ) ) { ?>
50
- <li class="woocommerce-list__item has-action">
51
- <a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
52
- <div class="woocommerce-list__item-before">
53
- <span class="dashicons dashicons-media-document"></span>
54
- </div>
55
- <div class="woocommerce-list__item-text">
56
- <span class="woocommerce-list__item-title">
57
- <div class="woocommerce-list-Text">Upgrade To Pro</div>
58
- </span>
59
- </div>
60
- <div class="woocommerce-list__item-after">
61
- <span class="dashicons dashicons-arrow-right-alt2"></span>
62
- </div>
63
- </a>
64
- </li>
65
- <?php } ?>
66
- </ul>
67
- </div>
68
- </div>
69
- </div>
70
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_options_addons.php DELETED
@@ -1,170 +0,0 @@
1
- <?php
2
- /**
3
- * Html code for tools tab
4
- */
5
- $wc_ast_api_key = get_option('wc_ast_api_key');
6
- ?>
7
- <section id="content6" class="tab_section">
8
- <div class="tab_container_without_bg">
9
-
10
- <?php
11
- $show_addons_tab = apply_filters( 'ast_show_addons_tab', false );
12
-
13
- if ( class_exists( 'ast_pro' ) ) {
14
- $show_addons_tab = true;
15
- } elseif ( class_exists( 'ast_compatibility_with_wc_shipstation' ) ) {
16
- $show_addons_tab = true;
17
- } elseif ( class_exists( 'ast_compatibility_with_wc_services' ) ) {
18
- $show_addons_tab = true;
19
- } elseif ( class_exists( 'ast_compatibility_with_readytoship' ) ) {
20
- $show_addons_tab = true;
21
- } elseif ( class_exists( 'paypal_tracking_add_on' ) ) {
22
- $show_addons_tab = true;
23
- }
24
- $addons = isset( $_GET['addons'] ) ? sanitize_text_field( $_GET['addons'] ) : 'addons';
25
- ?>
26
-
27
- <?php do_action('ast_addon_license_form'); ?>
28
- <?php if ( !class_exists( 'ast_pro' ) ) { ?>
29
- <div class="section-content trackship_addon_section">
30
- <div class="ast-row">
31
- <div class="as-col-6">
32
- <div class="ts_col_inner">
33
- <h1 class="ast_pro_landing_header">AST PRO Fulfillment Manager</h1>
34
- <ul class="ast_pro_features_list">
35
- <li>Premium Support</li>
36
- <li>Tracking per item</li>
37
- <li>Fully customizable responsive tracking widget</li>
38
- <li>Custom order status "Shipped"</li>
39
- <li>Custom email templates</li>
40
- <li>PayPal tracking integration</li>
41
- <li>Fulfillment dashboard</li>
42
- <li>Auto-detect shipping providers</li>
43
- <li>Tracking automation - Built-in integrations with ShipStation, Ordoro, WooCommerce Shipping and more..</li>
44
- </ul>
45
- <a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="button-primary btn_ast2 btn_large" target="_blank">UPGRADE NOW</a>
46
- </div>
47
- </div>
48
- <div class="as-col-6">
49
- <div class="ts_col_inner ast_ts_landing_banner">
50
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ast-pro-banner.png">
51
- </div>
52
- </div>
53
- </div>
54
- </div>
55
- <?php } ?>
56
-
57
- <h1 class="tab_section_heading clear_spacing" style="margin: 20px 0 0;">Level up your fulfillment workflows</h1>
58
-
59
- <div class="plugins_section free_plugin_section">
60
- <div class="single_plugin as-col-4">
61
- <div class="free_plugin_inner">
62
- <div class="paid_plugin_image">
63
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship.png">
64
- <h3 class="plugin_title">TrackShip for WooCommerce</h3>
65
- </div>
66
- <div class="paid_plugin_description">
67
- <p>Take control of your post-shipping workflows, reduce time spent on customer service and provide a superior post-purchase experience to your customers.Beyond automatic shipment tracking, TrackShip brings a branded tracking experience into your store, integrates into your workflow, and takes care of all the touch points with your customers after shipping.</p>
68
- <?php
69
- if ( is_plugin_active('trackship-for-woocommerce/trackship-for-woocommerce.php' ) ) {
70
- ?>
71
- <button type="button" class="button button button-primary btn_green2">Active</button>
72
- <?php } else { ?>
73
- <a href="https://wordpress.org/plugins/trackship-for-woocommerce/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
74
- <?php } ?>
75
- </div>
76
- </div>
77
- </div>
78
- <div class="single_plugin as-col-4">
79
- <div class="free_plugin_inner">
80
- <div class="paid_plugin_image">
81
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/smswoo-icon.png">
82
- <h3 class="plugin_title">SMS for WooCommerce</h3>
83
- </div>
84
- <div class="paid_plugin_description">
85
- <p>Keep your customers informed by sending them automated SMS text messages with order & delivery updates. You can send SMS notifications to customers when the order status is updated or when the shipment is out for delivery and more…</p>
86
- <?php
87
- if ( is_plugin_active('sms-for-woocommerce/sms-for-woocommerce.php' ) ) {
88
- ?>
89
- <button type="button" class="button button button-primary btn_green2">Active</button>
90
- <?php } else { ?>
91
- <a href="https://www.zorem.com/product/sms-for-woocommerce/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
92
- <?php } ?>
93
- </div>
94
- </div>
95
- </div>
96
- <div class="single_plugin as-col-4">
97
- <div class="free_plugin_inner">
98
- <div class="paid_plugin_image">
99
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/alp.png">
100
- <h3 class="plugin_title">Advanced Local Pickup Pro</h3>
101
- </div>
102
- <div class="paid_plugin_description">
103
- <p>The Advanced Local Pickup (ALP) helps you manage the local pickup orders workflow more conveniently by extending the WooCommerce Local Pickup shipping method. The Pro you set up multiple pickup locations, , split the business hours, apply discounts by pickup location, display local pickup message on the products pages, allow customers to choose pickup location per product, force products to be local pickup only and more…</p>
104
- <?php
105
- if ( is_plugin_active('advanced-local-pickup-pro/advanced-local-pickup-pro.php' ) ) {
106
- ?>
107
- <button type="button" class="button button button-primary btn_green2">Active</button>
108
- <?php } else { ?>
109
- <a href="https://www.zorem.com/product/advanced-local-pickup-for-woocommerce/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
110
- <?php } ?>
111
- </div>
112
- </div>
113
- </div>
114
- <div class="single_plugin as-col-4">
115
- <div class="free_plugin_inner">
116
- <div class="paid_plugin_image">
117
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/cbr.png">
118
- <h3 class="plugin_title">Country Based Restrictions Pro</h3>
119
- </div>
120
- <div class="paid_plugin_description">
121
- <p>The country-based restrictions plugin by zorem works by the WooCommerce Geolocation or the shipping country added by the customer and allows you to restrict products on your store to sell or not to sell to specific countries.</p>
122
- <?php
123
- if ( is_plugin_active('country-base-restrictions-pro-addon/country-base-restrictions-pro-addon.php' ) ) {
124
- ?>
125
- <button type="button" class="button button button-primary btn_green2">Active</button>
126
- <?php } else { ?>
127
- <a href="https://www.zorem.com/product/country-based-restriction-pro/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
128
- <?php } ?>
129
- </div>
130
- </div>
131
- </div>
132
- <div class="single_plugin as-col-4">
133
- <div class="free_plugin_inner">
134
- <div class="paid_plugin_image">
135
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/aosm.png">
136
- <h3 class="plugin_title">Order Status Manager</h3>
137
- </div>
138
- <div class="paid_plugin_description">
139
- <p>The Advanced Order Status Manager allows store owners to manage the WooCommerce orders statuses, create, edit, and delete custom Custom Order Statuses and integrate them into the WooCommerce orders flow.</p>
140
- <?php
141
- if ( is_plugin_active('advanced-order-status-manager/advanced-order-status-manager.php' ) ) {
142
- ?>
143
- <button type="button" class="button button button-primary btn_green2">Active</button>
144
- <?php } else { ?>
145
- <a href="https://www.zorem.com/product/advanced-order-status-manager/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
146
- <?php } ?>
147
- </div>
148
- </div>
149
- </div>
150
- <div class="single_plugin as-col-4">
151
- <div class="free_plugin_inner">
152
- <div class="paid_plugin_image">
153
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/sre.png">
154
- <h3 class="plugin_title">Sales Report Email</h3>
155
- </div>
156
- <div class="paid_plugin_description">
157
- <p>The Sales Report Email Pro will help know how well your store is performing and how your products are selling by sending you a daily, weekly, or monthly sales report by email, directly from your WooCommerce store.</p>
158
- <?php
159
- if ( is_plugin_active('sales-report-email-pro/sales-report-email-pro.php' ) ) {
160
- ?>
161
- <button type="button" class="button button button-primary btn_green2">Active</button>
162
- <?php } else { ?>
163
- <a href="https://www.zorem.com/product/sales-report-email-pro/" class="button button-primary btn_ast2" target="blank"><?php esc_html_e('More Info', 'ast-pro'); ?></a>
164
- <?php } ?>
165
- </div>
166
- </div>
167
- </div>
168
- </div>
169
- </div>
170
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_options_bulk_upload.php DELETED
@@ -1,122 +0,0 @@
1
- <?php
2
- /**
3
- * Html code for bulk upload tab
4
- */
5
- ?>
6
- <section id="content4" class="tab_section">
7
- <div class="tab_container_without_bg_1000">
8
- <h2 class="tab_page_heading clear_spacing"><?php esc_html_e( 'CSV Import', 'woo-advanced-shipment-tracking' ); ?></h2>
9
- <p><?php esc_html_e('Use our CSV Import Tool to bulk Import tracking info to orders from a CSV file', 'woo-advanced-shipment-tracking'); ?></p>
10
- <!-- progressbar -->
11
- <section class="woocommerce-progress-form-wrapper" style="display:block;">
12
- <ol class="wc-progress-steps">
13
- <li class="progress_step1 active"><?php esc_html_e('Upload CSV file', 'woocommerce'); ?></li>
14
- <li class="progress_step2"><?php esc_html_e('Import', 'woocommerce'); ?></li>
15
- <li class="progress_step3"><?php esc_html_e('Done!', 'woocommerce'); ?></li>
16
- </ol>
17
- <form method="post" id="wc_ast_upload_csv_form" action="" enctype="multipart/form-data" style="text-align:left;">
18
- <div class="upload_csv_div">
19
- <div class="outer_form_table">
20
- <table class="form-table upload_csv_table">
21
- <tbody>
22
- <tr valign="top" class="border-bottom-1">
23
- <th scope="row" class="">
24
- <label for=""><?php esc_html_e('Upload a CSV file from your computer:', 'woo-advanced-shipment-tracking'); ?></label>
25
- </th>
26
- <td scope="row" class="input_file_cl">
27
- <input type="file" name="trcking_csv_file" id="trcking_csv_file">
28
- </td>
29
- </tr>
30
- <tr valign="top" class="border-bottom-1">
31
- <th scope="row" class="">
32
- <label for=""><?php esc_html_e('Choose the Shipped Date format', 'woo-advanced-shipment-tracking'); ?></label>
33
- </th>
34
- <td scope="row" class="">
35
- <?php $date_format = get_option( 'date_format_for_csv_import', 'd-m-Y' ); ?>
36
- <label class="ast_radio_label" for="date_format_ddmmyy">
37
- <input type="radio" <?php esc_html_e( ( 'd-m-Y' == $date_format ) ? 'checked' : '' ); ?> id="date_format_ddmmyy" name="date_format_for_csv_import" class="" value="d-m-Y"/> dd/mm/YYYY
38
- </label>
39
- <label class="ast_radio_label" for="date_format_mmddyy">
40
- <input type="radio" <?php esc_html_e( ( 'm-d-Y' == $date_format ) ? 'checked' : '' ); ?> id="date_format_mmddyy" name="date_format_for_csv_import" class="" value="m-d-Y"/> mm/dd/YYYY
41
- </label>
42
- </td>
43
- </tr>
44
- <tr valign="top" class="">
45
- <th scope="row" class="">
46
- <label for=""><?php esc_html_e('Replace tracking information?', 'woo-advanced-shipment-tracking'); ?><span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e('Keep unchecked for the tracking info to be added to any existing tracking info added to the orders.', 'woo-advanced-shipment-tracking'); ?>"></span></label>
47
- </th>
48
- <td scope="row" class="">
49
- <input type="checkbox" id="replace_tracking_info" name="replace_tracking_info" class="" value="1"/>
50
- </td>
51
- </tr>
52
- <tr valign="top" class="">
53
- <td scope="row" class="button-column" colspan="2">
54
- <div class="submit">
55
- <button name="save" class="button-primary btn_ast2" type="submit" value="Save"><?php esc_html_e('Continue', 'woo-advanced-shipment-tracking'); ?></button>
56
- <div class="spinner" style="float:none"></div>
57
- <div class="success_msg" style="display:none;"><?php esc_html_e('Settings Saved.', 'woo-advanced-shipment-tracking'); ?></div>
58
- <div class="error_msg" style="display:none;"></div>
59
- <input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
60
- </div>
61
- </td>
62
- </tr>
63
- </tbody>
64
- </table>
65
- </div>
66
- </div>
67
- <div class="bulk_upload_status_div" style="display:none;">
68
- <div class="outer_form_table">
69
- <div class="completed_icon"></div>
70
- <table class="form-table upload_csv_table">
71
- <tbody>
72
- <tr valign="top" class="bulk_upload_status_heading_tr">
73
- <td scope="row" class="input_file_cl bulk_upload_status_td" colspan="2">
74
- <h2><?php esc_html_e('Import in Progress', 'woo-advanced-shipment-tracking'); ?><span class="spinner is-active"></span></h2>
75
- </td>
76
- </tr>
77
- <tr valign="top" class="bulk_upload_status_overview_tr">
78
- <td scope="row" class="bulk_upload_status_overview_td csv_success_msg" colspan="2">
79
- <span></span>
80
- </td>
81
- </tr>
82
- <tr valign="top" class="bulk_upload_status_overview_tr">
83
- <td scope="row" class="bulk_upload_status_overview_td csv_fail_msg" colspan="2">
84
- <span></span>
85
- <a href="javascript:void(0);" class="view_csv_error_details"><?php esc_html_e('view details', 'woo-advanced-shipment-tracking'); ?></a>
86
- </td>
87
- </tr>
88
- <tr valign="top" class="bulk_upload_status_detail_error_tr">
89
- <td scope="row" colspan="2">
90
- <ul class="csv_error_details_ul">
91
- </ul>
92
- </td>
93
- </tr>
94
- <tr class="bulk_upload_status_tr">
95
- <td scope="row" colspan="2">
96
- <div id="p1" class="mdl-progress mdl-js-progress" style=""></div>
97
- <div class="progress2 progress-moved">
98
- <div class="progress-bar2" >
99
- </div>
100
- </div>
101
- <ul class="csv_upload_status"></ul>
102
- </td>
103
- </tr>
104
- <tr valign="top" class="bulk_upload_status_action" style="display:none;">
105
- <td>
106
- <a class="button-primary btn_ast2" href="<?php echo esc_url( admin_url( 'edit.php?post_type=shop_order' ) ); ?>"><?php esc_html_e('View Orders', 'woo-advanced-shipment-tracking'); ?></a>
107
- <a href="javascript:void(0)" class="csv_upload_again button-primary btn_ast2"><?php esc_html_e('Upload again', 'woo-advanced-shipment-tracking'); ?></a>
108
- </td>
109
- </tr>
110
- </tbody>
111
- </table>
112
- </div>
113
- </div>
114
- <input type="hidden" id="nonce_csv_import" value="<?php esc_html_e( wp_create_nonce( 'nonce_csv_import' ) ); ?>">
115
- </form>
116
- <ul class="bulk_upload_documentation_ul">
117
- <li><span class="dashicons dashicons-download"></span><a class="" href="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>/assets/tracking.csv"><?php esc_html_e('Download sample csv', 'woo-advanced-shipment-tracking'); ?></a></li>
118
- <li><span class="dashicons dashicons-media-document"></span><a target="blank" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/bulk-import-shipment-tracking/"><?php esc_html_e('How to import tracking number from CSV files?', 'woo-advanced-shipment-tracking'); ?></a></li>
119
- </ul>
120
- </section>
121
- </div>
122
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_options_osm.php DELETED
@@ -1,88 +0,0 @@
1
- <?php
2
- $wcast_initialise_customizer_settings = new wcast_initialise_customizer_settings();
3
- ?>
4
- <div class="custom_order_status_section">
5
- <table class="form-table order-status-table">
6
- <tbody>
7
- <tr valign="top">
8
- <td class="forminp">
9
- <input type="hidden" name="wc_ast_status_shipped" value="0"/>
10
- <input class="ast-tgl ast-tgl-flat" id="wc_ast_status_shipped" name="wc_ast_status_shipped" type="checkbox" <?php ( get_option( 'wc_ast_status_shipped', 1 ) ) ? esc_html_e( 'checked' ) : ''; ?> value="1"/>
11
- <label class="ast-tgl-btn" for="wc_ast_status_shipped"></label>
12
- </td>
13
- <td colspan="2" class="status_shipped_label">
14
- <?php esc_html_e( 'Rename the “Completed” Order status label to “Shipped”', 'woo-advanced-shipment-tracking' ); ?>
15
- </td>
16
- <td style="text-align:right;">
17
- <a class='settings_edit' href="<?php echo esc_url( $wcast_initialise_customizer_settings->get_customizer_url( 'ast_tracking_general_section', 'settings' ) ); ?>"><?php esc_html_e( 'Customize', 'woocommerce' ); ?></a>
18
- </td>
19
- </tr>
20
-
21
- <?php
22
- $osm_data = $this->get_osm_data();
23
- foreach ( $osm_data as $o_status => $data ) {
24
- $checked = ( get_option( $data['id'] ) ) ? 'checked' : '';
25
- $disable_row = ( !get_option( $data['id'] ) ) ? 'disable_row' : '';
26
- $wc_ast_status_shipped = get_option( 'wc_ast_status_shipped' );
27
- if ( $wc_ast_status_shipped && 'shipped' == $o_status ) {
28
- $checked = '';
29
- $disable_row = 'disable_row';
30
- }
31
- ?>
32
- <tr valign="top" class="<?php echo esc_html( $o_status ); ?>_row <?php echo esc_html( $disable_row ); ?>">
33
- <td class="forminp">
34
- <input type="hidden" name="<?php echo esc_html( $data['id'] ); ?>" value="0"/>
35
- <input class="ast-tgl ast-tgl-flat order_status_toggle" id="<?php echo esc_html( $data['id'] ); ?>" name="<?php echo esc_html( $data['id'] ); ?>" type="checkbox" value="1" <?php echo esc_html( $checked ); ?> />
36
- <label class="ast-tgl-btn" for="<?php echo esc_html( $data['id'] ); ?>"></label>
37
- </td>
38
- <td class="forminp status-label-column">
39
- <span class="order-label <?php echo esc_html( $data['label_class'] ); ?>">
40
- <?php
41
- if ( get_option( $data['id'] ) ) {
42
- esc_html_e( wc_get_order_status_name( $data['slug'] ), 'woo-advanced-shipment-tracking' );
43
- } else {
44
- echo esc_html( $data['label'] );
45
- }
46
- ?>
47
- </span>
48
- </td>
49
- <td class="forminp">
50
- <?php
51
- $ast_enable_email = get_option($data['option_id']);
52
-
53
- $checked = '';
54
-
55
- if ( isset( $ast_enable_email['enabled'] ) ) {
56
- if ( 'yes' == $ast_enable_email['enabled'] || 1 == $ast_enable_email['enabled'] ) {
57
- $checked = 'checked';
58
- }
59
- }
60
-
61
- ?>
62
- <fieldset>
63
- <input class="input-text regular-input color_input" type="text" name="<?php echo esc_html( $data['label_color_field'] ); ?>" id="<?php echo esc_html( $data['label_color_field'] ); ?>" style="" value="<?php esc_html_e( get_option( $data['label_color_field'], '#1e73be' ) ); ?>" placeholder="">
64
- <select class="select custom_order_color_select" id="<?php echo esc_html( $data['font_color_field'] ); ?>" name="<?php echo esc_html( $data['font_color_field'] ); ?>">
65
- <option value="#fff" <?php ( '#fff' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
66
- <option value="#000" <?php ( '#000' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
67
- </select>
68
- </fieldset>
69
- </td>
70
- <td class="forminp" style="text-align:right;">
71
- <fieldset>
72
- <label class="send_email_label">
73
- <input type="hidden" name="<?php esc_html_e( $data['email_field'] ); ?>" value="0"/>
74
- <input type="checkbox" name="<?php esc_html_e( $data['email_field'] ); ?>" id="<?php esc_html_e( $data['email_field'] ); ?>"class="enable_order_status_email_input" <?php esc_html_e( $checked ); ?> value="1"><?php esc_html_e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?>
75
- </label>
76
- <a class='settings_edit' href="<?php echo esc_url( $data['edit_email'] ); ?>"><?php esc_html_e( 'Customize', 'woocommerce' ); ?></a>
77
- </fieldset>
78
- </td>
79
- </tr>
80
- <?php
81
- }
82
- do_action('ast_orders_status_column_end');
83
- ?>
84
- </tbody>
85
- </table>
86
- <?php wp_nonce_field( 'wc_ast_order_status_form', 'wc_ast_order_status_form_nonce' ); ?>
87
- <input type="hidden" name="action" value="wc_ast_custom_order_status_form_update">
88
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_options_settings.php DELETED
@@ -1,79 +0,0 @@
1
- <?php
2
- /**
3
- * Html code for settings tab
4
- */
5
- ?>
6
- <section id="content2" class="tab_section">
7
- <form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
8
-
9
- <div class="accordion_container">
10
-
11
- <div class="accordion_set">
12
- <div class="accordion heading add-tracking-option">
13
- <label>
14
- <?php esc_html_e( 'Add Tracking Options', 'woo-advanced-shipment-tracking' ); ?>
15
- <span class="ast-accordion-btn">
16
- <div class="spinner workflow_spinner" style="float:none"></div>
17
- <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
18
- </span>
19
- <span class="dashicons dashicons-arrow-right-alt2"></span>
20
- </label>
21
- </div>
22
- <div class="panel options add-tracking-option">
23
- <?php $this->get_html_ul( $this->get_add_tracking_options() ); ?>
24
- </div>
25
- </div>
26
-
27
- <div class="accordion_set">
28
- <div class="accordion heading add-tracking-option">
29
- <label>
30
- <?php esc_html_e( 'Customer View', 'woo-advanced-shipment-tracking' ); ?>
31
- <span class="ast-accordion-btn">
32
- <div class="spinner workflow_spinner" style="float:none"></div>
33
- <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
34
- </span>
35
- <span class="dashicons dashicons-arrow-right-alt2"></span>
36
- </label>
37
- </div>
38
- <div class="panel options add-tracking-option">
39
- <?php $this->get_html_ul( $this->get_customer_view_options() ); ?>
40
- </div>
41
- </div>
42
-
43
- <div class="accordion_set">
44
- <div class="accordion heading add-tracking-option">
45
- <label>
46
- <?php esc_html_e( 'Shipment Tracking API', 'woo-advanced-shipment-tracking' ); ?>
47
- <span class="ast-accordion-btn">
48
- <div class="spinner workflow_spinner" style="float:none"></div>
49
- <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
50
- </span>
51
- <span class="dashicons dashicons-arrow-right-alt2"></span>
52
- </label>
53
- </div>
54
- <div class="panel options add-tracking-option">
55
- <?php $this->get_html_ul( $this->get_shipment_tracking_api_options() ); ?>
56
- </div>
57
- </div>
58
-
59
- <div class="accordion_set">
60
- <div class="accordion heading add-tracking-option">
61
- <label>
62
- <?php esc_html_e( 'Order Statuses', 'woo-advanced-shipment-tracking' ); ?>
63
- <span class="ast-accordion-btn">
64
- <div class="spinner workflow_spinner" style="float:none"></div>
65
- <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
66
- </span>
67
- <span class="dashicons dashicons-arrow-right-alt2"></span>
68
- </label>
69
- </div>
70
- <div class="panel options add-tracking-option">
71
- <?php require_once( 'admin_options_osm.php' ); ?>
72
- </div>
73
- </div>
74
- </div>
75
-
76
- <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form_nonce' ); ?>
77
- <input type="hidden" name="action" value="wc_ast_settings_form_update">
78
- </form>
79
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_options_shipping_provider.php DELETED
@@ -1,130 +0,0 @@
1
- <?php
2
- /**
3
- * Html code for shipping providers tab
4
- */
5
-
6
- $wc_ast_api_key = get_option('wc_ast_api_key');
7
-
8
- $upload_dir = wp_upload_dir();
9
- $ast_directory = $upload_dir['baseurl'] . '/ast-shipping-providers/';
10
-
11
- if ( isset( $_GET['open'] ) && 'synch_providers' == $_GET['open'] ) {
12
- ?>
13
- <script>
14
- jQuery( document ).ready(function() {
15
- jQuery('.sync_provider_popup').show();
16
- });
17
- </script>
18
- <?php } ?>
19
- <section id="content1" class="tab_section">
20
- <div class="tab_container_without_bg">
21
-
22
- <div class="provider_top">
23
- <div class="search_section">
24
- <span class="dashicons dashicons-search search-icon"></span>
25
- <input class="provider_search_bar" type="text" name="search_provider" id="search_provider" placeholder="<?php esc_html_e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
26
- </div>
27
-
28
- <div class="provider_settings">
29
- <a href="javaScript:void(0);" class="provider_settings_icon upgrade_to_ast_pro"><span class="dashicons dashicons-plus-alt"></span></a>
30
- <a href="javaScript:void(0);" class="sync_providers provider_settings_icon"><span class="dashicons dashicons-update"></span></a>
31
- <input class="ast-tgl ast-tgl-flat" id="reset_providers" name="reset_providers" type="checkbox" value="1"/>
32
- <label class="ast-tgl-btn" for="reset_providers"></label>
33
- </div>
34
- </div>
35
-
36
- <div class="provider_list">
37
- <?php
38
- if ( $default_shippment_providers ) {
39
- echo wp_kses_post( $this->get_provider_html( $default_shippment_providers, 'all' ) );
40
- }
41
- ?>
42
- </div>
43
-
44
- <input type="hidden" id="nonce_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_shipping_provider' ) ); ?>">
45
-
46
- <div id="" class="popupwrapper edit_provider_popup" style="display:none;">
47
- <div class="popuprow">
48
- <div class="popup_header">
49
- <h3 class="popup_title"><?php esc_html_e( 'Edit Shipping Provider', 'woo-advanced-shipment-tracking'); ?></h2> - <h3 class="popup_title edit_provider_title"></h2>
50
- <span class="dashicons dashicons-no-alt popup_close_icon"></span>
51
- </div>
52
- <div class="popup_body">
53
- <form id="edit_provider_form" method="POST" class="edit_provider_form">
54
- <div class="form-field form-50">
55
- <label><?php esc_html_e( 'Provider Name', 'woo-advanced-shipment-tracking' ); ?></label>
56
- <input type="text" name="shipping_provider" class="shipping_provider" value="" placeholder="<?php esc_html_e( 'Shipping Provider', 'woo-advanced-shipment-tracking' ); ?>">
57
- </div>
58
- <div class="form-field form-50 margin-0">
59
- <label><?php esc_html_e( 'Custom display name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( "The custom display name will show in the tracking info section on the customer order emails, my-account, and TrackShip's tracking page and email notifications", 'woo-advanced-shipment-tracking' ); ?>"></span> </label>
60
- <input type="text" name="shipping_display_name" class="shipping_display_name" value="" placeholder="<?php esc_html_e( 'White Label Provider Name', 'woo-advanced-shipment-tracking' ); ?>">
61
- </div>
62
- <div class="form-field api_provider_name_container">
63
- <label><?php esc_html_e( 'Custom API name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( 'Add API name aliases to map Shipping providers names with the provider names that are updated in the shipment tracking API by external shipping services', 'woo-advanced-shipment-tracking' ); ?>"></span></label>
64
- <div class="api_provider_div">
65
- <input type="text" name="api_provider_name[]" class="api_provider_name" value="" placeholder="<?php esc_html_e( 'API Name', 'woo-advanced-shipment-tracking' ); ?>">
66
- <?php do_action('add_more_api_provider'); ?>
67
- </div>
68
- </div>
69
- <div class="form-field form-50">
70
- <label><?php esc_html_e( 'Country', 'woo-advanced-shipment-tracking' ); ?></label>
71
- <select class="select wcast_shipping_country shipping_country" name="shipping_country">
72
- <option value=""><?php esc_html_e( 'Shipping Country', 'woo-advanced-shipment-tracking' ); ?></option>
73
- <option value="Global"><?php esc_html_e( 'Global', 'woo-advanced-shipment-tracking' ); ?></option>
74
- <?php foreach ( $countries as $key=>$val ) { ?>
75
- <option value="<?php esc_html_e( $key ); ?>" ><?php esc_html_e( $val, 'woo-advanced-shipment-tracking'); ?></option>
76
- <?php } ?>
77
- </select>
78
- </div>
79
- <div class="form-field">
80
- <label><?php esc_html_e( 'Custom URL', 'woo-advanced-shipment-tracking' ); ?></label>
81
- <input type="text" name="tracking_url" class="tracking_url" placeholder="Tracking URL">
82
- </div>
83
- <div class="form-field custom_provider_instruction">
84
- <p>
85
- <?php
86
- /* translators: %s: search WooCommerce plugin link */
87
- esc_html_e( 'You can use the variables %number%, %postal_code% and %country_code% in the URL, for more info, check our ', 'woo-advanced-shipment-tracking' );
88
- /* translators: %s: search WooCommerce plugin link */
89
- echo sprintf(__('<a href="%s" target="blank">documentation</a>', 'woo-advanced-shipment-tracking'), 'http://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider');
90
- ?>
91
- </p>
92
- </div>
93
- <input type="hidden" name="action" value="update_custom_shipment_provider">
94
- <input type="hidden" id="nonce_edit_shipping_provider" name="nonce_edit_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_edit_shipping_provider' ) ); ?>">
95
- <input type="hidden" name="provider_type" id="provider_type" value="">
96
- <input type="hidden" name="provider_id" id="provider_id" value="">
97
- <input type="submit" name="Submit" value="<?php esc_html_e( 'Update' , 'woo-advanced-shipment-tracking'); ?>" class="button-primary btn_ast2">
98
- <a href="javascript:void(0);" class="reset_default_provider"><?php esc_html_e( 'Reset' , 'woo-advanced-shipment-tracking'); ?></a>
99
- </form>
100
- </div>
101
- </div>
102
- <div class="popupclose"></div>
103
- </div>
104
-
105
- <div id="" class="popupwrapper sync_provider_popup" style="display:none;">
106
- <div class="popuprow">
107
- <div class="popup_header">
108
- <h3 class="popup_title"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></h2>
109
- <span class="dashicons dashicons-no-alt popup_close_icon"></span>
110
- </div>
111
- <div class="popup_body">
112
- <p class="sync_message"><?php esc_html_e( 'Syncing the shipping providers list add or updates the pre-set shipping providers and will not effect custom shipping providers.', 'woo-advanced-shipment-tracking'); ?></p>
113
- <ul class="synch_result">
114
- <li class="providers_added"><?php esc_html_e( 'Providers Added', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
115
- <li class="providers_updated"><?php esc_html_e( 'Providers Updated', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
116
- <li class="providers_deleted"><?php esc_html_e( 'Providers Deleted', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
117
- </ul>
118
- <p class="reset_db_message" style="display:none;"><?php esc_html_e( 'Shipping providers database reset successfully.', 'woo-advanced-shipment-tracking'); ?></p>
119
- <fieldset class="reset_db_fieldset">
120
- <label><input type="checkbox" id="reset_tracking_providers" name="reset_tracking_providers" value="1"><?php esc_html_e( 'Reset providers database, it will reset all your shipping provider database', 'woo-advanced-shipment-tracking'); ?></label>
121
- </fieldset>
122
- <button class="sync_providers_btn button-primary btn_ast2"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></button>
123
- <button class="close_synch_popup button-primary btn_ast2"><?php esc_html_e( 'Close', 'woocommerce'); ?></button>
124
- <div class="spinner" style=""></div>
125
- </div>
126
- </div>
127
- <div class="popupclose"></div>
128
- </div>
129
- </div>
130
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_options_trackship_integration.php DELETED
@@ -1,28 +0,0 @@
1
- <?php
2
- /**
3
- * Html code for trackship tab
4
- */
5
- wp_enqueue_script( 'trackship_script' );
6
- ?>
7
- <section id="trackship_landing" class="tab_section">
8
- <div class="tab_inner_container" style="width: 100%;">
9
- <div class="section-content trackship_section">
10
- <div class="">
11
- <div class="ts_col_inner">
12
- <img class="ts_landing_logo" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png">
13
- <h1 class="ts_landing_header">Your Post-Shipping &amp; Delivery Autopilot</h1>
14
- <p class="ts_landing_description">Trackship is a Multi-Carrier Shipment Tracking API that seamlessly integrates into your WooCommerce store and auto-tracks your shipments, automates your orders workflow, reduces the time spent on customer service and lets you provide a superior post-purchase experience to your customers.</p>
15
- <h3>Start for Free. 50 Free trackers for new accounts!</h3>
16
- </div>
17
- </div>
18
- <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="_blank" class="button-primary btn_green2 btn_large"><span><?php esc_html_e('Install TrackShip for WooCommerce', 'woo-advanced-shipment-tracking'); ?></span><span class="dashicons dashicons-arrow-right-alt2"></span></a>
19
- <div class="">
20
- <div class="ts_col_inner ts_landing_banner">
21
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ts-header-banner.png">
22
-
23
- <a href="https://www.youtube.com/watch?v=PhnqDorKN_c" target="_blank" class="open_ts_video"><span class="dashicons dashicons-video-alt3"></span></a>
24
- </div>
25
- </div>
26
- </div>
27
- </div>
28
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/integrations_admin_options.php DELETED
@@ -1,25 +0,0 @@
1
- <section id="integrations_content" class="tab_section">
2
- <div class="tab_container_without_bg">
3
- <div class="integration-grid-row grid-row">
4
- <?php
5
- foreach ( $this->integrations_settings_options() as $id => $array ) {
6
- $tgl_class = isset( $array['tgl_color'] ) ? 'ast-tgl-btn-green' : '';
7
- $disabled = isset( $array['disabled'] ) && true == $array['disabled'] ? 'disabled' : '';
8
- ?>
9
- <div class="grid-item">
10
- <div class="grid-item-wrapper">
11
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/<?php esc_html_e( $array['img'] ); ?>">
12
- <div class="grid-img-bottom">
13
- <span class="ast-tgl-btn-parent">
14
- <input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
15
- <input class="ast-tgl ast-tgl-flat ast-settings-toggle" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" value="1" <?php esc_html_e( $disabled ); ?>/>
16
- <label class="ast-tgl-btn <?php esc_html_e( $tgl_class ); ?> upgrade_to_ast_pro" for="<?php esc_html_e( $id ); ?>"></label>
17
- </span>
18
- <a class="integration-more-info" href="https://www.zorem.com/docs/ast-pro/integrations/" target="blank"><?php esc_html_e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a>
19
- </div>
20
- </div>
21
- </div>
22
- <?php } ?>
23
- </div>
24
- </div>
25
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/zorem_admin_addons_sidebar.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $plugin_list = $this->get_zorem_pluginlist();
19
+ ?>
20
+ <ul>
21
+ <?php foreach($plugin_list as $plugin){
22
+ if( 'Advanced Shipment Tracking for WooCommerce' != $plugin->title && 'Tracking Per Item Add-on' != $plugin->title) {
23
+ ?>
24
+ <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>
25
+ <?php }
26
+ }?>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ </div>
includes/views/zorem_admin_bulk_upload_sidebar.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="zorem-sidebar__section padding_0 import_tracking_sidebar">
9
+ <img class="import_tracking_csv_banner" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/CSV-Import-Tracking-info.png">
10
+ </div>
11
+ <div class="zorem-sidebar__section">
12
+ <ul class="bulk_upload_documentation_ul">
13
+ <li><a class="" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv', 'woo-advanced-shipment-tracking'); ?></a></li>
14
+ <li><a target="blank" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/bulk-import-shipment-tracking/"><?php _e('Documentation', 'woo-advanced-shipment-tracking'); ?></a></li>
15
+ </ul>
16
+ </div>
17
+ <?php $wc_ast_api_key = get_option('wc_ast_api_key');
18
+
19
+ if(!$wc_ast_api_key){ ?>
20
+ <div class="zorem-sidebar__section padding_0">
21
+ <a href="https://trackship.info/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="_blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/trackship-sidebar-banner.png"></a>
22
+ </div>
23
+ <?php }
24
+
25
+ if(!class_exists('ast_woo_advanced_shipment_tracking_by_products')){ ?>
26
+ <div class="zorem-sidebar__section padding_0">
27
+ <a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/tpi-icon.png"></a>
28
+ </div>
29
+ <?php } ?>
30
+
31
+ <?php if(!class_exists('SMS_for_WooCommerce')){ ?>
32
+ <div class="zorem-sidebar__section padding_0">
33
+ <a href="https://www.zorem.com/products/sms-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sms-woo-icon.png"></a>
34
+ </div>
35
+ <?php } ?>
36
+
37
+ <?php if(!class_exists('Advanced_Order_Status_Manager')){ ?>
38
+ <div class="zorem-sidebar__section padding_0">
39
+ <a href="https://www.zorem.com/products/advanced-order-status-manager/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/AOSM-banner.png"></a>
40
+ </div>
41
+ <?php } ?>
42
+
43
+ <?php if(!class_exists('ZH_Product_Country_Restrictions')){ ?>
44
+ <div class="zorem-sidebar__section padding_0">
45
+ <a href="https://www.zorem.com/products/country-based-restriction-pro/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/cbr-banner.png"></a>
46
+ </div>
47
+ <?php } ?>
48
+
49
+ <?php if(!class_exists('Woocommerce_Advanced_Sales_Report_Email')){ ?>
50
+ <div class="zorem-sidebar__section padding_0">
51
+ <a href="https://www.zorem.com/products/sales-report-email-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sre-banner.png"></a>
52
+ </div>
53
+ <?php } ?>
54
+
55
+ </div>
56
+ </div>
includes/views/zorem_admin_sidebar.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div class="zorem-sidebar__section">
9
+ <h3>Your opinion matters to us!</h3>
10
+ <p>If you enjoy using The Advanced Shipment Tracking plugin, please take a minute and share your review</p>
11
+ <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" class="button-primary btn_ast_sidebar" target="_blank" >Add your review</a>
12
+ </div>
13
+
14
+ <?php $wc_ast_api_key = get_option('wc_ast_api_key');
15
+
16
+ if(!$wc_ast_api_key){ ?>
17
+ <div class="zorem-sidebar__section padding_0">
18
+ <a href="https://trackship.info/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="_blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/trackship-sidebar-banner.png"></a>
19
+ </div>
20
+ <?php }
21
+
22
+ if(!class_exists('ast_woo_advanced_shipment_tracking_by_products')){ ?>
23
+ <div class="zorem-sidebar__section padding_0">
24
+ <a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/tpi-icon.png"></a>
25
+ </div>
26
+ <?php } ?>
27
+
28
+ <?php if(!class_exists('SMS_for_WooCommerce')){ ?>
29
+ <div class="zorem-sidebar__section padding_0">
30
+ <a href="https://www.zorem.com/products/sms-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sms-woo-icon.png"></a>
31
+ </div>
32
+ <?php } ?>
33
+
34
+ <?php if(!class_exists('Advanced_Order_Status_Manager')){ ?>
35
+ <div class="zorem-sidebar__section padding_0">
36
+ <a href="https://www.zorem.com/products/advanced-order-status-manager/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/AOSM-banner.png"></a>
37
+ </div>
38
+ <?php } ?>
39
+
40
+ <?php if(!class_exists('ZH_Product_Country_Restrictions')){ ?>
41
+ <div class="zorem-sidebar__section padding_0">
42
+ <a href="https://www.zorem.com/products/country-based-restriction-pro/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/cbr-banner.png"></a>
43
+ </div>
44
+ <?php } ?>
45
+
46
+ <?php if(!class_exists('Woocommerce_Advanced_Sales_Report_Email')){ ?>
47
+ <div class="zorem-sidebar__section padding_0">
48
+ <a href="https://www.zorem.com/products/sales-report-email-for-woocommerce/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="blank"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/sre-banner.png"></a>
49
+ </div>
50
+ <?php } ?>
51
+
52
+ </div>
53
+ </div>
lang/woo-advanced-shipment-tracking-bg_BG.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-bg_BG.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-10-12 10:37+0000\n"
7
- "Last-Translator: John Doe\n"
8
  "Language-Team: Bulgarian\n"
9
  "Language: bg_BG\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,36 +12,46 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
- #. %s: search WooCommerce plugin link
18
- #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "документация"
22
 
23
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
 
 
 
 
 
 
24
  msgid "Actions"
25
  msgstr "Действия"
26
 
27
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
- msgid "Add API Name alias"
29
- msgstr "Добавете псевдоним на име на API"
30
 
31
- #: includes/views/admin_options_shipping_provider.php:65
32
- msgid ""
33
- "Add API name aliases to map Shipping providers names with the provider names "
34
- "that are updated in the shipment tracking API by external shipping services"
35
  msgstr ""
36
- "Добавете псевдоними на имена на API, за да съпоставите имената на доставчици "
37
- "на доставки с имена на доставчици, които се актуализират в API за "
38
- "проследяване на пратки от външни служби за доставка"
39
 
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
 
 
 
 
 
42
  msgid "Add Custom Provider"
43
  msgstr "Добавете персонализиран доставчик"
44
 
 
 
 
 
45
  #. Description of the plugin
46
  msgid ""
47
  "Add shipment tracking information to your WooCommerce orders and provide "
@@ -49,492 +59,592 @@ msgid ""
49
  "will appear in customers accounts (in the order panel) and in WooCommerce "
50
  "order complete email."
51
  msgstr ""
52
- "Добавете информация за проследяване на пратките към вашите поръчки в "
53
- "WooCommerce и предоставете на клиентите лесен начин да проследят своите "
54
- "поръчки. Информация за проследяване на пратки ще се появи в акаунтите на "
55
- "клиентите (в панела за поръчки) и в пълния имейл на поръчката на WooCommerce"
56
-
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:815
58
- msgid "add the [wcast-track-order] shortcode in the selected page."
59
- msgstr "добавете шорткода [wcast-track-order] в избраната страница."
60
 
61
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
62
  msgid "Add Tracking"
63
  msgstr "Добавете проследяване"
64
 
65
- #: includes/class-wc-advanced-shipment-tracking-settings.php:339
66
  msgid "Add Tracking - order\t"
67
  msgstr "Добавяне на проследяване - поръчка"
68
 
69
- #: includes/class-wc-advanced-shipment-tracking.php:517
70
- msgid "Add Tracking Info"
71
- msgstr "Добавяне на информация за проследяване"
72
-
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:605
74
- msgid ""
75
- "Add Tracking Information in AST meta fields when you automatically sync "
76
- "tracking numbers from aliexpress orders"
77
- msgstr ""
78
- "Добавете информация за проследяване в мета полета на AST, когато автоматично "
79
- "синхронизирате номера за проследяване от поръчки на aliexpress"
80
-
81
- #: includes/class-wc-advanced-shipment-tracking-admin.php:615
82
- msgid ""
83
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
84
- "& Packing Slips plugin By Ewout Fernhout"
85
- msgstr ""
86
- "Добавете информация за проследяване във фактура PDF, генерирана от "
87
- "WooCommerce PDF фактури и приставки за опаковки от Ewout Fernhout"
88
-
89
- #: includes/class-wc-advanced-shipment-tracking-admin.php:625
90
- msgid ""
91
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
92
- "plugin By Bas Elbers"
93
- msgstr ""
94
- "Добавете информация за проследяване във фактура PDF генерирана от "
95
- "WooCommerce PDF Invoices плъгин От Bas Elbers"
96
-
97
- #: includes/views/admin_options_settings.php:16
98
- msgid "Add Tracking Options"
99
- msgstr "Добавете опции за проследяване"
100
-
101
- #: includes/class-wc-advanced-shipment-tracking-admin.php:933
102
- msgid "Add Tracking Order action"
103
- msgstr "Добавяне на действие за проследяване на поръчка"
104
-
105
- #: includes/class-wc-advanced-shipment-tracking-admin.php:585
106
- msgid ""
107
- "Adding tracking information to your orders shipped with 3plwinner and "
108
- "automate your workflow"
109
- msgstr ""
110
- "Добавяне на информация за проследяване към вашите поръчки, доставени с "
111
- "3plwinner, и автоматизиране на вашия работен поток"
112
-
113
- #: includes/class-wc-advanced-shipment-tracking-admin.php:545
114
- msgid ""
115
- "Adding tracking information to your orders shipped with CustomCat and "
116
- "automate your workflow"
117
- msgstr ""
118
- "Добавянето на информация за проследяване към вашите поръчки, доставени с "
119
- "CustomCat, и автоматизиране на вашия работен поток"
120
-
121
- #: includes/class-wc-advanced-shipment-tracking-admin.php:555
122
- msgid ""
123
- "Adding tracking information to your orders shipped with Dear Systems and "
124
- "automate your workflow"
125
- msgstr ""
126
- "Добавяне на информация за проследяване към вашите поръчки, доставени с Dear "
127
- "Systems, и автоматизиране на вашия работен процес"
128
-
129
- #: includes/class-wc-advanced-shipment-tracking-admin.php:595
130
- msgid ""
131
- "Adding tracking information to your orders shipped with Dianxiaomi and "
132
- "automate your workflow"
133
- msgstr ""
134
- "Добавянето на информация за проследяване към вашите поръчки, доставени с "
135
- "Dianxiaomi, и автоматизиране на вашия работен процес"
136
-
137
- #: includes/class-wc-advanced-shipment-tracking-admin.php:575
138
- msgid ""
139
- "Adding tracking information to your orders shipped with Picqer and automate "
140
- "your workflow"
141
- msgstr ""
142
- "Добавянето на информация за проследяване към вашите поръчки, доставени с "
143
- "Picqer, и автоматизиране на вашия работен процес"
144
-
145
- #: includes/class-wc-advanced-shipment-tracking-admin.php:565
146
- msgid ""
147
- "Adding tracking information to your orders shipped with Printify and "
148
- "automate your workflow"
149
- msgstr ""
150
- "Добавяне на информация за проследяване към вашите поръчки, доставени с "
151
- "Printify, и автоматизиране на вашия работен процес"
152
-
153
- #: includes/class-wc-advanced-shipment-tracking-admin.php:515
154
- msgid ""
155
- "Adding tracking information to your orders shipped with QuickBooks Commerce "
156
- "and automate your workflow"
157
- msgstr ""
158
- "Добавянето на информация за проследяване към вашите поръчки, доставени с "
159
- "QuickBooks Commerce, и автоматизиране на вашия работен поток"
160
-
161
- #: includes/class-wc-advanced-shipment-tracking-admin.php:525
162
- msgid ""
163
- "Adding tracking information to your orders shipped with ReadyToShip and "
164
- "automate your workflow"
165
- msgstr ""
166
- "Добавянето на информация за проследяване към вашите поръчки, доставени с "
167
- "ReadyToShip, и автоматизиране на вашия работен поток"
168
-
169
- #: includes/class-wc-advanced-shipment-tracking-admin.php:535
170
- msgid ""
171
- "Adding tracking information to your orders shipped with Royal Mail Click & "
172
- "Drop and automate your workflow"
173
- msgstr ""
174
- "Добавяне на информация за проследяване към вашите поръчки, доставени с Royal "
175
- "Mail Click & Drop и автоматизиране на вашия работен поток"
176
-
177
- #: includes/class-wc-advanced-shipment-tracking-admin.php:475
178
- msgid ""
179
- "Adding tracking information to your orders shipped with ShipStation and "
180
- "automate your workflow"
181
- msgstr ""
182
- "Добавянето на информация за проследяване към вашите поръчки, доставени със "
183
- "ShipStation, и автоматизиране на вашия работен процес"
184
-
185
- #: includes/class-wc-advanced-shipment-tracking-admin.php:485
186
- msgid ""
187
- "Adding tracking information to your orders shipped with WooCommerce Shipping "
188
- "to the Shipment Tracking and automate your workflow"
189
  msgstr ""
190
- "Добавяне на информация за проследяване към вашите поръчки, доставени с "
191
- "WooCommerce Доставка, за проследяване на пратки и автоматизиране на работния "
192
- "ви поток"
193
 
194
- #: includes/class-wc-advanced-shipment-tracking-admin.php:505
195
- msgid ""
196
- "Adding tracking information to your orders when generating shipping labels "
197
- "using the Ordoro"
198
- msgstr ""
199
- "Добавяне на информация за проследяване към вашите поръчки при генериране на "
200
- "етикети за доставка с помощта на Ordoro"
201
 
202
- #: includes/class-wc-advanced-shipment-tracking-admin.php:495
203
- msgid ""
204
- "Adding tracking information to your orders when generating shipping labels "
205
- "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
206
- "PluginHive"
207
- msgstr ""
208
- "Добавяне на информация за проследяване към вашите поръчки при генериране на "
209
- "етикети за доставка с помощта на добавката за доставка на WooCommerce UPS с "
210
- "приставка Print Label от PluginHive"
211
 
212
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
213
  msgid "Additional text after header"
214
  msgstr "Допълнителен текст след заглавието"
215
 
 
 
 
 
 
216
  #. Name of the plugin
217
  msgid "Advanced Shipment Tracking for WooCommerce"
218
- msgstr "Разширено проследяване на пратки за WooCommerce"
219
 
220
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
221
  msgid "After Order Details"
222
  msgstr "След подробности за поръчката"
223
 
224
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
225
- msgid "API aliases"
226
- msgstr "API псевдоними"
227
-
228
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
229
  msgid "API Date Format"
230
  msgstr "API формат на датата"
231
 
232
- #: includes/views/admin_options_shipping_provider.php:67
 
233
  msgid "API Name"
234
  msgstr "Име на API"
235
 
236
- #: includes/customizer/class-wc-tracking-info-customizer.php:333
237
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
238
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
239
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
240
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
241
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
242
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
243
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
244
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  msgid "Available variables:"
246
  msgstr "Налични променливи:"
247
 
248
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
249
  msgid "Before Order Details"
250
  msgstr "Преди подробности за поръчката"
251
 
252
- #: includes/customizer/class-wc-tracking-info-customizer.php:537
 
 
 
 
 
253
  msgid "Border color"
254
  msgstr "Цвят на границата"
255
 
256
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
257
  msgid "Border size"
258
  msgstr "Размер на границата"
259
 
260
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
261
  msgid "Bottom border color"
262
  msgstr ""
263
  "Цвят на долната граница\n"
264
 
265
- #: includes/customizer/class-wc-tracking-info-customizer.php:968
 
 
 
 
266
  msgid "Button color"
267
- msgstr "Цвят на бутона"
268
 
269
- #: includes/customizer/class-wc-tracking-info-customizer.php:986
270
  msgid "Button font color"
271
- msgstr "Цвят на шрифта на бутона"
272
 
273
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
274
  msgid "Cannot create existing order shipment tracking."
275
  msgstr "Cannot create existing order shipment tracking."
276
 
277
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  msgid "Change order status to"
279
  msgstr "Променете състоянието на поръчката на"
280
 
281
- #: includes/class-wc-advanced-shipment-tracking-settings.php:299
282
  msgid "Change status to shipped"
283
  msgstr "Промяна на състоянието на изпратено"
284
 
285
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
286
  msgid "Choose for which Order status to display"
287
- msgstr "Изберете за кой статус на поръчката да се показва"
 
 
 
 
 
 
 
 
288
 
289
- #: includes/views/admin_options_bulk_upload.php:32
290
  msgid "Choose the Shipped Date format"
291
  msgstr "Изберете формата на изпратената дата"
292
 
293
- #: includes/class-wc-advanced-shipment-tracking.php:467
 
 
 
 
294
  msgid "Completed"
295
  msgstr "завършен"
296
 
297
- #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
 
298
  msgid "Content"
299
  msgstr "съдържание"
300
 
301
- #: includes/customizer/class-wc-tracking-info-customizer.php:807
302
  msgid "Content Background color"
303
- msgstr "Цвят на фона на съдържанието"
304
 
305
- #: includes/customizer/class-wc-tracking-info-customizer.php:370
306
- #: includes/customizer/class-wc-tracking-info-customizer.php:825
307
  msgid "Content font color"
308
  msgstr ""
309
  "Цвят на шрифта на съдържанието\n"
310
 
311
- #: includes/customizer/class-wc-tracking-info-customizer.php:351
312
- #: includes/customizer/class-wc-tracking-info-customizer.php:843
313
  msgid "Content font size"
314
  msgstr ""
315
  "Размер на шрифта на съдържанието\n"
316
 
317
- #: includes/customizer/class-wc-tracking-info-customizer.php:885
318
  msgid "Content font weight"
319
  msgstr ""
320
  "Тегло на шрифта на съдържанието\n"
321
 
322
- #: includes/customizer/class-wc-tracking-info-customizer.php:862
323
  msgid "Content line height"
324
  msgstr ""
325
  "Височина на линията на съдържанието\n"
326
 
327
- #: includes/views/admin_options_bulk_upload.php:55
328
  msgid "Continue"
329
  msgstr "продължи"
330
 
331
- #: includes/views/admin_options_shipping_provider.php:72
332
  msgid "Country"
333
  msgstr "Страна"
334
 
335
- #: includes/class-wc-advanced-shipment-tracking-admin.php:381
336
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
337
- #: includes/views/admin_options_bulk_upload.php:8
 
338
  msgid "CSV Import"
339
  msgstr "CSV импортиране"
340
 
341
- #: includes/views/admin_options_shipping_provider.php:65
342
- msgid "Custom API name"
343
- msgstr "Име на потребителски API"
344
-
345
  #: includes/views/admin_options_shipping_provider.php:61
 
346
  msgid "Custom display name"
347
  msgstr "Персонализирано име за показване"
348
 
349
- #: includes/customizer/class-wcast-customizer.php:44
350
- msgid "Custom order status email"
351
- msgstr "Имейл за състояние на поръчка по поръчка"
 
352
 
353
- #: includes/views/admin_options_shipping_provider.php:82
354
- msgid "Custom URL"
355
- msgstr "Персонализиран URL адрес"
356
-
357
- #: includes/views/admin_options_settings.php:32
358
- msgid "Customer View"
359
- msgstr "Изглед на клиента"
360
 
361
- #: includes/class-wc-advanced-shipment-tracking-admin.php:712
362
- #: includes/class-wc-advanced-shipment-tracking-admin.php:832
363
- msgid "Customize"
364
- msgstr "Персонализирайте"
365
 
366
- #: includes/views/admin_options_osm.php:66
 
 
367
  msgid "Dark Font"
368
  msgstr ""
369
  "Тъмен шрифт\n"
370
 
371
- #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
 
 
372
  msgid "Data saved successfully."
373
  msgstr "Данните са запазени успешно."
374
 
375
- #: includes/class-wc-advanced-shipment-tracking.php:369
376
- #: includes/class-wc-advanced-shipment-tracking-settings.php:377
377
  msgid "Date shipped:"
378
  msgstr "Дата на изпращане:"
379
 
380
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
381
- #| msgid "Default"
382
- msgid "default"
383
- msgstr "по подразбиране"
 
 
 
 
 
 
384
 
385
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  msgid "Delivered"
387
  msgstr "Доставени"
388
 
389
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
390
  msgid "Display Name"
391
  msgstr "Показвано име"
392
 
393
- #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  msgid "Display shipping provider image"
395
  msgstr ""
396
  "Покажи изображението на доставчика на доставка\n"
397
 
398
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
399
  msgid "Display shipping provider name"
400
  msgstr ""
401
  "Показване на име на доставчика на доставка\n"
402
 
403
- #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  msgid "Download sample csv"
405
  msgstr "Изтеглете пример csv"
406
 
407
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
408
- msgid "edit"
409
- msgstr "редактиране"
410
-
411
- #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
412
  msgid "Edit Shipping Provider"
413
  msgstr "Редактиране на доставчика на доставка"
414
 
415
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
416
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
417
  msgid "Email content"
418
  msgstr "Съдържание на имейла"
419
 
420
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
421
- msgid "Email Type"
422
- msgstr "Тип имейл"
423
-
424
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
425
- msgid "Enable Partially Shipped order status email"
426
- msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
427
-
428
- #: includes/class-wc-advanced-shipment-tracking-admin.php:584
429
- msgid "Enable the 3plwinner integration"
430
- msgstr "Активирайте интеграцията на 3plwinner"
431
-
432
- #: includes/class-wc-advanced-shipment-tracking-admin.php:604
433
- msgid "Enable the AliExpress Dropshipping integration"
434
- msgstr "Активирайте интегрирането на AliExpress Dropshipping"
435
-
436
- #: includes/class-wc-advanced-shipment-tracking-admin.php:544
437
- msgid "Enable the CustomCat integration"
438
- msgstr "Активирайте интеграцията на CustomCat"
 
439
 
440
- #: includes/class-wc-advanced-shipment-tracking-admin.php:554
441
- msgid "Enable the Dear Systems integration"
442
- msgstr "Активирайте интеграцията на Dear Systems"
443
 
444
- #: includes/class-wc-advanced-shipment-tracking-admin.php:594
445
- msgid "Enable the Dianxiaomi integration"
446
- msgstr "Активирайте интеграцията на Dianxiaomi"
447
 
448
- #: includes/class-wc-advanced-shipment-tracking-admin.php:504
449
- msgid "Enable the Ordoro tracking integration"
450
- msgstr "Активирайте интегрирането на Ordoro проследяване"
451
 
452
- #: includes/class-wc-advanced-shipment-tracking-admin.php:574
453
- msgid "Enable the Picqer integration"
454
- msgstr "Активирайте интеграцията на Picqer"
455
 
456
- #: includes/class-wc-advanced-shipment-tracking-admin.php:564
457
- msgid "Enable the Printify integration"
458
- msgstr "Активирайте интегрирането на Printify"
459
 
460
- #: includes/class-wc-advanced-shipment-tracking-admin.php:514
461
- msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
462
- msgstr "Активирайте QuickBooks Commerce (преди TradeGecko) интеграции"
463
 
464
- #: includes/class-wc-advanced-shipment-tracking-admin.php:524
465
- msgid "Enable the ReadyToShip integration"
466
- msgstr "Активирайте интеграцията на ReadyToShip"
467
 
468
- #: includes/class-wc-advanced-shipment-tracking-admin.php:534
469
- msgid "Enable the Royal Mail Click & Drop integration"
470
- msgstr "Активирайте интеграцията на Royal Mail Click & Drop"
471
 
472
- #: includes/class-wc-advanced-shipment-tracking-admin.php:474
473
- msgid "Enable the ShipStation integration"
474
- msgstr "Активирайте интеграцията на ShipStation"
475
 
476
- #: includes/class-wc-advanced-shipment-tracking-admin.php:484
477
- msgid "Enable the WC Shipping integration"
478
- msgstr "Активирайте интеграцията на WC доставка"
479
 
480
- #: includes/class-wc-advanced-shipment-tracking-admin.php:494
481
- msgid ""
482
- "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
483
- "integration"
484
  msgstr ""
485
- "Активирайте добавката за доставка на UooCommerce UPS с интеграция на "
486
- "приставка за печат на етикет"
487
 
488
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
489
- msgid "Enable Track button in orders history (actions)"
490
  msgstr ""
491
- "Активиране на бутона за проследяване в историята на поръчките (действия)"
492
 
493
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
494
- msgid "Enable Updated Tracking order status email"
495
  msgstr ""
496
- "Активиране на имейла за актуализирано проследяване на поръчката\n"
497
 
498
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
499
  msgid "Filter by shipping provider"
500
  msgstr "Филтрирайте по доставчик"
501
 
502
- #: includes/class-wc-advanced-shipment-tracking-settings.php:388
503
- msgid "Fulfill Order"
504
- msgstr "Изпълнение на поръчката"
 
 
505
 
506
- #: includes/class-wc-advanced-shipment-tracking-admin.php:425
507
- #: includes/class-wc-advanced-shipment-tracking-admin.php:429
508
  msgid "General Settings"
509
  msgstr "Основни настройки"
510
 
511
- #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
512
  msgid "Global"
513
  msgstr "в световен мащаб"
514
 
515
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
516
- msgid "Go Pro"
517
- msgstr "Go Pro"
518
-
519
- #: includes/customizer/class-wc-tracking-info-customizer.php:731
 
 
 
 
 
 
 
520
  msgid "Headers background color"
521
- msgstr "Цвят на фона на заглавките"
522
 
523
- #: includes/customizer/class-wc-tracking-info-customizer.php:749
524
  msgid "Headers font color"
525
  msgstr ""
526
  "Цвят на шрифта на заглавките\n"
527
 
528
- #: includes/customizer/class-wc-tracking-info-customizer.php:712
529
  msgid "Headers font size"
530
  msgstr ""
531
  "Размер на шрифта на заглавките\n"
532
 
533
- #: includes/customizer/class-wc-tracking-info-customizer.php:767
534
  msgid "Headers font weight"
535
- msgstr "Тегло на шрифта на заглавките"
536
 
537
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
538
  msgid ""
539
  "Hi there. we thought you'd like to know that the shipment tracking for your "
540
  "recent order from {site_title} has been updated."
@@ -542,7 +652,16 @@ msgstr ""
542
  "Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
543
  "за скорошната ви поръчка от {site_title} е актуализирано.\n"
544
 
545
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
 
546
  msgid ""
547
  "Hi there. we thought you'd like to know that your recent order from "
548
  "{site_title} has been partially shipped."
@@ -550,56 +669,141 @@ msgstr ""
550
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
551
  "{site_title} е частично изпратена.\n"
552
 
553
- #: includes/class-wc-advanced-shipment-tracking-settings.php:645
554
- #: includes/class-wc-advanced-shipment-tracking-settings.php:662
555
- #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
  msgid "hide details"
557
  msgstr "скрий подробности"
558
 
559
- #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
560
  msgid "Hide Table Headers"
561
  msgstr ""
562
  "Скриване на заглавките на таблици\n"
563
 
564
- #: includes/customizer/class-wc-tracking-info-customizer.php:482
 
565
  #| msgid "Hide the ship date"
566
  msgid "Hide the shipped date"
567
- msgstr "Скриване на изпратената дата"
 
 
 
 
 
 
 
 
 
 
568
 
569
- #: includes/customizer/class-wc-tracking-info-customizer.php:203
570
  msgid "Hide Tracking Header"
571
  msgstr "Скриване на проследяващия заглавие"
572
 
573
- #: includes/views/admin_options_bulk_upload.php:118
574
- msgid "How to import tracking number from CSV files?"
575
- msgstr "Как да импортирам номер за проследяване от CSV файлове?"
576
 
577
  #. Author URI of the plugin
578
  msgid "https://www.zorem.com"
579
- msgstr "https://www.zorem.com"
580
 
581
  #. URI of the plugin
582
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
583
- msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
584
 
585
- #: includes/views/admin_options_bulk_upload.php:74
 
 
 
 
 
 
 
 
586
  msgid "Import in Progress"
587
  msgstr "Вносът е в процес"
588
 
589
- #: includes/views/admin_options_trackship_integration.php:18
590
- msgid "Install TrackShip for WooCommerce"
591
- msgstr "Инсталирайте TrackShip за WooCommerce"
 
 
 
 
592
 
593
- #: includes/class-wc-advanced-shipment-tracking-admin.php:390
594
- #: includes/views/integrations_admin_options.php:3
595
- msgid "Integrations"
596
- msgstr "Интеграции"
597
 
598
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
599
  msgid "Invalid order ID."
600
  msgstr "Невалиден идентификационен номер на поръчката."
601
 
602
- #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
603
  msgid ""
604
  "Keep unchecked for the tracking info to be added to any existing tracking "
605
  "info added to the orders."
@@ -607,352 +811,599 @@ msgstr ""
607
  "Не оставяйте отметка информацията за проследяване да се добавя към всяка "
608
  "съществуваща информация за проследяване, добавена към поръчките."
609
 
610
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
611
  msgid "License"
612
  msgstr "License"
613
 
614
- #: includes/views/admin_options_osm.php:65
 
 
615
  msgid "Light Font"
616
  msgstr ""
617
  "Лек шрифт\n"
618
 
619
- #: includes/class-wc-advanced-shipment-tracking.php:300
 
620
  msgid "Mark as Completed?"
621
  msgstr "Да се ​​маркира като завършен?"
622
 
623
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
624
  msgid "Mark as Shipped"
625
  msgstr "Маркирайте като изпратено"
626
 
627
- #: includes/class-wc-advanced-shipment-tracking.php:297
 
628
  msgid "Mark as Shipped?"
629
  msgstr "Да се ​​маркира като изпратен?"
630
 
631
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
632
  msgid "Mark order as delivered"
633
  msgstr "Маркирайте поръчката като доставена"
634
 
635
- #: includes/class-wc-advanced-shipment-tracking.php:492
 
636
  msgid "Mark order as:"
637
  msgstr "Маркиране на поръчката като:"
638
 
639
- #: includes/customizer/class-wcast-customizer.php:359
640
- msgid "Mockup Order"
641
- msgstr "Мокетна поръчка"
642
-
643
- #: includes/class-wc-advanced-shipment-tracking-admin.php:816
644
- #: includes/views/integrations_admin_options.php:20
645
  msgid "more info"
646
  msgstr ""
647
  "повече информация\n"
648
 
649
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
650
- msgid "Multiple API names mapping is a pro features"
651
- msgstr "Съпоставянето на множество имена на API е професионална функция"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
652
 
653
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
654
- #| msgid "Open the track link in a new tab"
655
- msgid "Open the Track Button link in a new tab"
656
- msgstr "Отворете връзката за песен в нов раздел"
657
 
658
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
659
- msgid "Order Emails Display"
660
- msgstr "Показване на имейли за поръчки"
661
 
662
  #. %s: Order ID.
663
- #: templates/emails/wcast-email-order-details.php:55
664
  #, php-format
665
  msgid "Order number: %s"
666
  msgstr ""
667
  "Номер на поръчката:% s\n"
668
 
669
- #: includes/class-wc-advanced-shipment-tracking-admin.php:434
670
- #: includes/class-wc-advanced-shipment-tracking-admin.php:438
671
- #: includes/views/admin_options_settings.php:64
672
- msgid "Order Statuses"
673
- msgstr "Статуси на поръчки"
674
 
675
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
676
- #: includes/class-wc-advanced-shipment-tracking.php:1193
677
- #: includes/class-wc-advanced-shipment-tracking.php:1269
678
  #, php-format
679
- #| msgid "Order was shipped with %s and tracking number is: %s"
680
- msgid "Order was shipped with %1$s and tracking number is: %2$s"
681
- msgstr "Поръчката е изпратена с %1 $ s, а проследяващият номер е: %2 $ s"
682
 
683
- #: includes/class-wc-advanced-shipment-tracking-admin.php:808
 
 
 
 
684
  msgid "Other"
685
  msgstr "Други"
686
 
687
- #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
688
  msgid "Partial Shipped"
689
  msgstr "Частично изпратено"
690
 
691
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
692
- #: includes/class-wc-advanced-shipment-tracking-settings.php:129
693
- #: includes/class-wc-advanced-shipment-tracking-settings.php:161
694
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
695
  msgid "Partially Shipped"
696
  msgstr "Частично изпратени"
697
 
698
- #. %s: replace with Partially Shipped Count
699
- #: includes/class-wc-advanced-shipment-tracking-settings.php:135
700
  #, php-format
701
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
702
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
703
  msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
704
  msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
705
 
706
- #: includes/class-wc-advanced-shipment-tracking-admin.php:614
707
- msgid ""
708
- "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
709
- "By Ewout Fernhout"
710
- msgstr ""
711
- "Интеграция на фактури в PDF за плъгин за фактури и опаковъчни фишове на "
712
- "WooCommerce от Ewout Fernhout"
713
 
714
- #: includes/class-wc-advanced-shipment-tracking-admin.php:624
715
- msgid ""
716
- "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
717
- msgstr ""
718
- "Интеграция на PDF фактури за WooCommerce PDF Invoices плъгин От Bas Elbers"
719
 
720
- #. %s: search WooCommerce plugin link
721
- #: woocommerce-advanced-shipment-tracking.php:181
722
  #, php-format
723
  msgid ""
724
- "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
725
- "Tracking for WooCommerce!"
726
  msgstr ""
727
- "Моля, инсталирайте и активирайте% 1 $ sWooCommerce% 2 $ s за разширено "
728
- "проследяване на пратки за WooCommerce!"
729
 
730
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
731
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
732
  msgid "Please select order to preview."
733
  msgstr "Моля, изберете поръчка за преглед."
734
 
735
- #: includes/class-wc-advanced-shipment-tracking-admin.php:177
736
  msgid "Please upload a valid CSV file."
737
  msgstr "Моля, качете валиден CSV файл."
738
 
739
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
740
  msgid "Preview:"
741
  msgstr "Преглед:"
742
 
743
- #: includes/class-wc-advanced-shipment-tracking.php:361
744
- #: includes/class-wc-advanced-shipment-tracking-settings.php:373
745
  msgid "Product Code:"
746
  msgstr "Код на продукта:"
747
 
748
- #: includes/customizer/class-wc-tracking-info-customizer.php:141
749
- #: includes/customizer/class-wc-tracking-info-customizer.php:648
750
- #: templates/emails/tracking-info.php:216
751
- #: templates/myaccount/tracking-info.php:192
 
752
  msgid "Provider"
753
  msgstr "доставчик"
754
 
755
- #: includes/views/admin_options_shipping_provider.php:57
756
- #: templates/emails/tracking-info.php:222
757
- #: templates/myaccount/tracking-info.php:198
758
  msgid "Provider Name"
759
  msgstr "Provider Name"
760
 
761
- #: includes/views/admin_options_shipping_provider.php:116
762
  msgid "Providers Added"
763
  msgstr "Доставчиците са добавени"
764
 
765
- #: includes/views/admin_options_shipping_provider.php:118
766
  msgid "Providers Deleted"
767
  msgstr "Доставчиците са изтрити"
768
 
769
- #: includes/views/admin_options_shipping_provider.php:117
770
  msgid "Providers Updated"
771
  msgstr "Актуализирани доставчици"
772
 
773
- #: includes/class-wc-advanced-shipment-tracking-admin.php:174
774
  msgid "Really delete this entry? This will not be undo."
775
  msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
776
 
777
- #: includes/views/admin_options_osm.php:14
 
 
 
 
 
778
  msgid "Rename the “Completed” Order status label to “Shipped”"
779
- msgstr "Преименувайте етикета за състоянието на „Завършена“ на „Изпратена“"
780
 
781
- #: includes/views/admin_options_bulk_upload.php:46
782
  msgid "Replace tracking information?"
783
  msgstr "Replace tracking information?"
784
 
785
- #: includes/views/admin_options_shipping_provider.php:100
 
 
 
 
786
  msgid "Reset"
787
  msgstr "Нулиране"
788
 
789
- #: includes/views/admin_options_shipping_provider.php:122
790
  msgid ""
791
  "Reset providers database, it will reset all your shipping provider database"
792
  msgstr ""
793
  "Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
794
  "доставчика ви"
795
 
796
- #: includes/views/admin_options_settings.php:19
797
- #: includes/views/admin_options_settings.php:35
798
- #: includes/views/admin_options_settings.php:51
799
- #: includes/views/admin_options_settings.php:67
800
- msgid "Save & Close"
801
- msgstr "Запазване и затваряне"
802
-
803
- #: includes/class-wc-advanced-shipment-tracking.php:384
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  msgid "Save Tracking"
805
  msgstr "Запазване на проследяването"
806
 
807
- #: includes/views/admin_options_shipping_provider.php:27
808
  msgid "Search by provider / country"
809
  msgstr "Търсене по доставчик / държава"
810
 
811
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
812
- msgid "Select email type"
813
- msgstr "Изберете тип имейл"
 
 
 
 
 
 
 
 
 
 
 
814
 
815
- #: includes/class-wc-advanced-shipment-tracking.php:323
816
  msgid "Select Provider"
817
  msgstr "Изберете Доставчик"
818
 
819
- #: includes/customizer/class-wc-tracking-info-customizer.php:259
820
  msgid "Select Template"
821
  msgstr ""
822
  "Изберете шаблон\n"
823
 
824
- #: includes/views/admin_options_osm.php:74
 
 
 
 
 
 
 
 
825
  msgid "Send Email"
826
  msgstr ""
827
  "Изпратете имейл\n"
828
 
829
- #: includes/class-wc-advanced-shipment-tracking-admin.php:927
830
  msgid ""
831
  "Set the \"mark as shipped\" option checked when adding tracking info to "
832
  "orders"
833
  msgstr ""
834
- "Задайте отметката за опция „маркирай като изпратена“, когато добавяте "
835
- "информация за проследяване към поръчките"
836
 
837
- #: includes/class-wc-advanced-shipment-tracking-admin.php:352
838
- #: includes/class-wc-advanced-shipment-tracking-admin.php:356
839
- #: includes/views/admin_options_settings.php:9
840
  msgid "Settings"
841
- msgstr "Настройки"
842
 
843
- #: includes/views/admin_options_bulk_upload.php:57
844
  msgid "Settings Saved."
845
  msgstr "Настройките са запазени."
846
 
847
- #. %s: replace with status
848
- #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
849
  #, php-format
850
  msgid "Shipment status changed to %s"
851
  msgstr "Състоянието на пратката се промени на% s"
852
 
853
- #: includes/class-wc-advanced-shipment-tracking-admin.php:189
854
- #: includes/class-wc-advanced-shipment-tracking.php:138
855
- #: includes/class-wc-advanced-shipment-tracking.php:219
 
 
 
 
 
 
 
 
 
 
856
  msgid "Shipment Tracking"
857
  msgstr "Проследяване на пратките"
858
 
859
- #: includes/views/admin_options_settings.php:48
860
- msgid "Shipment Tracking API"
861
- msgstr "API за проследяване на пратки"
862
-
863
- #: includes/class-wc-advanced-shipment-tracking-admin.php:849
864
- #: includes/class-wc-advanced-shipment-tracking-admin.php:945
865
- #: includes/class-wc-advanced-shipment-tracking.php:467
866
- #: includes/class-wc-advanced-shipment-tracking-settings.php:263
867
  msgid "Shipped"
868
  msgstr "Доставят"
869
 
870
- #. %s: replace with shipped order count
871
- #: includes/class-wc-advanced-shipment-tracking-settings.php:283
872
  #, php-format
873
  msgid "Shipped <span class=\"count\">(%s)</span>"
874
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
875
  msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
876
  msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
877
 
878
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
879
- #: includes/customizer/class-wc-tracking-info-customizer.php:695
880
  msgid "Shipped Date"
881
  msgstr ""
882
  "Дата на изпращане\n"
883
 
884
- #: includes/customizer/class-wc-tracking-info-customizer.php:688
 
885
  #| msgid "Ship date header text"
886
  msgid "Shipped date header text"
887
- msgstr "Изпратен заглавен текст на датата"
 
888
 
889
  #. 1: shipping date
890
- #: includes/class-wc-advanced-shipment-tracking.php:255
891
  #, php-format
892
  msgid "Shipped on %s"
893
  msgstr "Изпратено на% s"
894
 
895
- #: includes/customizer/class-wc-tracking-info-customizer.php:151
896
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
897
  msgstr ""
898
  "Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
899
 
900
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
901
  msgid "Shipped Order"
902
  msgstr "Изпратена поръчка"
903
 
904
- #: includes/views/admin_options_shipping_provider.php:74
 
905
  msgid "Shipping Country"
906
  msgstr "Страна на доставка"
907
 
908
  #: includes/views/admin_options_shipping_provider.php:58
 
909
  msgid "Shipping Provider"
910
  msgstr "Доставчик на доставка"
911
 
912
- #: includes/customizer/class-wc-tracking-info-customizer.php:641
913
  msgid "Shipping provider header text"
914
- msgstr "Текст на заглавката на доставчика"
915
 
916
- #: includes/class-wc-advanced-shipment-tracking.php:321
917
- #: includes/class-wc-advanced-shipment-tracking-settings.php:350
918
- #: includes/class-wc-advanced-shipment-tracking-settings.php:352
919
  msgid "Shipping Provider:"
920
  msgstr "Доставчик:"
921
 
922
- #: includes/class-wc-advanced-shipment-tracking-admin.php:372
923
- #: includes/class-wc-advanced-shipment-tracking-admin.php:376
924
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
925
  msgid "Shipping Providers"
926
  msgstr "Доставчици на доставка"
927
 
928
- #: includes/views/admin_options_shipping_provider.php:22
929
- msgid "Shipping Providers & Carriers"
930
- msgstr "Доставчици и превозвачи"
931
-
932
- #: includes/views/admin_options_shipping_provider.php:120
933
  msgid "Shipping providers database reset successfully."
934
  msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
935
 
936
- #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
 
 
 
 
 
 
 
937
  msgid "Show bottom border"
938
  msgstr ""
939
  "Показване на долната граница\n"
940
 
941
- #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
942
  msgid "Simple Layout Design"
943
  msgstr ""
944
  "Прост дизайн на оформлението\n"
945
 
946
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
947
  msgid "Special character not allowd in tracking number"
948
  msgstr "Специален знак не е разрешен в проследяващия номер"
949
 
950
- #: includes/views/admin_options_shipping_provider.php:110
951
- #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
 
 
 
 
 
952
  msgid "Sync Shipping Providers"
953
  msgstr "Синхронизирайте доставчиците на доставка"
954
 
955
- #: includes/views/admin_options_shipping_provider.php:114
956
  msgid ""
957
  "Syncing the shipping providers list add or updates the pre-set shipping "
958
  "providers and will not effect custom shipping providers."
@@ -961,163 +1412,351 @@ msgstr ""
961
  "актуализира предварително зададените доставчици за доставка и няма да "
962
  "повлияе на доставчиците по поръчка."
963
 
964
- #: includes/customizer/class-wc-tracking-info-customizer.php:790
965
  msgid "Table Content"
966
  msgstr "Съдържание на таблицата"
967
 
968
- #: includes/customizer/class-wc-tracking-info-customizer.php:520
969
  msgid "Table Design Options"
970
- msgstr "Опции за дизайн на таблица"
971
 
972
- #: includes/customizer/class-wc-tracking-info-customizer.php:605
 
973
  #| msgid "Table Headers"
974
  msgid "Table Header"
975
- msgstr "Заглавка на таблицата"
 
976
 
977
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
978
  msgid "Table Layout"
979
  msgstr ""
980
  "Оформление на таблицата\n"
981
 
982
- #: includes/customizer/class-wc-tracking-info-customizer.php:427
 
 
 
 
983
  msgid "Table Options"
984
- msgstr "Опции на таблицата"
985
 
986
- #: includes/customizer/class-wc-tracking-info-customizer.php:581
987
  msgid "Text align"
988
- msgstr "Подравняване на текста"
989
 
990
- #: includes/views/admin_options_shipping_provider.php:61
 
991
  msgid ""
992
- "The custom display name will show in the tracking info section on the "
993
- "customer order emails, my-account, and TrackShip's tracking page and email "
994
- "notifications"
995
  msgstr ""
996
- "Персонализираното име на дисплея ще се покаже в раздела за информация за "
997
- "проследяване на имейли за поръчки на клиенти, моя акаунт и проследяваща "
998
- "страница на TrackShip и известия по имейл"
999
 
1000
- #: includes/class-wc-advanced-shipment-tracking-settings.php:627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1001
  msgid "There are some issue with sync, Please Retry."
1002
  msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
1003
 
1004
- #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1005
  msgid "This browser does not support HTML5."
1006
  msgstr "Този браузър не поддържа HTML5."
1007
 
1008
- #: includes/class-wc-advanced-shipment-tracking.php:784
1009
- #: includes/class-wc-advanced-shipment-tracking.php:817
1010
- #: includes/class-wc-advanced-shipment-tracking.php:835
1011
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1012
- #: includes/customizer/class-wc-tracking-info-customizer.php:951
1013
- #: templates/emails/tracking-info.php:264
1014
- #: templates/myaccount/tracking-info.php:244
1015
- #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1016
  msgid "Track"
1017
  msgstr "път"
1018
 
1019
- #: includes/customizer/class-wc-tracking-info-customizer.php:908
1020
  msgid "Track Button"
1021
- msgstr "Бутон за проследяване"
1022
-
1023
- #: includes/customizer/class-wc-tracking-info-customizer.php:925
1024
- msgid "Track Header"
1025
- msgstr "Проследяване на заглавката"
1026
 
1027
- #: includes/customizer/class-wc-tracking-info-customizer.php:944
1028
  msgid "Track header text"
1029
  msgstr ""
1030
  "Проследяване на заглавния текст\n"
1031
 
1032
- #: includes/class-wc-advanced-shipment-tracking.php:242
1033
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
1034
  msgid "Track Shipment"
1035
  msgstr "Проследяване на пратката"
1036
 
1037
- #: includes/customizer/class-wc-tracking-info-customizer.php:274
1038
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1039
  msgid "Tracking display layout"
1040
  msgstr "Проследяване на оформлението на дисплея"
1041
 
1042
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
1043
  msgid "Tracking Display Position"
1044
  msgstr "Проследяване на позицията на дисплея"
1045
 
1046
- #: includes/customizer/class-wc-tracking-info-customizer.php:221
1047
  msgid "Tracking Header text"
1048
  msgstr ""
1049
  "Проследяване на текста на заглавката\n"
1050
 
1051
- #: includes/customizer/class-wcast-customizer.php:37
 
1052
  msgid "Tracking info display"
1053
  msgstr ""
1054
  "Показване на информация за проследяване\n"
1055
 
1056
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1057
- #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
1058
  #, php-format
1059
- #| msgid ""
1060
- #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1061
  msgid ""
1062
- "Tracking info was deleted for tracking provider %1$s with tracking number "
1063
- "%2$s"
1064
  msgstr ""
1065
- "Информацията за проследяване е изтрита за проследяващия доставчик %1 $ s с "
1066
- "проследяващ номер %2 $ s"
1067
 
1068
- #: includes/customizer/class-wc-tracking-info-customizer.php:228
1069
  msgid "Tracking Information"
1070
  msgstr "Информация за проследяване"
1071
 
1072
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1073
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
1074
- #: templates/emails/tracking-info.php:235
1075
- #: templates/myaccount/tracking-info.php:213
 
 
 
 
1076
  msgid "Tracking Number"
1077
  msgstr "Номер за проследяване"
1078
 
1079
- #: includes/customizer/class-wc-tracking-info-customizer.php:665
 
1080
  #| msgid "Tracking Number header text"
1081
  msgid "Tracking number header text"
1082
- msgstr "Текст за заглавие на номер за проследяване"
1083
 
1084
- #: includes/class-wc-advanced-shipment-tracking.php:317
1085
- #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1086
  msgid "Tracking number:"
1087
  msgstr "Номер за проследяване:"
1088
 
1089
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  msgid "TrackShip"
1091
  msgstr "TrackShip"
1092
 
1093
- #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1094
  msgid "Update"
1095
  msgstr "Актуализиране"
1096
 
1097
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1098
- #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1099
- #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1100
- #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1101
  msgid "Updated Tracking"
1102
  msgstr "Актуализирано проследяване"
1103
 
1104
- #. %s: replace with Updated Tracking Count
1105
- #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1106
  #, php-format
1107
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1108
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1109
  msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1110
  msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1111
 
1112
- #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1113
  msgid "Upload a CSV file from your computer:"
1114
  msgstr "Качете CSV файл от вашия компютър:"
1115
 
1116
- #: includes/views/admin_options_bulk_upload.php:107
1117
  msgid "Upload again"
1118
  msgstr "Качете отново"
1119
 
1120
- #: includes/views/admin_options_bulk_upload.php:9
 
 
 
 
 
 
 
 
1121
  msgid ""
1122
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1123
  "file"
@@ -1125,23 +1764,46 @@ msgstr ""
1125
  "Използвайте нашия CSV инструмент за импортиране, за да групово импортирате "
1126
  "информация за проследяване към поръчки от CSV файл"
1127
 
1128
- #: includes/customizer/class-wc-tracking-info-customizer.php:501
 
 
 
 
 
 
1129
  msgid "Use tracking number as a link"
1130
  msgstr "Използвайте проследяващия номер като връзка"
1131
 
1132
- #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1133
- #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1134
- #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1135
- #: includes/views/admin_options_bulk_upload.php:85
1136
  msgid "view details"
1137
  msgstr "Разгледайте детайлите"
1138
 
1139
- #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
1140
  msgid "View Orders"
1141
  msgstr "Преглед на поръчки"
1142
 
1143
- #. %s: replace with Partially Shipped order count
1144
- #: woocommerce-advanced-shipment-tracking.php:502
 
 
 
 
 
 
 
 
 
 
 
 
 
1145
  #, php-format
1146
  msgid ""
1147
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1150,23 +1812,39 @@ msgstr ""
1150
  "Открихме% s поръчки, които използват състоянието на частично изпратена "
1151
  "поръчка. Можете да преназначите тези поръчки на различен статус"
1152
 
1153
- #: includes/views/admin_options_shipping_provider.php:62
1154
- msgid "White Label Provider Name"
1155
- msgstr "Име на доставчика на White Label"
 
 
 
 
 
 
 
 
 
1156
 
1157
- #: includes/class-wc-advanced-shipment-tracking.php:370
1158
- #: includes/class-wc-advanced-shipment-tracking.php:373
1159
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1160
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1161
- msgid "Y-m-d"
1162
- msgstr "Y-m-d"
1163
 
1164
- #: includes/class-wc-advanced-shipment-tracking-admin.php:175
 
 
 
 
 
 
 
 
1165
  msgid "You can upload only csv file."
1166
  msgstr "Можете да качите само csv файл."
1167
 
1168
- #. %s: search WooCommerce plugin link
1169
- #: includes/views/admin_options_shipping_provider.php:89
1170
  msgid ""
1171
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1172
  "URL, for more info, check our "
@@ -1174,31 +1852,97 @@ msgstr ""
1174
  "Можете да използвате променливите% number%,% postal_code% и% country_code% в "
1175
  "URL адреса, за повече информация проверете нашата"
1176
 
1177
- #. %s: replace with status
1178
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1179
  #, php-format
1180
  msgid "You did not create any %s shipping providers yet."
1181
  msgstr "Все още не сте създали доставчици на% s доставка."
1182
 
1183
- #. %s: replace with status
1184
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1185
  #, php-format
1186
  msgid "You don't have any %s shipping providers."
1187
  msgstr "Нямате доставчици за доставки на% s."
1188
 
1189
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1190
- msgid "Your Order is Partially Shipped"
1191
- msgstr "Вашата поръчка е частично изпратена"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1192
 
1193
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1194
  msgid "Your {site_title} order is now partially shipped"
1195
  msgstr "Поръчката ви {site_title} вече е частично доставена"
1196
 
1197
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1198
  msgid "Your {site_title} order is now updated tracking"
1199
  msgstr ""
1200
  "Поръчката ви {site_title} вече е актуализирана за проследяване\n"
1201
-
1202
- #. Author of the plugin
1203
- msgid "zorem"
1204
- msgstr "зорем"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2020-11-24 10:46+0000\n"
7
+ "Last-Translator: John\n"
8
  "Language-Team: Bulgarian\n"
9
  "Language: bg_BG\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.4.4; wp-5.5.3"
16
 
17
+ #: includes/views/admin_options_shipping_provider.php:82
18
+ #: includes/views/admin_options_shipping_provider.php:130
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "документация"
22
 
23
+ #: includes/views/admin_options_addons.php:132
24
+ #: includes/views/trackship_sidebar.php:14
25
+ msgid "Account Dashboard"
26
+ msgstr "Табло за управление на акаунта"
27
+
28
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1627
29
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1705
30
  msgid "Actions"
31
  msgstr "Действия"
32
 
33
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1628
34
+ msgid "Active"
35
+ msgstr "Активен"
36
 
37
+ #: includes/views/admin_options_shipping_provider.php:22
38
+ msgid "Active Providers"
 
 
39
  msgstr ""
 
 
 
40
 
41
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
42
+ #: includes/views/admin_tracking_page_settings.php:71
43
+ msgid "Add a link to the Shipping provider page"
44
+ msgstr "Добавете връзка към страницата на доставчика на доставка"
45
+
46
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1786
48
  msgid "Add Custom Provider"
49
  msgstr "Добавете персонализиран доставчик"
50
 
51
+ #: includes/views/admin_options_shipping_provider.php:51
52
+ msgid "Add Custom Shipping Provider"
53
+ msgstr "Добавете Потребителски доставчик"
54
+
55
  #. Description of the plugin
56
  msgid ""
57
  "Add shipment tracking information to your WooCommerce orders and provide "
59
  "will appear in customers accounts (in the order panel) and in WooCommerce "
60
  "order complete email."
61
  msgstr ""
 
 
 
 
 
 
 
 
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1531
64
  msgid "Add Tracking"
65
  msgstr "Добавете проследяване"
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
68
  msgid "Add Tracking - order\t"
69
  msgstr "Добавяне на проследяване - поръчка"
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:924
72
+ msgid "Add Tracking action "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  msgstr ""
 
 
 
74
 
75
+ #: includes/class-wc-advanced-shipment-tracking.php:328
76
+ msgid "Add Tracking Info"
77
+ msgstr "Добавяне на информация за проследяване"
 
 
 
 
78
 
79
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
80
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
81
+ #: includes/views/admin_options_addons.php:108
82
+ #: includes/views/admin_options_addons.php:114
83
+ msgid "Add-ons"
84
+ msgstr "Добавки"
 
 
 
85
 
86
+ #: includes/customizer/class-wc-tracking-info-customizer.php:273
87
  msgid "Additional text after header"
88
  msgstr "Допълнителен текст след заглавието"
89
 
90
+ #: includes/customizer/class-wcast-customizer.php:58
91
+ #: includes/views/admin_status_notifications.php:141
92
+ msgid "Admin Notifications"
93
+ msgstr "Известия за администратори"
94
+
95
  #. Name of the plugin
96
  msgid "Advanced Shipment Tracking for WooCommerce"
97
+ msgstr ""
98
 
99
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
100
  msgid "After Order Details"
101
  msgstr "След подробности за поръчката"
102
 
103
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:949
 
 
 
 
104
  msgid "API Date Format"
105
  msgstr "API формат на датата"
106
 
107
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1623
108
+ #: includes/views/admin_options_shipping_provider.php:109
109
  msgid "API Name"
110
  msgstr "Име на API"
111
 
112
+ #: includes/views/admin_status_notifications.php:230
113
+ msgid "As it Happens"
114
+ msgstr "Както се случва"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
117
+ msgid ""
118
+ "Automatically set the Order Status to Delivered when the shipment is "
119
+ "delivered "
120
+ msgstr ""
121
+ "Автоматично задайте Статуса на поръчката на Доставено, когато пратката е "
122
+ "доставена"
123
+
124
+ #: includes/views/admin_trackship_dashboard.php:33
125
+ msgid "Automation"
126
+ msgstr "Automation"
127
+
128
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
129
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
130
+ #: includes/customizer/class-wcast-customizer.php:172
131
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
132
+ #: includes/views/admin_status_notifications.php:82
133
+ msgid "Available For Pickup"
134
+ msgstr "Предлага се за пикап"
135
+
136
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
137
+ msgid "Available For Pickup email"
138
+ msgstr "Налично за имейл за вземане"
139
+
140
+ #. %s: list of placeholders
141
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
142
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
143
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
144
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
145
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
146
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
147
+ #: includes/customizer/class-wc-email-customizer.php:243
148
+ #: includes/customizer/class-wc-email-customizer.php:266
149
+ #: includes/customizer/class-wc-email-customizer.php:309
150
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
151
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
152
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
153
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
154
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
155
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
156
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
157
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
158
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
159
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
160
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
161
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
162
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
163
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
164
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
165
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
166
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
167
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
168
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
169
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
170
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
171
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
172
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
173
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
174
+ #: includes/emails/class-shipment-delivered-email.php:274
175
+ #: includes/emails/class-shipment-delivered-email.php:283
176
+ #: includes/views/admin_status_notifications.php:212
177
  msgid "Available variables:"
178
  msgstr "Налични променливи:"
179
 
180
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
181
  msgid "Before Order Details"
182
  msgstr "Преди подробности за поръчката"
183
 
184
+ #: includes/customizer/class-wc-tracking-info-customizer.php:994
185
+ msgid "Border"
186
+ msgstr ""
187
+ "граница\n"
188
+
189
+ #: includes/customizer/class-wc-tracking-info-customizer.php:549
190
  msgid "Border color"
191
  msgstr "Цвят на границата"
192
 
193
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
194
  msgid "Border size"
195
  msgstr "Размер на границата"
196
 
197
+ #: includes/customizer/class-wc-tracking-info-customizer.php:426
198
  msgid "Bottom border color"
199
  msgstr ""
200
  "Цвят на долната граница\n"
201
 
202
+ #: includes/views/admin_options_shipping_provider.php:23
203
+ msgid "Browse Providers"
204
+ msgstr ""
205
+
206
+ #: includes/customizer/class-wc-tracking-info-customizer.php:960
207
  msgid "Button color"
208
+ msgstr ""
209
 
210
+ #: includes/customizer/class-wc-tracking-info-customizer.php:977
211
  msgid "Button font color"
212
+ msgstr ""
213
 
214
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
215
  msgid "Cannot create existing order shipment tracking."
216
  msgstr "Cannot create existing order shipment tracking."
217
 
218
+ #: includes/views/admin_status_notifications.php:130
219
+ msgid "Carrier attempted to deliver the package but failed."
220
+ msgstr "Превозвачът се опита да достави пакета, но не успя."
221
+
222
+ #: includes/views/admin_status_notifications.php:97
223
+ msgid "Carrier is about to deliver the shipment."
224
+ msgstr "Carrier is about to deliver the shipment."
225
+
226
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
227
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
228
+ msgid "Carrier Unsupported"
229
+ msgstr "Превозвачът не се поддържа"
230
+
231
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1567
232
  msgid "Change order status to"
233
  msgstr "Променете състоянието на поръчката на"
234
 
235
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
236
  msgid "Change status to shipped"
237
  msgstr "Промяна на състоянието на изпратено"
238
 
239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:950
240
  msgid "Choose for which Order status to display"
241
+ msgstr ""
242
+
243
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:925
244
+ msgid "Choose for which Order status to display Add Tracking action button"
245
+ msgstr ""
246
+
247
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:917
248
+ msgid "Choose on which order emails to include the shipment tracking info"
249
+ msgstr ""
250
 
251
+ #: includes/views/admin_options_bulk_upload.php:34
252
  msgid "Choose the Shipped Date format"
253
  msgstr "Изберете формата на изпратената дата"
254
 
255
+ #: includes/emails/class-shipment-delivered-email.php:298
256
+ msgid "Click Here"
257
+ msgstr "Натисни тук"
258
+
259
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
260
  msgid "Completed"
261
  msgstr "завършен"
262
 
263
+ #: includes/customizer/class-wcast-customizer.php:118
264
+ msgid "Completed order status email"
265
+ msgstr "Изпълнен имейл за състоянието на поръчката"
266
+
267
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:527
268
+ #: includes/views/trackship_sidebar.php:13
269
+ msgid "Connected"
270
+ msgstr ""
271
+ "свързан\n"
272
+
273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:336
274
  msgid "Content"
275
  msgstr "съдържание"
276
 
277
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
278
  msgid "Content Background color"
279
+ msgstr ""
280
 
281
+ #: includes/customizer/class-wc-tracking-info-customizer.php:391
282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
283
  msgid "Content font color"
284
  msgstr ""
285
  "Цвят на шрифта на съдържанието\n"
286
 
287
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
288
+ #: includes/customizer/class-wc-tracking-info-customizer.php:881
289
  msgid "Content font size"
290
  msgstr ""
291
  "Размер на шрифта на съдържанието\n"
292
 
293
+ #: includes/customizer/class-wc-tracking-info-customizer.php:921
294
  msgid "Content font weight"
295
  msgstr ""
296
  "Тегло на шрифта на съдържанието\n"
297
 
298
+ #: includes/customizer/class-wc-tracking-info-customizer.php:899
299
  msgid "Content line height"
300
  msgstr ""
301
  "Височина на линията на съдържанието\n"
302
 
303
+ #: includes/views/admin_options_bulk_upload.php:57
304
  msgid "Continue"
305
  msgstr "продължи"
306
 
307
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1624
308
  msgid "Country"
309
  msgstr "Страна"
310
 
311
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
312
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
313
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
314
+ #: includes/views/admin_options_bulk_upload.php:11
315
  msgid "CSV Import"
316
  msgstr "CSV импортиране"
317
 
 
 
 
 
318
  #: includes/views/admin_options_shipping_provider.php:61
319
+ #: includes/views/admin_options_shipping_provider.php:106
320
  msgid "Custom display name"
321
  msgstr "Персонализирано име за показване"
322
 
323
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
324
+ #: includes/views/admin_options_settings.php:46
325
+ msgid "Custom Order Statuses"
326
+ msgstr "Статуси по поръчка"
327
 
328
+ #: includes/views/admin_options_shipping_provider.php:24
329
+ msgid "Custom Providers"
330
+ msgstr ""
 
 
 
 
331
 
332
+ #: includes/views/admin_status_notifications.php:234
333
+ msgid "Daily Digest on"
334
+ msgstr "Daily Digest на"
 
335
 
336
+ #: includes/views/admin_options_osm.php:37
337
+ #: includes/views/admin_options_osm.php:80
338
+ #: includes/views/admin_options_osm.php:120
339
  msgid "Dark Font"
340
  msgstr ""
341
  "Тъмен шрифт\n"
342
 
343
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
344
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
345
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
346
+ msgid "data not available."
347
+ msgstr "данни не са налични."
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
350
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
351
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
352
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
353
  msgid "Data saved successfully."
354
  msgstr "Данните са запазени успешно."
355
 
356
+ #: includes/class-wc-advanced-shipment-tracking.php:383
357
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
358
  msgid "Date shipped:"
359
  msgstr "Дата на изпращане:"
360
 
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1625
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1704
363
+ msgid "Default"
364
+ msgstr "По подразбиране"
365
+
366
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
367
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
368
+ msgstr ""
369
+ "По подразбиране „маркиране като <span class =\" shipped_label \"> завършено "
370
+ "</span>\""
371
 
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
373
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
374
+ msgstr ""
375
+ "По подразбиране \"маркиране като <span class =\" shipped_label \"> изпратено "
376
+ "</span>\""
377
+
378
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
379
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
380
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
381
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
382
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1555
383
+ #: includes/customizer/class-wcast-customizer.php:187
384
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
385
+ #: includes/views/admin_status_notifications.php:112
386
+ #: includes/views/admin_options_osm.php:17
387
  msgid "Delivered"
388
  msgstr "Доставени"
389
 
390
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
391
+ #, php-format
392
+ msgid "Delivered <span class=\"count\">(%s)</span>"
393
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
394
+ msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
395
+ msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
396
+
397
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
398
+ msgid "Delivered email"
399
+ msgstr "Доставен имейл"
400
+
401
+ #: includes/emails/class-shipment-delivered-email.php:32
402
+ msgid "Delivered order"
403
+ msgstr "Доставена поръчка"
404
+
405
+ #: includes/customizer/class-wcast-customizer.php:111
406
+ #: includes/customizer/class-wc-email-customizer.php:163
407
+ msgid "Delivered order status email"
408
+ msgstr "Предоставен е имейл за състоянието на поръчката"
409
+
410
+ #: includes/views/front/layout1_tracking_details.php:8
411
+ msgid "Destination Details"
412
+ msgstr "Подробности за дестинацията"
413
+
414
+ #: includes/customizer/class-wc-email-customizer.php:379
415
+ msgid "Display Billing Address"
416
+ msgstr "Показване на адрес за фактуриране"
417
+
418
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
419
  msgid "Display Name"
420
  msgstr "Показвано име"
421
 
422
+ #: includes/customizer/class-wc-email-customizer.php:343
423
+ msgid "Display order details"
424
+ msgstr "Показване на подробности за поръчката"
425
+
426
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
427
+ msgid "Display Shipment Status Filter on Orders admin"
428
+ msgstr ""
429
+ "Показване на филтъра за състоянието на доставката на администратор на поръчки"
430
+
431
+ #: includes/customizer/class-wc-email-customizer.php:361
432
+ msgid "Display Shipping Address"
433
+ msgstr "Показване на адрес за доставка"
434
+
435
+ #: includes/customizer/class-wc-tracking-info-customizer.php:479
436
  msgid "Display shipping provider image"
437
  msgstr ""
438
  "Покажи изображението на доставчика на доставка\n"
439
 
440
+ #: includes/customizer/class-wc-tracking-info-customizer.php:461
441
  msgid "Display shipping provider name"
442
  msgstr ""
443
  "Показване на име на доставчика на доставка\n"
444
 
445
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
446
+ msgid "Display Track button on the Orders history list in my-account"
447
+ msgstr ""
448
+
449
+ #: includes/customizer/class-wc-email-customizer.php:326
450
+ msgid "Display tracking details"
451
+ msgstr "Показване на подробности за проследяване"
452
+
453
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
454
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
455
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
456
+ msgid "Documentation"
457
+ msgstr "документация"
458
+
459
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
460
  msgid "Download sample csv"
461
  msgstr "Изтеглете пример csv"
462
 
463
+ #: includes/views/admin_status_notifications.php:190
464
+ msgid "E.g. {admin_email}, admin@example.org"
465
+ msgstr "Например {admin_email}, admin@example.org"
466
+
467
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
468
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
469
+ #: includes/customizer/class-wc-email-customizer.php:226
470
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
471
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
472
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
473
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
474
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
475
+ msgid "E.g. {customer.email}, admin@example.org"
476
+ msgstr "E.g. {customer.email}, admin@example.org"
477
+
478
+ #: includes/emails/class-shipment-delivered-email.php:299
479
+ msgid "Edit in customizer"
480
+ msgstr "Редактиране в персонализатора"
481
+
482
+ #: includes/views/admin_options_shipping_provider.php:95
483
  msgid "Edit Shipping Provider"
484
  msgstr "Редактиране на доставчика на доставка"
485
 
486
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
487
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
488
+ #: includes/customizer/class-wc-email-customizer.php:289
489
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
490
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
491
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
492
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
493
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
494
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
495
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
496
+ #: includes/views/admin_status_notifications.php:206
497
  msgid "Email content"
498
  msgstr "Съдържание на имейла"
499
 
500
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
501
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
502
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
503
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
504
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
505
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
506
+ msgid "Email Subject"
507
+ msgstr "Тема на имейл"
508
+
509
+ #: includes/views/admin_tracking_page_settings.php:10
510
+ msgid "Enable a tracking page on your store"
511
+ msgstr "Активирайте страницата за проследяване в магазина си"
512
+
513
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
514
+ msgid "Enable Available For Pickup email"
515
+ msgstr "Активиране на имейл за пикап"
516
+
517
+ #: includes/views/admin_options_settings.php:47
518
+ msgid "Enable custom order statuses to streamline your fulfillment"
519
+ msgstr ""
520
 
521
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
522
+ msgid "Enable Delivered email"
523
+ msgstr "Активиране на доставения имейл"
524
 
525
+ #: includes/customizer/class-wc-email-customizer.php:179
526
+ msgid "Enable Delivered order status email"
527
+ msgstr "Активиране на имейл съобщението за състоянието на поръчката"
528
 
529
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
530
+ msgid "Enable Failed Attempt email"
531
+ msgstr "Активиране на имейл с неуспешен опит"
532
 
533
+ #: includes/customizer/class-wc-email-customizer.php:397
534
+ msgid "Enable Google Analytics tracking"
535
+ msgstr "Активиране на проследяването на Google Analytics"
536
 
537
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
538
+ msgid "Enable In Transit email"
539
+ msgstr "Активиране на имейл в Transit"
540
 
541
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
542
+ msgid "Enable On Hold email"
543
+ msgstr "Активирайте имейл на задържане"
544
 
545
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
546
+ msgid "Enable Out For Delivery email"
547
+ msgstr "Enable Out For Delivery email"
548
 
549
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
550
+ msgid "Enable Partially Shipped order status email"
551
+ msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
552
 
553
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
554
+ msgid "Enable Return To Sender email"
555
+ msgstr "Активирайте имейл на Return To Sender"
556
 
557
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
558
+ msgid "Enable TrackShip"
559
+ msgstr "Активирайте TrackShip"
560
 
561
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
562
+ msgid "Enable Updated Tracking order status email"
 
 
563
  msgstr ""
564
+ "Активиране на имейла за актуализирано проследяване на поръчката\n"
 
565
 
566
+ #: includes/views/front/tracking_page_header.php:22
567
+ msgid "Est. Delivery Date"
568
  msgstr ""
569
+ "Est. Дата на доставка\n"
570
 
571
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
572
+ msgid "Exception"
573
  msgstr ""
 
574
 
575
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
576
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
577
+ #: includes/customizer/class-wcast-customizer.php:195
578
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
579
+ #: includes/views/admin_status_notifications.php:130
580
+ msgid "Failed Attempt"
581
+ msgstr "Неуспешен опит"
582
+
583
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
584
+ msgid "Failed Attempt email"
585
+ msgstr "Имейл при неуспешен опит"
586
+
587
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
588
+ msgid "Filter by shipment status"
589
+ msgstr "Филтрирайте по статус на пратката"
590
+
591
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2027
592
  msgid "Filter by shipping provider"
593
  msgstr "Филтрирайте по доставчик"
594
 
595
+ #: includes/views/front/track_order_form.php:4
596
+ #: includes/views/front/track_order_form.php:5
597
+ msgid "Found in your order confirmation email."
598
+ msgstr ""
599
+ "Намерен в имейла за потвърждение на поръчката.\n"
600
 
601
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
602
+ #: includes/customizer/class-wcast-customizer.php:71
603
  msgid "General Settings"
604
  msgstr "Основни настройки"
605
 
606
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
607
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
608
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
609
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
610
+ msgid "Get Shipment Status"
611
+ msgstr "Получете състояние на пратката"
612
+
613
+ #: includes/views/admin_options_shipping_provider.php:66
614
+ #: includes/views/admin_options_shipping_provider.php:114
615
  msgid "Global"
616
  msgstr "в световен мащаб"
617
 
618
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
619
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
620
+ #: includes/customizer/class-wc-email-customizer.php:415
621
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
622
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
623
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
624
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
625
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
626
+ msgid "Google Analytics link tracking"
627
+ msgstr "Проследяване на връзки в Google Analytics"
628
+
629
+ #: includes/customizer/class-wc-tracking-info-customizer.php:734
630
  msgid "Headers background color"
631
+ msgstr ""
632
 
633
+ #: includes/customizer/class-wc-tracking-info-customizer.php:751
634
  msgid "Headers font color"
635
  msgstr ""
636
  "Цвят на шрифта на заглавките\n"
637
 
638
+ #: includes/customizer/class-wc-tracking-info-customizer.php:716
639
  msgid "Headers font size"
640
  msgstr ""
641
  "Размер на шрифта на заглавките\n"
642
 
643
+ #: includes/customizer/class-wc-tracking-info-customizer.php:768
644
  msgid "Headers font weight"
645
+ msgstr ""
646
 
647
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
648
  msgid ""
649
  "Hi there. we thought you'd like to know that the shipment tracking for your "
650
  "recent order from {site_title} has been updated."
652
  "Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
653
  "за скорошната ви поръчка от {site_title} е актуализирано.\n"
654
 
655
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
656
+ #: includes/customizer/class-wc-email-customizer.php:132
657
+ msgid ""
658
+ "Hi there. we thought you'd like to know that your recent order from "
659
+ "{site_title} has been Delivered."
660
+ msgstr ""
661
+ "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
662
+ "{site_title} е била Доставена."
663
+
664
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
665
  msgid ""
666
  "Hi there. we thought you'd like to know that your recent order from "
667
  "{site_title} has been partially shipped."
669
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
670
  "{site_title} е частично изпратена.\n"
671
 
672
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
673
+ msgid ""
674
+ "Hi there. we thought you'd like to know that your recent order from "
675
+ "{site_title} has been returned to sender."
676
+ msgstr ""
677
+ "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
678
+ "{site_title} е върната на подателя.\n"
679
+
680
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
681
+ msgid ""
682
+ "Hi there. we thought you'd like to know that your recent order from "
683
+ "{site_title} is available for pickup."
684
+ msgstr ""
685
+ "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
686
+ "{site_title} е достъпна за приемане."
687
+
688
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
689
+ msgid ""
690
+ "Hi there. we thought you'd like to know that your recent order from "
691
+ "{site_title} is Failed Attempt"
692
+ msgstr ""
693
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
694
+ "{site_title} е неуспешен опит"
695
+
696
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
697
+ msgid ""
698
+ "Hi there. we thought you'd like to know that your recent order from "
699
+ "{site_title} is in transit"
700
+ msgstr ""
701
+ "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
702
+ "{site_title} е в транзит"
703
+
704
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
705
+ msgid ""
706
+ "Hi there. we thought you'd like to know that your recent order from "
707
+ "{site_title} is on hold"
708
+ msgstr ""
709
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
710
+ "{site_title} е в задържане"
711
+
712
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
713
+ msgid ""
714
+ "Hi there. we thought you'd like to know that your recent order from "
715
+ "{site_title} is out for delivery."
716
+ msgstr ""
717
+ "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
718
+ "{site_title} е за доставка.\n"
719
+
720
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
721
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
722
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
723
  msgid "hide details"
724
  msgstr "скрий подробности"
725
 
726
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
727
+ #: includes/views/admin_tracking_page_settings.php:76
728
+ msgid "Hide Shipping Provider Image"
729
+ msgstr ""
730
+ "Скриване на изображението на доставчика на доставка\n"
731
+
732
+ #: includes/customizer/class-wc-tracking-info-customizer.php:630
733
  msgid "Hide Table Headers"
734
  msgstr ""
735
  "Скриване на заглавките на таблици\n"
736
 
737
+ #: includes/customizer/class-wc-tracking-info-customizer.php:497
738
+ #, fuzzy
739
  #| msgid "Hide the ship date"
740
  msgid "Hide the shipped date"
741
+ msgstr ""
742
+ "Скриване на датата на кораба\n"
743
+
744
+ #: includes/views/admin_tracking_page_settings.php:81
745
+ msgid "Hide tracking event details"
746
+ msgstr ""
747
+ "Скриване на данните за проследяване на проследяването\n"
748
+
749
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
750
+ msgid "Hide tracking events details"
751
+ msgstr "Скриване на подробности за проследяване на събития"
752
 
753
+ #: includes/customizer/class-wc-tracking-info-customizer.php:232
754
  msgid "Hide Tracking Header"
755
  msgstr "Скриване на проследяващия заглавие"
756
 
757
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
758
+ msgid "How to Video"
759
+ msgstr "How to Video"
760
 
761
  #. Author URI of the plugin
762
  msgid "https://www.zorem.com"
763
+ msgstr ""
764
 
765
  #. URI of the plugin
766
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
767
+ msgstr ""
768
 
769
+ #: includes/views/admin_status_notifications.php:155
770
+ msgid ""
771
+ "If a shipment reached the number of days that you define, and the shipment "
772
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
773
+ msgstr ""
774
+ "Ако пратката достигне броя дни, които сте определили, и пратката не е "
775
+ "„доставена“ или „Върната на подателя“, ще се задейства имейл."
776
+
777
+ #: includes/views/admin_options_bulk_upload.php:76
778
  msgid "Import in Progress"
779
  msgstr "Вносът е в процес"
780
 
781
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
782
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
783
+ #: includes/customizer/class-wcast-customizer.php:149
784
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
785
+ #: includes/views/admin_status_notifications.php:37
786
+ msgid "In Transit"
787
+ msgstr "Транзитно"
788
 
789
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
790
+ msgid "In Transit email"
791
+ msgstr "In Transit email"
 
792
 
793
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
794
  msgid "Invalid order ID."
795
  msgstr "Невалиден идентификационен номер на поръчката."
796
 
797
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
798
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
799
+ msgid "Invalid Tracking Number"
800
+ msgstr "Невалиден номер за проследяване"
801
+
802
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
803
+ msgid "Invalid User Key"
804
+ msgstr "Невалиден потребителски ключ"
805
+
806
+ #: includes/views/admin_options_bulk_upload.php:48
807
  msgid ""
808
  "Keep unchecked for the tracking info to be added to any existing tracking "
809
  "info added to the orders."
811
  "Не оставяйте отметка информацията за проследяване да се добавя към всяка "
812
  "съществуваща информация за проследяване, добавена към поръчките."
813
 
814
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
815
+ msgid "Late shipment"
816
+ msgstr "Късна доставка"
817
+
818
+ #: includes/views/admin_status_notifications.php:176
819
+ msgid "Late Shipment Days"
820
+ msgstr "Късни дни на изпращане"
821
+
822
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
823
+ #: includes/views/admin_status_notifications.php:200
824
+ msgid "Late shipment for order #{order_number}"
825
+ msgstr "Късна пратка за поръчка № {order_number}"
826
+
827
+ #: includes/customizer/class-wcast-customizer.php:203
828
+ #: includes/views/admin_status_notifications.php:155
829
+ msgid "Late Shipments"
830
+ msgstr "Късни пратки"
831
+
832
+ #: includes/views/admin_options_settings.php:39
833
+ msgid "Launch Customizer"
834
+ msgstr "Стартирайте персонализатора"
835
+
836
+ #: includes/views/admin_options_addons.php:111
837
  msgid "License"
838
  msgstr "License"
839
 
840
+ #: includes/views/admin_options_osm.php:36
841
+ #: includes/views/admin_options_osm.php:79
842
+ #: includes/views/admin_options_osm.php:119
843
  msgid "Light Font"
844
  msgstr ""
845
  "Лек шрифт\n"
846
 
847
+ #: includes/class-wc-advanced-shipment-tracking.php:316
848
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
849
  msgid "Mark as Completed?"
850
  msgstr "Да се ​​маркира като завършен?"
851
 
852
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1540
853
  msgid "Mark as Shipped"
854
  msgstr "Маркирайте като изпратено"
855
 
856
+ #: includes/class-wc-advanced-shipment-tracking.php:313
857
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
858
  msgid "Mark as Shipped?"
859
  msgstr "Да се ​​маркира като изпратен?"
860
 
861
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
862
  msgid "Mark order as delivered"
863
  msgstr "Маркирайте поръчката като доставена"
864
 
865
+ #: includes/class-wc-advanced-shipment-tracking.php:397
866
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
867
  msgid "Mark order as:"
868
  msgstr "Маркиране на поръчката като:"
869
 
870
+ #: includes/views/admin_tracking_page_settings.php:41
 
 
 
 
 
871
  msgid "more info"
872
  msgstr ""
873
  "повече информация\n"
874
 
875
+ #: includes/views/admin_tracking_page_settings.php:41
876
+ msgid ""
877
+ "Note - If you select a different page than the Shipment Tracking page, add "
878
+ "the [wcast-track-order] shortcode to the selected page content."
879
+ msgstr ""
880
+ "Забележка - Ако изберете страница, различна от тази за проследяване на "
881
+ "пратката, добавете краткия код [wcast-track-order] към избраното съдържание "
882
+ "на страницата.\n"
883
+
884
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
885
+ #: includes/views/trackship_settings.php:12
886
+ #: includes/views/trackship_settings.php:13
887
+ msgid "Notifications"
888
+ msgstr "Известия"
889
+
890
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
891
+ #: includes/customizer/class-wcast-customizer.php:157
892
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
893
+ #: includes/views/admin_status_notifications.php:52
894
+ msgid "On Hold"
895
+ msgstr "На изчакване"
896
+
897
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
898
+ msgid "On Hold email"
899
+ msgstr "Имейл при задържане"
900
+
901
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:935
902
+ msgid "Open the track link in a new tab"
903
+ msgstr ""
904
+
905
+ #: includes/emails/class-shipment-delivered-email.php:33
906
+ msgid ""
907
+ "Order delivered emails are sent to customers when their orders are marked "
908
+ "delivered and usually indicate that their orders have been shipped."
909
+ msgstr ""
910
+ "Имейлите за доставени поръчки се изпращат на клиентите, когато поръчките им "
911
+ "са маркирани доставени и обикновено показват, че поръчките им са изпратени."
912
 
913
+ #: includes/views/front/track_order_form.php:5
914
+ msgid "Order Email"
915
+ msgstr ""
916
+ "Имейл за поръчка\n"
917
 
918
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:916
919
+ msgid "Order Email Display"
920
+ msgstr ""
921
 
922
  #. %s: Order ID.
923
+ #: templates/emails/wcast-email-order-details.php:48
924
  #, php-format
925
  msgid "Order number: %s"
926
  msgstr ""
927
  "Номер на поръчката:% s\n"
928
 
929
+ #: includes/customizer/class-wcast-customizer.php:42
930
+ msgid "Order Status Emails"
931
+ msgstr "Имейли със статут на поръчка"
 
 
932
 
933
+ #: includes/class-wc-advanced-shipment-tracking.php:1152
934
+ #: includes/class-wc-advanced-shipment-tracking.php:1243
 
935
  #, php-format
936
+ msgid "Order was shipped with %s and tracking number is: %s"
937
+ msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
 
938
 
939
+ #: includes/views/front/layout1_tracking_details.php:25
940
+ msgid "Origin Details"
941
+ msgstr "Подробности за произхода"
942
+
943
+ #: includes/views/admin_tracking_page_settings.php:36
944
  msgid "Other"
945
  msgstr "Други"
946
 
947
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
948
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
949
+ #: includes/customizer/class-wcast-customizer.php:179
950
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
951
+ msgid "Out For Delivery"
952
+ msgstr ""
953
+ "За доставка\n"
954
+
955
+ #: includes/views/admin_status_notifications.php:97
956
+ msgid "Out For delivery"
957
+ msgstr "Вън за доставка"
958
+
959
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
960
+ msgid "Out For Delivery email"
961
+ msgstr "Изпратете имейл за доставка"
962
+
963
+ #: includes/class-wc-advanced-shipment-tracking.php:400
964
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
965
  msgid "Partial Shipped"
966
  msgstr "Частично изпратено"
967
 
968
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
969
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
970
+ #: includes/views/admin_options_osm.php:59
 
971
  msgid "Partially Shipped"
972
  msgstr "Частично изпратени"
973
 
974
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
 
975
  #, php-format
976
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
977
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
978
  msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
979
  msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
980
 
981
+ #: includes/customizer/class-wcast-customizer.php:125
982
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
983
+ msgid "Partially Shipped status email"
984
+ msgstr "Частично изпратен имейл за състояние"
 
 
 
985
 
986
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
987
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
988
+ msgid "Pending TrackShip"
989
+ msgstr "Изчаква TrackShip"
 
990
 
991
+ #: woocommerce-advanced-shipment-tracking.php:122
 
992
  #, php-format
993
  msgid ""
994
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
995
+ "for WooCommerce!"
996
  msgstr ""
 
 
997
 
998
+ #: includes/customizer/class-wc-email-customizer.php:201
999
+ #: includes/customizer/class-wc-tracking-info-customizer.php:193
1000
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1001
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1002
+ msgid "Please select a order..."
1003
+ msgstr ""
1004
+ "Моля, изберете поръчка ...\n"
1005
+
1006
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
1007
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
1008
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
1009
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
1010
+ #: includes/customizer/class-wc-email-customizer.php:454
1011
+ #: includes/customizer/class-wc-email-customizer.php:462
1012
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
1013
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
1014
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
1015
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
1016
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
1017
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
1018
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
1019
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
1020
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1021
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1022
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
1023
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
1024
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
1025
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
1026
  msgid "Please select order to preview."
1027
  msgstr "Моля, изберете поръчка за преглед."
1028
 
1029
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1030
  msgid "Please upload a valid CSV file."
1031
  msgstr "Моля, качете валиден CSV файл."
1032
 
1033
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
1034
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
1035
+ #: includes/customizer/class-wcast-customizer.php:141
1036
+ msgid "Pre Transit"
1037
+ msgstr "Предварително преминаване"
1038
+
1039
+ #: includes/views/admin_tracking_page_settings.php:105
1040
+ msgid "Preview"
1041
+ msgstr ""
1042
+ "предварителен преглед\n"
1043
+
1044
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
1045
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
1046
+ #: includes/customizer/class-wc-email-customizer.php:197
1047
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
1048
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
1049
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
1050
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
1051
+ #: includes/customizer/class-wc-tracking-info-customizer.php:189
1052
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
1053
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
1054
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
1055
+ msgid "Preview order"
1056
+ msgstr ""
1057
+ "Преглед на поръчката\n"
1058
+
1059
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1060
  msgid "Preview:"
1061
  msgstr "Преглед:"
1062
 
1063
+ #: includes/class-wc-advanced-shipment-tracking.php:375
1064
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
1065
  msgid "Product Code:"
1066
  msgstr "Код на продукта:"
1067
 
1068
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1703
1069
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
1070
+ #: includes/customizer/class-wc-tracking-info-customizer.php:655
1071
+ #: templates/emails/tracking-info.php:280
1072
+ #: templates/myaccount/tracking-info.php:205
1073
  msgid "Provider"
1074
  msgstr "доставчик"
1075
 
1076
+ #: templates/emails/tracking-info.php:285
1077
+ #: templates/myaccount/tracking-info.php:210
 
1078
  msgid "Provider Name"
1079
  msgstr "Provider Name"
1080
 
1081
+ #: includes/views/admin_options_shipping_provider.php:153
1082
  msgid "Providers Added"
1083
  msgstr "Доставчиците са добавени"
1084
 
1085
+ #: includes/views/admin_options_shipping_provider.php:155
1086
  msgid "Providers Deleted"
1087
  msgstr "Доставчиците са изтрити"
1088
 
1089
+ #: includes/views/admin_options_shipping_provider.php:154
1090
  msgid "Providers Updated"
1091
  msgstr "Актуализирани доставчици"
1092
 
1093
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
1094
  msgid "Really delete this entry? This will not be undo."
1095
  msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
1096
 
1097
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
1098
+ #: includes/views/admin_tracking_page_settings.php:86
1099
+ msgid "Remove TrackShip branding"
1100
+ msgstr "Премахване на марката TrackShip"
1101
+
1102
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
1103
  msgid "Rename the “Completed” Order status label to “Shipped”"
1104
+ msgstr ""
1105
 
1106
+ #: includes/views/admin_options_bulk_upload.php:48
1107
  msgid "Replace tracking information?"
1108
  msgstr "Replace tracking information?"
1109
 
1110
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
1111
+ msgid "Resend delivered order notification"
1112
+ msgstr "Повторно изпратено известие за поръчка"
1113
+
1114
+ #: includes/views/admin_options_shipping_provider.php:136
1115
  msgid "Reset"
1116
  msgstr "Нулиране"
1117
 
1118
+ #: includes/views/admin_options_shipping_provider.php:159
1119
  msgid ""
1120
  "Reset providers database, it will reset all your shipping provider database"
1121
  msgstr ""
1122
  "Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
1123
  "доставчика ви"
1124
 
1125
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
1126
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
1127
+ #: includes/customizer/class-wcast-customizer.php:165
1128
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
1129
+ #: includes/views/admin_status_notifications.php:67
1130
+ msgid "Return To Sender"
1131
+ msgstr "Върнете се към подателя"
1132
+
1133
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1134
+ msgid "Return To Sender email"
1135
+ msgstr "Връщане към имейл на подателя"
1136
+
1137
+ #: includes/views/admin_options_settings.php:23
1138
+ #: includes/views/admin_trackship_dashboard.php:45
1139
+ #: includes/views/admin_tracking_page_settings.php:104
1140
+ #: includes/views/admin_status_notifications.php:245
1141
+ msgid "Save Changes"
1142
+ msgstr "Запазите промените"
1143
+
1144
+ #: includes/class-wc-advanced-shipment-tracking.php:416
1145
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
1146
  msgid "Save Tracking"
1147
  msgstr "Запазване на проследяването"
1148
 
1149
+ #: includes/views/admin_options_shipping_provider.php:29
1150
  msgid "Search by provider / country"
1151
  msgstr "Търсене по доставчик / държава"
1152
 
1153
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1154
+ msgid "Select an order to preview and design the tracking info display."
1155
+ msgstr ""
1156
+ "Изберете поръчка за визуализация и дизайн на дисплея с информация за "
1157
+ "проследяване.\n"
1158
+
1159
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
1160
+ msgid "Select content border color for tracking page"
1161
+ msgstr "Изберете цвят на контура на съдържанието за страница за проследяване"
1162
+
1163
+ #: includes/customizer/class-wcast-customizer.php:516
1164
+ msgid "Select order to preview"
1165
+ msgstr ""
1166
+ "Изберете поръчка за визуализация\n"
1167
 
1168
+ #: includes/class-wc-advanced-shipment-tracking.php:338
1169
  msgid "Select Provider"
1170
  msgstr "Изберете Доставчик"
1171
 
1172
+ #: includes/customizer/class-wc-tracking-info-customizer.php:302
1173
  msgid "Select Template"
1174
  msgstr ""
1175
  "Изберете шаблон\n"
1176
 
1177
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
1178
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
1179
+ #: includes/views/admin_tracking_page_settings.php:27
1180
+ msgid "Select Tracking Page"
1181
+ msgstr "Изберете страница за проследяване"
1182
+
1183
+ #: includes/views/admin_options_osm.php:41
1184
+ #: includes/views/admin_options_osm.php:84
1185
+ #: includes/views/admin_options_osm.php:124
1186
  msgid "Send Email"
1187
  msgstr ""
1188
  "Изпратете имейл\n"
1189
 
1190
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:909
1191
  msgid ""
1192
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1193
  "orders"
1194
  msgstr ""
 
 
1195
 
1196
+ #: includes/views/admin_options_settings.php:15
 
 
1197
  msgid "Settings"
1198
+ msgstr ""
1199
 
1200
+ #: includes/views/admin_options_bulk_upload.php:59
1201
  msgid "Settings Saved."
1202
  msgstr "Настройките са запазени."
1203
 
1204
+ #: includes/class-wc-advanced-shipment-tracking-front.php:319
1205
+ #: includes/views/front/preview_tracking_page.php:25
1206
+ msgid "Shipment"
1207
+ msgstr ""
1208
+
1209
+ #: includes/class-wc-advanced-shipment-tracking-front.php:347
1210
+ #, php-format
1211
+ msgid "Shipment - %s (out of %s)"
1212
+ msgstr ""
1213
+ "Пратка -% s (от% s)\n"
1214
+
1215
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
1216
+ #, php-format
1217
+ msgid "Shipment : %s (out of %s)"
1218
+ msgstr ""
1219
+
1220
+ #: includes/views/admin_status_notifications.php:67
1221
+ msgid "Shipment is returned to sender."
1222
+ msgstr "Пратката се връща на подателя."
1223
+
1224
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
1225
+ msgid "Shipment Providers"
1226
+ msgstr "Доставчици на пратки"
1227
+
1228
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
1229
+ #: templates/emails/tracking-info.php:225
1230
+ #: templates/emails/tracking-info.php:255
1231
+ msgid "Shipment Status"
1232
+ msgstr "Състояние на пратката"
1233
+
1234
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
1235
+ msgid "Shipment status"
1236
+ msgstr "Състояние на пратката"
1237
+
1238
+ #: templates/emails/plain/tracking-info.php:35
1239
  #, php-format
1240
  msgid "Shipment status changed to %s"
1241
  msgstr "Състоянието на пратката се промени на% s"
1242
 
1243
+ #: includes/views/admin_status_notifications.php:3
1244
+ msgid "Shipment Status Email Notifications"
1245
+ msgstr "Shipment Status Email Notifications"
1246
+
1247
+ #: includes/customizer/class-wcast-customizer.php:51
1248
+ msgid "Shipment Status Emails"
1249
+ msgstr "Имейли за състоянието на пратката"
1250
+
1251
+ #: includes/class-wc-advanced-shipment-tracking.php:141
1252
+ #: includes/class-wc-advanced-shipment-tracking.php:223
1253
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
1254
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
1255
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
1256
  msgid "Shipment Tracking"
1257
  msgstr "Проследяване на пратките"
1258
 
1259
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
1260
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
1261
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
 
 
 
 
 
1262
  msgid "Shipped"
1263
  msgstr "Доставят"
1264
 
1265
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
 
1266
  #, php-format
1267
  msgid "Shipped <span class=\"count\">(%s)</span>"
1268
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
1269
  msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
1270
  msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
1271
 
1272
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
1273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:700
1274
  msgid "Shipped Date"
1275
  msgstr ""
1276
  "Дата на изпращане\n"
1277
 
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1279
+ #, fuzzy
1280
  #| msgid "Ship date header text"
1281
  msgid "Shipped date header text"
1282
+ msgstr ""
1283
+ "Текст на заглавието на датата на изпращане\n"
1284
 
1285
  #. 1: shipping date
1286
+ #: includes/class-wc-advanced-shipment-tracking.php:256
1287
  #, php-format
1288
  msgid "Shipped on %s"
1289
  msgstr "Изпратено на% s"
1290
 
1291
+ #: includes/customizer/class-wc-tracking-info-customizer.php:159
1292
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1293
  msgstr ""
1294
  "Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
1295
 
1296
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
1297
  msgid "Shipped Order"
1298
  msgstr "Изпратена поръчка"
1299
 
1300
+ #: includes/views/admin_options_shipping_provider.php:65
1301
+ #: includes/views/admin_options_shipping_provider.php:113
1302
  msgid "Shipping Country"
1303
  msgstr "Страна на доставка"
1304
 
1305
  #: includes/views/admin_options_shipping_provider.php:58
1306
+ #: includes/views/admin_options_shipping_provider.php:103
1307
  msgid "Shipping Provider"
1308
  msgstr "Доставчик на доставка"
1309
 
1310
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
1311
  msgid "Shipping provider header text"
1312
+ msgstr ""
1313
 
1314
+ #: includes/class-wc-advanced-shipment-tracking.php:337
1315
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
1316
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
1317
  msgid "Shipping Provider:"
1318
  msgstr "Доставчик:"
1319
 
1320
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
1321
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
1322
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
1323
  msgid "Shipping Providers"
1324
  msgstr "Доставчици на доставка"
1325
 
1326
+ #: includes/views/admin_options_shipping_provider.php:157
 
 
 
 
1327
  msgid "Shipping providers database reset successfully."
1328
  msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
1329
 
1330
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1331
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1332
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1333
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1334
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1335
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1336
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1337
+ msgid "Show billing address"
1338
+ msgstr ""
1339
+ "Показване на адрес за фактуриране\n"
1340
+
1341
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1342
  msgid "Show bottom border"
1343
  msgstr ""
1344
  "Показване на долната граница\n"
1345
 
1346
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1347
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1348
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1349
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1350
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1351
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1352
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1353
+ msgid "Show order details"
1354
+ msgstr ""
1355
+ "Показване на подробности за поръчката\n"
1356
+
1357
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1358
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1359
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1360
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1361
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1362
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1363
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1364
+ msgid "Show shipping address"
1365
+ msgstr ""
1366
+ "Показване на адреса за доставка\n"
1367
+
1368
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
1369
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
1370
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
1371
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
1372
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
1373
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
1374
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1375
+ msgid "Show tracking details"
1376
+ msgstr ""
1377
+ "Показване на подробности за проследяването\n"
1378
+
1379
+ #: includes/customizer/class-wc-tracking-info-customizer.php:320
1380
  msgid "Simple Layout Design"
1381
  msgstr ""
1382
  "Прост дизайн на оформлението\n"
1383
 
1384
+ #: includes/customizer/class-wcast-customizer.php:87
1385
+ msgid "Simple layout design"
1386
+ msgstr "Прост дизайн на оформлението"
1387
+
1388
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
1389
  msgid "Special character not allowd in tracking number"
1390
  msgstr "Специален знак не е разрешен в проследяващия номер"
1391
 
1392
+ #: includes/views/admin_options_trackship_integration.php:17
1393
+ #: includes/views/admin_options_addons.php:134
1394
+ msgid "Start your free trial"
1395
+ msgstr "Започнете безплатен пробен период"
1396
+
1397
+ #: includes/views/trackship_sidebar.php:24
1398
+ msgid "Subscription Plan"
1399
+ msgstr "Абонаментен план"
1400
+
1401
+ #: includes/views/admin_options_shipping_provider.php:146
1402
+ #: includes/views/admin_options_shipping_provider.php:161
1403
  msgid "Sync Shipping Providers"
1404
  msgstr "Синхронизирайте доставчиците на доставка"
1405
 
1406
+ #: includes/views/admin_options_shipping_provider.php:151
1407
  msgid ""
1408
  "Syncing the shipping providers list add or updates the pre-set shipping "
1409
  "providers and will not effect custom shipping providers."
1412
  "актуализира предварително зададените доставчици за доставка и няма да "
1413
  "повлияе на доставчиците по поръчка."
1414
 
1415
+ #: includes/customizer/class-wc-tracking-info-customizer.php:831
1416
  msgid "Table Content"
1417
  msgstr "Съдържание на таблицата"
1418
 
1419
+ #: includes/customizer/class-wc-tracking-info-customizer.php:533
1420
  msgid "Table Design Options"
1421
+ msgstr ""
1422
 
1423
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1424
+ #, fuzzy
1425
  #| msgid "Table Headers"
1426
  msgid "Table Header"
1427
+ msgstr ""
1428
+ "Заглавки на таблици\n"
1429
 
1430
+ #: includes/customizer/class-wc-tracking-info-customizer.php:303
1431
  msgid "Table Layout"
1432
  msgstr ""
1433
  "Оформление на таблицата\n"
1434
 
1435
+ #: includes/customizer/class-wcast-customizer.php:79
1436
+ msgid "Table layout design"
1437
+ msgstr "Дизайн на таблицата на оформлението"
1438
+
1439
+ #: includes/customizer/class-wc-tracking-info-customizer.php:445
1440
  msgid "Table Options"
1441
+ msgstr ""
1442
 
1443
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1444
  msgid "Text align"
1445
+ msgstr ""
1446
 
1447
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
1448
+ #: includes/views/admin_options_shipping_provider.php:100
1449
  msgid ""
1450
+ "The custom name will display in the tracking info section on the customer "
1451
+ "order emails, my-account, shipment tracking page and shipment status emails."
 
1452
  msgstr ""
1453
+ "Персонализираното име ще се покаже в раздела за информация за проследяване "
1454
+ "на имейли за поръчки на клиенти, моя акаунт, страница за проследяване на "
1455
+ "пратки и имейли за състоянието на пратката."
1456
 
1457
+ #: includes/views/admin_status_notifications.php:52
1458
+ msgid "The shipment is On Hold."
1459
+ msgstr "Пратката е в режим на задържане."
1460
+
1461
+ #: includes/views/admin_status_notifications.php:82
1462
+ msgid "The shipment is ready to by picked up."
1463
+ msgstr "Пратката е готова до вдигане."
1464
+
1465
+ #: includes/views/admin_status_notifications.php:37
1466
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1467
+ msgstr "Пратката е приета от доставчика на корабоплаването и е на път."
1468
+
1469
+ #: includes/views/admin_status_notifications.php:112
1470
+ msgid "The shipment was delivered successfully."
1471
+ msgstr "Пратката е доставена успешно."
1472
+
1473
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
1474
  msgid "There are some issue with sync, Please Retry."
1475
  msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
1476
 
1477
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1478
  msgid "This browser does not support HTML5."
1479
  msgstr "Този браузър не поддържа HTML5."
1480
 
1481
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
1482
+ msgid ""
1483
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
1484
+ "will be selected by default when adding tracking info to orders."
1485
+ msgstr ""
1486
+ "Това означава, че „маркирането като <span class = 'shipped_label'> завършено "
1487
+ "</span> 'ще бъде избрано по подразбиране при добавяне на информация за "
1488
+ "проследяване към поръчките."
1489
+
1490
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
1491
+ msgid ""
1492
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
1493
+ "will be selected by default when adding tracking info to orders."
1494
+ msgstr ""
1495
+ "Това означава, че „маркирането като <span class = 'shipped_label'> изпратено "
1496
+ "</span> 'ще бъде избрано по подразбиране при добавяне на информация за "
1497
+ "проследяване към поръчките."
1498
+
1499
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1500
+ #: includes/views/admin_status_notifications.php:210
1501
+ msgid ""
1502
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1503
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1504
+ msgstr ""
1505
+ "Тази поръчка е изпратена преди {shipment_length} дни, състоянието на "
1506
+ "пратката е {shipment_status}, а прогнозната й дата на доставка е "
1507
+ "{est_delivery_date}."
1508
+
1509
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1510
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1511
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1512
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1513
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1514
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1515
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1516
+ msgid "This will be appended to URL in the email content"
1517
+ msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
1518
+
1519
+ #: includes/customizer/class-wc-email-customizer.php:416
1520
+ msgid ""
1521
+ "This will be appended to URL in the email content – e.g. "
1522
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1523
+ msgstr ""
1524
+ "Това ще бъде добавено към URL адреса в съдържанието на имейла - напр. "
1525
+ "utm_source = AST & utm_medium = имейл & utm_campaign = доставени"
1526
+
1527
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
1528
+ msgid ""
1529
+ "To enable this option, the 'Delivered' order status should be enabled in the "
1530
+ "AST settings."
1531
+ msgstr ""
1532
+ "За да активирате тази опция, състоянието на поръчката „Доставено“ трябва да "
1533
+ "бъде активирано в настройките на AST."
1534
+
1535
+ #: includes/views/front/track_order_form.php:3
1536
+ msgid ""
1537
+ "To track your order please enter your Order ID in the box below and press "
1538
+ "the \"Track\" button. This was given to you on your receipt and in the "
1539
+ "confirmation email you should have received."
1540
+ msgstr ""
1541
+ "За да проследите Вашата поръчка, моля въведете Вашата поръчка ID в полето по-"
1542
+ "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
1543
+ "в имейла за потвърждение, който трябваше да получите.\n"
1544
+
1545
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
1546
+ #: includes/views/admin_options_tools.php:13
1547
+ #: includes/views/trackship_settings.php:15
1548
+ #: includes/views/trackship_settings.php:16
1549
+ msgid "Tools"
1550
+ msgstr "Инструменти"
1551
+
1552
+ #: includes/class-wc-advanced-shipment-tracking.php:752
1553
+ #: includes/class-wc-advanced-shipment-tracking.php:788
1554
+ #: includes/customizer/class-wc-tracking-info-customizer.php:152
1555
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1556
+ #: templates/emails/tracking-info.php:315
1557
+ #: templates/myaccount/tracking-info.php:235
1558
+ #: includes/views/front/track_order_form.php:8
1559
  msgid "Track"
1560
  msgstr "път"
1561
 
1562
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1563
  msgid "Track Button"
1564
+ msgstr ""
 
 
 
 
1565
 
1566
+ #: includes/customizer/class-wc-tracking-info-customizer.php:808
1567
  msgid "Track header text"
1568
  msgstr ""
1569
  "Проследяване на заглавния текст\n"
1570
 
1571
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
1572
+ msgid "Track Label"
1573
+ msgstr "Етикет за проследяване"
1574
+
1575
+ #: includes/class-wc-advanced-shipment-tracking.php:246
1576
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1577
  msgid "Track Shipment"
1578
  msgstr "Проследяване на пратката"
1579
 
1580
+ #: includes/views/trackship_sidebar.php:20
1581
+ msgid "Trackers Balance"
1582
+ msgstr "Тракери Баланс"
1583
+
1584
+ #: includes/views/front/layout1_tracking_details.php:4
1585
+ msgid "Tracking Details"
1586
+ msgstr "Детайли за проследяване"
1587
+
1588
+ #: includes/class-wc-advanced-shipment-tracking-front.php:371
1589
+ msgid "Tracking details not found in TrackShip"
1590
+ msgstr "Детайли за проследяване не са открити в TrackShip"
1591
+
1592
+ #: includes/views/admin_options_settings.php:35
1593
+ msgid "Tracking Display Customizer"
1594
+ msgstr ""
1595
+
1596
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1597
+ #: includes/customizer/class-wc-tracking-info-customizer.php:298
1598
  msgid "Tracking display layout"
1599
  msgstr "Проследяване на оформлението на дисплея"
1600
 
1601
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:932
1602
+ msgid "Tracking Display My Account"
1603
+ msgstr ""
1604
+
1605
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1606
  msgid "Tracking Display Position"
1607
  msgstr "Проследяване на позицията на дисплея"
1608
 
1609
+ #: includes/customizer/class-wc-tracking-info-customizer.php:250
1610
  msgid "Tracking Header text"
1611
  msgstr ""
1612
  "Проследяване на текста на заглавката\n"
1613
 
1614
+ #: includes/customizer/class-wcast-customizer.php:32
1615
+ #: includes/customizer/class-wcast-customizer.php:103
1616
  msgid "Tracking info display"
1617
  msgstr ""
1618
  "Показване на информация за проследяване\n"
1619
 
1620
+ #: includes/views/admin_options_tools.php:11
1621
+ msgid "Tracking info sent to Trackship for all Orders."
1622
+ msgstr "Tracking info sent to Trackship for all Orders."
1623
+
1624
+ #: includes/class-wc-advanced-shipment-tracking.php:721
1625
  #, php-format
 
 
1626
  msgid ""
1627
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
1628
  msgstr ""
1629
+ "Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
1630
+ "проследяващ номер% s"
1631
 
1632
+ #: includes/customizer/class-wc-tracking-info-customizer.php:257
1633
  msgid "Tracking Information"
1634
  msgstr "Информация за проследяване"
1635
 
1636
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
1637
+ msgid "Tracking issues"
1638
+ msgstr "Проследяване на проблеми"
1639
+
1640
+ #: includes/customizer/class-wc-tracking-info-customizer.php:150
1641
+ #: includes/customizer/class-wc-tracking-info-customizer.php:678
1642
+ #: templates/emails/tracking-info.php:292
1643
+ #: templates/myaccount/tracking-info.php:215
1644
  msgid "Tracking Number"
1645
  msgstr "Номер за проследяване"
1646
 
1647
+ #: includes/customizer/class-wc-tracking-info-customizer.php:671
1648
+ #, fuzzy
1649
  #| msgid "Tracking Number header text"
1650
  msgid "Tracking number header text"
1651
+ msgstr "Текст на заглавния номер на проследяващия номер"
1652
 
1653
+ #: includes/class-wc-advanced-shipment-tracking.php:332
1654
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
1655
  msgid "Tracking number:"
1656
  msgstr "Номер за проследяване:"
1657
 
1658
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
1659
+ #: includes/views/admin_tracking_page_settings.php:9
1660
+ #: includes/views/trackship_settings.php:9
1661
+ #: includes/views/trackship_settings.php:10
1662
+ msgid "Tracking Page"
1663
+ msgstr "Страница за проследяване"
1664
+
1665
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
1666
+ msgid "Tracking Page Layout"
1667
+ msgstr ""
1668
+ "Оформление на проследяващата страница\n"
1669
+
1670
+ #: includes/views/admin_tracking_page_settings.php:92
1671
+ msgid "Tracking Widget Border Color"
1672
+ msgstr ""
1673
+
1674
+ #: includes/views/admin_tracking_page_settings.php:46
1675
+ msgid "Tracking Widget Layout"
1676
+ msgstr ""
1677
+
1678
+ #: includes/views/admin_tracking_page_settings.php:65
1679
+ msgid "Tracking Widget Options"
1680
+ msgstr ""
1681
+
1682
+ #: includes/views/admin_tracking_page_settings.php:116
1683
+ msgid "Tracking Widget Preview"
1684
+ msgstr "Предварителен преглед на джаджа"
1685
+
1686
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1626
1687
  msgid "TrackShip"
1688
  msgstr "TrackShip"
1689
 
1690
+ #: includes/views/trackship_sidebar.php:12
1691
+ msgid "TrackShip Connection Status"
1692
+ msgstr "Състояние на връзката към TrackShip"
1693
+
1694
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1695
+ msgid "TrackShip not supported"
1696
+ msgstr "TrackShip не се поддържа"
1697
+
1698
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1699
+ msgid "TrackShip supported"
1700
+ msgstr "TrackShip supported"
1701
+
1702
+ #: includes/views/admin_status_notifications.php:225
1703
+ msgid "Trigger Alert"
1704
+ msgstr "Сигнал за задействане"
1705
+
1706
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
1707
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
1708
+ msgid "Unknown"
1709
+ msgstr "Неизвестно"
1710
+
1711
+ #: includes/views/admin_options_shipping_provider.php:135
1712
  msgid "Update"
1713
  msgstr "Актуализиране"
1714
 
1715
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
1716
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
1717
+ #: includes/views/admin_options_osm.php:101
 
1718
  msgid "Updated Tracking"
1719
  msgstr "Актуализирано проследяване"
1720
 
1721
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
 
1722
  #, php-format
1723
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1724
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1725
  msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1726
  msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1727
 
1728
+ #: includes/customizer/class-wcast-customizer.php:133
1729
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
1730
+ msgid "Updated Tracking status email"
1731
+ msgstr ""
1732
+ "Актуализиран имейл за състоянието на проследяването\n"
1733
+
1734
+ #: includes/views/trackship_sidebar.php:28
1735
+ msgid "Upgrade Now"
1736
+ msgstr "Надстройте сега"
1737
+
1738
+ #: includes/views/admin_options_shipping_provider.php:76
1739
+ #: includes/views/admin_options_shipping_provider.php:124
1740
+ msgid "Upload"
1741
+ msgstr "Качи"
1742
+
1743
+ #: includes/views/admin_options_bulk_upload.php:26
1744
  msgid "Upload a CSV file from your computer:"
1745
  msgstr "Качете CSV файл от вашия компютър:"
1746
 
1747
+ #: includes/views/admin_options_bulk_upload.php:109
1748
  msgid "Upload again"
1749
  msgstr "Качете отново"
1750
 
1751
+ #: includes/views/admin_options_settings.php:36
1752
+ msgid ""
1753
+ "Use a customizer with a preview to customize the tracking info display on "
1754
+ "customer order emails and my-account."
1755
+ msgstr ""
1756
+ "Използвайте персонализатор с визуализация, за да персонализирате дисплея с "
1757
+ "информация за проследяване в имейлите за поръчки на клиенти и моя акаунт."
1758
+
1759
+ #: includes/views/admin_options_bulk_upload.php:12
1760
  msgid ""
1761
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1762
  "file"
1764
  "Използвайте нашия CSV инструмент за импортиране, за да групово импортирате "
1765
  "информация за проследяване към поръчки от CSV файл"
1766
 
1767
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
1768
+ msgid "Use the tracking page in the customer email/my account tracking link"
1769
+ msgstr ""
1770
+ "Използвайте страницата за проследяване в имейла на клиента / връзката за "
1771
+ "проследяване на моя акаунт"
1772
+
1773
+ #: includes/customizer/class-wc-tracking-info-customizer.php:515
1774
  msgid "Use tracking number as a link"
1775
  msgstr "Използвайте проследяващия номер като връзка"
1776
 
1777
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
1778
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
1779
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
1780
+ #: includes/views/admin_options_bulk_upload.php:87
1781
  msgid "view details"
1782
  msgstr "Разгледайте детайлите"
1783
 
1784
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
1785
+ msgid "View more on TrackShip"
1786
+ msgstr "Вижте повече на TrackShip"
1787
+
1788
+ #: includes/views/admin_options_bulk_upload.php:108
1789
  msgid "View Orders"
1790
  msgstr "Преглед на поръчки"
1791
 
1792
+ #: includes/views/admin_options_trackship_integration.php:16
1793
+ #: includes/views/admin_options_addons.php:130
1794
+ msgid "Watch Video"
1795
+ msgstr "Гледам видео"
1796
+
1797
+ #: woocommerce-advanced-shipment-tracking.php:487
1798
+ #, php-format
1799
+ msgid ""
1800
+ "We detected %s orders that use the Delivered order status, You can reassign "
1801
+ "these orders to a different status"
1802
+ msgstr ""
1803
+ "Открихме% s поръчки, които използват състоянието на доставена поръчка. "
1804
+ "Можете да преназначите тези поръчки на различен статус"
1805
+
1806
+ #: woocommerce-advanced-shipment-tracking.php:499
1807
  #, php-format
1808
  msgid ""
1809
  "We detected %s orders that use the Partially Shipped order status, You can "
1812
  "Открихме% s поръчки, които използват състоянието на частично изпратена "
1813
  "поръчка. Можете да преназначите тези поръчки на различен статус"
1814
 
1815
+ #: woocommerce-advanced-shipment-tracking.php:511
1816
+ #, php-format
1817
+ msgid ""
1818
+ "We detected %s orders that use the Updated Tracking order status, You can "
1819
+ "reassign these orders to a different status"
1820
+ msgstr ""
1821
+ "Открихме% s поръчки, които използват статуса на актуализирано проследяване "
1822
+ "на поръчката. Можете да преназначите тези поръчки на различен статус"
1823
+
1824
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:873
1825
+ msgid "Wrong Shipping Provider"
1826
+ msgstr "Wrong Shipping Provider"
1827
 
1828
+ #: includes/views/admin_status_notifications.php:116
1829
+ msgid ""
1830
+ "You already have delivered order status email enabled, to enable this email "
1831
+ "you'll need to disable the delivered order status email in settings."
1832
+ msgstr ""
 
1833
 
1834
+ #: includes/views/admin_options_tools.php:14
1835
+ msgid ""
1836
+ "You can send all your orders from the last 30 days to get shipment status "
1837
+ "from TrackShip:"
1838
+ msgstr ""
1839
+ "Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
1840
+ "статус на пратката от TrackShip:"
1841
+
1842
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
1843
  msgid "You can upload only csv file."
1844
  msgstr "Можете да качите само csv файл."
1845
 
1846
+ #: includes/views/admin_options_shipping_provider.php:82
1847
+ #: includes/views/admin_options_shipping_provider.php:130
1848
  msgid ""
1849
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1850
  "URL, for more info, check our "
1852
  "Можете да използвате променливите% number%,% postal_code% и% country_code% в "
1853
  "URL адреса, за повече информация проверете нашата"
1854
 
1855
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
 
1856
  #, php-format
1857
  msgid "You did not create any %s shipping providers yet."
1858
  msgstr "Все още не сте създали доставчици на% s доставка."
1859
 
1860
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1788
1861
+ #: includes/views/admin_options_shipping_provider.php:45
1862
  #, php-format
1863
  msgid "You don't have any %s shipping providers."
1864
  msgstr "Нямате доставчици за доставки на% s."
1865
 
1866
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
1867
+ #, php-format
1868
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1869
+ msgstr ""
1870
+ "Получихте% s% s поръчки със статус на пратка „Проблем с връзката TrackShip“"
1871
+
1872
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
1873
+ #, php-format
1874
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1875
+ msgstr ""
1876
+ "Получихте% s% s поръчки със статус на пратка „Салдото на TrackShip е 0“"
1877
+
1878
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
1879
+ #, php-format
1880
+ msgid ""
1881
+ "You got %s %s orders with tracking info that were not sent to track on "
1882
+ "TrackShip"
1883
+ msgstr ""
1884
+ "Получихте% s% s поръчки с информация за проследяване, които не бяха "
1885
+ "изпратени за проследяване на TrackShip"
1886
+
1887
+ #: includes/views/admin_trackship_dashboard.php:13
1888
+ #, php-format
1889
+ msgid ""
1890
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1891
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1892
+ msgstr ""
1893
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1894
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1895
+
1896
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
1897
+ msgid ""
1898
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
1899
+ "for the tracking page to work."
1900
+ msgstr ""
1901
+ "Трябва да добавите шорткода [wcast-track-order] към избраната страница, за "
1902
+ "да работи страницата за проследяване."
1903
+
1904
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1905
+ msgid "Your order #{order_number} has been delivered"
1906
+ msgstr "Вашата поръчка № {order_number} е доставена"
1907
+
1908
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1909
+ msgid "Your order #{order_number} has returned to sender"
1910
+ msgstr ""
1911
+ "Вашата поръчка # {order_number} се върна на подателя\n"
1912
 
1913
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
1914
+ msgid "Your order #{order_number} is available for pickup"
1915
+ msgstr ""
1916
+ "Вашата поръчка # {order_number} е достъпна за приемане\n"
1917
+
1918
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1919
+ msgid "Your order #{order_number} is Failed Attempt"
1920
+ msgstr "Вашата поръчка № {order_number} е неуспешен опит"
1921
+
1922
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1923
+ msgid "Your order #{order_number} is in transit"
1924
+ msgstr ""
1925
+ "Вашата поръчка # {order_number} е в транзит\n"
1926
+
1927
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1928
+ msgid "Your order #{order_number} is on hold"
1929
+ msgstr "Вашата поръчка № {order_number} е задържана"
1930
+
1931
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1932
+ msgid "Your order #{order_number} is out for delivery"
1933
+ msgstr ""
1934
+ "Вашата поръчка # {order_number} е за доставка\n"
1935
+
1936
+ #: includes/customizer/class-wc-email-customizer.php:130
1937
+ #: includes/emails/class-shipment-delivered-email.php:94
1938
+ msgid "Your {site_title} order is now delivered"
1939
+ msgstr "Поръчката ви {site_title} вече е доставена"
1940
+
1941
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1942
  msgid "Your {site_title} order is now partially shipped"
1943
  msgstr "Поръчката ви {site_title} вече е частично доставена"
1944
 
1945
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1946
  msgid "Your {site_title} order is now updated tracking"
1947
  msgstr ""
1948
  "Поръчката ви {site_title} вече е актуализирана за проследяване\n"
 
 
 
 
lang/woo-advanced-shipment-tracking-da_DK.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-da_DK.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
- "Last-Translator: John Doe\n"
8
  "Language-Team: Danish\n"
9
  "Language: da_DK\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,528 +12,626 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
- #. %s: search WooCommerce plugin link
18
- #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "<a href=\"%s\" target=\"blank\"> dokumentation </a>"
22
 
23
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
 
 
 
 
 
 
24
  msgid "Actions"
25
  msgstr "Handlinger"
26
 
27
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
- msgid "Add API Name alias"
29
- msgstr "Tilføj alias til API -navn"
30
 
31
- #: includes/views/admin_options_shipping_provider.php:65
32
- msgid ""
33
- "Add API name aliases to map Shipping providers names with the provider names "
34
- "that are updated in the shipment tracking API by external shipping services"
35
  msgstr ""
36
- "Tilføj alias til API-navn for at kortlægge forsendelsesudbyders navne med "
37
- "udbydernavne, der opdateres i forsendelsessporings-API'en af ​​eksterne "
38
- "forsendelsestjenester"
39
 
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
 
 
 
 
 
42
  msgid "Add Custom Provider"
43
  msgstr "Add Custom Provider"
44
 
45
- #. Description of the plugin
46
- msgid ""
47
- "Add shipment tracking information to your WooCommerce orders and provide "
48
- "customers with an easy way to track their orders. Shipment tracking Info "
49
- "will appear in customers accounts (in the order panel) and in WooCommerce "
50
- "order complete email."
51
- msgstr ""
52
- "Føj oplysninger om forsendelsessporing til dine WooCommerce-ordrer, og giv "
53
- "kunderne en nem måde at spore deres ordrer på. Forsendelsessporingsinfo "
54
- "vises på kundekonti (i ordrepanelet) og i WooCommerce ordre komplet e-mail."
55
-
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:815
57
- msgid "add the [wcast-track-order] shortcode in the selected page."
58
- msgstr "tilføj kortkoden [wcast-track-order] på den valgte side."
59
 
60
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
61
  msgid "Add Tracking"
62
  msgstr "Tilføj sporing"
63
 
64
- #: includes/class-wc-advanced-shipment-tracking-settings.php:339
65
  msgid "Add Tracking - order\t"
66
  msgstr "Tilføj sporing - ordre"
67
 
68
- #: includes/class-wc-advanced-shipment-tracking.php:517
69
- msgid "Add Tracking Info"
70
- msgstr "Tilføj sporingsinfo"
71
-
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:605
73
- msgid ""
74
- "Add Tracking Information in AST meta fields when you automatically sync "
75
- "tracking numbers from aliexpress orders"
76
- msgstr ""
77
- "Tilføj sporingsoplysninger i AST -metafelter, når du automatisk "
78
- "synkroniserer sporingsnumre fra aliexpress -ordrer"
79
-
80
- #: includes/class-wc-advanced-shipment-tracking-admin.php:615
81
- msgid ""
82
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
83
- "& Packing Slips plugin By Ewout Fernhout"
84
- msgstr ""
85
- "Tilføj sporingsoplysninger i faktura PDF generer af WooCommerce PDF -"
86
- "fakturaer og pakkesedler plugin Af Ewout Fernhout"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:625
89
- msgid ""
90
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
91
- "plugin By Bas Elbers"
92
- msgstr ""
93
- "Tilføj sporingsoplysninger i faktura PDF genereret af WooCommerce PDF "
94
- "Invoices plugin Af Bas Elbers"
95
-
96
- #: includes/views/admin_options_settings.php:16
97
- msgid "Add Tracking Options"
98
- msgstr "Tilføj sporingsindstillinger"
99
-
100
- #: includes/class-wc-advanced-shipment-tracking-admin.php:933
101
- msgid "Add Tracking Order action"
102
- msgstr "Tilføj handling for sporingsordre"
103
-
104
- #: includes/class-wc-advanced-shipment-tracking-admin.php:585
105
- msgid ""
106
- "Adding tracking information to your orders shipped with 3plwinner and "
107
- "automate your workflow"
108
- msgstr ""
109
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med 3plwinner,"
110
- " og automatiser din arbejdsgang"
111
-
112
- #: includes/class-wc-advanced-shipment-tracking-admin.php:545
113
- msgid ""
114
- "Adding tracking information to your orders shipped with CustomCat and "
115
- "automate your workflow"
116
- msgstr ""
117
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med CustomCat,"
118
- " og automatiserer din arbejdsgang"
119
-
120
- #: includes/class-wc-advanced-shipment-tracking-admin.php:555
121
- msgid ""
122
- "Adding tracking information to your orders shipped with Dear Systems and "
123
- "automate your workflow"
124
- msgstr ""
125
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Dear "
126
- "Systems, og automatiserer din arbejdsgang"
127
-
128
- #: includes/class-wc-advanced-shipment-tracking-admin.php:595
129
- msgid ""
130
- "Adding tracking information to your orders shipped with Dianxiaomi and "
131
- "automate your workflow"
132
- msgstr ""
133
- "Tilføjelse af sporingsoplysninger til dine ordrer, der er sendt med "
134
- "Dianxiaomi, og automatiser din arbejdsgang"
135
-
136
- #: includes/class-wc-advanced-shipment-tracking-admin.php:575
137
- msgid ""
138
- "Adding tracking information to your orders shipped with Picqer and automate "
139
- "your workflow"
140
- msgstr ""
141
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Picqer, "
142
- "og automatiser din arbejdsgang"
143
-
144
- #: includes/class-wc-advanced-shipment-tracking-admin.php:565
145
- msgid ""
146
- "Adding tracking information to your orders shipped with Printify and "
147
- "automate your workflow"
148
- msgstr ""
149
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Printify, "
150
- "og automatiser din arbejdsgang"
151
-
152
- #: includes/class-wc-advanced-shipment-tracking-admin.php:515
153
- msgid ""
154
- "Adding tracking information to your orders shipped with QuickBooks Commerce "
155
- "and automate your workflow"
156
- msgstr ""
157
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
158
- "QuickBooks Commerce, og automatiserer din arbejdsgang"
159
-
160
- #: includes/class-wc-advanced-shipment-tracking-admin.php:525
161
- msgid ""
162
- "Adding tracking information to your orders shipped with ReadyToShip and "
163
- "automate your workflow"
164
  msgstr ""
165
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
166
- "ReadyToShip, og automatiserer din arbejdsgang"
167
 
168
- #: includes/class-wc-advanced-shipment-tracking-admin.php:535
169
- msgid ""
170
- "Adding tracking information to your orders shipped with Royal Mail Click & "
171
- "Drop and automate your workflow"
172
- msgstr ""
173
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Royal "
174
- "Mail Click & Drop, og automatiser din arbejdsgang"
175
-
176
- #: includes/class-wc-advanced-shipment-tracking-admin.php:475
177
- msgid ""
178
- "Adding tracking information to your orders shipped with ShipStation and "
179
- "automate your workflow"
180
- msgstr ""
181
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
182
- "ShipStation, og automatiser din arbejdsgang"
183
-
184
- #: includes/class-wc-advanced-shipment-tracking-admin.php:485
185
- msgid ""
186
- "Adding tracking information to your orders shipped with WooCommerce Shipping "
187
- "to the Shipment Tracking and automate your workflow"
188
- msgstr ""
189
- "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
190
- "WooCommerce Shipping til forsendelsessporingen, og automatiser din "
191
- "arbejdsgang"
192
-
193
- #: includes/class-wc-advanced-shipment-tracking-admin.php:505
194
- msgid ""
195
- "Adding tracking information to your orders when generating shipping labels "
196
- "using the Ordoro"
197
- msgstr ""
198
- "Tilføjelse af sporingsoplysninger til dine ordrer, når du genererer "
199
- "forsendelsesetiketter ved hjælp af Ordoro"
200
 
201
- #: includes/class-wc-advanced-shipment-tracking-admin.php:495
202
- msgid ""
203
- "Adding tracking information to your orders when generating shipping labels "
204
- "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
205
- "PluginHive"
206
- msgstr ""
207
- "Tilføjelse af sporingsoplysninger til dine ordrer, når du genererer "
208
- "forsendelsesetiketter ved hjælp af WooCommerce UPS Shipping Plugin med Print "
209
- "Label -plugin fra PluginHive"
210
 
211
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
212
  msgid "Additional text after header"
213
  msgstr "Yderligere tekst efter overskrift"
214
 
215
- #. Name of the plugin
216
- msgid "Advanced Shipment Tracking for WooCommerce"
217
- msgstr "Avanceret forsendelsessporing til WooCommerce"
 
218
 
219
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
220
  msgid "After Order Details"
221
  msgstr "Efter ordredetaljer"
222
 
223
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
224
- msgid "API aliases"
225
- msgstr "API-aliasser"
226
-
227
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
228
  msgid "API Date Format"
229
- msgstr "API -datoformat"
230
 
231
- #: includes/views/admin_options_shipping_provider.php:67
 
232
  msgid "API Name"
233
  msgstr "API-navn"
234
 
235
- #: includes/customizer/class-wc-tracking-info-customizer.php:333
236
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
237
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
238
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
239
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
240
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
241
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
242
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
243
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  msgid "Available variables:"
245
  msgstr "Tilgængelige variabler:"
246
 
247
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
248
  msgid "Before Order Details"
249
  msgstr "Før ordredetaljer"
250
 
251
- #: includes/customizer/class-wc-tracking-info-customizer.php:537
 
 
 
 
252
  msgid "Border color"
253
  msgstr ""
254
  "Border farve\n"
255
 
256
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
257
  msgid "Border size"
258
  msgstr ""
259
  "Border størrelse\n"
260
 
261
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
262
  msgid "Bottom border color"
263
  msgstr ""
264
  "Nederste kantfarve\n"
265
 
266
- #: includes/customizer/class-wc-tracking-info-customizer.php:968
 
 
 
 
267
  msgid "Button color"
268
- msgstr "Knapfarve"
269
 
270
- #: includes/customizer/class-wc-tracking-info-customizer.php:986
271
  msgid "Button font color"
272
- msgstr "Knappens skrifttypefarve"
273
 
274
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
275
  msgid "Cannot create existing order shipment tracking."
276
  msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
277
 
278
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  msgid "Change order status to"
280
  msgstr "Skift ordrestatus til"
281
 
282
- #: includes/class-wc-advanced-shipment-tracking-settings.php:299
283
  msgid "Change status to shipped"
284
  msgstr "Skift status til afsendt"
285
 
286
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
287
  msgid "Choose for which Order status to display"
288
- msgstr "Vælg hvilken ordrestatus der skal vises"
289
 
290
- #: includes/views/admin_options_bulk_upload.php:32
 
 
 
 
 
 
 
 
291
  msgid "Choose the Shipped Date format"
292
  msgstr "Vælg formatet Sendt dato"
293
 
294
- #: includes/class-wc-advanced-shipment-tracking.php:467
 
 
 
 
295
  msgid "Completed"
296
  msgstr "afsluttet"
297
 
298
- #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
 
299
  msgid "Content"
300
  msgstr "Indhold"
301
 
302
- #: includes/customizer/class-wc-tracking-info-customizer.php:807
303
  msgid "Content Background color"
304
- msgstr "Indhold Baggrundsfarve"
305
 
306
- #: includes/customizer/class-wc-tracking-info-customizer.php:370
307
- #: includes/customizer/class-wc-tracking-info-customizer.php:825
308
  msgid "Content font color"
309
  msgstr ""
310
  "Indhold font farve\n"
311
 
312
- #: includes/customizer/class-wc-tracking-info-customizer.php:351
313
- #: includes/customizer/class-wc-tracking-info-customizer.php:843
314
  msgid "Content font size"
315
  msgstr ""
316
  "Indholdsstørrelse\n"
317
 
318
- #: includes/customizer/class-wc-tracking-info-customizer.php:885
319
  msgid "Content font weight"
320
  msgstr ""
321
  "Indhold skrifttype vægt\n"
322
 
323
- #: includes/customizer/class-wc-tracking-info-customizer.php:862
324
  msgid "Content line height"
325
  msgstr ""
326
  "Indholdslinjehøjde\n"
327
 
328
- #: includes/views/admin_options_bulk_upload.php:55
329
  msgid "Continue"
330
  msgstr "Blive ved"
331
 
332
- #: includes/views/admin_options_shipping_provider.php:72
333
  msgid "Country"
334
  msgstr "Land"
335
 
336
- #: includes/class-wc-advanced-shipment-tracking-admin.php:381
337
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
338
- #: includes/views/admin_options_bulk_upload.php:8
 
339
  msgid "CSV Import"
340
  msgstr "CSV-import"
341
 
342
- #: includes/views/admin_options_shipping_provider.php:65
343
- msgid "Custom API name"
344
- msgstr "Brugerdefineret API-navn"
345
-
346
  #: includes/views/admin_options_shipping_provider.php:61
 
347
  msgid "Custom display name"
348
  msgstr "Brugerdefineret displaynavn"
349
 
350
- #: includes/customizer/class-wcast-customizer.php:44
351
- msgid "Custom order status email"
352
- msgstr "E-mail med brugerdefineret ordrestatus"
353
-
354
- #: includes/views/admin_options_shipping_provider.php:82
355
- msgid "Custom URL"
356
- msgstr "Brugerdefineret URL"
357
 
358
- #: includes/views/admin_options_settings.php:32
359
- msgid "Customer View"
360
- msgstr "Kundevisning"
361
 
362
- #: includes/class-wc-advanced-shipment-tracking-admin.php:712
363
- #: includes/class-wc-advanced-shipment-tracking-admin.php:832
364
- msgid "Customize"
365
- msgstr "Tilpas"
366
 
367
- #: includes/views/admin_options_osm.php:66
 
 
368
  msgid "Dark Font"
369
  msgstr ""
370
  "Mørk skrifttype\n"
371
 
372
- #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
 
 
373
  msgid "Data saved successfully."
374
  msgstr "Data gemt med succes."
375
 
376
- #: includes/class-wc-advanced-shipment-tracking.php:369
377
- #: includes/class-wc-advanced-shipment-tracking-settings.php:377
378
  msgid "Date shipped:"
379
  msgstr "Dato afsendt:"
380
 
381
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
382
- #| msgid "Default"
383
- msgid "default"
384
  msgstr "Standard"
385
 
386
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  msgid "Delivered"
388
  msgstr "leveres"
389
 
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  msgid "Display Name"
392
  msgstr "Visningsnavn"
393
 
394
- #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
 
 
 
 
 
 
 
395
  msgid "Display shipping provider image"
396
  msgstr ""
397
  "Vis forsendelsesudbyders billede\n"
398
 
399
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
400
  msgid "Display shipping provider name"
401
  msgstr ""
402
  "Vis forsendelsesudbyderens navn\n"
403
 
404
- #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405
  msgid "Download sample csv"
406
  msgstr "Download prøve csv"
407
 
408
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
409
- msgid "edit"
410
- msgstr "redigere"
411
-
412
- #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
413
  msgid "Edit Shipping Provider"
414
  msgstr "Rediger forsendelsesudbyder"
415
 
416
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
417
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
418
  msgid "Email content"
419
  msgstr "Email indhold"
420
 
421
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
422
- msgid "Email Type"
423
- msgstr "E-mail-type"
424
-
425
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
426
- msgid "Enable Partially Shipped order status email"
427
- msgstr "Aktivér delvis afsendt ordre-status-e-mail"
428
-
429
- #: includes/class-wc-advanced-shipment-tracking-admin.php:584
430
- msgid "Enable the 3plwinner integration"
431
- msgstr "Aktiver 3plwinner -integrationen"
 
 
 
 
 
 
 
 
 
432
 
433
- #: includes/class-wc-advanced-shipment-tracking-admin.php:604
434
- msgid "Enable the AliExpress Dropshipping integration"
435
- msgstr "Aktiver AliExpress Dropshipping -integration"
436
 
437
- #: includes/class-wc-advanced-shipment-tracking-admin.php:544
438
- msgid "Enable the CustomCat integration"
439
- msgstr "Aktiver CustomCat -integration"
 
440
 
441
- #: includes/class-wc-advanced-shipment-tracking-admin.php:554
442
- msgid "Enable the Dear Systems integration"
443
- msgstr "Aktiver integration af Dear Systems"
444
 
445
- #: includes/class-wc-advanced-shipment-tracking-admin.php:594
446
- msgid "Enable the Dianxiaomi integration"
447
- msgstr "Aktiver Dianxiaomi -integrationen"
448
 
449
- #: includes/class-wc-advanced-shipment-tracking-admin.php:504
450
- msgid "Enable the Ordoro tracking integration"
451
- msgstr "Aktiver Ordoro -sporingsintegrationen"
452
 
453
- #: includes/class-wc-advanced-shipment-tracking-admin.php:574
454
- msgid "Enable the Picqer integration"
455
- msgstr "Aktiver Picqer -integration"
456
 
457
- #: includes/class-wc-advanced-shipment-tracking-admin.php:564
458
- msgid "Enable the Printify integration"
459
- msgstr "Aktiver Printify -integrationen"
460
 
461
- #: includes/class-wc-advanced-shipment-tracking-admin.php:514
462
- msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
463
- msgstr "Aktiver integrationer af QuickBooks Commerce (tidligere TradeGecko)"
464
 
465
- #: includes/class-wc-advanced-shipment-tracking-admin.php:524
466
- msgid "Enable the ReadyToShip integration"
467
- msgstr "Aktiver ReadyToShip -integrationen"
468
 
469
- #: includes/class-wc-advanced-shipment-tracking-admin.php:534
470
- msgid "Enable the Royal Mail Click & Drop integration"
471
- msgstr "Aktiver integration af Royal Mail Click & Drop"
472
 
473
- #: includes/class-wc-advanced-shipment-tracking-admin.php:474
474
- msgid "Enable the ShipStation integration"
475
- msgstr "Aktiver ShipStation -integrationen"
 
476
 
477
- #: includes/class-wc-advanced-shipment-tracking-admin.php:484
478
- msgid "Enable the WC Shipping integration"
479
- msgstr "Aktiver integration af WC Shipping"
 
480
 
481
- #: includes/class-wc-advanced-shipment-tracking-admin.php:494
482
- msgid ""
483
- "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
484
- "integration"
485
  msgstr ""
486
- "Aktiver WooCommerce UPS Shipping Plugin med Print Label -plugin -integration"
487
 
488
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
489
- msgid "Enable Track button in orders history (actions)"
490
- msgstr "Aktivér Spor-knap i ordrehistorik (handlinger)"
 
 
 
 
491
 
492
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
493
- msgid "Enable Updated Tracking order status email"
494
- msgstr ""
495
- "Aktivér e-mail med opdateret sporingsordrestatus\n"
 
 
 
496
 
497
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
498
  msgid "Filter by shipping provider"
499
  msgstr "Filter by shipping provider"
500
 
501
- #: includes/class-wc-advanced-shipment-tracking-settings.php:388
502
- msgid "Fulfill Order"
503
- msgstr "Opfyld ordren"
 
 
504
 
505
- #: includes/class-wc-advanced-shipment-tracking-admin.php:425
506
- #: includes/class-wc-advanced-shipment-tracking-admin.php:429
507
  msgid "General Settings"
508
  msgstr "Generelle indstillinger"
509
 
510
- #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
511
  msgid "Global"
512
  msgstr "Global"
513
 
514
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
515
- msgid "Go Pro"
516
- msgstr "Bliv professionel"
517
-
518
- #: includes/customizer/class-wc-tracking-info-customizer.php:731
 
 
 
 
 
 
 
519
  msgid "Headers background color"
520
- msgstr "Overskrifter baggrundsfarve"
521
 
522
- #: includes/customizer/class-wc-tracking-info-customizer.php:749
523
  msgid "Headers font color"
524
  msgstr ""
525
  "Headers fontfarve\n"
526
 
527
- #: includes/customizer/class-wc-tracking-info-customizer.php:712
528
  msgid "Headers font size"
529
  msgstr ""
530
  "Headers skriftstørrelse\n"
531
 
532
- #: includes/customizer/class-wc-tracking-info-customizer.php:767
533
  msgid "Headers font weight"
534
- msgstr "Overskrifter fontvægt"
535
 
536
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
537
  msgid ""
538
  "Hi there. we thought you'd like to know that the shipment tracking for your "
539
  "recent order from {site_title} has been updated."
@@ -541,7 +639,16 @@ msgstr ""
541
  "Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
542
  "ordre fra {site_title} er blevet opdateret.\n"
543
 
544
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
 
545
  msgid ""
546
  "Hi there. we thought you'd like to know that your recent order from "
547
  "{site_title} has been partially shipped."
@@ -549,56 +656,133 @@ msgstr ""
549
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
550
  "delvist sendt.\n"
551
 
552
- #: includes/class-wc-advanced-shipment-tracking-settings.php:645
553
- #: includes/class-wc-advanced-shipment-tracking-settings.php:662
554
- #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
  msgid "hide details"
556
  msgstr "Gem detaljer"
557
 
558
- #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
559
  msgid "Hide Table Headers"
560
  msgstr ""
561
  "Skjul tabeloverskrifter\n"
562
 
563
- #: includes/customizer/class-wc-tracking-info-customizer.php:482
 
564
  #| msgid "Hide the ship date"
565
  msgid "Hide the shipped date"
566
- msgstr "Skjul den afsendte dato"
 
 
 
 
 
 
 
 
 
 
567
 
568
- #: includes/customizer/class-wc-tracking-info-customizer.php:203
569
  msgid "Hide Tracking Header"
570
  msgstr "Skjul sporingshoved"
571
 
572
- #: includes/views/admin_options_bulk_upload.php:118
573
- msgid "How to import tracking number from CSV files?"
574
- msgstr "Hvordan importeres sporingsnummer fra CSV-filer?"
575
-
576
- #. Author URI of the plugin
577
- msgid "https://www.zorem.com"
578
- msgstr "https://www.zorem.com"
579
 
580
- #. URI of the plugin
581
- msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
582
- msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
 
 
 
 
583
 
584
- #: includes/views/admin_options_bulk_upload.php:74
585
  msgid "Import in Progress"
586
  msgstr "Import i gang"
587
 
588
- #: includes/views/admin_options_trackship_integration.php:18
589
- msgid "Install TrackShip for WooCommerce"
590
- msgstr "Installer TrackShip til WooCommerce"
 
 
 
 
591
 
592
- #: includes/class-wc-advanced-shipment-tracking-admin.php:390
593
- #: includes/views/integrations_admin_options.php:3
594
- msgid "Integrations"
595
- msgstr "Integrationer"
596
 
597
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
598
  msgid "Invalid order ID."
599
  msgstr "Ugyldigt ordre-ID."
600
 
601
- #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
602
  msgid ""
603
  "Keep unchecked for the tracking info to be added to any existing tracking "
604
  "info added to the orders."
@@ -606,349 +790,593 @@ msgstr ""
606
  "Sørg for, at sporingsoplysningerne ikke føjes til eksisterende "
607
  "sporingsoplysninger, der føjes til ordrene."
608
 
609
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  msgid "License"
611
  msgstr "Licens"
612
 
613
- #: includes/views/admin_options_osm.php:65
 
 
614
  msgid "Light Font"
615
  msgstr ""
616
  "Let skrift\n"
617
 
618
- #: includes/class-wc-advanced-shipment-tracking.php:300
 
619
  msgid "Mark as Completed?"
620
  msgstr "Marker som afsluttet?"
621
 
622
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
623
  msgid "Mark as Shipped"
624
  msgstr "Marker som afsendt"
625
 
626
- #: includes/class-wc-advanced-shipment-tracking.php:297
 
627
  msgid "Mark as Shipped?"
628
  msgstr "Marker som sendt?"
629
 
630
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
631
  msgid "Mark order as delivered"
632
  msgstr "Marker ordre som leveret"
633
 
634
- #: includes/class-wc-advanced-shipment-tracking.php:492
 
635
  msgid "Mark order as:"
636
  msgstr "Marker ordre som:"
637
 
638
- #: includes/customizer/class-wcast-customizer.php:359
639
- msgid "Mockup Order"
640
- msgstr "Mockup-ordre"
641
-
642
- #: includes/class-wc-advanced-shipment-tracking-admin.php:816
643
- #: includes/views/integrations_admin_options.php:20
644
  msgid "more info"
645
  msgstr ""
646
  "mere info\n"
647
 
648
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
649
- msgid "Multiple API names mapping is a pro features"
650
- msgstr "Kortlægning af flere API-navne er en pro-funktion"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
651
 
652
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
653
- #| msgid "Open the track link in a new tab"
654
- msgid "Open the Track Button link in a new tab"
655
- msgstr "Åbn sporlinket i en ny fane"
656
 
657
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
658
- msgid "Order Emails Display"
659
- msgstr "Vis e-mail-ordre"
660
 
661
  #. %s: Order ID.
662
- #: templates/emails/wcast-email-order-details.php:55
663
  #, php-format
664
  msgid "Order number: %s"
665
  msgstr ""
666
  "Ordrenummer:% s\n"
667
 
668
- #: includes/class-wc-advanced-shipment-tracking-admin.php:434
669
- #: includes/class-wc-advanced-shipment-tracking-admin.php:438
670
- #: includes/views/admin_options_settings.php:64
671
- msgid "Order Statuses"
672
- msgstr "Bestil statusser"
673
 
674
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
675
- #: includes/class-wc-advanced-shipment-tracking.php:1193
676
- #: includes/class-wc-advanced-shipment-tracking.php:1269
677
  #, php-format
678
- #| msgid "Order was shipped with %s and tracking number is: %s"
679
- msgid "Order was shipped with %1$s and tracking number is: %2$s"
680
- msgstr "Ordren blev afsendt med %1 $ s og sporingsnummer er: %2 $ s"
 
 
 
681
 
682
- #: includes/class-wc-advanced-shipment-tracking-admin.php:808
683
  msgid "Other"
684
  msgstr "Andet"
685
 
686
- #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
687
  msgid "Partial Shipped"
688
  msgstr "Delvis afsendt"
689
 
690
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
691
- #: includes/class-wc-advanced-shipment-tracking-settings.php:129
692
- #: includes/class-wc-advanced-shipment-tracking-settings.php:161
693
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
694
  msgid "Partially Shipped"
695
  msgstr "Delvist afsendt"
696
 
697
- #. %s: replace with Partially Shipped Count
698
- #: includes/class-wc-advanced-shipment-tracking-settings.php:135
699
  #, php-format
700
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
701
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
702
  msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
703
  msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
704
 
705
- #: includes/class-wc-advanced-shipment-tracking-admin.php:614
706
- msgid ""
707
- "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
708
- "By Ewout Fernhout"
709
- msgstr ""
710
- "PDF -fakturaintegration til WooCommerce PDF -fakturaer og plugins til "
711
- "pluginsedler Af Ewout Fernhout"
712
 
713
- #: includes/class-wc-advanced-shipment-tracking-admin.php:624
714
- msgid ""
715
- "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
716
- msgstr ""
717
- "PDF faktura integration til WooCommerce PDF Invoices plugin Af Bas Elbers"
718
 
719
- #. %s: search WooCommerce plugin link
720
- #: woocommerce-advanced-shipment-tracking.php:181
721
  #, php-format
722
  msgid ""
723
- "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
724
- "Tracking for WooCommerce!"
725
  msgstr ""
726
- "Installer og aktiver% 1 $ sWooCommerce% 2 $ s til avanceret "
727
- "forsendelsessporing til WooCommerce!"
728
 
729
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
730
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
731
  msgid "Please select order to preview."
732
  msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
733
 
734
- #: includes/class-wc-advanced-shipment-tracking-admin.php:177
735
  msgid "Please upload a valid CSV file."
736
  msgstr "Upload en gyldig CSV-fil."
737
 
738
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
739
  msgid "Preview:"
740
  msgstr "Eksempel:"
741
 
742
- #: includes/class-wc-advanced-shipment-tracking.php:361
743
- #: includes/class-wc-advanced-shipment-tracking-settings.php:373
744
  msgid "Product Code:"
745
  msgstr "Produktkode:"
746
 
747
- #: includes/customizer/class-wc-tracking-info-customizer.php:141
748
- #: includes/customizer/class-wc-tracking-info-customizer.php:648
749
- #: templates/emails/tracking-info.php:216
750
- #: templates/myaccount/tracking-info.php:192
 
751
  msgid "Provider"
752
  msgstr "Fragtfirma"
753
 
754
- #: includes/views/admin_options_shipping_provider.php:57
755
- #: templates/emails/tracking-info.php:222
756
- #: templates/myaccount/tracking-info.php:198
757
  msgid "Provider Name"
758
  msgstr "Udbyderens navn"
759
 
760
- #: includes/views/admin_options_shipping_provider.php:116
761
  msgid "Providers Added"
762
  msgstr "Udbydere tilføjet"
763
 
764
- #: includes/views/admin_options_shipping_provider.php:118
765
  msgid "Providers Deleted"
766
  msgstr "Udbydere er slettet"
767
 
768
- #: includes/views/admin_options_shipping_provider.php:117
769
  msgid "Providers Updated"
770
  msgstr "Udbydere opdateret"
771
 
772
- #: includes/class-wc-advanced-shipment-tracking-admin.php:174
773
  msgid "Really delete this entry? This will not be undo."
774
  msgstr "Vil du virkelig slette denne post? Dette fortrydes ikke."
775
 
776
- #: includes/views/admin_options_osm.php:14
 
 
 
 
 
777
  msgid "Rename the “Completed” Order status label to “Shipped”"
778
- msgstr "Omdøb ordren \"Afsluttet\" ordrestatus til \"Sendt\""
779
 
780
- #: includes/views/admin_options_bulk_upload.php:46
781
  msgid "Replace tracking information?"
782
  msgstr "Erstat sporingsoplysninger?"
783
 
784
- #: includes/views/admin_options_shipping_provider.php:100
 
 
 
 
785
  msgid "Reset"
786
  msgstr "Nulstil"
787
 
788
- #: includes/views/admin_options_shipping_provider.php:122
789
  msgid ""
790
  "Reset providers database, it will reset all your shipping provider database"
791
  msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
792
 
793
- #: includes/views/admin_options_settings.php:19
794
- #: includes/views/admin_options_settings.php:35
795
- #: includes/views/admin_options_settings.php:51
796
- #: includes/views/admin_options_settings.php:67
797
- msgid "Save & Close"
798
- msgstr "Gem & Luk"
 
 
 
 
 
 
799
 
800
- #: includes/class-wc-advanced-shipment-tracking.php:384
 
 
 
 
 
 
 
 
801
  msgid "Save Tracking"
802
  msgstr "Gem sporing"
803
 
804
- #: includes/views/admin_options_shipping_provider.php:27
805
  msgid "Search by provider / country"
806
  msgstr "Søg efter udbyder / land"
807
 
808
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
809
- msgid "Select email type"
810
- msgstr "Vælg e-mail-type"
 
 
 
 
 
 
 
 
 
 
811
 
812
- #: includes/class-wc-advanced-shipment-tracking.php:323
813
  msgid "Select Provider"
814
  msgstr "Vælg Udbyder"
815
 
816
- #: includes/customizer/class-wc-tracking-info-customizer.php:259
817
  msgid "Select Template"
818
  msgstr ""
819
  "Vælg skabelon\n"
820
 
821
- #: includes/views/admin_options_osm.php:74
 
 
 
 
 
 
 
 
822
  msgid "Send Email"
823
  msgstr ""
824
  "Send e-mail\n"
825
 
826
- #: includes/class-wc-advanced-shipment-tracking-admin.php:927
827
  msgid ""
828
  "Set the \"mark as shipped\" option checked when adding tracking info to "
829
  "orders"
830
  msgstr ""
831
- "Indstil indstillingen \"mærke som afsendt\", når du tilføjer "
832
- "sporingsinformation til ordrer"
833
 
834
- #: includes/class-wc-advanced-shipment-tracking-admin.php:352
835
- #: includes/class-wc-advanced-shipment-tracking-admin.php:356
836
- #: includes/views/admin_options_settings.php:9
837
  msgid "Settings"
838
- msgstr "Indstillinger"
839
 
840
- #: includes/views/admin_options_bulk_upload.php:57
841
  msgid "Settings Saved."
842
  msgstr "Indstillinger gemt."
843
 
844
- #. %s: replace with status
845
- #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
846
  #, php-format
847
  msgid "Shipment status changed to %s"
848
  msgstr "Forsendelsesstatus ændret til% s"
849
 
850
- #: includes/class-wc-advanced-shipment-tracking-admin.php:189
851
- #: includes/class-wc-advanced-shipment-tracking.php:138
852
- #: includes/class-wc-advanced-shipment-tracking.php:219
 
 
 
 
 
 
 
 
 
 
853
  msgid "Shipment Tracking"
854
  msgstr "Forsendelsessporing"
855
 
856
- #: includes/views/admin_options_settings.php:48
857
- msgid "Shipment Tracking API"
858
- msgstr "API til forsendelsessporing"
859
-
860
- #: includes/class-wc-advanced-shipment-tracking-admin.php:849
861
- #: includes/class-wc-advanced-shipment-tracking-admin.php:945
862
- #: includes/class-wc-advanced-shipment-tracking.php:467
863
- #: includes/class-wc-advanced-shipment-tracking-settings.php:263
864
  msgid "Shipped"
865
  msgstr "afsendt"
866
 
867
- #. %s: replace with shipped order count
868
- #: includes/class-wc-advanced-shipment-tracking-settings.php:283
869
  #, php-format
870
  msgid "Shipped <span class=\"count\">(%s)</span>"
871
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
872
  msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
873
  msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
874
 
875
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
876
- #: includes/customizer/class-wc-tracking-info-customizer.php:695
877
  msgid "Shipped Date"
878
  msgstr ""
879
  "Afsendt dato\n"
880
 
881
- #: includes/customizer/class-wc-tracking-info-customizer.php:688
 
882
  #| msgid "Ship date header text"
883
  msgid "Shipped date header text"
884
- msgstr "Sendt datooverskriftstekst"
 
885
 
886
  #. 1: shipping date
887
- #: includes/class-wc-advanced-shipment-tracking.php:255
888
  #, php-format
889
  msgid "Shipped on %s"
890
  msgstr "Sendes på% s"
891
 
892
- #: includes/customizer/class-wc-tracking-info-customizer.php:151
893
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
894
  msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
895
 
896
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
897
  msgid "Shipped Order"
898
  msgstr "Afsendt ordre"
899
 
900
- #: includes/views/admin_options_shipping_provider.php:74
 
901
  msgid "Shipping Country"
902
  msgstr "Forsendelsesland"
903
 
904
  #: includes/views/admin_options_shipping_provider.php:58
 
905
  msgid "Shipping Provider"
906
  msgstr "Forsendelsesudbyder"
907
 
908
- #: includes/customizer/class-wc-tracking-info-customizer.php:641
909
  msgid "Shipping provider header text"
910
- msgstr "Forsendelsesudbyderens overskriftstekst"
911
 
912
- #: includes/class-wc-advanced-shipment-tracking.php:321
913
- #: includes/class-wc-advanced-shipment-tracking-settings.php:350
914
- #: includes/class-wc-advanced-shipment-tracking-settings.php:352
915
  msgid "Shipping Provider:"
916
  msgstr "Forsendelse:"
917
 
918
- #: includes/class-wc-advanced-shipment-tracking-admin.php:372
919
- #: includes/class-wc-advanced-shipment-tracking-admin.php:376
920
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
921
  msgid "Shipping Providers"
922
  msgstr "Forsendelsesudbydere"
923
 
924
- #: includes/views/admin_options_shipping_provider.php:22
925
- msgid "Shipping Providers & Carriers"
926
- msgstr "Forsendelsesudbydere og transportører"
927
-
928
- #: includes/views/admin_options_shipping_provider.php:120
929
  msgid "Shipping providers database reset successfully."
930
  msgstr "Forsendelsesdatabase nulstilles med succes."
931
 
932
- #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
 
 
 
 
 
 
 
933
  msgid "Show bottom border"
934
  msgstr ""
935
  "Vis nederste kant\n"
936
 
937
- #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
938
  msgid "Simple Layout Design"
939
  msgstr ""
940
  "Simpelt layoutdesign\n"
941
 
942
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
943
  msgid "Special character not allowd in tracking number"
944
  msgstr "Specialtegn er ikke tilladt i sporingsnummer"
945
 
946
- #: includes/views/admin_options_shipping_provider.php:110
947
- #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
 
 
 
 
 
948
  msgid "Sync Shipping Providers"
949
  msgstr "Synkroniseringsforsendelser"
950
 
951
- #: includes/views/admin_options_shipping_provider.php:114
952
  msgid ""
953
  "Syncing the shipping providers list add or updates the pre-set shipping "
954
  "providers and will not effect custom shipping providers."
@@ -957,163 +1385,351 @@ msgstr ""
957
  "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
958
  "forsendelsesleverandører."
959
 
960
- #: includes/customizer/class-wc-tracking-info-customizer.php:790
961
  msgid "Table Content"
962
  msgstr "Table Content"
963
 
964
- #: includes/customizer/class-wc-tracking-info-customizer.php:520
965
  msgid "Table Design Options"
966
- msgstr "Indstillinger for borddesign"
967
 
968
- #: includes/customizer/class-wc-tracking-info-customizer.php:605
 
969
  #| msgid "Table Headers"
970
  msgid "Table Header"
971
- msgstr "Overskrift på bordet"
 
972
 
973
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
974
  msgid "Table Layout"
975
  msgstr ""
976
  "Tabellayout\n"
977
 
978
- #: includes/customizer/class-wc-tracking-info-customizer.php:427
 
 
 
 
979
  msgid "Table Options"
980
- msgstr "Tabelindstillinger"
981
 
982
- #: includes/customizer/class-wc-tracking-info-customizer.php:581
983
  msgid "Text align"
984
- msgstr "Tekstjustering"
985
 
986
- #: includes/views/admin_options_shipping_provider.php:61
 
987
  msgid ""
988
- "The custom display name will show in the tracking info section on the "
989
- "customer order emails, my-account, and TrackShip's tracking page and email "
990
- "notifications"
991
  msgstr ""
992
- "Det brugerdefinerede displaynavn vises i afsnittet om sporingsinfo "
993
- "kundeordre-e-mails, min konto og TrackShip's sporingsside og e-mail-"
994
- "underretninger"
995
 
996
- #: includes/class-wc-advanced-shipment-tracking-settings.php:627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
997
  msgid "There are some issue with sync, Please Retry."
998
  msgstr "Der er nogle problemer med synkronisering, prøv igen."
999
 
1000
- #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1001
  msgid "This browser does not support HTML5."
1002
  msgstr "Denne browser understøtter ikke HTML5."
1003
 
1004
- #: includes/class-wc-advanced-shipment-tracking.php:784
1005
- #: includes/class-wc-advanced-shipment-tracking.php:817
1006
- #: includes/class-wc-advanced-shipment-tracking.php:835
1007
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1008
- #: includes/customizer/class-wc-tracking-info-customizer.php:951
1009
- #: templates/emails/tracking-info.php:264
1010
- #: templates/myaccount/tracking-info.php:244
1011
- #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1012
  msgid "Track"
1013
  msgstr "Spor pakke"
1014
 
1015
- #: includes/customizer/class-wc-tracking-info-customizer.php:908
1016
  msgid "Track Button"
1017
- msgstr "Spor-knap"
1018
-
1019
- #: includes/customizer/class-wc-tracking-info-customizer.php:925
1020
- msgid "Track Header"
1021
- msgstr "Spor header"
1022
 
1023
- #: includes/customizer/class-wc-tracking-info-customizer.php:944
1024
  msgid "Track header text"
1025
  msgstr ""
1026
  "Spor overskriftstekst\n"
1027
 
1028
- #: includes/class-wc-advanced-shipment-tracking.php:242
1029
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
1030
  msgid "Track Shipment"
1031
  msgstr "Spor forsendelse"
1032
 
1033
- #: includes/customizer/class-wc-tracking-info-customizer.php:274
1034
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1035
  msgid "Tracking display layout"
1036
  msgstr "Sporing af displaylayout"
1037
 
1038
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
1039
  msgid "Tracking Display Position"
1040
  msgstr "Sporing af skærmposition"
1041
 
1042
- #: includes/customizer/class-wc-tracking-info-customizer.php:221
1043
  msgid "Tracking Header text"
1044
  msgstr ""
1045
  "Sporing af overskriftstekst\n"
1046
 
1047
- #: includes/customizer/class-wcast-customizer.php:37
 
1048
  msgid "Tracking info display"
1049
  msgstr ""
1050
  "Tracking info display\n"
1051
 
1052
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1053
- #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
1054
  #, php-format
1055
- #| msgid ""
1056
- #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1057
  msgid ""
1058
- "Tracking info was deleted for tracking provider %1$s with tracking number "
1059
- "%2$s"
1060
- msgstr ""
1061
- "Sporingsoplysninger blev slettet for sporingsudbyder %1 $ s med "
1062
- "sporingsnummer %2 $ s"
1063
 
1064
- #: includes/customizer/class-wc-tracking-info-customizer.php:228
1065
  msgid "Tracking Information"
1066
  msgstr "Sporing Oplysninger"
1067
 
1068
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1069
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
1070
- #: templates/emails/tracking-info.php:235
1071
- #: templates/myaccount/tracking-info.php:213
 
 
 
 
1072
  msgid "Tracking Number"
1073
  msgstr "Tracking nummer"
1074
 
1075
- #: includes/customizer/class-wc-tracking-info-customizer.php:665
 
1076
  #| msgid "Tracking Number header text"
1077
  msgid "Tracking number header text"
1078
- msgstr "Tracking nummer overskrift tekst"
 
1079
 
1080
- #: includes/class-wc-advanced-shipment-tracking.php:317
1081
- #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1082
  msgid "Tracking number:"
1083
  msgstr "Tracking nummer:"
1084
 
1085
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1086
  msgid "TrackShip"
1087
  msgstr "TrackShip"
1088
 
1089
- #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  msgid "Update"
1091
  msgstr "Opdatering"
1092
 
1093
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1094
- #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1095
- #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1096
- #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1097
  msgid "Updated Tracking"
1098
  msgstr "Opdateret sporing"
1099
 
1100
- #. %s: replace with Updated Tracking Count
1101
- #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1102
  #, php-format
1103
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1104
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1105
  msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1106
  msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1107
 
1108
- #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1109
  msgid "Upload a CSV file from your computer:"
1110
  msgstr "Upload en CSV-fil fra din computer:"
1111
 
1112
- #: includes/views/admin_options_bulk_upload.php:107
1113
  msgid "Upload again"
1114
  msgstr "Upload igen"
1115
 
1116
- #: includes/views/admin_options_bulk_upload.php:9
 
 
 
 
 
 
 
 
1117
  msgid ""
1118
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1119
  "file"
@@ -1121,23 +1737,44 @@ msgstr ""
1121
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1122
  "file"
1123
 
1124
- #: includes/customizer/class-wc-tracking-info-customizer.php:501
 
 
 
 
1125
  msgid "Use tracking number as a link"
1126
  msgstr "Brug sporingsnummer som et link"
1127
 
1128
- #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1129
- #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1130
- #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1131
- #: includes/views/admin_options_bulk_upload.php:85
1132
  msgid "view details"
1133
  msgstr "view details"
1134
 
1135
- #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
1136
  msgid "View Orders"
1137
  msgstr "Se ordrer"
1138
 
1139
- #. %s: replace with Partially Shipped order count
1140
- #: woocommerce-advanced-shipment-tracking.php:502
 
 
 
 
 
 
 
 
 
 
 
 
 
1141
  #, php-format
1142
  msgid ""
1143
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1146,23 +1783,39 @@ msgstr ""
1146
  "Vi har registreret% s ordrer, der bruger ordren Delvist afsendt. Du kan "
1147
  "tildele disse ordrer til en anden status"
1148
 
1149
- #: includes/views/admin_options_shipping_provider.php:62
1150
- msgid "White Label Provider Name"
1151
- msgstr "White Label-udbyderens navn"
 
 
 
 
 
 
 
 
 
1152
 
1153
- #: includes/class-wc-advanced-shipment-tracking.php:370
1154
- #: includes/class-wc-advanced-shipment-tracking.php:373
1155
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1156
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1157
- msgid "Y-m-d"
1158
- msgstr "Y-m-d"
1159
 
1160
- #: includes/class-wc-advanced-shipment-tracking-admin.php:175
 
 
 
 
 
 
 
 
1161
  msgid "You can upload only csv file."
1162
  msgstr "Du kan kun uploade csv-fil."
1163
 
1164
- #. %s: search WooCommerce plugin link
1165
- #: includes/views/admin_options_shipping_provider.php:89
1166
  msgid ""
1167
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1168
  "URL, for more info, check our "
@@ -1170,31 +1823,96 @@ msgstr ""
1170
  "Du kan bruge variablerne% number%,% postal_code% og% country_code% i URL'en, "
1171
  "for mere info, se vores"
1172
 
1173
- #. %s: replace with status
1174
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1175
  #, php-format
1176
  msgid "You did not create any %s shipping providers yet."
1177
  msgstr "Du har ikke oprettet nogen% s forsendelsesudbydere endnu."
1178
 
1179
- #. %s: replace with status
1180
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1181
  #, php-format
1182
  msgid "You don't have any %s shipping providers."
1183
  msgstr "Du har ikke% s forsendelsesudbydere."
1184
 
1185
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1186
- msgid "Your Order is Partially Shipped"
1187
- msgstr "Din ordre er delvist afsendt"
 
 
 
 
 
 
 
1188
 
1189
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1190
  msgid "Your {site_title} order is now partially shipped"
1191
  msgstr "Din {site_title} ordre er nu delvist sendt"
1192
 
1193
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1194
  msgid "Your {site_title} order is now updated tracking"
1195
  msgstr ""
1196
  "Din {site_title} ordre er nu opdateret sporing\n"
1197
-
1198
- #. Author of the plugin
1199
- msgid "zorem"
1200
- msgstr "zorem"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2020-11-24 10:48+0000\n"
7
+ "Last-Translator: John\n"
8
  "Language-Team: Danish\n"
9
  "Language: da_DK\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.4.4; wp-5.5.3"
16
 
17
+ #: includes/views/admin_options_shipping_provider.php:82
18
+ #: includes/views/admin_options_shipping_provider.php:130
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "<a href=\"%s\" target=\"blank\"> dokumentation </a>"
22
 
23
+ #: includes/views/admin_options_addons.php:132
24
+ #: includes/views/trackship_sidebar.php:14
25
+ msgid "Account Dashboard"
26
+ msgstr "Kontoudashboard"
27
+
28
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1627
29
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1705
30
  msgid "Actions"
31
  msgstr "Handlinger"
32
 
33
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1628
34
+ msgid "Active"
35
+ msgstr "Aktiv"
36
 
37
+ #: includes/views/admin_options_shipping_provider.php:22
38
+ msgid "Active Providers"
 
 
39
  msgstr ""
 
 
 
40
 
41
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
42
+ #: includes/views/admin_tracking_page_settings.php:71
43
+ msgid "Add a link to the Shipping provider page"
44
+ msgstr "Vælg farve for indholdsramme til sporingsside"
45
+
46
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1786
48
  msgid "Add Custom Provider"
49
  msgstr "Add Custom Provider"
50
 
51
+ #: includes/views/admin_options_shipping_provider.php:51
52
+ msgid "Add Custom Shipping Provider"
53
+ msgstr "Tilføj Tilpasset forsendelsesleverandør"
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1531
56
  msgid "Add Tracking"
57
  msgstr "Tilføj sporing"
58
 
59
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
60
  msgid "Add Tracking - order\t"
61
  msgstr "Tilføj sporing - ordre"
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:924
64
+ msgid "Add Tracking action "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  msgstr ""
 
 
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking.php:328
68
+ msgid "Add Tracking Info"
69
+ msgstr "Tilføj sporingsinfo"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
73
+ #: includes/views/admin_options_addons.php:108
74
+ #: includes/views/admin_options_addons.php:114
75
+ msgid "Add-ons"
76
+ msgstr "Tilføjelser"
 
 
 
77
 
78
+ #: includes/customizer/class-wc-tracking-info-customizer.php:273
79
  msgid "Additional text after header"
80
  msgstr "Yderligere tekst efter overskrift"
81
 
82
+ #: includes/customizer/class-wcast-customizer.php:58
83
+ #: includes/views/admin_status_notifications.php:141
84
+ msgid "Admin Notifications"
85
+ msgstr "Adminmeddelelser"
86
 
87
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
88
  msgid "After Order Details"
89
  msgstr "Efter ordredetaljer"
90
 
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:949
 
 
 
 
92
  msgid "API Date Format"
93
+ msgstr "API-datoformat"
94
 
95
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1623
96
+ #: includes/views/admin_options_shipping_provider.php:109
97
  msgid "API Name"
98
  msgstr "API-navn"
99
 
100
+ #: includes/views/admin_status_notifications.php:230
101
+ msgid "As it Happens"
102
+ msgstr "Som det sker"
103
+
104
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
105
+ msgid ""
106
+ "Automatically set the Order Status to Delivered when the shipment is "
107
+ "delivered "
108
+ msgstr ""
109
+ "Indstil automatisk ordrestatus til leveret, når forsendelsen er leveret"
110
+
111
+ #: includes/views/admin_trackship_dashboard.php:33
112
+ msgid "Automation"
113
+ msgstr "Automatisering"
114
+
115
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
116
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
117
+ #: includes/customizer/class-wcast-customizer.php:172
118
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
119
+ #: includes/views/admin_status_notifications.php:82
120
+ msgid "Available For Pickup"
121
+ msgstr ""
122
+ "Klar til afhentning\n"
123
+
124
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
125
+ msgid "Available For Pickup email"
126
+ msgstr "Tilgængelig til afhentnings-e-mail"
127
+
128
+ #. %s: list of placeholders
129
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
130
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
131
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
132
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
133
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
134
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
135
+ #: includes/customizer/class-wc-email-customizer.php:243
136
+ #: includes/customizer/class-wc-email-customizer.php:266
137
+ #: includes/customizer/class-wc-email-customizer.php:309
138
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
139
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
140
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
141
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
142
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
143
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
144
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
145
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
146
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
147
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
148
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
149
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
150
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
151
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
152
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
153
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
154
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
155
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
156
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
157
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
158
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
159
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
160
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
161
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
162
+ #: includes/emails/class-shipment-delivered-email.php:274
163
+ #: includes/emails/class-shipment-delivered-email.php:283
164
+ #: includes/views/admin_status_notifications.php:212
165
  msgid "Available variables:"
166
  msgstr "Tilgængelige variabler:"
167
 
168
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
169
  msgid "Before Order Details"
170
  msgstr "Før ordredetaljer"
171
 
172
+ #: includes/customizer/class-wc-tracking-info-customizer.php:994
173
+ msgid "Border"
174
+ msgstr "Grænse"
175
+
176
+ #: includes/customizer/class-wc-tracking-info-customizer.php:549
177
  msgid "Border color"
178
  msgstr ""
179
  "Border farve\n"
180
 
181
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
182
  msgid "Border size"
183
  msgstr ""
184
  "Border størrelse\n"
185
 
186
+ #: includes/customizer/class-wc-tracking-info-customizer.php:426
187
  msgid "Bottom border color"
188
  msgstr ""
189
  "Nederste kantfarve\n"
190
 
191
+ #: includes/views/admin_options_shipping_provider.php:23
192
+ msgid "Browse Providers"
193
+ msgstr ""
194
+
195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:960
196
  msgid "Button color"
197
+ msgstr ""
198
 
199
+ #: includes/customizer/class-wc-tracking-info-customizer.php:977
200
  msgid "Button font color"
201
+ msgstr ""
202
 
203
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
204
  msgid "Cannot create existing order shipment tracking."
205
  msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
206
 
207
+ #: includes/views/admin_status_notifications.php:130
208
+ msgid "Carrier attempted to deliver the package but failed."
209
+ msgstr "Luftfartsselskab forsøgte at levere pakken, men mislykkedes."
210
+
211
+ #: includes/views/admin_status_notifications.php:97
212
+ msgid "Carrier is about to deliver the shipment."
213
+ msgstr "Carrier er ved at levere forsendelsen."
214
+
215
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
216
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
217
+ msgid "Carrier Unsupported"
218
+ msgstr "Transportør understøttes ikke"
219
+
220
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1567
221
  msgid "Change order status to"
222
  msgstr "Skift ordrestatus til"
223
 
224
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
225
  msgid "Change status to shipped"
226
  msgstr "Skift status til afsendt"
227
 
228
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:950
229
  msgid "Choose for which Order status to display"
230
+ msgstr ""
231
 
232
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:925
233
+ msgid "Choose for which Order status to display Add Tracking action button"
234
+ msgstr ""
235
+
236
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:917
237
+ msgid "Choose on which order emails to include the shipment tracking info"
238
+ msgstr ""
239
+
240
+ #: includes/views/admin_options_bulk_upload.php:34
241
  msgid "Choose the Shipped Date format"
242
  msgstr "Vælg formatet Sendt dato"
243
 
244
+ #: includes/emails/class-shipment-delivered-email.php:298
245
+ msgid "Click Here"
246
+ msgstr "Klik her"
247
+
248
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
249
  msgid "Completed"
250
  msgstr "afsluttet"
251
 
252
+ #: includes/customizer/class-wcast-customizer.php:118
253
+ msgid "Completed order status email"
254
+ msgstr "Fuldført e-mail med ordrestatus"
255
+
256
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:527
257
+ #: includes/views/trackship_sidebar.php:13
258
+ msgid "Connected"
259
+ msgstr ""
260
+ "forbundet\n"
261
+
262
+ #: includes/customizer/class-wc-tracking-info-customizer.php:336
263
  msgid "Content"
264
  msgstr "Indhold"
265
 
266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
267
  msgid "Content Background color"
268
+ msgstr ""
269
 
270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:391
271
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
272
  msgid "Content font color"
273
  msgstr ""
274
  "Indhold font farve\n"
275
 
276
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
277
+ #: includes/customizer/class-wc-tracking-info-customizer.php:881
278
  msgid "Content font size"
279
  msgstr ""
280
  "Indholdsstørrelse\n"
281
 
282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:921
283
  msgid "Content font weight"
284
  msgstr ""
285
  "Indhold skrifttype vægt\n"
286
 
287
+ #: includes/customizer/class-wc-tracking-info-customizer.php:899
288
  msgid "Content line height"
289
  msgstr ""
290
  "Indholdslinjehøjde\n"
291
 
292
+ #: includes/views/admin_options_bulk_upload.php:57
293
  msgid "Continue"
294
  msgstr "Blive ved"
295
 
296
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1624
297
  msgid "Country"
298
  msgstr "Land"
299
 
300
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
301
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
303
+ #: includes/views/admin_options_bulk_upload.php:11
304
  msgid "CSV Import"
305
  msgstr "CSV-import"
306
 
 
 
 
 
307
  #: includes/views/admin_options_shipping_provider.php:61
308
+ #: includes/views/admin_options_shipping_provider.php:106
309
  msgid "Custom display name"
310
  msgstr "Brugerdefineret displaynavn"
311
 
312
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
313
+ #: includes/views/admin_options_settings.php:46
314
+ msgid "Custom Order Statuses"
315
+ msgstr "Brugerdefinerede ordrestatusser"
 
 
 
316
 
317
+ #: includes/views/admin_options_shipping_provider.php:24
318
+ msgid "Custom Providers"
319
+ msgstr ""
320
 
321
+ #: includes/views/admin_status_notifications.php:234
322
+ msgid "Daily Digest on"
323
+ msgstr "Daglig fordøjelse"
 
324
 
325
+ #: includes/views/admin_options_osm.php:37
326
+ #: includes/views/admin_options_osm.php:80
327
+ #: includes/views/admin_options_osm.php:120
328
  msgid "Dark Font"
329
  msgstr ""
330
  "Mørk skrifttype\n"
331
 
332
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
333
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
334
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
335
+ msgid "data not available."
336
+ msgstr "data ikke tilgængelige."
337
+
338
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
339
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
342
  msgid "Data saved successfully."
343
  msgstr "Data gemt med succes."
344
 
345
+ #: includes/class-wc-advanced-shipment-tracking.php:383
346
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
347
  msgid "Date shipped:"
348
  msgstr "Dato afsendt:"
349
 
350
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1625
351
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1704
352
+ msgid "Default"
353
  msgstr "Standard"
354
 
355
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
356
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
357
+ msgstr ""
358
+ "Standard \"markér som <span class =\" shipped_label \"> afsluttet </span>\""
359
+
360
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
361
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
362
+ msgstr "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
363
+
364
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
365
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
366
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
367
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
368
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1555
369
+ #: includes/customizer/class-wcast-customizer.php:187
370
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
371
+ #: includes/views/admin_status_notifications.php:112
372
+ #: includes/views/admin_options_osm.php:17
373
  msgid "Delivered"
374
  msgstr "leveres"
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
377
+ #, php-format
378
+ msgid "Delivered <span class=\"count\">(%s)</span>"
379
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
380
+ msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
381
+ msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
382
+
383
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
384
+ msgid "Delivered email"
385
+ msgstr "Leveret e-mail"
386
+
387
+ #: includes/emails/class-shipment-delivered-email.php:32
388
+ msgid "Delivered order"
389
+ msgstr "Leveret ordre"
390
+
391
+ #: includes/customizer/class-wcast-customizer.php:111
392
+ #: includes/customizer/class-wc-email-customizer.php:163
393
+ msgid "Delivered order status email"
394
+ msgstr ""
395
+ "Leveret ordre status email\n"
396
+
397
+ #: includes/views/front/layout1_tracking_details.php:8
398
+ msgid "Destination Details"
399
+ msgstr "Destinationsoplysninger"
400
+
401
+ #: includes/customizer/class-wc-email-customizer.php:379
402
+ msgid "Display Billing Address"
403
+ msgstr "Vis faktureringsadresse"
404
+
405
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
406
  msgid "Display Name"
407
  msgstr "Visningsnavn"
408
 
409
+ #: includes/customizer/class-wc-email-customizer.php:343
410
+ msgid "Display order details"
411
+ msgstr "Vis ordredetaljer"
412
+
413
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
414
+ msgid "Display Shipment Status Filter on Orders admin"
415
+ msgstr "Display Shipment Status Filter on Orders admin"
416
+
417
+ #: includes/customizer/class-wc-email-customizer.php:361
418
+ msgid "Display Shipping Address"
419
+ msgstr "Vis forsendelsesadresse"
420
+
421
+ #: includes/customizer/class-wc-tracking-info-customizer.php:479
422
  msgid "Display shipping provider image"
423
  msgstr ""
424
  "Vis forsendelsesudbyders billede\n"
425
 
426
+ #: includes/customizer/class-wc-tracking-info-customizer.php:461
427
  msgid "Display shipping provider name"
428
  msgstr ""
429
  "Vis forsendelsesudbyderens navn\n"
430
 
431
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
432
+ msgid "Display Track button on the Orders history list in my-account"
433
+ msgstr ""
434
+
435
+ #: includes/customizer/class-wc-email-customizer.php:326
436
+ msgid "Display tracking details"
437
+ msgstr "Vis sporingsdetaljer"
438
+
439
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
440
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
441
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
442
+ msgid "Documentation"
443
+ msgstr "Dokumentation"
444
+
445
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
446
  msgid "Download sample csv"
447
  msgstr "Download prøve csv"
448
 
449
+ #: includes/views/admin_status_notifications.php:190
450
+ msgid "E.g. {admin_email}, admin@example.org"
451
+ msgstr "F.eks. {admin_email}, admin@example.org"
452
+
453
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
454
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
455
+ #: includes/customizer/class-wc-email-customizer.php:226
456
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
457
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
458
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
459
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
460
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
461
+ msgid "E.g. {customer.email}, admin@example.org"
462
+ msgstr "F.eks {customer.email}, admin@example.org"
463
+
464
+ #: includes/emails/class-shipment-delivered-email.php:299
465
+ msgid "Edit in customizer"
466
+ msgstr "Rediger i brugerdefineret"
467
+
468
+ #: includes/views/admin_options_shipping_provider.php:95
469
  msgid "Edit Shipping Provider"
470
  msgstr "Rediger forsendelsesudbyder"
471
 
472
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
473
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
474
+ #: includes/customizer/class-wc-email-customizer.php:289
475
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
476
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
477
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
478
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
479
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
480
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
481
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
482
+ #: includes/views/admin_status_notifications.php:206
483
  msgid "Email content"
484
  msgstr "Email indhold"
485
 
486
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
487
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
488
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
489
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
490
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
491
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
492
+ msgid "Email Subject"
493
+ msgstr "Email emne"
494
+
495
+ #: includes/views/admin_tracking_page_settings.php:10
496
+ msgid "Enable a tracking page on your store"
497
+ msgstr "Aktivér en sporingsside i din butik"
498
+
499
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
500
+ msgid "Enable Available For Pickup email"
501
+ msgstr "Aktiver tilgængelig til afhentnings-e-mail"
502
+
503
+ #: includes/views/admin_options_settings.php:47
504
+ msgid "Enable custom order statuses to streamline your fulfillment"
505
+ msgstr ""
506
 
507
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
508
+ msgid "Enable Delivered email"
509
+ msgstr "Aktivér Leveret e-mail"
510
 
511
+ #: includes/customizer/class-wc-email-customizer.php:179
512
+ msgid "Enable Delivered order status email"
513
+ msgstr ""
514
+ "Aktivér leveret ordre status email\n"
515
 
516
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
517
+ msgid "Enable Failed Attempt email"
518
+ msgstr "Aktivér Mislykket forsøgs-e-mail"
519
 
520
+ #: includes/customizer/class-wc-email-customizer.php:397
521
+ msgid "Enable Google Analytics tracking"
522
+ msgstr "Aktivér Google Analytics-sporing"
523
 
524
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
525
+ msgid "Enable In Transit email"
526
+ msgstr "Aktiver i transit-e-mail"
527
 
528
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
529
+ msgid "Enable On Hold email"
530
+ msgstr "Aktivér e-mail på vent"
531
 
532
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
533
+ msgid "Enable Out For Delivery email"
534
+ msgstr "Aktiver e-mail til levering"
535
 
536
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
537
+ msgid "Enable Partially Shipped order status email"
538
+ msgstr "Aktivér delvis afsendt ordre-status-e-mail"
539
 
540
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
541
+ msgid "Enable Return To Sender email"
542
+ msgstr "Aktivér E-mail til returnering til afsender"
543
 
544
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
545
+ msgid "Enable TrackShip"
546
+ msgstr "Aktivér TrackShip"
547
 
548
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
549
+ msgid "Enable Updated Tracking order status email"
550
+ msgstr ""
551
+ "Aktivér e-mail med opdateret sporingsordrestatus\n"
552
 
553
+ #: includes/views/front/tracking_page_header.php:22
554
+ msgid "Est. Delivery Date"
555
+ msgstr ""
556
+ "Est. Leveringsdato\n"
557
 
558
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
559
+ msgid "Exception"
 
 
560
  msgstr ""
 
561
 
562
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
563
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
564
+ #: includes/customizer/class-wcast-customizer.php:195
565
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
566
+ #: includes/views/admin_status_notifications.php:130
567
+ msgid "Failed Attempt"
568
+ msgstr "Mislykket forsøg"
569
 
570
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
571
+ msgid "Failed Attempt email"
572
+ msgstr "Mislykket forsøgs-e-mail"
573
+
574
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
575
+ msgid "Filter by shipment status"
576
+ msgstr "Filter by shipment status"
577
 
578
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2027
579
  msgid "Filter by shipping provider"
580
  msgstr "Filter by shipping provider"
581
 
582
+ #: includes/views/front/track_order_form.php:4
583
+ #: includes/views/front/track_order_form.php:5
584
+ msgid "Found in your order confirmation email."
585
+ msgstr ""
586
+ "Findes i din ordrebekræftelses-email.\n"
587
 
588
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
589
+ #: includes/customizer/class-wcast-customizer.php:71
590
  msgid "General Settings"
591
  msgstr "Generelle indstillinger"
592
 
593
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
594
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
595
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
596
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
597
+ msgid "Get Shipment Status"
598
+ msgstr "Få forsendelsesstatus"
599
+
600
+ #: includes/views/admin_options_shipping_provider.php:66
601
+ #: includes/views/admin_options_shipping_provider.php:114
602
  msgid "Global"
603
  msgstr "Global"
604
 
605
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
606
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
607
+ #: includes/customizer/class-wc-email-customizer.php:415
608
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
609
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
610
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
611
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
612
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
613
+ msgid "Google Analytics link tracking"
614
+ msgstr "Google Analytics-linksporing"
615
+
616
+ #: includes/customizer/class-wc-tracking-info-customizer.php:734
617
  msgid "Headers background color"
618
+ msgstr ""
619
 
620
+ #: includes/customizer/class-wc-tracking-info-customizer.php:751
621
  msgid "Headers font color"
622
  msgstr ""
623
  "Headers fontfarve\n"
624
 
625
+ #: includes/customizer/class-wc-tracking-info-customizer.php:716
626
  msgid "Headers font size"
627
  msgstr ""
628
  "Headers skriftstørrelse\n"
629
 
630
+ #: includes/customizer/class-wc-tracking-info-customizer.php:768
631
  msgid "Headers font weight"
632
+ msgstr ""
633
 
634
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
635
  msgid ""
636
  "Hi there. we thought you'd like to know that the shipment tracking for your "
637
  "recent order from {site_title} has been updated."
639
  "Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
640
  "ordre fra {site_title} er blevet opdateret.\n"
641
 
642
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
643
+ #: includes/customizer/class-wc-email-customizer.php:132
644
+ msgid ""
645
+ "Hi there. we thought you'd like to know that your recent order from "
646
+ "{site_title} has been Delivered."
647
+ msgstr ""
648
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
649
+ "er blevet leveret.\n"
650
+
651
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
652
  msgid ""
653
  "Hi there. we thought you'd like to know that your recent order from "
654
  "{site_title} has been partially shipped."
656
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
657
  "delvist sendt.\n"
658
 
659
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
660
+ msgid ""
661
+ "Hi there. we thought you'd like to know that your recent order from "
662
+ "{site_title} has been returned to sender."
663
+ msgstr ""
664
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
665
+ "er blevet returneret til afsenderen."
666
+
667
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
668
+ msgid ""
669
+ "Hi there. we thought you'd like to know that your recent order from "
670
+ "{site_title} is available for pickup."
671
+ msgstr ""
672
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
673
+ "er tilgængelig til afhentning.\n"
674
+
675
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
676
+ msgid ""
677
+ "Hi there. we thought you'd like to know that your recent order from "
678
+ "{site_title} is Failed Attempt"
679
+ msgstr ""
680
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
681
+ "mislykket forsøg"
682
+
683
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
684
+ msgid ""
685
+ "Hi there. we thought you'd like to know that your recent order from "
686
+ "{site_title} is in transit"
687
+ msgstr ""
688
+ "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
689
+ "er i transit"
690
+
691
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
692
+ msgid ""
693
+ "Hi there. we thought you'd like to know that your recent order from "
694
+ "{site_title} is on hold"
695
+ msgstr ""
696
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
697
+ "på vent"
698
+
699
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
700
+ msgid ""
701
+ "Hi there. we thought you'd like to know that your recent order from "
702
+ "{site_title} is out for delivery."
703
+ msgstr ""
704
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
705
+ "er ude for levering."
706
+
707
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
708
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
709
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
710
  msgid "hide details"
711
  msgstr "Gem detaljer"
712
 
713
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
714
+ #: includes/views/admin_tracking_page_settings.php:76
715
+ msgid "Hide Shipping Provider Image"
716
+ msgstr ""
717
+ "Skjul forsendelsesbillede\n"
718
+
719
+ #: includes/customizer/class-wc-tracking-info-customizer.php:630
720
  msgid "Hide Table Headers"
721
  msgstr ""
722
  "Skjul tabeloverskrifter\n"
723
 
724
+ #: includes/customizer/class-wc-tracking-info-customizer.php:497
725
+ #, fuzzy
726
  #| msgid "Hide the ship date"
727
  msgid "Hide the shipped date"
728
+ msgstr ""
729
+ "Skjul skibets dato\n"
730
+
731
+ #: includes/views/admin_tracking_page_settings.php:81
732
+ msgid "Hide tracking event details"
733
+ msgstr ""
734
+ "Skjul detaljer om sporingsbegivenhed\n"
735
+
736
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
737
+ msgid "Hide tracking events details"
738
+ msgstr "Skjul detaljer om sporingshændelser"
739
 
740
+ #: includes/customizer/class-wc-tracking-info-customizer.php:232
741
  msgid "Hide Tracking Header"
742
  msgstr "Skjul sporingshoved"
743
 
744
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
745
+ msgid "How to Video"
746
+ msgstr "Sådan video"
 
 
 
 
747
 
748
+ #: includes/views/admin_status_notifications.php:155
749
+ msgid ""
750
+ "If a shipment reached the number of days that you define, and the shipment "
751
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
752
+ msgstr ""
753
+ "Hvis en forsendelse nåede det antal dage, du definerede, og forsendelsen "
754
+ "ikke \"leveres\" eller \"Returneres til afsender\", vil e-mail udløse."
755
 
756
+ #: includes/views/admin_options_bulk_upload.php:76
757
  msgid "Import in Progress"
758
  msgstr "Import i gang"
759
 
760
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
761
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
762
+ #: includes/customizer/class-wcast-customizer.php:149
763
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
764
+ #: includes/views/admin_status_notifications.php:37
765
+ msgid "In Transit"
766
+ msgstr "Undervejs"
767
 
768
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
769
+ msgid "In Transit email"
770
+ msgstr "I transit-e-mail"
 
771
 
772
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
773
  msgid "Invalid order ID."
774
  msgstr "Ugyldigt ordre-ID."
775
 
776
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
777
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
778
+ msgid "Invalid Tracking Number"
779
+ msgstr "Ugyldigt sporingsnummer"
780
+
781
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
782
+ msgid "Invalid User Key"
783
+ msgstr "Invalid User Key"
784
+
785
+ #: includes/views/admin_options_bulk_upload.php:48
786
  msgid ""
787
  "Keep unchecked for the tracking info to be added to any existing tracking "
788
  "info added to the orders."
790
  "Sørg for, at sporingsoplysningerne ikke føjes til eksisterende "
791
  "sporingsoplysninger, der føjes til ordrene."
792
 
793
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
794
+ msgid "Late shipment"
795
+ msgstr "Sen forsendelse"
796
+
797
+ #: includes/views/admin_status_notifications.php:176
798
+ msgid "Late Shipment Days"
799
+ msgstr "Sen forsendelsesdage"
800
+
801
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
802
+ #: includes/views/admin_status_notifications.php:200
803
+ msgid "Late shipment for order #{order_number}"
804
+ msgstr "Sen forsendelse til ordre nr. {Ordre_nummer}"
805
+
806
+ #: includes/customizer/class-wcast-customizer.php:203
807
+ #: includes/views/admin_status_notifications.php:155
808
+ msgid "Late Shipments"
809
+ msgstr "Sent forsendelse"
810
+
811
+ #: includes/views/admin_options_settings.php:39
812
+ msgid "Launch Customizer"
813
+ msgstr "Start Customizer"
814
+
815
+ #: includes/views/admin_options_addons.php:111
816
  msgid "License"
817
  msgstr "Licens"
818
 
819
+ #: includes/views/admin_options_osm.php:36
820
+ #: includes/views/admin_options_osm.php:79
821
+ #: includes/views/admin_options_osm.php:119
822
  msgid "Light Font"
823
  msgstr ""
824
  "Let skrift\n"
825
 
826
+ #: includes/class-wc-advanced-shipment-tracking.php:316
827
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
828
  msgid "Mark as Completed?"
829
  msgstr "Marker som afsluttet?"
830
 
831
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1540
832
  msgid "Mark as Shipped"
833
  msgstr "Marker som afsendt"
834
 
835
+ #: includes/class-wc-advanced-shipment-tracking.php:313
836
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
837
  msgid "Mark as Shipped?"
838
  msgstr "Marker som sendt?"
839
 
840
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
841
  msgid "Mark order as delivered"
842
  msgstr "Marker ordre som leveret"
843
 
844
+ #: includes/class-wc-advanced-shipment-tracking.php:397
845
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
846
  msgid "Mark order as:"
847
  msgstr "Marker ordre som:"
848
 
849
+ #: includes/views/admin_tracking_page_settings.php:41
 
 
 
 
 
850
  msgid "more info"
851
  msgstr ""
852
  "mere info\n"
853
 
854
+ #: includes/views/admin_tracking_page_settings.php:41
855
+ msgid ""
856
+ "Note - If you select a different page than the Shipment Tracking page, add "
857
+ "the [wcast-track-order] shortcode to the selected page content."
858
+ msgstr ""
859
+ "Bemærk - Hvis du vælger en anden side end siden med sporing af forsendelse, "
860
+ "tilføj kortkoden [wcast-track-order] til det valgte sideindhold.\n"
861
+
862
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
863
+ #: includes/views/trackship_settings.php:12
864
+ #: includes/views/trackship_settings.php:13
865
+ msgid "Notifications"
866
+ msgstr "Meddelelser"
867
+
868
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
869
+ #: includes/customizer/class-wcast-customizer.php:157
870
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
871
+ #: includes/views/admin_status_notifications.php:52
872
+ msgid "On Hold"
873
+ msgstr "I venteposition"
874
+
875
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
876
+ msgid "On Hold email"
877
+ msgstr "E-mail i venteposition"
878
+
879
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:935
880
+ msgid "Open the track link in a new tab"
881
+ msgstr ""
882
+
883
+ #: includes/emails/class-shipment-delivered-email.php:33
884
+ msgid ""
885
+ "Order delivered emails are sent to customers when their orders are marked "
886
+ "delivered and usually indicate that their orders have been shipped."
887
+ msgstr ""
888
+ "Ordrer leverede e-mails sendes til kunderne, når deres ordrer er mærket "
889
+ "leveret og angiver normalt, at deres ordrer er blevet sendt."
890
 
891
+ #: includes/views/front/track_order_form.php:5
892
+ msgid "Order Email"
893
+ msgstr ""
894
+ "Bestil Email\n"
895
 
896
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:916
897
+ msgid "Order Email Display"
898
+ msgstr ""
899
 
900
  #. %s: Order ID.
901
+ #: templates/emails/wcast-email-order-details.php:48
902
  #, php-format
903
  msgid "Order number: %s"
904
  msgstr ""
905
  "Ordrenummer:% s\n"
906
 
907
+ #: includes/customizer/class-wcast-customizer.php:42
908
+ msgid "Order Status Emails"
909
+ msgstr "E-mails med ordrestatus"
 
 
910
 
911
+ #: includes/class-wc-advanced-shipment-tracking.php:1152
912
+ #: includes/class-wc-advanced-shipment-tracking.php:1243
 
913
  #, php-format
914
+ msgid "Order was shipped with %s and tracking number is: %s"
915
+ msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
916
+
917
+ #: includes/views/front/layout1_tracking_details.php:25
918
+ msgid "Origin Details"
919
+ msgstr "Oprindelsesdetaljer"
920
 
921
+ #: includes/views/admin_tracking_page_settings.php:36
922
  msgid "Other"
923
  msgstr "Andet"
924
 
925
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
926
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
927
+ #: includes/customizer/class-wcast-customizer.php:179
928
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
929
+ msgid "Out For Delivery"
930
+ msgstr "Ud for levering"
931
+
932
+ #: includes/views/admin_status_notifications.php:97
933
+ msgid "Out For delivery"
934
+ msgstr "Ud til levering"
935
+
936
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
937
+ msgid "Out For Delivery email"
938
+ msgstr "E-mail til levering"
939
+
940
+ #: includes/class-wc-advanced-shipment-tracking.php:400
941
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
942
  msgid "Partial Shipped"
943
  msgstr "Delvis afsendt"
944
 
945
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
946
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
947
+ #: includes/views/admin_options_osm.php:59
 
948
  msgid "Partially Shipped"
949
  msgstr "Delvist afsendt"
950
 
951
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
 
952
  #, php-format
953
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
954
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
955
  msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
956
  msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
957
 
958
+ #: includes/customizer/class-wcast-customizer.php:125
959
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
960
+ msgid "Partially Shipped status email"
961
+ msgstr "Delvis afsendt status-e-mail"
 
 
 
962
 
963
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
964
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
965
+ msgid "Pending TrackShip"
966
+ msgstr "Pending TrackShip"
 
967
 
968
+ #: woocommerce-advanced-shipment-tracking.php:122
 
969
  #, php-format
970
  msgid ""
971
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
972
+ "for WooCommerce!"
973
  msgstr ""
 
 
974
 
975
+ #: includes/customizer/class-wc-email-customizer.php:201
976
+ #: includes/customizer/class-wc-tracking-info-customizer.php:193
977
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
978
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
979
+ msgid "Please select a order..."
980
+ msgstr "Vælg venligst en ordre ..."
981
+
982
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
983
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
984
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
985
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
986
+ #: includes/customizer/class-wc-email-customizer.php:454
987
+ #: includes/customizer/class-wc-email-customizer.php:462
988
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
989
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
990
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
991
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
992
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
993
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
994
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
995
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
996
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
997
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
998
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
999
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
1000
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
1001
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
1002
  msgid "Please select order to preview."
1003
  msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
1004
 
1005
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1006
  msgid "Please upload a valid CSV file."
1007
  msgstr "Upload en gyldig CSV-fil."
1008
 
1009
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
1010
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
1011
+ #: includes/customizer/class-wcast-customizer.php:141
1012
+ msgid "Pre Transit"
1013
+ msgstr ""
1014
+ "Pre Transit\n"
1015
+
1016
+ #: includes/views/admin_tracking_page_settings.php:105
1017
+ msgid "Preview"
1018
+ msgstr "Eksempel"
1019
+
1020
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
1021
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
1022
+ #: includes/customizer/class-wc-email-customizer.php:197
1023
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
1024
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
1025
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
1026
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
1027
+ #: includes/customizer/class-wc-tracking-info-customizer.php:189
1028
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
1029
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
1030
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
1031
+ msgid "Preview order"
1032
+ msgstr ""
1033
+ "Forhåndsvis rækkefølge\n"
1034
+
1035
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1036
  msgid "Preview:"
1037
  msgstr "Eksempel:"
1038
 
1039
+ #: includes/class-wc-advanced-shipment-tracking.php:375
1040
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
1041
  msgid "Product Code:"
1042
  msgstr "Produktkode:"
1043
 
1044
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1703
1045
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
1046
+ #: includes/customizer/class-wc-tracking-info-customizer.php:655
1047
+ #: templates/emails/tracking-info.php:280
1048
+ #: templates/myaccount/tracking-info.php:205
1049
  msgid "Provider"
1050
  msgstr "Fragtfirma"
1051
 
1052
+ #: templates/emails/tracking-info.php:285
1053
+ #: templates/myaccount/tracking-info.php:210
 
1054
  msgid "Provider Name"
1055
  msgstr "Udbyderens navn"
1056
 
1057
+ #: includes/views/admin_options_shipping_provider.php:153
1058
  msgid "Providers Added"
1059
  msgstr "Udbydere tilføjet"
1060
 
1061
+ #: includes/views/admin_options_shipping_provider.php:155
1062
  msgid "Providers Deleted"
1063
  msgstr "Udbydere er slettet"
1064
 
1065
+ #: includes/views/admin_options_shipping_provider.php:154
1066
  msgid "Providers Updated"
1067
  msgstr "Udbydere opdateret"
1068
 
1069
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
1070
  msgid "Really delete this entry? This will not be undo."
1071
  msgstr "Vil du virkelig slette denne post? Dette fortrydes ikke."
1072
 
1073
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
1074
+ #: includes/views/admin_tracking_page_settings.php:86
1075
+ msgid "Remove TrackShip branding"
1076
+ msgstr "Fjern TrackShip-branding"
1077
+
1078
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
1079
  msgid "Rename the “Completed” Order status label to “Shipped”"
1080
+ msgstr ""
1081
 
1082
+ #: includes/views/admin_options_bulk_upload.php:48
1083
  msgid "Replace tracking information?"
1084
  msgstr "Erstat sporingsoplysninger?"
1085
 
1086
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
1087
+ msgid "Resend delivered order notification"
1088
+ msgstr "Send leveret ordreanmeldelse igen"
1089
+
1090
+ #: includes/views/admin_options_shipping_provider.php:136
1091
  msgid "Reset"
1092
  msgstr "Nulstil"
1093
 
1094
+ #: includes/views/admin_options_shipping_provider.php:159
1095
  msgid ""
1096
  "Reset providers database, it will reset all your shipping provider database"
1097
  msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
1098
 
1099
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
1100
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
1101
+ #: includes/customizer/class-wcast-customizer.php:165
1102
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
1103
+ #: includes/views/admin_status_notifications.php:67
1104
+ msgid "Return To Sender"
1105
+ msgstr ""
1106
+ "Retur til Afsender\n"
1107
+
1108
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1109
+ msgid "Return To Sender email"
1110
+ msgstr "Return To Sender email"
1111
 
1112
+ #: includes/views/admin_options_settings.php:23
1113
+ #: includes/views/admin_trackship_dashboard.php:45
1114
+ #: includes/views/admin_tracking_page_settings.php:104
1115
+ #: includes/views/admin_status_notifications.php:245
1116
+ msgid "Save Changes"
1117
+ msgstr "Gem ændringer"
1118
+
1119
+ #: includes/class-wc-advanced-shipment-tracking.php:416
1120
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
1121
  msgid "Save Tracking"
1122
  msgstr "Gem sporing"
1123
 
1124
+ #: includes/views/admin_options_shipping_provider.php:29
1125
  msgid "Search by provider / country"
1126
  msgstr "Søg efter udbyder / land"
1127
 
1128
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1129
+ msgid "Select an order to preview and design the tracking info display."
1130
+ msgstr ""
1131
+ "Vælg en ordre for at få vist og designe visningen af ​​sporingsinfo.\n"
1132
+
1133
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
1134
+ msgid "Select content border color for tracking page"
1135
+ msgstr "Vælg farve for indholdsramme til sporingsside"
1136
+
1137
+ #: includes/customizer/class-wcast-customizer.php:516
1138
+ msgid "Select order to preview"
1139
+ msgstr ""
1140
+ "Vælg rækkefølge for at forhåndsvise\n"
1141
 
1142
+ #: includes/class-wc-advanced-shipment-tracking.php:338
1143
  msgid "Select Provider"
1144
  msgstr "Vælg Udbyder"
1145
 
1146
+ #: includes/customizer/class-wc-tracking-info-customizer.php:302
1147
  msgid "Select Template"
1148
  msgstr ""
1149
  "Vælg skabelon\n"
1150
 
1151
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
1152
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
1153
+ #: includes/views/admin_tracking_page_settings.php:27
1154
+ msgid "Select Tracking Page"
1155
+ msgstr "Vælg sporingsside"
1156
+
1157
+ #: includes/views/admin_options_osm.php:41
1158
+ #: includes/views/admin_options_osm.php:84
1159
+ #: includes/views/admin_options_osm.php:124
1160
  msgid "Send Email"
1161
  msgstr ""
1162
  "Send e-mail\n"
1163
 
1164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:909
1165
  msgid ""
1166
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1167
  "orders"
1168
  msgstr ""
 
 
1169
 
1170
+ #: includes/views/admin_options_settings.php:15
 
 
1171
  msgid "Settings"
1172
+ msgstr ""
1173
 
1174
+ #: includes/views/admin_options_bulk_upload.php:59
1175
  msgid "Settings Saved."
1176
  msgstr "Indstillinger gemt."
1177
 
1178
+ #: includes/class-wc-advanced-shipment-tracking-front.php:319
1179
+ #: includes/views/front/preview_tracking_page.php:25
1180
+ msgid "Shipment"
1181
+ msgstr ""
1182
+
1183
+ #: includes/class-wc-advanced-shipment-tracking-front.php:347
1184
+ #, php-format
1185
+ msgid "Shipment - %s (out of %s)"
1186
+ msgstr ""
1187
+ "Forsendelse -% s (ud af% s)\n"
1188
+
1189
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
1190
+ #, php-format
1191
+ msgid "Shipment : %s (out of %s)"
1192
+ msgstr ""
1193
+
1194
+ #: includes/views/admin_status_notifications.php:67
1195
+ msgid "Shipment is returned to sender."
1196
+ msgstr "Forsendelse returneres til afsenderen."
1197
+
1198
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
1199
+ msgid "Shipment Providers"
1200
+ msgstr "Forsendelsesleverandører"
1201
+
1202
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
1203
+ #: templates/emails/tracking-info.php:225
1204
+ #: templates/emails/tracking-info.php:255
1205
+ msgid "Shipment Status"
1206
+ msgstr "Forsendelsesstatus"
1207
+
1208
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
1209
+ msgid "Shipment status"
1210
+ msgstr "Forsendelsesstatus"
1211
+
1212
+ #: templates/emails/plain/tracking-info.php:35
1213
  #, php-format
1214
  msgid "Shipment status changed to %s"
1215
  msgstr "Forsendelsesstatus ændret til% s"
1216
 
1217
+ #: includes/views/admin_status_notifications.php:3
1218
+ msgid "Shipment Status Email Notifications"
1219
+ msgstr "Forsendelsesstatus E-mail-meddelelser"
1220
+
1221
+ #: includes/customizer/class-wcast-customizer.php:51
1222
+ msgid "Shipment Status Emails"
1223
+ msgstr "Sendingsstatus-e-mails"
1224
+
1225
+ #: includes/class-wc-advanced-shipment-tracking.php:141
1226
+ #: includes/class-wc-advanced-shipment-tracking.php:223
1227
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
1228
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
1229
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
1230
  msgid "Shipment Tracking"
1231
  msgstr "Forsendelsessporing"
1232
 
1233
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
1234
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
1235
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
 
 
 
 
 
1236
  msgid "Shipped"
1237
  msgstr "afsendt"
1238
 
1239
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
 
1240
  #, php-format
1241
  msgid "Shipped <span class=\"count\">(%s)</span>"
1242
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
1243
  msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
1244
  msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
1245
 
1246
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
1247
+ #: includes/customizer/class-wc-tracking-info-customizer.php:700
1248
  msgid "Shipped Date"
1249
  msgstr ""
1250
  "Afsendt dato\n"
1251
 
1252
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1253
+ #, fuzzy
1254
  #| msgid "Ship date header text"
1255
  msgid "Shipped date header text"
1256
+ msgstr ""
1257
+ "Send datoens overskriftstekst\n"
1258
 
1259
  #. 1: shipping date
1260
+ #: includes/class-wc-advanced-shipment-tracking.php:256
1261
  #, php-format
1262
  msgid "Shipped on %s"
1263
  msgstr "Sendes på% s"
1264
 
1265
+ #: includes/customizer/class-wc-tracking-info-customizer.php:159
1266
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1267
  msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
1268
 
1269
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
1270
  msgid "Shipped Order"
1271
  msgstr "Afsendt ordre"
1272
 
1273
+ #: includes/views/admin_options_shipping_provider.php:65
1274
+ #: includes/views/admin_options_shipping_provider.php:113
1275
  msgid "Shipping Country"
1276
  msgstr "Forsendelsesland"
1277
 
1278
  #: includes/views/admin_options_shipping_provider.php:58
1279
+ #: includes/views/admin_options_shipping_provider.php:103
1280
  msgid "Shipping Provider"
1281
  msgstr "Forsendelsesudbyder"
1282
 
1283
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
1284
  msgid "Shipping provider header text"
1285
+ msgstr ""
1286
 
1287
+ #: includes/class-wc-advanced-shipment-tracking.php:337
1288
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
1289
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
1290
  msgid "Shipping Provider:"
1291
  msgstr "Forsendelse:"
1292
 
1293
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
1294
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
1295
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
1296
  msgid "Shipping Providers"
1297
  msgstr "Forsendelsesudbydere"
1298
 
1299
+ #: includes/views/admin_options_shipping_provider.php:157
 
 
 
 
1300
  msgid "Shipping providers database reset successfully."
1301
  msgstr "Forsendelsesdatabase nulstilles med succes."
1302
 
1303
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1304
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1305
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1306
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1307
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1308
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1309
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1310
+ msgid "Show billing address"
1311
+ msgstr ""
1312
+ "Vis faktureringsadresse\n"
1313
+
1314
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1315
  msgid "Show bottom border"
1316
  msgstr ""
1317
  "Vis nederste kant\n"
1318
 
1319
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1320
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1321
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1322
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1323
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1324
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1325
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1326
+ msgid "Show order details"
1327
+ msgstr ""
1328
+ "Vis bestilling detaljer\n"
1329
+
1330
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1331
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1332
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1333
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1334
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1335
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1336
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1337
+ msgid "Show shipping address"
1338
+ msgstr ""
1339
+ "Vis forsendelsesadresse\n"
1340
+
1341
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
1342
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
1343
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
1344
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
1345
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
1346
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
1347
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1348
+ msgid "Show tracking details"
1349
+ msgstr ""
1350
+ "Vis sporingsoplysninger\n"
1351
+
1352
+ #: includes/customizer/class-wc-tracking-info-customizer.php:320
1353
  msgid "Simple Layout Design"
1354
  msgstr ""
1355
  "Simpelt layoutdesign\n"
1356
 
1357
+ #: includes/customizer/class-wcast-customizer.php:87
1358
+ msgid "Simple layout design"
1359
+ msgstr "Simpelt layoutdesign"
1360
+
1361
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
1362
  msgid "Special character not allowd in tracking number"
1363
  msgstr "Specialtegn er ikke tilladt i sporingsnummer"
1364
 
1365
+ #: includes/views/admin_options_trackship_integration.php:17
1366
+ #: includes/views/admin_options_addons.php:134
1367
+ msgid "Start your free trial"
1368
+ msgstr "Start din gratis prøveperiode"
1369
+
1370
+ #: includes/views/trackship_sidebar.php:24
1371
+ msgid "Subscription Plan"
1372
+ msgstr "Abonnementsplan"
1373
+
1374
+ #: includes/views/admin_options_shipping_provider.php:146
1375
+ #: includes/views/admin_options_shipping_provider.php:161
1376
  msgid "Sync Shipping Providers"
1377
  msgstr "Synkroniseringsforsendelser"
1378
 
1379
+ #: includes/views/admin_options_shipping_provider.php:151
1380
  msgid ""
1381
  "Syncing the shipping providers list add or updates the pre-set shipping "
1382
  "providers and will not effect custom shipping providers."
1385
  "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
1386
  "forsendelsesleverandører."
1387
 
1388
+ #: includes/customizer/class-wc-tracking-info-customizer.php:831
1389
  msgid "Table Content"
1390
  msgstr "Table Content"
1391
 
1392
+ #: includes/customizer/class-wc-tracking-info-customizer.php:533
1393
  msgid "Table Design Options"
1394
+ msgstr ""
1395
 
1396
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1397
+ #, fuzzy
1398
  #| msgid "Table Headers"
1399
  msgid "Table Header"
1400
+ msgstr ""
1401
+ "Bordoverskrifter\n"
1402
 
1403
+ #: includes/customizer/class-wc-tracking-info-customizer.php:303
1404
  msgid "Table Layout"
1405
  msgstr ""
1406
  "Tabellayout\n"
1407
 
1408
+ #: includes/customizer/class-wcast-customizer.php:79
1409
+ msgid "Table layout design"
1410
+ msgstr "Tabellayoutdesign"
1411
+
1412
+ #: includes/customizer/class-wc-tracking-info-customizer.php:445
1413
  msgid "Table Options"
1414
+ msgstr ""
1415
 
1416
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1417
  msgid "Text align"
1418
+ msgstr ""
1419
 
1420
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
1421
+ #: includes/views/admin_options_shipping_provider.php:100
1422
  msgid ""
1423
+ "The custom name will display in the tracking info section on the customer "
1424
+ "order emails, my-account, shipment tracking page and shipment status emails."
 
1425
  msgstr ""
1426
+ "Det brugerdefinerede navn vises i sporingsinfosektionen e-mails med "
1427
+ "kundeordrer, min konto, forsendelsessporingsside og forsendelsesstatus-e-"
1428
+ "mails."
1429
 
1430
+ #: includes/views/admin_status_notifications.php:52
1431
+ msgid "The shipment is On Hold."
1432
+ msgstr "Forsendelsen er i venteposition."
1433
+
1434
+ #: includes/views/admin_status_notifications.php:82
1435
+ msgid "The shipment is ready to by picked up."
1436
+ msgstr "Forsendelsen er klar til afhentning."
1437
+
1438
+ #: includes/views/admin_status_notifications.php:37
1439
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1440
+ msgstr ""
1441
+ "Forsendelsen blev accepteret af forsendelsesudbyderen og dens undervejs."
1442
+
1443
+ #: includes/views/admin_status_notifications.php:112
1444
+ msgid "The shipment was delivered successfully."
1445
+ msgstr "Forsendelsen blev leveret med succes."
1446
+
1447
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
1448
  msgid "There are some issue with sync, Please Retry."
1449
  msgstr "Der er nogle problemer med synkronisering, prøv igen."
1450
 
1451
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1452
  msgid "This browser does not support HTML5."
1453
  msgstr "Denne browser understøtter ikke HTML5."
1454
 
1455
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
1456
+ msgid ""
1457
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
1458
+ "will be selected by default when adding tracking info to orders."
1459
+ msgstr ""
1460
+ "Dette betyder, at 'mærket som <span class =' ​​shipped_label '> afsluttet "
1461
+ "</span>' vælges som standard, når der tilføjes sporingsoplysninger til "
1462
+ "ordrer."
1463
+
1464
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
1465
+ msgid ""
1466
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
1467
+ "will be selected by default when adding tracking info to orders."
1468
+ msgstr ""
1469
+ "Dette betyder, at 'mærket som <span class =' ​​shipped_label '> afsendt "
1470
+ "</span>' vælges som standard, når der tilføjes sporingsoplysninger til "
1471
+ "ordrer."
1472
+
1473
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1474
+ #: includes/views/admin_status_notifications.php:210
1475
+ msgid ""
1476
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1477
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1478
+ msgstr ""
1479
+ "Denne ordre blev afsendt for {shipment_length} dage siden, "
1480
+ "forsendelsesstatus er {shipment_status}, og dens forventede leveringsdato er "
1481
+ "{est_delivery_date}."
1482
+
1483
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1484
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1485
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1486
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1487
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1488
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1489
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1490
+ msgid "This will be appended to URL in the email content"
1491
+ msgstr "Dette føjes til URL i e-mail-indholdet"
1492
+
1493
+ #: includes/customizer/class-wc-email-customizer.php:416
1494
+ msgid ""
1495
+ "This will be appended to URL in the email content – e.g. "
1496
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1497
+ msgstr ""
1498
+ "Dette føjes til URL i e-mail-indholdet - f.eks. utm_source = ast & "
1499
+ "utm_medium = email & utm_campaign = leveret"
1500
+
1501
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
1502
+ msgid ""
1503
+ "To enable this option, the 'Delivered' order status should be enabled in the "
1504
+ "AST settings."
1505
+ msgstr ""
1506
+ "For at aktivere denne mulighed skal ordren 'Leveret' være aktiveret i AST-"
1507
+ "indstillingerne."
1508
+
1509
+ #: includes/views/front/track_order_form.php:3
1510
+ msgid ""
1511
+ "To track your order please enter your Order ID in the box below and press "
1512
+ "the \"Track\" button. This was given to you on your receipt and in the "
1513
+ "confirmation email you should have received."
1514
+ msgstr ""
1515
+ "For at spore din ordre skal du indtaste dit ordre-id i boksen herunder og "
1516
+ "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
1517
+ "den bekræftelses e-mail, du skulle have modtaget.\n"
1518
+
1519
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
1520
+ #: includes/views/admin_options_tools.php:13
1521
+ #: includes/views/trackship_settings.php:15
1522
+ #: includes/views/trackship_settings.php:16
1523
+ msgid "Tools"
1524
+ msgstr "Værktøj"
1525
+
1526
+ #: includes/class-wc-advanced-shipment-tracking.php:752
1527
+ #: includes/class-wc-advanced-shipment-tracking.php:788
1528
+ #: includes/customizer/class-wc-tracking-info-customizer.php:152
1529
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1530
+ #: templates/emails/tracking-info.php:315
1531
+ #: templates/myaccount/tracking-info.php:235
1532
+ #: includes/views/front/track_order_form.php:8
1533
  msgid "Track"
1534
  msgstr "Spor pakke"
1535
 
1536
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1537
  msgid "Track Button"
1538
+ msgstr ""
 
 
 
 
1539
 
1540
+ #: includes/customizer/class-wc-tracking-info-customizer.php:808
1541
  msgid "Track header text"
1542
  msgstr ""
1543
  "Spor overskriftstekst\n"
1544
 
1545
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
1546
+ msgid "Track Label"
1547
+ msgstr "Sporetiket"
1548
+
1549
+ #: includes/class-wc-advanced-shipment-tracking.php:246
1550
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1551
  msgid "Track Shipment"
1552
  msgstr "Spor forsendelse"
1553
 
1554
+ #: includes/views/trackship_sidebar.php:20
1555
+ msgid "Trackers Balance"
1556
+ msgstr "Trackers Balance"
1557
+
1558
+ #: includes/views/front/layout1_tracking_details.php:4
1559
+ msgid "Tracking Details"
1560
+ msgstr "Sporingsdetaljer"
1561
+
1562
+ #: includes/class-wc-advanced-shipment-tracking-front.php:371
1563
+ msgid "Tracking details not found in TrackShip"
1564
+ msgstr "Sporingsdetaljer findes ikke i TrackShip"
1565
+
1566
+ #: includes/views/admin_options_settings.php:35
1567
+ msgid "Tracking Display Customizer"
1568
+ msgstr ""
1569
+
1570
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1571
+ #: includes/customizer/class-wc-tracking-info-customizer.php:298
1572
  msgid "Tracking display layout"
1573
  msgstr "Sporing af displaylayout"
1574
 
1575
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:932
1576
+ msgid "Tracking Display My Account"
1577
+ msgstr ""
1578
+
1579
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1580
  msgid "Tracking Display Position"
1581
  msgstr "Sporing af skærmposition"
1582
 
1583
+ #: includes/customizer/class-wc-tracking-info-customizer.php:250
1584
  msgid "Tracking Header text"
1585
  msgstr ""
1586
  "Sporing af overskriftstekst\n"
1587
 
1588
+ #: includes/customizer/class-wcast-customizer.php:32
1589
+ #: includes/customizer/class-wcast-customizer.php:103
1590
  msgid "Tracking info display"
1591
  msgstr ""
1592
  "Tracking info display\n"
1593
 
1594
+ #: includes/views/admin_options_tools.php:11
1595
+ msgid "Tracking info sent to Trackship for all Orders."
1596
+ msgstr "Sporingsinfo sendt til Trackship for alle ordrer."
1597
+
1598
+ #: includes/class-wc-advanced-shipment-tracking.php:721
1599
  #, php-format
 
 
1600
  msgid ""
1601
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
1602
+ msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
 
 
 
1603
 
1604
+ #: includes/customizer/class-wc-tracking-info-customizer.php:257
1605
  msgid "Tracking Information"
1606
  msgstr "Sporing Oplysninger"
1607
 
1608
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
1609
+ msgid "Tracking issues"
1610
+ msgstr "Sporingsspørgsmål"
1611
+
1612
+ #: includes/customizer/class-wc-tracking-info-customizer.php:150
1613
+ #: includes/customizer/class-wc-tracking-info-customizer.php:678
1614
+ #: templates/emails/tracking-info.php:292
1615
+ #: templates/myaccount/tracking-info.php:215
1616
  msgid "Tracking Number"
1617
  msgstr "Tracking nummer"
1618
 
1619
+ #: includes/customizer/class-wc-tracking-info-customizer.php:671
1620
+ #, fuzzy
1621
  #| msgid "Tracking Number header text"
1622
  msgid "Tracking number header text"
1623
+ msgstr ""
1624
+ "Sporing af nummeroverskriftstekst\n"
1625
 
1626
+ #: includes/class-wc-advanced-shipment-tracking.php:332
1627
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
1628
  msgid "Tracking number:"
1629
  msgstr "Tracking nummer:"
1630
 
1631
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
1632
+ #: includes/views/admin_tracking_page_settings.php:9
1633
+ #: includes/views/trackship_settings.php:9
1634
+ #: includes/views/trackship_settings.php:10
1635
+ msgid "Tracking Page"
1636
+ msgstr "Tracking Page"
1637
+
1638
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
1639
+ msgid "Tracking Page Layout"
1640
+ msgstr ""
1641
+ "Sporing af sidelayout\n"
1642
+
1643
+ #: includes/views/admin_tracking_page_settings.php:92
1644
+ msgid "Tracking Widget Border Color"
1645
+ msgstr ""
1646
+
1647
+ #: includes/views/admin_tracking_page_settings.php:46
1648
+ msgid "Tracking Widget Layout"
1649
+ msgstr ""
1650
+
1651
+ #: includes/views/admin_tracking_page_settings.php:65
1652
+ msgid "Tracking Widget Options"
1653
+ msgstr ""
1654
+
1655
+ #: includes/views/admin_tracking_page_settings.php:116
1656
+ msgid "Tracking Widget Preview"
1657
+ msgstr "Eksempel på sporing af widget"
1658
+
1659
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1626
1660
  msgid "TrackShip"
1661
  msgstr "TrackShip"
1662
 
1663
+ #: includes/views/trackship_sidebar.php:12
1664
+ msgid "TrackShip Connection Status"
1665
+ msgstr "TrackShip-forbindelsesstatus"
1666
+
1667
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1668
+ msgid "TrackShip not supported"
1669
+ msgstr "TrackShip understøttes ikke"
1670
+
1671
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1672
+ msgid "TrackShip supported"
1673
+ msgstr "TrackShip understøttet"
1674
+
1675
+ #: includes/views/admin_status_notifications.php:225
1676
+ msgid "Trigger Alert"
1677
+ msgstr "Trigger Alert"
1678
+
1679
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
1680
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
1681
+ msgid "Unknown"
1682
+ msgstr "Ukendt"
1683
+
1684
+ #: includes/views/admin_options_shipping_provider.php:135
1685
  msgid "Update"
1686
  msgstr "Opdatering"
1687
 
1688
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
1689
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
1690
+ #: includes/views/admin_options_osm.php:101
 
1691
  msgid "Updated Tracking"
1692
  msgstr "Opdateret sporing"
1693
 
1694
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
 
1695
  #, php-format
1696
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1697
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1698
  msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1699
  msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1700
 
1701
+ #: includes/customizer/class-wcast-customizer.php:133
1702
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
1703
+ msgid "Updated Tracking status email"
1704
+ msgstr ""
1705
+ "Opdateret e-mail med sporingsstatus\n"
1706
+
1707
+ #: includes/views/trackship_sidebar.php:28
1708
+ msgid "Upgrade Now"
1709
+ msgstr "Opgrader nu"
1710
+
1711
+ #: includes/views/admin_options_shipping_provider.php:76
1712
+ #: includes/views/admin_options_shipping_provider.php:124
1713
+ msgid "Upload"
1714
+ msgstr "Upload"
1715
+
1716
+ #: includes/views/admin_options_bulk_upload.php:26
1717
  msgid "Upload a CSV file from your computer:"
1718
  msgstr "Upload en CSV-fil fra din computer:"
1719
 
1720
+ #: includes/views/admin_options_bulk_upload.php:109
1721
  msgid "Upload again"
1722
  msgstr "Upload igen"
1723
 
1724
+ #: includes/views/admin_options_settings.php:36
1725
+ msgid ""
1726
+ "Use a customizer with a preview to customize the tracking info display on "
1727
+ "customer order emails and my-account."
1728
+ msgstr ""
1729
+ "Brug en customizer med en forhåndsvisning til at tilpasse visningen af "
1730
+ "​​sporingsinfo i e-mails med kundeordrer og min-konto."
1731
+
1732
+ #: includes/views/admin_options_bulk_upload.php:12
1733
  msgid ""
1734
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1735
  "file"
1737
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1738
  "file"
1739
 
1740
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
1741
+ msgid "Use the tracking page in the customer email/my account tracking link"
1742
+ msgstr "Brug sporingssiden i kundens e-mail / link til min kontosporing"
1743
+
1744
+ #: includes/customizer/class-wc-tracking-info-customizer.php:515
1745
  msgid "Use tracking number as a link"
1746
  msgstr "Brug sporingsnummer som et link"
1747
 
1748
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
1749
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
1750
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
1751
+ #: includes/views/admin_options_bulk_upload.php:87
1752
  msgid "view details"
1753
  msgstr "view details"
1754
 
1755
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
1756
+ msgid "View more on TrackShip"
1757
+ msgstr "Se mere på TrackShip"
1758
+
1759
+ #: includes/views/admin_options_bulk_upload.php:108
1760
  msgid "View Orders"
1761
  msgstr "Se ordrer"
1762
 
1763
+ #: includes/views/admin_options_trackship_integration.php:16
1764
+ #: includes/views/admin_options_addons.php:130
1765
+ msgid "Watch Video"
1766
+ msgstr "Se video"
1767
+
1768
+ #: woocommerce-advanced-shipment-tracking.php:487
1769
+ #, php-format
1770
+ msgid ""
1771
+ "We detected %s orders that use the Delivered order status, You can reassign "
1772
+ "these orders to a different status"
1773
+ msgstr ""
1774
+ "Vi registrerede% s ordrer, der bruger leveret ordrestatus. Du kan omfordele "
1775
+ "disse ordrer til en anden status"
1776
+
1777
+ #: woocommerce-advanced-shipment-tracking.php:499
1778
  #, php-format
1779
  msgid ""
1780
  "We detected %s orders that use the Partially Shipped order status, You can "
1783
  "Vi har registreret% s ordrer, der bruger ordren Delvist afsendt. Du kan "
1784
  "tildele disse ordrer til en anden status"
1785
 
1786
+ #: woocommerce-advanced-shipment-tracking.php:511
1787
+ #, php-format
1788
+ msgid ""
1789
+ "We detected %s orders that use the Updated Tracking order status, You can "
1790
+ "reassign these orders to a different status"
1791
+ msgstr ""
1792
+ "Vi registrerede% s ordrer, der bruger status for opdateret sporingsordre. Du "
1793
+ "kan omfordele disse ordrer til en anden status"
1794
+
1795
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:873
1796
+ msgid "Wrong Shipping Provider"
1797
+ msgstr "Forkert forsendelsesudbyder"
1798
 
1799
+ #: includes/views/admin_status_notifications.php:116
1800
+ msgid ""
1801
+ "You already have delivered order status email enabled, to enable this email "
1802
+ "you'll need to disable the delivered order status email in settings."
1803
+ msgstr ""
 
1804
 
1805
+ #: includes/views/admin_options_tools.php:14
1806
+ msgid ""
1807
+ "You can send all your orders from the last 30 days to get shipment status "
1808
+ "from TrackShip:"
1809
+ msgstr ""
1810
+ "Du kan sende alle dine ordrer fra de sidste 30 dage for at få "
1811
+ "forsendelsesstatus fra TrackShip:"
1812
+
1813
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
1814
  msgid "You can upload only csv file."
1815
  msgstr "Du kan kun uploade csv-fil."
1816
 
1817
+ #: includes/views/admin_options_shipping_provider.php:82
1818
+ #: includes/views/admin_options_shipping_provider.php:130
1819
  msgid ""
1820
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1821
  "URL, for more info, check our "
1823
  "Du kan bruge variablerne% number%,% postal_code% og% country_code% i URL'en, "
1824
  "for mere info, se vores"
1825
 
1826
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
 
1827
  #, php-format
1828
  msgid "You did not create any %s shipping providers yet."
1829
  msgstr "Du har ikke oprettet nogen% s forsendelsesudbydere endnu."
1830
 
1831
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1788
1832
+ #: includes/views/admin_options_shipping_provider.php:45
1833
  #, php-format
1834
  msgid "You don't have any %s shipping providers."
1835
  msgstr "Du har ikke% s forsendelsesudbydere."
1836
 
1837
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
1838
+ #, php-format
1839
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1840
+ msgstr ""
1841
+ "Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-forbindelsesproblem\""
1842
+
1843
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
1844
+ #, php-format
1845
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1846
+ msgstr "Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-saldoen er 0\""
1847
 
1848
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
1849
+ #, php-format
1850
+ msgid ""
1851
+ "You got %s %s orders with tracking info that were not sent to track on "
1852
+ "TrackShip"
1853
+ msgstr ""
1854
+ "Du fik% s% s ordrer med sporingsoplysninger, der ikke blev sendt til at "
1855
+ "spore på TrackShip"
1856
+
1857
+ #: includes/views/admin_trackship_dashboard.php:13
1858
+ #, php-format
1859
+ msgid ""
1860
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1861
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1862
+ msgstr ""
1863
+ "Du har% s afsendt ordrer fra de sidste 30 dage, som du kan sende i bulk til "
1864
+ "<a href = \"javascript: void (0);\" class = \"tool_link\"> Få "
1865
+ "forsendelsesstatus </a>"
1866
+
1867
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
1868
+ msgid ""
1869
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
1870
+ "for the tracking page to work."
1871
+ msgstr ""
1872
+ "Du skal tilføje kortkoden [wcast-track-order] til den valgte side for at "
1873
+ "sporingssiden skal fungere."
1874
+
1875
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1876
+ msgid "Your order #{order_number} has been delivered"
1877
+ msgstr "Din ordre nr. {Ordre_nummer} er leveret"
1878
+
1879
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1880
+ msgid "Your order #{order_number} has returned to sender"
1881
+ msgstr "Din ordre # {order_number} er returneret til afsenderen"
1882
+
1883
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
1884
+ msgid "Your order #{order_number} is available for pickup"
1885
+ msgstr ""
1886
+ "Din ordre # {order_number} er tilgængelig til afhentning\n"
1887
+
1888
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1889
+ msgid "Your order #{order_number} is Failed Attempt"
1890
+ msgstr "Din ordre # {order_nummer} er mislykket"
1891
+
1892
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1893
+ msgid "Your order #{order_number} is in transit"
1894
+ msgstr ""
1895
+ "Din ordre # {order_number} er i transit\n"
1896
+
1897
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1898
+ msgid "Your order #{order_number} is on hold"
1899
+ msgstr "Din ordre # {order_nummer} er på vent"
1900
+
1901
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1902
+ msgid "Your order #{order_number} is out for delivery"
1903
+ msgstr "Din ordre # {order_number} er ude for levering"
1904
+
1905
+ #: includes/customizer/class-wc-email-customizer.php:130
1906
+ #: includes/emails/class-shipment-delivered-email.php:94
1907
+ msgid "Your {site_title} order is now delivered"
1908
+ msgstr ""
1909
+ "Din {site_title} ordre er nu leveret\n"
1910
+
1911
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1912
  msgid "Your {site_title} order is now partially shipped"
1913
  msgstr "Din {site_title} ordre er nu delvist sendt"
1914
 
1915
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1916
  msgid "Your {site_title} order is now updated tracking"
1917
  msgstr ""
1918
  "Din {site_title} ordre er nu opdateret sporing\n"
 
 
 
 
lang/woo-advanced-shipment-tracking-de_DE.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-de_DE.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
- "Last-Translator: John Doe\n"
8
  "Language-Team: German\n"
9
  "Language: de_DE\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,536 +12,644 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
- #. %s: search WooCommerce plugin link
18
- #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "Dokumentation"
22
 
23
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
 
 
 
 
 
 
24
  msgid "Actions"
25
  msgstr "Aktionen"
26
 
27
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
- msgid "Add API Name alias"
29
- msgstr "API-Namensalias hinzufügen"
30
 
31
- #: includes/views/admin_options_shipping_provider.php:65
32
- msgid ""
33
- "Add API name aliases to map Shipping providers names with the provider names "
34
- "that are updated in the shipment tracking API by external shipping services"
35
  msgstr ""
36
- "Fügen Sie API-Namensaliase hinzu, um die Namen von Versandanbietern den "
37
- "Anbieternamen zuzuordnen, die in der Sendungsverfolgungs-API von externen "
38
- "Versanddiensten aktualisiert werden"
39
 
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
 
 
 
 
 
42
  msgid "Add Custom Provider"
43
  msgstr "Benutzerdefinierten Anbieter hinzufügen"
44
 
45
- #. Description of the plugin
46
- msgid ""
47
- "Add shipment tracking information to your WooCommerce orders and provide "
48
- "customers with an easy way to track their orders. Shipment tracking Info "
49
- "will appear in customers accounts (in the order panel) and in WooCommerce "
50
- "order complete email."
51
- msgstr ""
52
- "Fügen Sie Ihren WooCommerce-Bestellungen Informationen zur "
53
- "Sendungsverfolgung hinzu und bieten Sie Kunden eine einfache Möglichkeit, "
54
- "ihre Bestellungen zu verfolgen. Die Sendungsverfolgungsinformationen werden "
55
- "in den Kundenkonten (im Bestellfenster) und in der E-Mail zum Abschluss der "
56
- "WooCommerce-Bestellung angezeigt."
57
-
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:815
59
- msgid "add the [wcast-track-order] shortcode in the selected page."
60
- msgstr ""
61
- "fügen Sie den Shortcode [wcast-track-order] auf der ausgewählten Seite hinzu."
62
 
63
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
64
  msgid "Add Tracking"
65
  msgstr "Add Tracking"
66
 
67
- #: includes/class-wc-advanced-shipment-tracking-settings.php:339
68
  msgid "Add Tracking - order\t"
69
  msgstr "Tracking hinzufügen - Bestellung"
70
 
71
- #: includes/class-wc-advanced-shipment-tracking.php:517
72
- msgid "Add Tracking Info"
73
- msgstr "Tracking-Info hinzufügen"
74
-
75
- #: includes/class-wc-advanced-shipment-tracking-admin.php:605
76
- msgid ""
77
- "Add Tracking Information in AST meta fields when you automatically sync "
78
- "tracking numbers from aliexpress orders"
79
- msgstr ""
80
- "Fügen Sie Tracking-Informationen in AST-Metafeldern hinzu, wenn Sie Tracking-"
81
- "Nummern von aliexpress-Bestellungen automatisch synchronisieren"
82
-
83
- #: includes/class-wc-advanced-shipment-tracking-admin.php:615
84
- msgid ""
85
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
86
- "& Packing Slips plugin By Ewout Fernhout"
87
- msgstr ""
88
- "Fügen Sie Tracking-Informationen in Rechnungs-PDFs hinzu, die von "
89
- "WooCommerce PDF-Plugins für Rechnungen und Lieferscheine generiert werden "
90
- "Von Ewout Fernhout"
91
-
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:625
93
- msgid ""
94
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
95
- "plugin By Bas Elbers"
96
- msgstr ""
97
- "Fügen Sie Tracking-Informationen in Rechnungs-PDF hinzu, das vom WooCommerce "
98
- "PDF-Rechnungs-Plugin generiert wird Von Bas Elbers"
99
-
100
- #: includes/views/admin_options_settings.php:16
101
- msgid "Add Tracking Options"
102
- msgstr "Tracking-Optionen hinzufügen"
103
-
104
- #: includes/class-wc-advanced-shipment-tracking-admin.php:933
105
- msgid "Add Tracking Order action"
106
- msgstr "Aktion Tracking-Bestellung hinzufügen"
107
-
108
- #: includes/class-wc-advanced-shipment-tracking-admin.php:585
109
- msgid ""
110
- "Adding tracking information to your orders shipped with 3plwinner and "
111
- "automate your workflow"
112
- msgstr ""
113
- "Hinzufügen von Tracking-Informationen zu Ihren mit 3plwinner versandten "
114
- "Bestellungen und Automatisierung Ihres Workflows"
115
-
116
- #: includes/class-wc-advanced-shipment-tracking-admin.php:545
117
- msgid ""
118
- "Adding tracking information to your orders shipped with CustomCat and "
119
- "automate your workflow"
120
- msgstr ""
121
- "Hinzufügen von Tracking-Informationen zu Ihren mit CustomCat versandten "
122
- "Bestellungen und Automatisierung Ihres Workflows"
123
-
124
- #: includes/class-wc-advanced-shipment-tracking-admin.php:555
125
- msgid ""
126
- "Adding tracking information to your orders shipped with Dear Systems and "
127
- "automate your workflow"
128
- msgstr ""
129
- "Hinzufügen von Tracking-Informationen zu Ihren mit Dear Systems versandten "
130
- "Bestellungen und Automatisierung Ihres Workflows"
131
-
132
- #: includes/class-wc-advanced-shipment-tracking-admin.php:595
133
- msgid ""
134
- "Adding tracking information to your orders shipped with Dianxiaomi and "
135
- "automate your workflow"
136
- msgstr ""
137
- "Hinzufügen von Tracking-Informationen zu Ihren mit Dianxiaomi versandten "
138
- "Bestellungen und Automatisierung Ihres Workflows"
139
-
140
- #: includes/class-wc-advanced-shipment-tracking-admin.php:575
141
- msgid ""
142
- "Adding tracking information to your orders shipped with Picqer and automate "
143
- "your workflow"
144
- msgstr ""
145
- "Hinzufügen von Tracking-Informationen zu Ihren mit Picqer versandten "
146
- "Bestellungen und Automatisierung Ihres Workflows"
147
-
148
- #: includes/class-wc-advanced-shipment-tracking-admin.php:565
149
- msgid ""
150
- "Adding tracking information to your orders shipped with Printify and "
151
- "automate your workflow"
152
- msgstr ""
153
- "Hinzufügen von Tracking-Informationen zu Ihren mit Printify versandten "
154
- "Bestellungen und Automatisierung Ihres Workflows"
155
-
156
- #: includes/class-wc-advanced-shipment-tracking-admin.php:515
157
- msgid ""
158
- "Adding tracking information to your orders shipped with QuickBooks Commerce "
159
- "and automate your workflow"
160
- msgstr ""
161
- "Hinzufügen von Tracking-Informationen zu Ihren mit QuickBooks Commerce "
162
- "versandten Bestellungen und Automatisierung Ihres Workflows"
163
-
164
- #: includes/class-wc-advanced-shipment-tracking-admin.php:525
165
- msgid ""
166
- "Adding tracking information to your orders shipped with ReadyToShip and "
167
- "automate your workflow"
168
- msgstr ""
169
- "Hinzufügen von Tracking-Informationen zu Ihren mit ReadyToShip versandten "
170
- "Bestellungen und Automatisierung Ihres Workflows"
171
-
172
- #: includes/class-wc-advanced-shipment-tracking-admin.php:535
173
- msgid ""
174
- "Adding tracking information to your orders shipped with Royal Mail Click & "
175
- "Drop and automate your workflow"
176
- msgstr ""
177
- "Hinzufügen von Tracking-Informationen zu Ihren mit Royal Mail Click & Drop "
178
- "versandten Bestellungen und Automatisierung Ihres Workflows"
179
-
180
- #: includes/class-wc-advanced-shipment-tracking-admin.php:475
181
- msgid ""
182
- "Adding tracking information to your orders shipped with ShipStation and "
183
- "automate your workflow"
184
  msgstr ""
185
- "Hinzufügen von Tracking-Informationen zu Ihren mit ShipStation versandten "
186
- "Bestellungen und Automatisierung Ihres Workflows"
187
 
188
- #: includes/class-wc-advanced-shipment-tracking-admin.php:485
189
- msgid ""
190
- "Adding tracking information to your orders shipped with WooCommerce Shipping "
191
- "to the Shipment Tracking and automate your workflow"
192
- msgstr ""
193
- "Hinzufügen von Tracking-Informationen zu Ihren mit WooCommerce Shipping "
194
- "versendeten Bestellungen zur Sendungsverfolgung und Automatisierung Ihres "
195
- "Workflows"
196
-
197
- #: includes/class-wc-advanced-shipment-tracking-admin.php:505
198
- msgid ""
199
- "Adding tracking information to your orders when generating shipping labels "
200
- "using the Ordoro"
201
- msgstr ""
202
- "Hinzufügen von Tracking-Informationen zu Ihren Bestellungen beim Erstellen "
203
- "von Versandetiketten mit dem Ordoro"
204
 
205
- #: includes/class-wc-advanced-shipment-tracking-admin.php:495
206
- msgid ""
207
- "Adding tracking information to your orders when generating shipping labels "
208
- "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
209
- "PluginHive"
210
- msgstr ""
211
- "Hinzufügen von Tracking-Informationen zu Ihren Bestellungen beim Erstellen "
212
- "von Versandetiketten mit dem WooCommerce UPS Shipping Plugin mit Print Label "
213
- "Plugin von PluginHive"
214
 
215
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
216
  msgid "Additional text after header"
217
  msgstr "Zusätzlicher Text nach Kopfzeile"
218
 
219
- #. Name of the plugin
220
- msgid "Advanced Shipment Tracking for WooCommerce"
221
- msgstr "Erweiterte Sendungsverfolgung für WooCommerce"
 
222
 
223
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
224
  msgid "After Order Details"
225
  msgstr "Nach Auftragsdetails"
226
 
227
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
228
- msgid "API aliases"
229
- msgstr "API-Aliasse"
230
-
231
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
232
  msgid "API Date Format"
233
  msgstr "API-Datumsformat"
234
 
235
- #: includes/views/admin_options_shipping_provider.php:67
 
236
  msgid "API Name"
237
  msgstr "API-Name"
238
 
239
- #: includes/customizer/class-wc-tracking-info-customizer.php:333
240
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
241
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
242
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
243
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
244
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
245
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
246
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
247
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  msgid "Available variables:"
249
  msgstr "Verfügbare Variablen:"
250
 
251
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
252
  msgid "Before Order Details"
253
  msgstr "Vor der Bestellung Details"
254
 
255
- #: includes/customizer/class-wc-tracking-info-customizer.php:537
 
 
 
 
256
  msgid "Border color"
257
  msgstr "Randfarbe"
258
 
259
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
260
  msgid "Border size"
261
  msgstr ""
262
  "Rahmengrösse\n"
263
 
264
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
265
  msgid "Bottom border color"
266
  msgstr ""
267
  "Farbe des unteren Randes\n"
268
 
269
- #: includes/customizer/class-wc-tracking-info-customizer.php:968
 
 
 
 
270
  msgid "Button color"
271
- msgstr "Knopffarbe"
272
 
273
- #: includes/customizer/class-wc-tracking-info-customizer.php:986
274
  msgid "Button font color"
275
- msgstr "Schriftfarbe der Schaltfläche"
276
 
277
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
278
  msgid "Cannot create existing order shipment tracking."
279
  msgstr ""
280
  "Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
281
 
282
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  msgid "Change order status to"
284
  msgstr "Ändern Sie den Auftragsstatus in"
285
 
286
- #: includes/class-wc-advanced-shipment-tracking-settings.php:299
287
  msgid "Change status to shipped"
288
  msgstr ""
289
  "Ändern Sie den Status in \"Versand\"\n"
290
 
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
292
  msgid "Choose for which Order status to display"
293
- msgstr "Wählen Sie aus, welcher Bestellstatus angezeigt werden soll"
294
 
295
- #: includes/views/admin_options_bulk_upload.php:32
 
 
 
 
 
 
 
 
296
  msgid "Choose the Shipped Date format"
297
  msgstr "Wählen Sie das Versanddatum-Format"
298
 
299
- #: includes/class-wc-advanced-shipment-tracking.php:467
 
 
 
 
 
300
  msgid "Completed"
301
  msgstr "vollendet, fertiggestellt"
302
 
303
- #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
 
304
  msgid "Content"
305
  msgstr "Inhalt"
306
 
307
- #: includes/customizer/class-wc-tracking-info-customizer.php:807
308
  msgid "Content Background color"
309
- msgstr "Inhalt Hintergrundfarbe"
310
 
311
- #: includes/customizer/class-wc-tracking-info-customizer.php:370
312
- #: includes/customizer/class-wc-tracking-info-customizer.php:825
313
  msgid "Content font color"
314
  msgstr ""
315
  "Schriftfarbe des Inhalts\n"
316
 
317
- #: includes/customizer/class-wc-tracking-info-customizer.php:351
318
- #: includes/customizer/class-wc-tracking-info-customizer.php:843
319
  msgid "Content font size"
320
  msgstr ""
321
  "Schriftgröße des Inhalts\n"
322
 
323
- #: includes/customizer/class-wc-tracking-info-customizer.php:885
324
  msgid "Content font weight"
325
  msgstr ""
326
  "Schriftgröße des Inhalts\n"
327
 
328
- #: includes/customizer/class-wc-tracking-info-customizer.php:862
329
  msgid "Content line height"
330
  msgstr "Höhe der Inhaltszeile"
331
 
332
- #: includes/views/admin_options_bulk_upload.php:55
333
  msgid "Continue"
334
  msgstr "Fortsetzen"
335
 
336
- #: includes/views/admin_options_shipping_provider.php:72
337
  msgid "Country"
338
  msgstr "Land"
339
 
340
- #: includes/class-wc-advanced-shipment-tracking-admin.php:381
341
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
342
- #: includes/views/admin_options_bulk_upload.php:8
 
343
  msgid "CSV Import"
344
  msgstr "CSV-Import"
345
 
346
- #: includes/views/admin_options_shipping_provider.php:65
347
- msgid "Custom API name"
348
- msgstr "Benutzerdefinierter API-Name"
349
-
350
  #: includes/views/admin_options_shipping_provider.php:61
 
351
  msgid "Custom display name"
352
  msgstr "Benutzerdefinierter Anzeigename"
353
 
354
- #: includes/customizer/class-wcast-customizer.php:44
355
- msgid "Custom order status email"
356
- msgstr "E-Mail zum benutzerdefinierten Bestellstatus"
 
357
 
358
- #: includes/views/admin_options_shipping_provider.php:82
359
- msgid "Custom URL"
360
- msgstr "eigene URL"
361
-
362
- #: includes/views/admin_options_settings.php:32
363
- msgid "Customer View"
364
- msgstr "Kundenansicht"
365
 
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:712
367
- #: includes/class-wc-advanced-shipment-tracking-admin.php:832
368
- msgid "Customize"
369
- msgstr "Anpassen"
370
 
371
- #: includes/views/admin_options_osm.php:66
 
 
372
  msgid "Dark Font"
373
  msgstr ""
374
  "Dunkle Schrift\n"
375
 
376
- #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
 
 
 
377
  msgid "Data saved successfully."
378
  msgstr "Daten erfolgreich gespeichert."
379
 
380
- #: includes/class-wc-advanced-shipment-tracking.php:369
381
- #: includes/class-wc-advanced-shipment-tracking-settings.php:377
382
  msgid "Date shipped:"
383
  msgstr "Lieferdatum:"
384
 
385
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
386
- #| msgid "Default"
387
- msgid "default"
388
  msgstr "Standard"
389
 
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  msgid "Delivered"
392
  msgstr "Geliefert"
393
 
394
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  msgid "Display Name"
396
  msgstr "Anzeigename"
397
 
398
- #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
 
 
 
 
 
 
 
 
 
399
  msgid "Display shipping provider image"
400
  msgstr ""
401
  "Bild des Versandanbieters anzeigen\n"
402
 
403
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
404
  msgid "Display shipping provider name"
405
  msgstr ""
406
  "Name des Versandanbieters anzeigen\n"
407
 
408
- #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  msgid "Download sample csv"
410
  msgstr "Beispiel-CSV herunterladen"
411
 
412
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
413
- msgid "edit"
414
- msgstr "bearbeiten"
415
 
416
- #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
417
  msgid "Edit Shipping Provider"
418
  msgstr "Versandanbieter bearbeiten"
419
 
420
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
421
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
422
  msgid "Email content"
423
  msgstr "E-Mail-Inhalt"
424
 
425
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
426
- msgid "Email Type"
427
- msgstr "E-Mail-Typ"
428
-
429
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
430
- msgid "Enable Partially Shipped order status email"
431
- msgstr ""
432
- "Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
433
-
434
- #: includes/class-wc-advanced-shipment-tracking-admin.php:584
435
- msgid "Enable the 3plwinner integration"
436
- msgstr "Aktivieren Sie die 3plwinner-Integration"
437
 
438
- #: includes/class-wc-advanced-shipment-tracking-admin.php:604
439
- msgid "Enable the AliExpress Dropshipping integration"
440
- msgstr "Aktivieren Sie die AliExpress Dropshipping-Integration"
441
 
442
- #: includes/class-wc-advanced-shipment-tracking-admin.php:544
443
- msgid "Enable the CustomCat integration"
444
- msgstr "Aktivieren Sie die CustomCat-Integration"
445
 
446
- #: includes/class-wc-advanced-shipment-tracking-admin.php:554
447
- msgid "Enable the Dear Systems integration"
448
- msgstr "Aktivieren Sie die Dear Systems-Integration"
449
-
450
- #: includes/class-wc-advanced-shipment-tracking-admin.php:594
451
- msgid "Enable the Dianxiaomi integration"
452
- msgstr "Aktivieren Sie die Dianxiaomi-Integration"
453
 
454
- #: includes/class-wc-advanced-shipment-tracking-admin.php:504
455
- msgid "Enable the Ordoro tracking integration"
456
- msgstr "Aktivieren Sie die Ordoro-Tracking-Integration"
457
 
458
- #: includes/class-wc-advanced-shipment-tracking-admin.php:574
459
- msgid "Enable the Picqer integration"
460
- msgstr "Aktivieren Sie die Picqer-Integration"
 
461
 
462
- #: includes/class-wc-advanced-shipment-tracking-admin.php:564
463
- msgid "Enable the Printify integration"
464
- msgstr "Aktivieren Sie die Printify-Integration"
465
 
466
- #: includes/class-wc-advanced-shipment-tracking-admin.php:514
467
- msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
468
  msgstr ""
469
- "Aktivieren Sie die QuickBooks Commerce (ehemals TradeGecko)-Integrationen"
470
-
471
- #: includes/class-wc-advanced-shipment-tracking-admin.php:524
472
- msgid "Enable the ReadyToShip integration"
473
- msgstr "Aktivieren Sie die ReadyToShip-Integration"
474
 
475
- #: includes/class-wc-advanced-shipment-tracking-admin.php:534
476
- msgid "Enable the Royal Mail Click & Drop integration"
477
- msgstr "Aktivieren Sie die Royal Mail Click & Drop-Integration"
478
 
479
- #: includes/class-wc-advanced-shipment-tracking-admin.php:474
480
- msgid "Enable the ShipStation integration"
481
- msgstr "Aktivieren Sie die ShipStation-Integration"
482
 
483
- #: includes/class-wc-advanced-shipment-tracking-admin.php:484
484
- msgid "Enable the WC Shipping integration"
485
- msgstr "Aktivieren Sie die WC Shipping-Integration"
486
 
487
- #: includes/class-wc-advanced-shipment-tracking-admin.php:494
488
- msgid ""
489
- "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
490
- "integration"
491
  msgstr ""
492
- "Aktivieren Sie das WooCommerce UPS Versand-Plugin mit der Integration des "
493
- "Print Label-Plugins"
494
 
495
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
496
- msgid "Enable Track button in orders history (actions)"
497
- msgstr "Schaltfläche \"Verfolgen\" im Bestellverlauf aktivieren (Aktionen)"
498
 
499
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
 
 
 
 
500
  msgid "Enable Updated Tracking order status email"
501
  msgstr ""
502
  "Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
503
  "Sendungsverfolgung\n"
504
 
505
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
506
  msgid "Filter by shipping provider"
507
  msgstr "Nach Versandanbieter filtern"
508
 
509
- #: includes/class-wc-advanced-shipment-tracking-settings.php:388
510
- msgid "Fulfill Order"
511
- msgstr "Bestellung ausführen"
 
 
512
 
513
- #: includes/class-wc-advanced-shipment-tracking-admin.php:425
514
- #: includes/class-wc-advanced-shipment-tracking-admin.php:429
515
  msgid "General Settings"
516
  msgstr "Allgemeine Einstellungen"
517
 
518
- #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
 
519
  msgid "Global"
520
  msgstr "Global"
521
 
522
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
523
- msgid "Go Pro"
524
- msgstr "Go Pro"
 
 
 
 
 
 
 
 
525
 
526
- #: includes/customizer/class-wc-tracking-info-customizer.php:731
527
  msgid "Headers background color"
528
- msgstr "Hintergrundfarbe der Kopfzeilen"
529
 
530
- #: includes/customizer/class-wc-tracking-info-customizer.php:749
531
  msgid "Headers font color"
532
  msgstr ""
533
  "Schriftfarbe der Überschriften\n"
534
 
535
- #: includes/customizer/class-wc-tracking-info-customizer.php:712
536
  msgid "Headers font size"
537
  msgstr ""
538
  "Schriftgröße der Überschriften\n"
539
 
540
- #: includes/customizer/class-wc-tracking-info-customizer.php:767
541
  msgid "Headers font weight"
542
- msgstr "Schriftstärke der Kopfzeilen"
543
 
544
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
545
  msgid ""
546
  "Hi there. we thought you'd like to know that the shipment tracking for your "
547
  "recent order from {site_title} has been updated."
@@ -549,7 +657,16 @@ msgstr ""
549
  "Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
550
  "letzte Bestellung von {site_title} aktualisiert wurde.\n"
551
 
552
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
 
553
  msgid ""
554
  "Hi there. we thought you'd like to know that your recent order from "
555
  "{site_title} has been partially shipped."
@@ -557,58 +674,137 @@ msgstr ""
557
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
558
  "{site_title} teilweise versendet wurde.\n"
559
 
560
- #: includes/class-wc-advanced-shipment-tracking-settings.php:645
561
- #: includes/class-wc-advanced-shipment-tracking-settings.php:662
562
- #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
563
  msgid "hide details"
564
  msgstr ""
565
  "Details ausblenden\n"
566
 
567
- #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
568
  msgid "Hide Table Headers"
569
  msgstr ""
570
  "Tabellenüberschriften ausblenden\n"
571
 
572
- #: includes/customizer/class-wc-tracking-info-customizer.php:482
 
573
  #| msgid "Hide the ship date"
574
  msgid "Hide the shipped date"
575
- msgstr "Verstecken Sie das Versanddatum"
 
 
 
 
 
 
 
 
 
 
576
 
577
- #: includes/customizer/class-wc-tracking-info-customizer.php:203
578
  msgid "Hide Tracking Header"
579
  msgstr "Tracking-Header ausblenden"
580
 
581
- #: includes/views/admin_options_bulk_upload.php:118
582
- msgid "How to import tracking number from CSV files?"
583
- msgstr "Wie importiere ich Tracking-Nummern aus CSV-Dateien?"
584
-
585
- #. Author URI of the plugin
586
- msgid "https://www.zorem.com"
587
- msgstr "https://www.zorem.com"
588
 
589
- #. URI of the plugin
590
- msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
591
- msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
 
 
 
 
 
592
 
593
- #: includes/views/admin_options_bulk_upload.php:74
594
  msgid "Import in Progress"
595
  msgstr "Import in Bearbeitung"
596
 
597
- #: includes/views/admin_options_trackship_integration.php:18
598
- msgid "Install TrackShip for WooCommerce"
599
- msgstr "TrackShip für WooCommerce installieren"
 
 
 
 
 
600
 
601
- #: includes/class-wc-advanced-shipment-tracking-admin.php:390
602
- #: includes/views/integrations_admin_options.php:3
603
- msgid "Integrations"
604
- msgstr "Integrationen"
605
 
606
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
607
  msgid "Invalid order ID."
608
  msgstr ""
609
  "Ungültige Bestellnummer.\n"
610
 
611
- #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
612
  msgid ""
613
  "Keep unchecked for the tracking info to be added to any existing tracking "
614
  "info added to the orders."
@@ -617,98 +813,171 @@ msgstr ""
617
  "Informationen zu den vorhandenen Tracking-Informationen hinzugefügt werden, "
618
  "die den Bestellungen hinzugefügt wurden."
619
 
620
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
621
  msgid "License"
622
  msgstr "Lizenz"
623
 
624
- #: includes/views/admin_options_osm.php:65
 
 
625
  msgid "Light Font"
626
  msgstr ""
627
  "Leichte Schrift\n"
628
 
629
- #: includes/class-wc-advanced-shipment-tracking.php:300
 
630
  msgid "Mark as Completed?"
631
  msgstr "Als erledigt markieren?"
632
 
633
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
634
  msgid "Mark as Shipped"
635
  msgstr "Als versandt markieren"
636
 
637
- #: includes/class-wc-advanced-shipment-tracking.php:297
 
638
  msgid "Mark as Shipped?"
639
  msgstr "Als versandt markieren?"
640
 
641
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
642
  msgid "Mark order as delivered"
643
  msgstr "Bestellung als geliefert markieren"
644
 
645
- #: includes/class-wc-advanced-shipment-tracking.php:492
 
646
  msgid "Mark order as:"
647
  msgstr "Bestellung markieren als:"
648
 
649
- #: includes/customizer/class-wcast-customizer.php:359
650
- msgid "Mockup Order"
651
- msgstr "Mockup-Bestellung"
652
-
653
- #: includes/class-wc-advanced-shipment-tracking-admin.php:816
654
- #: includes/views/integrations_admin_options.php:20
655
  msgid "more info"
656
  msgstr ""
657
  "Mehr Info\n"
658
 
659
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
660
- msgid "Multiple API names mapping is a pro features"
661
- msgstr "Die Zuordnung mehrerer API-Namen ist ein Profi-Feature"
 
 
 
 
 
662
 
663
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
664
- msgid "Open the Track Button link in a new tab"
665
- msgstr "Öffne den Link zum Track Button in einem neuen Tab"
 
 
666
 
667
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
668
- msgid "Order Emails Display"
669
- msgstr "Bestell-E-Mail-Anzeige"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
670
 
671
  #. %s: Order ID.
672
- #: templates/emails/wcast-email-order-details.php:55
673
  #, php-format
674
  msgid "Order number: %s"
675
  msgstr ""
676
  "Bestellnummer:% s\n"
677
 
678
- #: includes/class-wc-advanced-shipment-tracking-admin.php:434
679
- #: includes/class-wc-advanced-shipment-tracking-admin.php:438
680
- #: includes/views/admin_options_settings.php:64
681
- msgid "Order Statuses"
682
- msgstr "Bestellstatus"
683
 
684
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
685
- #: includes/class-wc-advanced-shipment-tracking.php:1193
686
- #: includes/class-wc-advanced-shipment-tracking.php:1269
687
  #, php-format
688
- #| msgid "Order was shipped with %s and tracking number is: %s"
689
- msgid "Order was shipped with %1$s and tracking number is: %2$s"
690
  msgstr ""
691
- "Die Bestellung wurde mit %1$s versendet und die Sendungsverfolgungsnummer "
692
- "lautet: %2$s"
 
 
 
693
 
694
- #: includes/class-wc-advanced-shipment-tracking-admin.php:808
695
  msgid "Other"
696
  msgstr "Andere"
697
 
698
- #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
  msgid "Partial Shipped"
700
  msgstr "Teilweise versandt"
701
 
702
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
703
- #: includes/class-wc-advanced-shipment-tracking-settings.php:129
704
- #: includes/class-wc-advanced-shipment-tracking-settings.php:161
705
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
706
  msgid "Partially Shipped"
707
  msgstr ""
708
  "zum Teil versandt\n"
709
 
710
- #. %s: replace with Partially Shipped Count
711
- #: includes/class-wc-advanced-shipment-tracking-settings.php:135
712
  #, php-format
713
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
714
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
@@ -717,175 +986,299 @@ msgstr[0] ""
717
  msgstr[1] ""
718
  "Teilweise versandt <span class=\"count\">(%s)</span>\n"
719
 
720
- #: includes/class-wc-advanced-shipment-tracking-admin.php:614
721
- msgid ""
722
- "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
723
- "By Ewout Fernhout"
724
  msgstr ""
725
- "Integration von PDF-Rechnungen für das WooCommerce-Plugin für PDF-Rechnungen "
726
- "und Lieferscheine Von Ewout Fernhout"
727
 
728
- #: includes/class-wc-advanced-shipment-tracking-admin.php:624
729
- msgid ""
730
- "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
731
- msgstr ""
732
- "Integration von PDF-Rechnungen für WooCommerce PDF-Rechnungs-Plugin Von Bas "
733
- "Elbers"
734
 
735
- #. %s: search WooCommerce plugin link
736
- #: woocommerce-advanced-shipment-tracking.php:181
737
  #, php-format
738
  msgid ""
739
- "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
740
- "Tracking for WooCommerce!"
741
- msgstr ""
742
- "Bitte installieren und aktivieren Sie %1$sWooCommerce%2$s für die erweiterte "
743
- "Sendungsverfolgung für WooCommerce!"
744
-
745
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
746
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
747
  msgid "Please select order to preview."
748
  msgstr ""
749
  "Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
750
 
751
- #: includes/class-wc-advanced-shipment-tracking-admin.php:177
752
  msgid "Please upload a valid CSV file."
753
  msgstr "Please upload a valid CSV file."
754
 
755
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
756
  msgid "Preview:"
757
  msgstr "Vorschau:"
758
 
759
- #: includes/class-wc-advanced-shipment-tracking.php:361
760
- #: includes/class-wc-advanced-shipment-tracking-settings.php:373
761
  msgid "Product Code:"
762
  msgstr "Produktcode:"
763
 
764
- #: includes/customizer/class-wc-tracking-info-customizer.php:141
765
- #: includes/customizer/class-wc-tracking-info-customizer.php:648
766
- #: templates/emails/tracking-info.php:216
767
- #: templates/myaccount/tracking-info.php:192
 
768
  msgid "Provider"
769
  msgstr "Anbieter"
770
 
771
- #: includes/views/admin_options_shipping_provider.php:57
772
- #: templates/emails/tracking-info.php:222
773
- #: templates/myaccount/tracking-info.php:198
774
  msgid "Provider Name"
775
  msgstr "Anbietername"
776
 
777
- #: includes/views/admin_options_shipping_provider.php:116
778
  msgid "Providers Added"
779
  msgstr "Anbieter hinzugefügt"
780
 
781
- #: includes/views/admin_options_shipping_provider.php:118
782
  msgid "Providers Deleted"
783
  msgstr "Anbieter gelöscht"
784
 
785
- #: includes/views/admin_options_shipping_provider.php:117
786
  msgid "Providers Updated"
787
  msgstr "Anbieter aktualisiert"
788
 
789
- #: includes/class-wc-advanced-shipment-tracking-admin.php:174
790
  msgid "Really delete this entry? This will not be undo."
791
  msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
792
 
793
- #: includes/views/admin_options_osm.php:14
 
 
 
 
 
 
794
  msgid "Rename the “Completed” Order status label to “Shipped”"
795
- msgstr "Benennen Sie das Statuslabel \"Abgeschlossen\" in \"Versendet\" um."
796
 
797
- #: includes/views/admin_options_bulk_upload.php:46
798
  msgid "Replace tracking information?"
799
  msgstr "Tracking-Informationen ersetzen?"
800
 
801
- #: includes/views/admin_options_shipping_provider.php:100
 
 
 
 
 
802
  msgid "Reset"
803
  msgstr "Zurücksetzen"
804
 
805
- #: includes/views/admin_options_shipping_provider.php:122
806
  msgid ""
807
  "Reset providers database, it will reset all your shipping provider database"
808
  msgstr ""
809
  "Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
810
  "Datenbank zurück"
811
 
812
- #: includes/views/admin_options_settings.php:19
813
- #: includes/views/admin_options_settings.php:35
814
- #: includes/views/admin_options_settings.php:51
815
- #: includes/views/admin_options_settings.php:67
816
- msgid "Save & Close"
817
- msgstr "Speichern & schließen"
 
 
 
 
 
 
818
 
819
- #: includes/class-wc-advanced-shipment-tracking.php:384
 
 
 
 
 
 
 
 
 
820
  msgid "Save Tracking"
821
  msgstr "Tracking speichern"
822
 
823
- #: includes/views/admin_options_shipping_provider.php:27
824
  msgid "Search by provider / country"
825
  msgstr ""
826
  "Suche nach Anbieter / Land\n"
827
 
828
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
829
- msgid "Select email type"
830
- msgstr "E-Mail-Typ auswählen"
 
 
 
 
 
 
 
 
 
 
831
 
832
- #: includes/class-wc-advanced-shipment-tracking.php:323
833
  msgid "Select Provider"
834
  msgstr "Wählen Sie Provider aus"
835
 
836
- #: includes/customizer/class-wc-tracking-info-customizer.php:259
837
  msgid "Select Template"
838
  msgstr ""
839
  "Vorlage auswählen\n"
840
 
841
- #: includes/views/admin_options_osm.php:74
 
 
 
 
 
 
 
 
 
842
  msgid "Send Email"
843
  msgstr ""
844
  "E-Mail senden\n"
845
 
846
- #: includes/class-wc-advanced-shipment-tracking-admin.php:927
847
  msgid ""
848
  "Set the \"mark as shipped\" option checked when adding tracking info to "
849
  "orders"
850
  msgstr ""
851
- "Setzen Sie die Option \"als versandt markieren\", wenn Sie Tracking-"
852
- "Informationen zu Bestellungen hinzufügen"
853
 
854
- #: includes/class-wc-advanced-shipment-tracking-admin.php:352
855
- #: includes/class-wc-advanced-shipment-tracking-admin.php:356
856
- #: includes/views/admin_options_settings.php:9
857
  msgid "Settings"
858
- msgstr "die Einstellungen"
859
 
860
- #: includes/views/admin_options_bulk_upload.php:57
861
  msgid "Settings Saved."
862
  msgstr "Einstellungen gespeichert."
863
 
864
- #. %s: replace with status
865
- #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
866
  #, php-format
867
  msgid "Shipment status changed to %s"
868
  msgstr "Der Sendungsstatus wurde in% s geändert"
869
 
870
- #: includes/class-wc-advanced-shipment-tracking-admin.php:189
871
- #: includes/class-wc-advanced-shipment-tracking.php:138
872
- #: includes/class-wc-advanced-shipment-tracking.php:219
 
 
 
 
 
 
 
 
 
 
873
  msgid "Shipment Tracking"
874
  msgstr "Sendungsverfolgung"
875
 
876
- #: includes/views/admin_options_settings.php:48
877
- msgid "Shipment Tracking API"
878
- msgstr "API zur Sendungsverfolgung"
879
-
880
- #: includes/class-wc-advanced-shipment-tracking-admin.php:849
881
- #: includes/class-wc-advanced-shipment-tracking-admin.php:945
882
- #: includes/class-wc-advanced-shipment-tracking.php:467
883
- #: includes/class-wc-advanced-shipment-tracking-settings.php:263
884
  msgid "Shipped"
885
  msgstr "Versendet"
886
 
887
- #. %s: replace with shipped order count
888
- #: includes/class-wc-advanced-shipment-tracking-settings.php:283
889
  #, php-format
890
  msgid "Shipped <span class=\"count\">(%s)</span>"
891
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
@@ -894,86 +1287,142 @@ msgstr[0] ""
894
  msgstr[1] ""
895
  "Versand <span class=\"count\">(%s)</span>\n"
896
 
897
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
898
- #: includes/customizer/class-wc-tracking-info-customizer.php:695
899
  msgid "Shipped Date"
900
  msgstr "Versanddatum"
901
 
902
- #: includes/customizer/class-wc-tracking-info-customizer.php:688
 
903
  #| msgid "Ship date header text"
904
  msgid "Shipped date header text"
905
- msgstr "Versanddatum Kopfzeilentext"
 
906
 
907
  #. 1: shipping date
908
- #: includes/class-wc-advanced-shipment-tracking.php:255
909
  #, php-format
910
  msgid "Shipped on %s"
911
  msgstr "Versand auf% s"
912
 
913
- #: includes/customizer/class-wc-tracking-info-customizer.php:151
914
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
915
  msgstr ""
916
  "Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
917
 
918
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
919
  msgid "Shipped Order"
920
  msgstr "Versandbestellung"
921
 
922
- #: includes/views/admin_options_shipping_provider.php:74
 
923
  msgid "Shipping Country"
924
  msgstr ""
925
  "Lieferungsland\n"
926
 
927
  #: includes/views/admin_options_shipping_provider.php:58
 
928
  msgid "Shipping Provider"
929
  msgstr "Versandanbieter"
930
 
931
- #: includes/customizer/class-wc-tracking-info-customizer.php:641
932
  msgid "Shipping provider header text"
933
- msgstr "Kopfzeilentext des Versanddienstleisters"
934
 
935
- #: includes/class-wc-advanced-shipment-tracking.php:321
936
- #: includes/class-wc-advanced-shipment-tracking-settings.php:350
937
- #: includes/class-wc-advanced-shipment-tracking-settings.php:352
938
  msgid "Shipping Provider:"
939
  msgstr "Versandanbieter:"
940
 
941
- #: includes/class-wc-advanced-shipment-tracking-admin.php:372
942
- #: includes/class-wc-advanced-shipment-tracking-admin.php:376
943
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
944
  msgid "Shipping Providers"
945
  msgstr "Versandanbieter"
946
 
947
- #: includes/views/admin_options_shipping_provider.php:22
948
- msgid "Shipping Providers & Carriers"
949
- msgstr "Versanddienstleister & Spediteure"
950
-
951
- #: includes/views/admin_options_shipping_provider.php:120
952
  msgid "Shipping providers database reset successfully."
953
  msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
954
 
955
- #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
 
 
 
 
 
 
 
956
  msgid "Show bottom border"
957
  msgstr ""
958
  "Zeige unteren Rand\n"
959
 
960
- #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
961
  msgid "Simple Layout Design"
962
  msgstr ""
963
  "Einfaches Layout Design\n"
964
 
965
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
966
  msgid "Special character not allowd in tracking number"
967
  msgstr ""
968
  "Sonderzeichen in Tracking-Nummer nicht zulässig\n"
969
 
970
- #: includes/views/admin_options_shipping_provider.php:110
971
- #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
 
 
 
 
 
972
  msgid "Sync Shipping Providers"
973
  msgstr ""
974
  "Versandanbieter synchronisieren\n"
975
 
976
- #: includes/views/admin_options_shipping_provider.php:114
977
  msgid ""
978
  "Syncing the shipping providers list add or updates the pre-set shipping "
979
  "providers and will not effect custom shipping providers."
@@ -982,154 +1431,321 @@ msgstr ""
982
  "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
983
  "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
984
 
985
- #: includes/customizer/class-wc-tracking-info-customizer.php:790
986
  msgid "Table Content"
987
  msgstr ""
988
  "Tabelleninhalt\n"
989
 
990
- #: includes/customizer/class-wc-tracking-info-customizer.php:520
991
  msgid "Table Design Options"
992
- msgstr "Tabellendesign-Optionen"
993
 
994
- #: includes/customizer/class-wc-tracking-info-customizer.php:605
 
995
  #| msgid "Table Headers"
996
  msgid "Table Header"
997
- msgstr "Tabellenüberschriften"
 
998
 
999
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1000
  msgid "Table Layout"
1001
  msgstr ""
1002
  "Tabellenlayout\n"
1003
 
1004
- #: includes/customizer/class-wc-tracking-info-customizer.php:427
 
 
 
 
1005
  msgid "Table Options"
1006
- msgstr "Tabellenoptionen"
1007
 
1008
- #: includes/customizer/class-wc-tracking-info-customizer.php:581
1009
  msgid "Text align"
1010
- msgstr "Textausrichtung"
1011
 
1012
- #: includes/views/admin_options_shipping_provider.php:61
 
1013
  msgid ""
1014
- "The custom display name will show in the tracking info section on the "
1015
- "customer order emails, my-account, and TrackShip's tracking page and email "
1016
- "notifications"
1017
  msgstr ""
1018
- "Der benutzerdefinierte Anzeigename wird im Abschnitt mit den Tracking-"
1019
- "Informationen in den E-Mails der Kundenbestellungen, in meinem Konto und auf "
1020
- "der Tracking-Seite und den E-Mail-Benachrichtigungen von TrackShip angezeigt "
1021
- "show"
1022
 
1023
- #: includes/class-wc-advanced-shipment-tracking-settings.php:627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1024
  msgid "There are some issue with sync, Please Retry."
1025
  msgstr ""
1026
  "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
1027
  "\n"
1028
 
1029
- #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1030
  msgid "This browser does not support HTML5."
1031
  msgstr "Dieser Browser unterstützt HTML5 nicht."
1032
 
1033
- #: includes/class-wc-advanced-shipment-tracking.php:784
1034
- #: includes/class-wc-advanced-shipment-tracking.php:817
1035
- #: includes/class-wc-advanced-shipment-tracking.php:835
1036
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1037
- #: includes/customizer/class-wc-tracking-info-customizer.php:951
1038
- #: templates/emails/tracking-info.php:264
1039
- #: templates/myaccount/tracking-info.php:244
1040
- #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1041
  msgid "Track"
1042
  msgstr "Verfolgen"
1043
 
1044
- #: includes/customizer/class-wc-tracking-info-customizer.php:908
1045
  msgid "Track Button"
1046
- msgstr "Track-Taste"
1047
-
1048
- #: includes/customizer/class-wc-tracking-info-customizer.php:925
1049
- msgid "Track Header"
1050
- msgstr "Track-Header"
1051
 
1052
- #: includes/customizer/class-wc-tracking-info-customizer.php:944
1053
  msgid "Track header text"
1054
  msgstr ""
1055
  "Verfolgen Sie den Header-Text\n"
1056
 
1057
- #: includes/class-wc-advanced-shipment-tracking.php:242
1058
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
1059
  msgid "Track Shipment"
1060
  msgstr ""
1061
  "Sendung verfolgen\n"
1062
 
1063
- #: includes/customizer/class-wc-tracking-info-customizer.php:274
1064
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1065
  msgid "Tracking display layout"
1066
  msgstr "Tracking-Display-Layout"
1067
 
1068
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
1069
  msgid "Tracking Display Position"
1070
  msgstr "Verfolgung der Anzeigeposition"
1071
 
1072
- #: includes/customizer/class-wc-tracking-info-customizer.php:221
1073
  msgid "Tracking Header text"
1074
  msgstr ""
1075
  "Tracking-Header-Text\n"
1076
 
1077
- #: includes/customizer/class-wcast-customizer.php:37
 
1078
  msgid "Tracking info display"
1079
  msgstr ""
1080
  "Tracking-Info-Anzeige\n"
1081
 
1082
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1083
- #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
1084
  #, php-format
1085
- #| msgid ""
1086
- #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1087
  msgid ""
1088
- "Tracking info was deleted for tracking provider %1$s with tracking number "
1089
- "%2$s"
1090
  msgstr ""
1091
- "Tracking-Informationen für Tracking-Anbieter %1$s mit Tracking-Nummer %2$s "
1092
- "wurden gelöscht"
1093
 
1094
- #: includes/customizer/class-wc-tracking-info-customizer.php:228
1095
  msgid "Tracking Information"
1096
  msgstr "Tracking-Informationen"
1097
 
1098
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1099
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
1100
- #: templates/emails/tracking-info.php:235
1101
- #: templates/myaccount/tracking-info.php:213
 
 
 
 
 
1102
  msgid "Tracking Number"
1103
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1104
 
1105
- #: includes/customizer/class-wc-tracking-info-customizer.php:665
 
1106
  #| msgid "Tracking Number header text"
1107
  msgid "Tracking number header text"
1108
- msgstr "Tracking-Nummer-Header-Text"
 
1109
 
1110
- #: includes/class-wc-advanced-shipment-tracking.php:317
1111
- #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1112
  msgid "Tracking number:"
1113
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
1114
 
1115
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1116
  msgid "TrackShip"
1117
  msgstr "TrackShip"
1118
 
1119
- #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1120
  msgid "Update"
1121
  msgstr "Aktualisieren"
1122
 
1123
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1124
- #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1125
- #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1126
- #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1127
  msgid "Updated Tracking"
1128
  msgstr ""
1129
  "Aktualisiertes Tracking\n"
1130
 
1131
- #. %s: replace with Updated Tracking Count
1132
- #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1133
  #, php-format
1134
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1135
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
@@ -1138,15 +1754,39 @@ msgstr[0] ""
1138
  msgstr[1] ""
1139
  "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
1140
 
1141
- #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1142
  msgid "Upload a CSV file from your computer:"
1143
  msgstr "Laden Sie eine CSV-Datei von Ihrem Computer hoch:"
1144
 
1145
- #: includes/views/admin_options_bulk_upload.php:107
1146
  msgid "Upload again"
1147
  msgstr "Erneut hochladen"
1148
 
1149
- #: includes/views/admin_options_bulk_upload.php:9
 
 
 
 
 
 
 
 
 
1150
  msgid ""
1151
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1152
  "file"
@@ -1154,25 +1794,49 @@ msgstr ""
1154
  "Verwenden Sie unser CSV-Import-Tool, um Tracking-Informationen in "
1155
  "Bestellungen aus einer CSV-Datei zu importieren"
1156
 
1157
- #: includes/customizer/class-wc-tracking-info-customizer.php:501
 
 
 
 
 
 
1158
  msgid "Use tracking number as a link"
1159
  msgstr ""
1160
  "Verwenden Sie die Tracking-Nummer als Link\n"
1161
 
1162
- #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1163
- #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1164
- #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1165
- #: includes/views/admin_options_bulk_upload.php:85
1166
  msgid "view details"
1167
  msgstr ""
1168
  "Details anzeigen\n"
1169
 
1170
- #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
 
1171
  msgid "View Orders"
1172
  msgstr "Bestellungen anzeigen"
1173
 
1174
- #. %s: replace with Partially Shipped order count
1175
- #: woocommerce-advanced-shipment-tracking.php:502
 
 
 
 
 
 
 
 
 
 
 
 
 
1176
  #, php-format
1177
  msgid ""
1178
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1181,23 +1845,40 @@ msgstr ""
1181
  "Wir haben% s Bestellungen festgestellt, die den Status \"Teilversand\" "
1182
  "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
1183
 
1184
- #: includes/views/admin_options_shipping_provider.php:62
1185
- msgid "White Label Provider Name"
1186
- msgstr "Name des White-Label-Anbieters"
 
 
 
 
 
 
1187
 
1188
- #: includes/class-wc-advanced-shipment-tracking.php:370
1189
- #: includes/class-wc-advanced-shipment-tracking.php:373
1190
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1191
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1192
- msgid "Y-m-d"
1193
- msgstr "Y-m-d"
 
 
 
1194
 
1195
- #: includes/class-wc-advanced-shipment-tracking-admin.php:175
 
 
 
 
 
 
 
 
1196
  msgid "You can upload only csv file."
1197
  msgstr "Sie können nur CSV-Dateien hochladen."
1198
 
1199
- #. %s: search WooCommerce plugin link
1200
- #: includes/views/admin_options_shipping_provider.php:89
1201
  msgid ""
1202
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1203
  "URL, for more info, check our "
@@ -1205,32 +1886,102 @@ msgstr ""
1205
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1206
  "URL, for more info, check our "
1207
 
1208
- #. %s: replace with status
1209
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1210
  #, php-format
1211
  msgid "You did not create any %s shipping providers yet."
1212
  msgstr "Sie haben noch keine% s Versandanbieter erstellt."
1213
 
1214
- #. %s: replace with status
1215
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1216
  #, php-format
1217
  msgid "You don't have any %s shipping providers."
1218
  msgstr "Sie haben keine% s Versandanbieter."
1219
 
1220
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1221
- msgid "Your Order is Partially Shipped"
1222
- msgstr "Ihre Bestellung wird teilweise versendet"
 
 
 
 
 
 
 
 
 
 
1223
 
1224
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1225
  msgid "Your {site_title} order is now partially shipped"
1226
  msgstr ""
1227
  "Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
1228
 
1229
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1230
  msgid "Your {site_title} order is now updated tracking"
1231
  msgstr ""
1232
  "Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
1233
-
1234
- #. Author of the plugin
1235
- msgid "zorem"
1236
- msgstr "zorem"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2020-11-24 10:48+0000\n"
7
+ "Last-Translator: John\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.4.4; wp-5.5.3"
16
 
17
+ #: includes/views/admin_options_shipping_provider.php:82
18
+ #: includes/views/admin_options_shipping_provider.php:130
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "Dokumentation"
22
 
23
+ #: includes/views/admin_options_addons.php:132
24
+ #: includes/views/trackship_sidebar.php:14
25
+ msgid "Account Dashboard"
26
+ msgstr "Benutzerkonto Übersicht"
27
+
28
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1627
29
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1705
30
  msgid "Actions"
31
  msgstr "Aktionen"
32
 
33
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1628
34
+ msgid "Active"
35
+ msgstr "Aktiv"
36
 
37
+ #: includes/views/admin_options_shipping_provider.php:22
38
+ msgid "Active Providers"
 
 
39
  msgstr ""
 
 
 
40
 
41
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
42
+ #: includes/views/admin_tracking_page_settings.php:71
43
+ msgid "Add a link to the Shipping provider page"
44
+ msgstr "Fügen Sie einen Link zur Seite Versandanbieter hinzu"
45
+
46
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1786
48
  msgid "Add Custom Provider"
49
  msgstr "Benutzerdefinierten Anbieter hinzufügen"
50
 
51
+ #: includes/views/admin_options_shipping_provider.php:51
52
+ msgid "Add Custom Shipping Provider"
53
+ msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1531
56
  msgid "Add Tracking"
57
  msgstr "Add Tracking"
58
 
59
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
60
  msgid "Add Tracking - order\t"
61
  msgstr "Tracking hinzufügen - Bestellung"
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:924
64
+ msgid "Add Tracking action "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  msgstr ""
 
 
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking.php:328
68
+ msgid "Add Tracking Info"
69
+ msgstr "Tracking-Info hinzufügen"
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
73
+ #: includes/views/admin_options_addons.php:108
74
+ #: includes/views/admin_options_addons.php:114
75
+ msgid "Add-ons"
76
+ msgstr "Add-ons"
 
 
 
77
 
78
+ #: includes/customizer/class-wc-tracking-info-customizer.php:273
79
  msgid "Additional text after header"
80
  msgstr "Zusätzlicher Text nach Kopfzeile"
81
 
82
+ #: includes/customizer/class-wcast-customizer.php:58
83
+ #: includes/views/admin_status_notifications.php:141
84
+ msgid "Admin Notifications"
85
+ msgstr "Admin-Benachrichtigungen"
86
 
87
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
88
  msgid "After Order Details"
89
  msgstr "Nach Auftragsdetails"
90
 
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:949
 
 
 
 
92
  msgid "API Date Format"
93
  msgstr "API-Datumsformat"
94
 
95
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1623
96
+ #: includes/views/admin_options_shipping_provider.php:109
97
  msgid "API Name"
98
  msgstr "API-Name"
99
 
100
+ #: includes/views/admin_status_notifications.php:230
101
+ msgid "As it Happens"
102
+ msgstr "Wie es passiert"
103
+
104
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
105
+ msgid ""
106
+ "Automatically set the Order Status to Delivered when the shipment is "
107
+ "delivered "
108
+ msgstr ""
109
+ "Setzen Sie den Bestellstatus automatisch auf \"Geliefert\", wenn die Sendung "
110
+ "geliefert wird"
111
+
112
+ #: includes/views/admin_trackship_dashboard.php:33
113
+ msgid "Automation"
114
+ msgstr "Automatisierung"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
117
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
118
+ #: includes/customizer/class-wcast-customizer.php:172
119
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
120
+ #: includes/views/admin_status_notifications.php:82
121
+ msgid "Available For Pickup"
122
+ msgstr ""
123
+ "Zur Abholung bereit\n"
124
+
125
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
126
+ msgid "Available For Pickup email"
127
+ msgstr "Verfügbar für Abhol-E-Mail"
128
+
129
+ #. %s: list of placeholders
130
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
131
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
132
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
133
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
134
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
135
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
136
+ #: includes/customizer/class-wc-email-customizer.php:243
137
+ #: includes/customizer/class-wc-email-customizer.php:266
138
+ #: includes/customizer/class-wc-email-customizer.php:309
139
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
140
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
141
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
142
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
143
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
144
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
145
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
146
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
147
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
148
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
149
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
150
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
151
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
152
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
153
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
154
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
155
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
156
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
157
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
158
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
159
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
160
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
161
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
162
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
163
+ #: includes/emails/class-shipment-delivered-email.php:274
164
+ #: includes/emails/class-shipment-delivered-email.php:283
165
+ #: includes/views/admin_status_notifications.php:212
166
  msgid "Available variables:"
167
  msgstr "Verfügbare Variablen:"
168
 
169
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
170
  msgid "Before Order Details"
171
  msgstr "Vor der Bestellung Details"
172
 
173
+ #: includes/customizer/class-wc-tracking-info-customizer.php:994
174
+ msgid "Border"
175
+ msgstr "Rand"
176
+
177
+ #: includes/customizer/class-wc-tracking-info-customizer.php:549
178
  msgid "Border color"
179
  msgstr "Randfarbe"
180
 
181
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
182
  msgid "Border size"
183
  msgstr ""
184
  "Rahmengrösse\n"
185
 
186
+ #: includes/customizer/class-wc-tracking-info-customizer.php:426
187
  msgid "Bottom border color"
188
  msgstr ""
189
  "Farbe des unteren Randes\n"
190
 
191
+ #: includes/views/admin_options_shipping_provider.php:23
192
+ msgid "Browse Providers"
193
+ msgstr ""
194
+
195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:960
196
  msgid "Button color"
197
+ msgstr ""
198
 
199
+ #: includes/customizer/class-wc-tracking-info-customizer.php:977
200
  msgid "Button font color"
201
+ msgstr ""
202
 
203
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
204
  msgid "Cannot create existing order shipment tracking."
205
  msgstr ""
206
  "Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
207
 
208
+ #: includes/views/admin_status_notifications.php:130
209
+ msgid "Carrier attempted to deliver the package but failed."
210
+ msgstr ""
211
+ "Der Spediteur hat versucht, das Paket zu liefern, ist jedoch fehlgeschlagen."
212
+
213
+ #: includes/views/admin_status_notifications.php:97
214
+ msgid "Carrier is about to deliver the shipment."
215
+ msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern."
216
+
217
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
218
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
219
+ msgid "Carrier Unsupported"
220
+ msgstr "Träger nicht unterstützt"
221
+
222
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1567
223
  msgid "Change order status to"
224
  msgstr "Ändern Sie den Auftragsstatus in"
225
 
226
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
227
  msgid "Change status to shipped"
228
  msgstr ""
229
  "Ändern Sie den Status in \"Versand\"\n"
230
 
231
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:950
232
  msgid "Choose for which Order status to display"
233
+ msgstr ""
234
 
235
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:925
236
+ msgid "Choose for which Order status to display Add Tracking action button"
237
+ msgstr ""
238
+
239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:917
240
+ msgid "Choose on which order emails to include the shipment tracking info"
241
+ msgstr ""
242
+
243
+ #: includes/views/admin_options_bulk_upload.php:34
244
  msgid "Choose the Shipped Date format"
245
  msgstr "Wählen Sie das Versanddatum-Format"
246
 
247
+ #: includes/emails/class-shipment-delivered-email.php:298
248
+ msgid "Click Here"
249
+ msgstr ""
250
+ "Klick hier\n"
251
+
252
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
253
  msgid "Completed"
254
  msgstr "vollendet, fertiggestellt"
255
 
256
+ #: includes/customizer/class-wcast-customizer.php:118
257
+ msgid "Completed order status email"
258
+ msgstr "E-Mail mit dem Status der abgeschlossenen Bestellung"
259
+
260
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:527
261
+ #: includes/views/trackship_sidebar.php:13
262
+ msgid "Connected"
263
+ msgstr ""
264
+ "In Verbindung gebracht\n"
265
+
266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:336
267
  msgid "Content"
268
  msgstr "Inhalt"
269
 
270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
271
  msgid "Content Background color"
272
+ msgstr ""
273
 
274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:391
275
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
276
  msgid "Content font color"
277
  msgstr ""
278
  "Schriftfarbe des Inhalts\n"
279
 
280
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
281
+ #: includes/customizer/class-wc-tracking-info-customizer.php:881
282
  msgid "Content font size"
283
  msgstr ""
284
  "Schriftgröße des Inhalts\n"
285
 
286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:921
287
  msgid "Content font weight"
288
  msgstr ""
289
  "Schriftgröße des Inhalts\n"
290
 
291
+ #: includes/customizer/class-wc-tracking-info-customizer.php:899
292
  msgid "Content line height"
293
  msgstr "Höhe der Inhaltszeile"
294
 
295
+ #: includes/views/admin_options_bulk_upload.php:57
296
  msgid "Continue"
297
  msgstr "Fortsetzen"
298
 
299
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1624
300
  msgid "Country"
301
  msgstr "Land"
302
 
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
305
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
306
+ #: includes/views/admin_options_bulk_upload.php:11
307
  msgid "CSV Import"
308
  msgstr "CSV-Import"
309
 
 
 
 
 
310
  #: includes/views/admin_options_shipping_provider.php:61
311
+ #: includes/views/admin_options_shipping_provider.php:106
312
  msgid "Custom display name"
313
  msgstr "Benutzerdefinierter Anzeigename"
314
 
315
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
316
+ #: includes/views/admin_options_settings.php:46
317
+ msgid "Custom Order Statuses"
318
+ msgstr "Status der benutzerdefinierten Bestellung"
319
 
320
+ #: includes/views/admin_options_shipping_provider.php:24
321
+ msgid "Custom Providers"
322
+ msgstr ""
 
 
 
 
323
 
324
+ #: includes/views/admin_status_notifications.php:234
325
+ msgid "Daily Digest on"
326
+ msgstr "Daily Digest on"
 
327
 
328
+ #: includes/views/admin_options_osm.php:37
329
+ #: includes/views/admin_options_osm.php:80
330
+ #: includes/views/admin_options_osm.php:120
331
  msgid "Dark Font"
332
  msgstr ""
333
  "Dunkle Schrift\n"
334
 
335
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
336
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
337
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
338
+ msgid "data not available."
339
+ msgstr ""
340
+ "keine Daten verfügbar.\n"
341
+
342
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
343
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
344
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
345
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
346
  msgid "Data saved successfully."
347
  msgstr "Daten erfolgreich gespeichert."
348
 
349
+ #: includes/class-wc-advanced-shipment-tracking.php:383
350
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
351
  msgid "Date shipped:"
352
  msgstr "Lieferdatum:"
353
 
354
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1625
355
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1704
356
+ msgid "Default"
357
  msgstr "Standard"
358
 
359
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
360
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
361
+ msgstr ""
362
+ "Standard \"als <span class =\" shipped_label \"> abgeschlossen </ span> "
363
+ "markieren\""
364
+
365
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
366
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
367
+ msgstr "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
368
+
369
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
370
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
371
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
372
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
373
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1555
374
+ #: includes/customizer/class-wcast-customizer.php:187
375
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
376
+ #: includes/views/admin_status_notifications.php:112
377
+ #: includes/views/admin_options_osm.php:17
378
  msgid "Delivered"
379
  msgstr "Geliefert"
380
 
381
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
382
+ #, php-format
383
+ msgid "Delivered <span class=\"count\">(%s)</span>"
384
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
385
+ msgstr[0] ""
386
+ "Geliefert <span class=\"count\">(%s)</span>\n"
387
+ msgstr[1] ""
388
+ "Geliefert <span class=\"count\">(%s)</span>\n"
389
+
390
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
391
+ msgid "Delivered email"
392
+ msgstr "E-Mail zugestellt"
393
+
394
+ #: includes/emails/class-shipment-delivered-email.php:32
395
+ msgid "Delivered order"
396
+ msgstr ""
397
+ "Gelieferte Bestellung\n"
398
+
399
+ #: includes/customizer/class-wcast-customizer.php:111
400
+ #: includes/customizer/class-wc-email-customizer.php:163
401
+ msgid "Delivered order status email"
402
+ msgstr ""
403
+ "Bestellstatus per E-Mail zugestellt\n"
404
+
405
+ #: includes/views/front/layout1_tracking_details.php:8
406
+ msgid "Destination Details"
407
+ msgstr "Zieldetails"
408
+
409
+ #: includes/customizer/class-wc-email-customizer.php:379
410
+ msgid "Display Billing Address"
411
+ msgstr ""
412
+ "Rechnungsadresse anzeigen\n"
413
+
414
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
415
  msgid "Display Name"
416
  msgstr "Anzeigename"
417
 
418
+ #: includes/customizer/class-wc-email-customizer.php:343
419
+ msgid "Display order details"
420
+ msgstr ""
421
+ "Bestelldetails anzeigen\n"
422
+
423
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
424
+ msgid "Display Shipment Status Filter on Orders admin"
425
+ msgstr "Sendungsstatusfilter im Auftragsadministrator anzeigen"
426
+
427
+ #: includes/customizer/class-wc-email-customizer.php:361
428
+ msgid "Display Shipping Address"
429
+ msgstr ""
430
+ "Lieferadresse anzeigen\n"
431
+
432
+ #: includes/customizer/class-wc-tracking-info-customizer.php:479
433
  msgid "Display shipping provider image"
434
  msgstr ""
435
  "Bild des Versandanbieters anzeigen\n"
436
 
437
+ #: includes/customizer/class-wc-tracking-info-customizer.php:461
438
  msgid "Display shipping provider name"
439
  msgstr ""
440
  "Name des Versandanbieters anzeigen\n"
441
 
442
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
443
+ msgid "Display Track button on the Orders history list in my-account"
444
+ msgstr ""
445
+
446
+ #: includes/customizer/class-wc-email-customizer.php:326
447
+ msgid "Display tracking details"
448
+ msgstr ""
449
+ "Tracking-Details anzeigen\n"
450
+
451
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
452
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
453
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
454
+ msgid "Documentation"
455
+ msgstr "Dokumentation"
456
+
457
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
458
  msgid "Download sample csv"
459
  msgstr "Beispiel-CSV herunterladen"
460
 
461
+ #: includes/views/admin_status_notifications.php:190
462
+ msgid "E.g. {admin_email}, admin@example.org"
463
+ msgstr "Z.B. {admin_email}, admin@example.org"
464
 
465
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
466
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
467
+ #: includes/customizer/class-wc-email-customizer.php:226
468
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
469
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
470
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
471
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
472
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
473
+ msgid "E.g. {customer.email}, admin@example.org"
474
+ msgstr "Z.B. {customer.email}, admin@example.org"
475
+
476
+ #: includes/emails/class-shipment-delivered-email.php:299
477
+ msgid "Edit in customizer"
478
+ msgstr ""
479
+ "Bearbeiten Sie im Customizer\n"
480
+
481
+ #: includes/views/admin_options_shipping_provider.php:95
482
  msgid "Edit Shipping Provider"
483
  msgstr "Versandanbieter bearbeiten"
484
 
485
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
486
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
487
+ #: includes/customizer/class-wc-email-customizer.php:289
488
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
489
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
490
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
491
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
492
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
493
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
494
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
495
+ #: includes/views/admin_status_notifications.php:206
496
  msgid "Email content"
497
  msgstr "E-Mail-Inhalt"
498
 
499
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
500
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
501
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
502
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
503
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
504
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
505
+ msgid "Email Subject"
506
+ msgstr "E-Mail Betreff"
 
 
 
 
507
 
508
+ #: includes/views/admin_tracking_page_settings.php:10
509
+ msgid "Enable a tracking page on your store"
510
+ msgstr "Aktivieren Sie eine Tracking-Seite in Ihrem Shop"
511
 
512
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
513
+ msgid "Enable Available For Pickup email"
514
+ msgstr "Aktivieren Sie Verfügbar für Abhol-E-Mail"
515
 
516
+ #: includes/views/admin_options_settings.php:47
517
+ msgid "Enable custom order statuses to streamline your fulfillment"
518
+ msgstr ""
 
 
 
 
519
 
520
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
521
+ msgid "Enable Delivered email"
522
+ msgstr "Aktivieren Sie die zugestellte E-Mail"
523
 
524
+ #: includes/customizer/class-wc-email-customizer.php:179
525
+ msgid "Enable Delivered order status email"
526
+ msgstr ""
527
+ "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
528
 
529
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
530
+ msgid "Enable Failed Attempt email"
531
+ msgstr "Aktivieren Sie die E-Mail \"Fehlgeschlagener Versuch\""
532
 
533
+ #: includes/customizer/class-wc-email-customizer.php:397
534
+ msgid "Enable Google Analytics tracking"
535
  msgstr ""
536
+ "Aktivieren Sie das Google Analytics-Tracking\n"
 
 
 
 
537
 
538
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
539
+ msgid "Enable In Transit email"
540
+ msgstr "In Transit-E-Mail aktivieren"
541
 
542
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
543
+ msgid "Enable On Hold email"
544
+ msgstr "E-Mail aktivieren"
545
 
546
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
547
+ msgid "Enable Out For Delivery email"
548
+ msgstr "Aktivieren Sie Out for Delivery E-Mail"
549
 
550
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
551
+ msgid "Enable Partially Shipped order status email"
 
 
552
  msgstr ""
553
+ "Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
 
554
 
555
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
556
+ msgid "Enable Return To Sender email"
557
+ msgstr "Aktivieren Sie Return To Sender E-Mail"
558
 
559
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
560
+ msgid "Enable TrackShip"
561
+ msgstr "TrackShip aktivieren"
562
+
563
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
564
  msgid "Enable Updated Tracking order status email"
565
  msgstr ""
566
  "Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
567
  "Sendungsverfolgung\n"
568
 
569
+ #: includes/views/front/tracking_page_header.php:22
570
+ msgid "Est. Delivery Date"
571
+ msgstr ""
572
+ "Europäische Sommerzeit. Lieferdatum\n"
573
+
574
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
575
+ msgid "Exception"
576
+ msgstr ""
577
+
578
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
579
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
580
+ #: includes/customizer/class-wcast-customizer.php:195
581
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
582
+ #: includes/views/admin_status_notifications.php:130
583
+ msgid "Failed Attempt"
584
+ msgstr "Misslungener Versuch"
585
+
586
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
587
+ msgid "Failed Attempt email"
588
+ msgstr "Fehlgeschlagener Versuch E-Mail"
589
+
590
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
591
+ msgid "Filter by shipment status"
592
+ msgstr "Filtern nach Sendungsstatus"
593
+
594
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2027
595
  msgid "Filter by shipping provider"
596
  msgstr "Nach Versandanbieter filtern"
597
 
598
+ #: includes/views/front/track_order_form.php:4
599
+ #: includes/views/front/track_order_form.php:5
600
+ msgid "Found in your order confirmation email."
601
+ msgstr ""
602
+ "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
603
 
604
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
605
+ #: includes/customizer/class-wcast-customizer.php:71
606
  msgid "General Settings"
607
  msgstr "Allgemeine Einstellungen"
608
 
609
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
610
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
611
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
612
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
613
+ msgid "Get Shipment Status"
614
+ msgstr ""
615
+ "Sendungsstatus abrufen\n"
616
+
617
+ #: includes/views/admin_options_shipping_provider.php:66
618
+ #: includes/views/admin_options_shipping_provider.php:114
619
  msgid "Global"
620
  msgstr "Global"
621
 
622
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
623
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
624
+ #: includes/customizer/class-wc-email-customizer.php:415
625
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
626
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
627
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
628
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
629
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
630
+ msgid "Google Analytics link tracking"
631
+ msgstr ""
632
+ "Google Analytics-Linkverfolgung\n"
633
 
634
+ #: includes/customizer/class-wc-tracking-info-customizer.php:734
635
  msgid "Headers background color"
636
+ msgstr ""
637
 
638
+ #: includes/customizer/class-wc-tracking-info-customizer.php:751
639
  msgid "Headers font color"
640
  msgstr ""
641
  "Schriftfarbe der Überschriften\n"
642
 
643
+ #: includes/customizer/class-wc-tracking-info-customizer.php:716
644
  msgid "Headers font size"
645
  msgstr ""
646
  "Schriftgröße der Überschriften\n"
647
 
648
+ #: includes/customizer/class-wc-tracking-info-customizer.php:768
649
  msgid "Headers font weight"
650
+ msgstr ""
651
 
652
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
653
  msgid ""
654
  "Hi there. we thought you'd like to know that the shipment tracking for your "
655
  "recent order from {site_title} has been updated."
657
  "Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
658
  "letzte Bestellung von {site_title} aktualisiert wurde.\n"
659
 
660
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
661
+ #: includes/customizer/class-wc-email-customizer.php:132
662
+ msgid ""
663
+ "Hi there. we thought you'd like to know that your recent order from "
664
+ "{site_title} has been Delivered."
665
+ msgstr ""
666
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
667
+ "{site_title} geliefert wurde.\n"
668
+
669
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
670
  msgid ""
671
  "Hi there. we thought you'd like to know that your recent order from "
672
  "{site_title} has been partially shipped."
674
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
675
  "{site_title} teilweise versendet wurde.\n"
676
 
677
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
678
+ msgid ""
679
+ "Hi there. we thought you'd like to know that your recent order from "
680
+ "{site_title} has been returned to sender."
681
+ msgstr ""
682
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
683
+ "{site_title} an den Absender zurückgeschickt wurde.\n"
684
+
685
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
686
+ msgid ""
687
+ "Hi there. we thought you'd like to know that your recent order from "
688
+ "{site_title} is available for pickup."
689
+ msgstr ""
690
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
691
+ "{site_title} zur Abholung verfügbar ist."
692
+
693
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
694
+ msgid ""
695
+ "Hi there. we thought you'd like to know that your recent order from "
696
+ "{site_title} is Failed Attempt"
697
+ msgstr ""
698
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
699
+ "{site_title} fehlgeschlagen ist"
700
+
701
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
702
+ msgid ""
703
+ "Hi there. we thought you'd like to know that your recent order from "
704
+ "{site_title} is in transit"
705
+ msgstr ""
706
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
707
+ "{site_title} unterwegs ist\n"
708
+
709
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
710
+ msgid ""
711
+ "Hi there. we thought you'd like to know that your recent order from "
712
+ "{site_title} is on hold"
713
+ msgstr ""
714
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
715
+ "{site_title} zurückgestellt wurde"
716
+
717
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
718
+ msgid ""
719
+ "Hi there. we thought you'd like to know that your recent order from "
720
+ "{site_title} is out for delivery."
721
+ msgstr ""
722
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
723
+ "{site_title} nicht lieferbar ist.\n"
724
+
725
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
726
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
727
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
728
  msgid "hide details"
729
  msgstr ""
730
  "Details ausblenden\n"
731
 
732
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
733
+ #: includes/views/admin_tracking_page_settings.php:76
734
+ msgid "Hide Shipping Provider Image"
735
+ msgstr ""
736
+ "Bild des Versandanbieters ausblenden\n"
737
+
738
+ #: includes/customizer/class-wc-tracking-info-customizer.php:630
739
  msgid "Hide Table Headers"
740
  msgstr ""
741
  "Tabellenüberschriften ausblenden\n"
742
 
743
+ #: includes/customizer/class-wc-tracking-info-customizer.php:497
744
+ #, fuzzy
745
  #| msgid "Hide the ship date"
746
  msgid "Hide the shipped date"
747
+ msgstr ""
748
+ "Verstecken Sie das Versanddatum\n"
749
+
750
+ #: includes/views/admin_tracking_page_settings.php:81
751
+ msgid "Hide tracking event details"
752
+ msgstr ""
753
+ "Tracking-Ereignisdetails ausblenden\n"
754
+
755
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
756
+ msgid "Hide tracking events details"
757
+ msgstr "Details zu Tracking-Ereignissen ausblenden"
758
 
759
+ #: includes/customizer/class-wc-tracking-info-customizer.php:232
760
  msgid "Hide Tracking Header"
761
  msgstr "Tracking-Header ausblenden"
762
 
763
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
764
+ msgid "How to Video"
765
+ msgstr "Wie man ein Video macht"
 
 
 
 
766
 
767
+ #: includes/views/admin_status_notifications.php:155
768
+ msgid ""
769
+ "If a shipment reached the number of days that you define, and the shipment "
770
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
771
+ msgstr ""
772
+ "Wenn eine Sendung die von Ihnen festgelegte Anzahl von Tagen erreicht hat "
773
+ "und die Sendung nicht \"geliefert\" oder \"an den Absender zurückgesandt\" "
774
+ "ist, wird eine E-Mail ausgelöst."
775
 
776
+ #: includes/views/admin_options_bulk_upload.php:76
777
  msgid "Import in Progress"
778
  msgstr "Import in Bearbeitung"
779
 
780
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
781
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
782
+ #: includes/customizer/class-wcast-customizer.php:149
783
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
784
+ #: includes/views/admin_status_notifications.php:37
785
+ msgid "In Transit"
786
+ msgstr ""
787
+ "Im Transit\n"
788
 
789
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
790
+ msgid "In Transit email"
791
+ msgstr "In Transit E-Mail"
 
792
 
793
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
794
  msgid "Invalid order ID."
795
  msgstr ""
796
  "Ungültige Bestellnummer.\n"
797
 
798
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
799
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
800
+ msgid "Invalid Tracking Number"
801
+ msgstr "Ungültige Tracking-Nummer"
802
+
803
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
804
+ msgid "Invalid User Key"
805
+ msgstr "Ungültiger Benutzerschlüssel"
806
+
807
+ #: includes/views/admin_options_bulk_upload.php:48
808
  msgid ""
809
  "Keep unchecked for the tracking info to be added to any existing tracking "
810
  "info added to the orders."
813
  "Informationen zu den vorhandenen Tracking-Informationen hinzugefügt werden, "
814
  "die den Bestellungen hinzugefügt wurden."
815
 
816
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
817
+ msgid "Late shipment"
818
+ msgstr "Verspäteter Versand"
819
+
820
+ #: includes/views/admin_status_notifications.php:176
821
+ msgid "Late Shipment Days"
822
+ msgstr "Späte Versandtage"
823
+
824
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
825
+ #: includes/views/admin_status_notifications.php:200
826
+ msgid "Late shipment for order #{order_number}"
827
+ msgstr "Verspäteter Versand für Bestellnummer {Bestellnummer}"
828
+
829
+ #: includes/customizer/class-wcast-customizer.php:203
830
+ #: includes/views/admin_status_notifications.php:155
831
+ msgid "Late Shipments"
832
+ msgstr "Verspätete Lieferungen"
833
+
834
+ #: includes/views/admin_options_settings.php:39
835
+ msgid "Launch Customizer"
836
+ msgstr ""
837
+ "Starten Sie den Customizer\n"
838
+
839
+ #: includes/views/admin_options_addons.php:111
840
  msgid "License"
841
  msgstr "Lizenz"
842
 
843
+ #: includes/views/admin_options_osm.php:36
844
+ #: includes/views/admin_options_osm.php:79
845
+ #: includes/views/admin_options_osm.php:119
846
  msgid "Light Font"
847
  msgstr ""
848
  "Leichte Schrift\n"
849
 
850
+ #: includes/class-wc-advanced-shipment-tracking.php:316
851
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
852
  msgid "Mark as Completed?"
853
  msgstr "Als erledigt markieren?"
854
 
855
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1540
856
  msgid "Mark as Shipped"
857
  msgstr "Als versandt markieren"
858
 
859
+ #: includes/class-wc-advanced-shipment-tracking.php:313
860
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
861
  msgid "Mark as Shipped?"
862
  msgstr "Als versandt markieren?"
863
 
864
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
865
  msgid "Mark order as delivered"
866
  msgstr "Bestellung als geliefert markieren"
867
 
868
+ #: includes/class-wc-advanced-shipment-tracking.php:397
869
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
870
  msgid "Mark order as:"
871
  msgstr "Bestellung markieren als:"
872
 
873
+ #: includes/views/admin_tracking_page_settings.php:41
 
 
 
 
 
874
  msgid "more info"
875
  msgstr ""
876
  "Mehr Info\n"
877
 
878
+ #: includes/views/admin_tracking_page_settings.php:41
879
+ msgid ""
880
+ "Note - If you select a different page than the Shipment Tracking page, add "
881
+ "the [wcast-track-order] shortcode to the selected page content."
882
+ msgstr ""
883
+ "Hinweis - Wenn Sie eine andere Seite als die Seite \"Sendungsverfolgung\" "
884
+ "auswählen, fügen Sie dem ausgewählten Seiteninhalt den Shortcode [wcast-"
885
+ "track-order] hinzu.\n"
886
 
887
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
888
+ #: includes/views/trackship_settings.php:12
889
+ #: includes/views/trackship_settings.php:13
890
+ msgid "Notifications"
891
+ msgstr "Benachrichtigungen"
892
 
893
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
894
+ #: includes/customizer/class-wcast-customizer.php:157
895
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
896
+ #: includes/views/admin_status_notifications.php:52
897
+ msgid "On Hold"
898
+ msgstr "In Wartestellung"
899
+
900
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
901
+ msgid "On Hold email"
902
+ msgstr "On Hold E-Mail"
903
+
904
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:935
905
+ msgid "Open the track link in a new tab"
906
+ msgstr ""
907
+
908
+ #: includes/emails/class-shipment-delivered-email.php:33
909
+ msgid ""
910
+ "Order delivered emails are sent to customers when their orders are marked "
911
+ "delivered and usually indicate that their orders have been shipped."
912
+ msgstr ""
913
+ "Von der Bestellung zugestellte E-Mails werden an Kunden gesendet, wenn ihre "
914
+ "Bestellungen als zugestellt markiert sind und in der Regel angeben, dass "
915
+ "ihre Bestellungen versandt wurden.\n"
916
+
917
+ #: includes/views/front/track_order_form.php:5
918
+ msgid "Order Email"
919
+ msgstr ""
920
+ "E-Mail bestellen\n"
921
+
922
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:916
923
+ msgid "Order Email Display"
924
+ msgstr ""
925
 
926
  #. %s: Order ID.
927
+ #: templates/emails/wcast-email-order-details.php:48
928
  #, php-format
929
  msgid "Order number: %s"
930
  msgstr ""
931
  "Bestellnummer:% s\n"
932
 
933
+ #: includes/customizer/class-wcast-customizer.php:42
934
+ msgid "Order Status Emails"
935
+ msgstr "Bestellstatus-E-Mails"
 
 
936
 
937
+ #: includes/class-wc-advanced-shipment-tracking.php:1152
938
+ #: includes/class-wc-advanced-shipment-tracking.php:1243
 
939
  #, php-format
940
+ msgid "Order was shipped with %s and tracking number is: %s"
 
941
  msgstr ""
942
+ "Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
943
+
944
+ #: includes/views/front/layout1_tracking_details.php:25
945
+ msgid "Origin Details"
946
+ msgstr "Origin Details"
947
 
948
+ #: includes/views/admin_tracking_page_settings.php:36
949
  msgid "Other"
950
  msgstr "Andere"
951
 
952
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
953
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
954
+ #: includes/customizer/class-wcast-customizer.php:179
955
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
956
+ msgid "Out For Delivery"
957
+ msgstr ""
958
+ "Raus zur Lieferung\n"
959
+
960
+ #: includes/views/admin_status_notifications.php:97
961
+ msgid "Out For delivery"
962
+ msgstr "Raus zur Lieferung"
963
+
964
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
965
+ msgid "Out For Delivery email"
966
+ msgstr "Out For Delivery E-Mail"
967
+
968
+ #: includes/class-wc-advanced-shipment-tracking.php:400
969
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
970
  msgid "Partial Shipped"
971
  msgstr "Teilweise versandt"
972
 
973
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
974
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
975
+ #: includes/views/admin_options_osm.php:59
 
976
  msgid "Partially Shipped"
977
  msgstr ""
978
  "zum Teil versandt\n"
979
 
980
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
 
981
  #, php-format
982
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
983
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
986
  msgstr[1] ""
987
  "Teilweise versandt <span class=\"count\">(%s)</span>\n"
988
 
989
+ #: includes/customizer/class-wcast-customizer.php:125
990
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
991
+ msgid "Partially Shipped status email"
 
992
  msgstr ""
993
+ "Teilweise versendete Status-E-Mail\n"
 
994
 
995
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
996
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
997
+ msgid "Pending TrackShip"
998
+ msgstr "Ausstehendes TrackShip"
 
 
999
 
1000
+ #: woocommerce-advanced-shipment-tracking.php:122
 
1001
  #, php-format
1002
  msgid ""
1003
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
1004
+ "for WooCommerce!"
1005
+ msgstr ""
1006
+
1007
+ #: includes/customizer/class-wc-email-customizer.php:201
1008
+ #: includes/customizer/class-wc-tracking-info-customizer.php:193
1009
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1010
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1011
+ msgid "Please select a order..."
1012
+ msgstr ""
1013
+ "Bitte wählen Sie eine Bestellung aus ...\n"
1014
+
1015
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
1016
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
1017
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
1018
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
1019
+ #: includes/customizer/class-wc-email-customizer.php:454
1020
+ #: includes/customizer/class-wc-email-customizer.php:462
1021
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
1022
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
1023
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
1024
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
1025
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
1026
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
1027
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
1028
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
1029
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1030
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1031
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
1032
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
1033
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
1034
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
1035
  msgid "Please select order to preview."
1036
  msgstr ""
1037
  "Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
1038
 
1039
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1040
  msgid "Please upload a valid CSV file."
1041
  msgstr "Please upload a valid CSV file."
1042
 
1043
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
1044
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
1045
+ #: includes/customizer/class-wcast-customizer.php:141
1046
+ msgid "Pre Transit"
1047
+ msgstr ""
1048
+ "Pre Transit\n"
1049
+
1050
+ #: includes/views/admin_tracking_page_settings.php:105
1051
+ msgid "Preview"
1052
+ msgstr "Vorschau"
1053
+
1054
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
1055
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
1056
+ #: includes/customizer/class-wc-email-customizer.php:197
1057
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
1058
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
1059
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
1060
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
1061
+ #: includes/customizer/class-wc-tracking-info-customizer.php:189
1062
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
1063
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
1064
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
1065
+ msgid "Preview order"
1066
+ msgstr "Vorschau der Bestellung"
1067
+
1068
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1069
  msgid "Preview:"
1070
  msgstr "Vorschau:"
1071
 
1072
+ #: includes/class-wc-advanced-shipment-tracking.php:375
1073
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
1074
  msgid "Product Code:"
1075
  msgstr "Produktcode:"
1076
 
1077
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1703
1078
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
1079
+ #: includes/customizer/class-wc-tracking-info-customizer.php:655
1080
+ #: templates/emails/tracking-info.php:280
1081
+ #: templates/myaccount/tracking-info.php:205
1082
  msgid "Provider"
1083
  msgstr "Anbieter"
1084
 
1085
+ #: templates/emails/tracking-info.php:285
1086
+ #: templates/myaccount/tracking-info.php:210
 
1087
  msgid "Provider Name"
1088
  msgstr "Anbietername"
1089
 
1090
+ #: includes/views/admin_options_shipping_provider.php:153
1091
  msgid "Providers Added"
1092
  msgstr "Anbieter hinzugefügt"
1093
 
1094
+ #: includes/views/admin_options_shipping_provider.php:155
1095
  msgid "Providers Deleted"
1096
  msgstr "Anbieter gelöscht"
1097
 
1098
+ #: includes/views/admin_options_shipping_provider.php:154
1099
  msgid "Providers Updated"
1100
  msgstr "Anbieter aktualisiert"
1101
 
1102
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
1103
  msgid "Really delete this entry? This will not be undo."
1104
  msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
1105
 
1106
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
1107
+ #: includes/views/admin_tracking_page_settings.php:86
1108
+ msgid "Remove TrackShip branding"
1109
+ msgstr ""
1110
+ "Entfernen Sie das TrackShip-Branding\n"
1111
+
1112
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
1113
  msgid "Rename the “Completed” Order status label to “Shipped”"
1114
+ msgstr ""
1115
 
1116
+ #: includes/views/admin_options_bulk_upload.php:48
1117
  msgid "Replace tracking information?"
1118
  msgstr "Tracking-Informationen ersetzen?"
1119
 
1120
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
1121
+ msgid "Resend delivered order notification"
1122
+ msgstr ""
1123
+ "Senden Sie die gelieferte Bestellbenachrichtigung erneut\n"
1124
+
1125
+ #: includes/views/admin_options_shipping_provider.php:136
1126
  msgid "Reset"
1127
  msgstr "Zurücksetzen"
1128
 
1129
+ #: includes/views/admin_options_shipping_provider.php:159
1130
  msgid ""
1131
  "Reset providers database, it will reset all your shipping provider database"
1132
  msgstr ""
1133
  "Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
1134
  "Datenbank zurück"
1135
 
1136
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
1137
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
1138
+ #: includes/customizer/class-wcast-customizer.php:165
1139
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
1140
+ #: includes/views/admin_status_notifications.php:67
1141
+ msgid "Return To Sender"
1142
+ msgstr ""
1143
+ "Zurück an den Absender\n"
1144
+
1145
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1146
+ msgid "Return To Sender email"
1147
+ msgstr "Zurück zur Absender-E-Mail"
1148
 
1149
+ #: includes/views/admin_options_settings.php:23
1150
+ #: includes/views/admin_trackship_dashboard.php:45
1151
+ #: includes/views/admin_tracking_page_settings.php:104
1152
+ #: includes/views/admin_status_notifications.php:245
1153
+ msgid "Save Changes"
1154
+ msgstr ""
1155
+ "Änderungen speichern\n"
1156
+
1157
+ #: includes/class-wc-advanced-shipment-tracking.php:416
1158
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
1159
  msgid "Save Tracking"
1160
  msgstr "Tracking speichern"
1161
 
1162
+ #: includes/views/admin_options_shipping_provider.php:29
1163
  msgid "Search by provider / country"
1164
  msgstr ""
1165
  "Suche nach Anbieter / Land\n"
1166
 
1167
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1168
+ msgid "Select an order to preview and design the tracking info display."
1169
+ msgstr ""
1170
+ "Wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen und die Anzeige "
1171
+ "der Tracking-Informationen zu gestalten.\n"
1172
+
1173
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
1174
+ msgid "Select content border color for tracking page"
1175
+ msgstr "Wählen Sie die Farbe des Inhaltsrahmens für die Tracking-Seite aus"
1176
+
1177
+ #: includes/customizer/class-wcast-customizer.php:516
1178
+ msgid "Select order to preview"
1179
+ msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
1180
 
1181
+ #: includes/class-wc-advanced-shipment-tracking.php:338
1182
  msgid "Select Provider"
1183
  msgstr "Wählen Sie Provider aus"
1184
 
1185
+ #: includes/customizer/class-wc-tracking-info-customizer.php:302
1186
  msgid "Select Template"
1187
  msgstr ""
1188
  "Vorlage auswählen\n"
1189
 
1190
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
1191
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
1192
+ #: includes/views/admin_tracking_page_settings.php:27
1193
+ msgid "Select Tracking Page"
1194
+ msgstr ""
1195
+ "Wählen Sie Tracking-Seite\n"
1196
+
1197
+ #: includes/views/admin_options_osm.php:41
1198
+ #: includes/views/admin_options_osm.php:84
1199
+ #: includes/views/admin_options_osm.php:124
1200
  msgid "Send Email"
1201
  msgstr ""
1202
  "E-Mail senden\n"
1203
 
1204
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:909
1205
  msgid ""
1206
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1207
  "orders"
1208
  msgstr ""
 
 
1209
 
1210
+ #: includes/views/admin_options_settings.php:15
 
 
1211
  msgid "Settings"
1212
+ msgstr ""
1213
 
1214
+ #: includes/views/admin_options_bulk_upload.php:59
1215
  msgid "Settings Saved."
1216
  msgstr "Einstellungen gespeichert."
1217
 
1218
+ #: includes/class-wc-advanced-shipment-tracking-front.php:319
1219
+ #: includes/views/front/preview_tracking_page.php:25
1220
+ msgid "Shipment"
1221
+ msgstr ""
1222
+
1223
+ #: includes/class-wc-advanced-shipment-tracking-front.php:347
1224
+ #, php-format
1225
+ msgid "Shipment - %s (out of %s)"
1226
+ msgstr ""
1227
+ "Versand -% s (von% s)\n"
1228
+
1229
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
1230
+ #, php-format
1231
+ msgid "Shipment : %s (out of %s)"
1232
+ msgstr ""
1233
+
1234
+ #: includes/views/admin_status_notifications.php:67
1235
+ msgid "Shipment is returned to sender."
1236
+ msgstr "Shipment is returned to sender."
1237
+
1238
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
1239
+ msgid "Shipment Providers"
1240
+ msgstr ""
1241
+ "Versandanbieter\n"
1242
+
1243
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
1244
+ #: templates/emails/tracking-info.php:225
1245
+ #: templates/emails/tracking-info.php:255
1246
+ msgid "Shipment Status"
1247
+ msgstr ""
1248
+ "Versandstatus\n"
1249
+
1250
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
1251
+ msgid "Shipment status"
1252
+ msgstr "Shipment status"
1253
+
1254
+ #: templates/emails/plain/tracking-info.php:35
1255
  #, php-format
1256
  msgid "Shipment status changed to %s"
1257
  msgstr "Der Sendungsstatus wurde in% s geändert"
1258
 
1259
+ #: includes/views/admin_status_notifications.php:3
1260
+ msgid "Shipment Status Email Notifications"
1261
+ msgstr "Versandstatus E-Mail-Benachrichtigungen"
1262
+
1263
+ #: includes/customizer/class-wcast-customizer.php:51
1264
+ msgid "Shipment Status Emails"
1265
+ msgstr "Sendungsstatus-E-Mails"
1266
+
1267
+ #: includes/class-wc-advanced-shipment-tracking.php:141
1268
+ #: includes/class-wc-advanced-shipment-tracking.php:223
1269
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
1270
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
1271
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
1272
  msgid "Shipment Tracking"
1273
  msgstr "Sendungsverfolgung"
1274
 
1275
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
1276
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
1277
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
 
 
 
 
 
1278
  msgid "Shipped"
1279
  msgstr "Versendet"
1280
 
1281
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
 
1282
  #, php-format
1283
  msgid "Shipped <span class=\"count\">(%s)</span>"
1284
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
1287
  msgstr[1] ""
1288
  "Versand <span class=\"count\">(%s)</span>\n"
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
1291
+ #: includes/customizer/class-wc-tracking-info-customizer.php:700
1292
  msgid "Shipped Date"
1293
  msgstr "Versanddatum"
1294
 
1295
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1296
+ #, fuzzy
1297
  #| msgid "Ship date header text"
1298
  msgid "Shipped date header text"
1299
+ msgstr ""
1300
+ "Versanddatum Kopfzeilentext\n"
1301
 
1302
  #. 1: shipping date
1303
+ #: includes/class-wc-advanced-shipment-tracking.php:256
1304
  #, php-format
1305
  msgid "Shipped on %s"
1306
  msgstr "Versand auf% s"
1307
 
1308
+ #: includes/customizer/class-wc-tracking-info-customizer.php:159
1309
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1310
  msgstr ""
1311
  "Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
1312
 
1313
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
1314
  msgid "Shipped Order"
1315
  msgstr "Versandbestellung"
1316
 
1317
+ #: includes/views/admin_options_shipping_provider.php:65
1318
+ #: includes/views/admin_options_shipping_provider.php:113
1319
  msgid "Shipping Country"
1320
  msgstr ""
1321
  "Lieferungsland\n"
1322
 
1323
  #: includes/views/admin_options_shipping_provider.php:58
1324
+ #: includes/views/admin_options_shipping_provider.php:103
1325
  msgid "Shipping Provider"
1326
  msgstr "Versandanbieter"
1327
 
1328
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
1329
  msgid "Shipping provider header text"
1330
+ msgstr ""
1331
 
1332
+ #: includes/class-wc-advanced-shipment-tracking.php:337
1333
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
1334
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
1335
  msgid "Shipping Provider:"
1336
  msgstr "Versandanbieter:"
1337
 
1338
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
1339
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
1340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
1341
  msgid "Shipping Providers"
1342
  msgstr "Versandanbieter"
1343
 
1344
+ #: includes/views/admin_options_shipping_provider.php:157
 
 
 
 
1345
  msgid "Shipping providers database reset successfully."
1346
  msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
1347
 
1348
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1349
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1350
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1351
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1352
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1353
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1354
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1355
+ msgid "Show billing address"
1356
+ msgstr ""
1357
+ "Rechnungsadresse anzeigen\n"
1358
+
1359
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1360
  msgid "Show bottom border"
1361
  msgstr ""
1362
  "Zeige unteren Rand\n"
1363
 
1364
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1365
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1366
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1367
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1368
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1369
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1370
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1371
+ msgid "Show order details"
1372
+ msgstr ""
1373
+ "Bestelldetails anzeigen\n"
1374
+
1375
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1376
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1377
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1378
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1379
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1380
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1381
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1382
+ msgid "Show shipping address"
1383
+ msgstr ""
1384
+ "Lieferadresse anzeigen\n"
1385
+
1386
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
1387
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
1388
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
1389
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
1390
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
1391
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
1392
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1393
+ msgid "Show tracking details"
1394
+ msgstr "Tracking-Details anzeigen"
1395
+
1396
+ #: includes/customizer/class-wc-tracking-info-customizer.php:320
1397
  msgid "Simple Layout Design"
1398
  msgstr ""
1399
  "Einfaches Layout Design\n"
1400
 
1401
+ #: includes/customizer/class-wcast-customizer.php:87
1402
+ msgid "Simple layout design"
1403
+ msgstr "Einfaches Layout-Design"
1404
+
1405
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
1406
  msgid "Special character not allowd in tracking number"
1407
  msgstr ""
1408
  "Sonderzeichen in Tracking-Nummer nicht zulässig\n"
1409
 
1410
+ #: includes/views/admin_options_trackship_integration.php:17
1411
+ #: includes/views/admin_options_addons.php:134
1412
+ msgid "Start your free trial"
1413
+ msgstr "Starten Sie Ihre kostenlose Testversion"
1414
+
1415
+ #: includes/views/trackship_sidebar.php:24
1416
+ msgid "Subscription Plan"
1417
+ msgstr "Abonnementplan"
1418
+
1419
+ #: includes/views/admin_options_shipping_provider.php:146
1420
+ #: includes/views/admin_options_shipping_provider.php:161
1421
  msgid "Sync Shipping Providers"
1422
  msgstr ""
1423
  "Versandanbieter synchronisieren\n"
1424
 
1425
+ #: includes/views/admin_options_shipping_provider.php:151
1426
  msgid ""
1427
  "Syncing the shipping providers list add or updates the pre-set shipping "
1428
  "providers and will not effect custom shipping providers."
1431
  "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
1432
  "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
1433
 
1434
+ #: includes/customizer/class-wc-tracking-info-customizer.php:831
1435
  msgid "Table Content"
1436
  msgstr ""
1437
  "Tabelleninhalt\n"
1438
 
1439
+ #: includes/customizer/class-wc-tracking-info-customizer.php:533
1440
  msgid "Table Design Options"
1441
+ msgstr ""
1442
 
1443
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1444
+ #, fuzzy
1445
  #| msgid "Table Headers"
1446
  msgid "Table Header"
1447
+ msgstr ""
1448
+ "Tabellenüberschriften\n"
1449
 
1450
+ #: includes/customizer/class-wc-tracking-info-customizer.php:303
1451
  msgid "Table Layout"
1452
  msgstr ""
1453
  "Tabellenlayout\n"
1454
 
1455
+ #: includes/customizer/class-wcast-customizer.php:79
1456
+ msgid "Table layout design"
1457
+ msgstr "Design des Tabellenlayouts"
1458
+
1459
+ #: includes/customizer/class-wc-tracking-info-customizer.php:445
1460
  msgid "Table Options"
1461
+ msgstr ""
1462
 
1463
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1464
  msgid "Text align"
1465
+ msgstr ""
1466
 
1467
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
1468
+ #: includes/views/admin_options_shipping_provider.php:100
1469
  msgid ""
1470
+ "The custom name will display in the tracking info section on the customer "
1471
+ "order emails, my-account, shipment tracking page and shipment status emails."
 
1472
  msgstr ""
1473
+ "Der benutzerdefinierte Name wird im Abschnitt \"Tracking-Informationen\" in "
1474
+ "den E-Mails mit Kundenbestellungen, meinem Konto, der "
1475
+ "Sendungsverfolgungsseite und den Sendungsstatus-E-Mails angezeigt."
 
1476
 
1477
+ #: includes/views/admin_status_notifications.php:52
1478
+ msgid "The shipment is On Hold."
1479
+ msgstr "The shipment is On Hold."
1480
+
1481
+ #: includes/views/admin_status_notifications.php:82
1482
+ msgid "The shipment is ready to by picked up."
1483
+ msgstr "Die Sendung ist abholbereit."
1484
+
1485
+ #: includes/views/admin_status_notifications.php:37
1486
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1487
+ msgstr "Die Sendung wurde vom Versandanbieter angenommen und ist unterwegs."
1488
+
1489
+ #: includes/views/admin_status_notifications.php:112
1490
+ msgid "The shipment was delivered successfully."
1491
+ msgstr "Die Sendung wurde erfolgreich geliefert."
1492
+
1493
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
1494
  msgid "There are some issue with sync, Please Retry."
1495
  msgstr ""
1496
  "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
1497
  "\n"
1498
 
1499
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1500
  msgid "This browser does not support HTML5."
1501
  msgstr "Dieser Browser unterstützt HTML5 nicht."
1502
 
1503
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
1504
+ msgid ""
1505
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
1506
+ "will be selected by default when adding tracking info to orders."
1507
+ msgstr ""
1508
+ "Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
1509
+ "Bestellungen standardmäßig die Option 'Markieren als <span class =' "
1510
+ "​​shipped_label '> erledigt </ span>' ausgewählt wird."
1511
+
1512
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
1513
+ msgid ""
1514
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
1515
+ "will be selected by default when adding tracking info to orders."
1516
+ msgstr ""
1517
+ "Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
1518
+ "Bestellungen standardmäßig die Option 'Als <span class =' ​​shipped_label '> "
1519
+ "versendet </ span>' markiert ist."
1520
+
1521
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1522
+ #: includes/views/admin_status_notifications.php:210
1523
+ msgid ""
1524
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1525
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1526
+ msgstr ""
1527
+ "Diese Bestellung wurde vor {Versandlänge} Tagen versandt, der Versandstatus "
1528
+ "ist {Versandstatus} und das voraussichtliche Lieferdatum ist {Versanddatum}."
1529
+
1530
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1531
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1532
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1533
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1534
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1535
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1536
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1537
+ msgid "This will be appended to URL in the email content"
1538
+ msgstr ""
1539
+ "Dies wird an die URL im E-Mail-Inhalt angehängt\n"
1540
+
1541
+ #: includes/customizer/class-wc-email-customizer.php:416
1542
+ msgid ""
1543
+ "This will be appended to URL in the email content – e.g. "
1544
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1545
+ msgstr ""
1546
+ "Dies wird an die URL im E-Mail-Inhalt angehängt - z. utm_source = ast & "
1547
+ "utm_medium = email & utm_campaign = geliefert\n"
1548
+
1549
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
1550
+ msgid ""
1551
+ "To enable this option, the 'Delivered' order status should be enabled in the "
1552
+ "AST settings."
1553
+ msgstr ""
1554
+ "Um diese Option zu aktivieren, sollte der Auftragsstatus \"Geliefert\" in "
1555
+ "den AST-Einstellungen aktiviert sein."
1556
+
1557
+ #: includes/views/front/track_order_form.php:3
1558
+ msgid ""
1559
+ "To track your order please enter your Order ID in the box below and press "
1560
+ "the \"Track\" button. This was given to you on your receipt and in the "
1561
+ "confirmation email you should have received."
1562
+ msgstr ""
1563
+ "Um Ihre Bestellung zu verfolgen, geben Sie bitte Ihre Bestellnummer in das "
1564
+ "unten stehende Feld ein und klicken Sie auf \"Verfolgen\". Dies wurde Ihnen "
1565
+ "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
1566
+ "sollen, mitgeteilt.\n"
1567
+
1568
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
1569
+ #: includes/views/admin_options_tools.php:13
1570
+ #: includes/views/trackship_settings.php:15
1571
+ #: includes/views/trackship_settings.php:16
1572
+ msgid "Tools"
1573
+ msgstr "Werkzeuge"
1574
+
1575
+ #: includes/class-wc-advanced-shipment-tracking.php:752
1576
+ #: includes/class-wc-advanced-shipment-tracking.php:788
1577
+ #: includes/customizer/class-wc-tracking-info-customizer.php:152
1578
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1579
+ #: templates/emails/tracking-info.php:315
1580
+ #: templates/myaccount/tracking-info.php:235
1581
+ #: includes/views/front/track_order_form.php:8
1582
  msgid "Track"
1583
  msgstr "Verfolgen"
1584
 
1585
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1586
  msgid "Track Button"
1587
+ msgstr ""
 
 
 
 
1588
 
1589
+ #: includes/customizer/class-wc-tracking-info-customizer.php:808
1590
  msgid "Track header text"
1591
  msgstr ""
1592
  "Verfolgen Sie den Header-Text\n"
1593
 
1594
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
1595
+ msgid "Track Label"
1596
+ msgstr "Track Label"
1597
+
1598
+ #: includes/class-wc-advanced-shipment-tracking.php:246
1599
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1600
  msgid "Track Shipment"
1601
  msgstr ""
1602
  "Sendung verfolgen\n"
1603
 
1604
+ #: includes/views/trackship_sidebar.php:20
1605
+ msgid "Trackers Balance"
1606
+ msgstr "Tracker Balance"
1607
+
1608
+ #: includes/views/front/layout1_tracking_details.php:4
1609
+ msgid "Tracking Details"
1610
+ msgstr "Verfolgungsdetails"
1611
+
1612
+ #: includes/class-wc-advanced-shipment-tracking-front.php:371
1613
+ msgid "Tracking details not found in TrackShip"
1614
+ msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
1615
+
1616
+ #: includes/views/admin_options_settings.php:35
1617
+ msgid "Tracking Display Customizer"
1618
+ msgstr ""
1619
+
1620
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1621
+ #: includes/customizer/class-wc-tracking-info-customizer.php:298
1622
  msgid "Tracking display layout"
1623
  msgstr "Tracking-Display-Layout"
1624
 
1625
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:932
1626
+ msgid "Tracking Display My Account"
1627
+ msgstr ""
1628
+
1629
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1630
  msgid "Tracking Display Position"
1631
  msgstr "Verfolgung der Anzeigeposition"
1632
 
1633
+ #: includes/customizer/class-wc-tracking-info-customizer.php:250
1634
  msgid "Tracking Header text"
1635
  msgstr ""
1636
  "Tracking-Header-Text\n"
1637
 
1638
+ #: includes/customizer/class-wcast-customizer.php:32
1639
+ #: includes/customizer/class-wcast-customizer.php:103
1640
  msgid "Tracking info display"
1641
  msgstr ""
1642
  "Tracking-Info-Anzeige\n"
1643
 
1644
+ #: includes/views/admin_options_tools.php:11
1645
+ msgid "Tracking info sent to Trackship for all Orders."
1646
+ msgstr "Tracking-Informationen für alle Bestellungen an Trackhip gesendet."
1647
+
1648
+ #: includes/class-wc-advanced-shipment-tracking.php:721
1649
  #, php-format
 
 
1650
  msgid ""
1651
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
1652
  msgstr ""
1653
+ "Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
1654
+ "Tracking-Nummer% s gelöscht"
1655
 
1656
+ #: includes/customizer/class-wc-tracking-info-customizer.php:257
1657
  msgid "Tracking Information"
1658
  msgstr "Tracking-Informationen"
1659
 
1660
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
1661
+ msgid "Tracking issues"
1662
+ msgstr ""
1663
+ "Verfolgung von Problemen\n"
1664
+
1665
+ #: includes/customizer/class-wc-tracking-info-customizer.php:150
1666
+ #: includes/customizer/class-wc-tracking-info-customizer.php:678
1667
+ #: templates/emails/tracking-info.php:292
1668
+ #: templates/myaccount/tracking-info.php:215
1669
  msgid "Tracking Number"
1670
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1671
 
1672
+ #: includes/customizer/class-wc-tracking-info-customizer.php:671
1673
+ #, fuzzy
1674
  #| msgid "Tracking Number header text"
1675
  msgid "Tracking number header text"
1676
+ msgstr ""
1677
+ "Tracking-Nummer-Header-Text\n"
1678
 
1679
+ #: includes/class-wc-advanced-shipment-tracking.php:332
1680
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
1681
  msgid "Tracking number:"
1682
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
1683
 
1684
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
1685
+ #: includes/views/admin_tracking_page_settings.php:9
1686
+ #: includes/views/trackship_settings.php:9
1687
+ #: includes/views/trackship_settings.php:10
1688
+ msgid "Tracking Page"
1689
+ msgstr "Tracking-Seite"
1690
+
1691
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
1692
+ msgid "Tracking Page Layout"
1693
+ msgstr ""
1694
+ "Seitenlayout verfolgen\n"
1695
+
1696
+ #: includes/views/admin_tracking_page_settings.php:92
1697
+ msgid "Tracking Widget Border Color"
1698
+ msgstr ""
1699
+
1700
+ #: includes/views/admin_tracking_page_settings.php:46
1701
+ msgid "Tracking Widget Layout"
1702
+ msgstr ""
1703
+
1704
+ #: includes/views/admin_tracking_page_settings.php:65
1705
+ msgid "Tracking Widget Options"
1706
+ msgstr ""
1707
+
1708
+ #: includes/views/admin_tracking_page_settings.php:116
1709
+ msgid "Tracking Widget Preview"
1710
+ msgstr "Vorschau des Tracking-Widgets"
1711
+
1712
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1626
1713
  msgid "TrackShip"
1714
  msgstr "TrackShip"
1715
 
1716
+ #: includes/views/trackship_sidebar.php:12
1717
+ msgid "TrackShip Connection Status"
1718
+ msgstr "TrackShip-Verbindungsstatus"
1719
+
1720
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1721
+ msgid "TrackShip not supported"
1722
+ msgstr "TrackShip wird nicht unterstützt"
1723
+
1724
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1725
+ msgid "TrackShip supported"
1726
+ msgstr "TrackShip wird unterstützt"
1727
+
1728
+ #: includes/views/admin_status_notifications.php:225
1729
+ msgid "Trigger Alert"
1730
+ msgstr "Alarm auslösen"
1731
+
1732
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
1733
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
1734
+ msgid "Unknown"
1735
+ msgstr "Unknown"
1736
+
1737
+ #: includes/views/admin_options_shipping_provider.php:135
1738
  msgid "Update"
1739
  msgstr "Aktualisieren"
1740
 
1741
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
1742
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
1743
+ #: includes/views/admin_options_osm.php:101
 
1744
  msgid "Updated Tracking"
1745
  msgstr ""
1746
  "Aktualisiertes Tracking\n"
1747
 
1748
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
 
1749
  #, php-format
1750
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1751
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1754
  msgstr[1] ""
1755
  "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
1756
 
1757
+ #: includes/customizer/class-wcast-customizer.php:133
1758
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
1759
+ msgid "Updated Tracking status email"
1760
+ msgstr ""
1761
+ "Aktualisierte Tracking-Status-E-Mail\n"
1762
+
1763
+ #: includes/views/trackship_sidebar.php:28
1764
+ msgid "Upgrade Now"
1765
+ msgstr "Jetzt upgraden"
1766
+
1767
+ #: includes/views/admin_options_shipping_provider.php:76
1768
+ #: includes/views/admin_options_shipping_provider.php:124
1769
+ msgid "Upload"
1770
+ msgstr "Hochladen"
1771
+
1772
+ #: includes/views/admin_options_bulk_upload.php:26
1773
  msgid "Upload a CSV file from your computer:"
1774
  msgstr "Laden Sie eine CSV-Datei von Ihrem Computer hoch:"
1775
 
1776
+ #: includes/views/admin_options_bulk_upload.php:109
1777
  msgid "Upload again"
1778
  msgstr "Erneut hochladen"
1779
 
1780
+ #: includes/views/admin_options_settings.php:36
1781
+ msgid ""
1782
+ "Use a customizer with a preview to customize the tracking info display on "
1783
+ "customer order emails and my-account."
1784
+ msgstr ""
1785
+ "Verwenden Sie einen Customizer mit einer Vorschau, um die Anzeige der "
1786
+ "Tracking-Informationen in Kundenbestellungs-E-Mails und in meinem Konto "
1787
+ "anzupassen."
1788
+
1789
+ #: includes/views/admin_options_bulk_upload.php:12
1790
  msgid ""
1791
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1792
  "file"
1794
  "Verwenden Sie unser CSV-Import-Tool, um Tracking-Informationen in "
1795
  "Bestellungen aus einer CSV-Datei zu importieren"
1796
 
1797
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
1798
+ msgid "Use the tracking page in the customer email/my account tracking link"
1799
+ msgstr ""
1800
+ "Verwenden Sie die Tracking-Seite im Kunden-E-Mail- / Mein Account-Tracking-"
1801
+ "Link"
1802
+
1803
+ #: includes/customizer/class-wc-tracking-info-customizer.php:515
1804
  msgid "Use tracking number as a link"
1805
  msgstr ""
1806
  "Verwenden Sie die Tracking-Nummer als Link\n"
1807
 
1808
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
1809
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
1810
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
1811
+ #: includes/views/admin_options_bulk_upload.php:87
1812
  msgid "view details"
1813
  msgstr ""
1814
  "Details anzeigen\n"
1815
 
1816
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
1817
+ msgid "View more on TrackShip"
1818
+ msgstr ""
1819
+ "Erfahren Sie mehr über TrackShip\n"
1820
+
1821
+ #: includes/views/admin_options_bulk_upload.php:108
1822
  msgid "View Orders"
1823
  msgstr "Bestellungen anzeigen"
1824
 
1825
+ #: includes/views/admin_options_trackship_integration.php:16
1826
+ #: includes/views/admin_options_addons.php:130
1827
+ msgid "Watch Video"
1828
+ msgstr "Schau Video"
1829
+
1830
+ #: woocommerce-advanced-shipment-tracking.php:487
1831
+ #, php-format
1832
+ msgid ""
1833
+ "We detected %s orders that use the Delivered order status, You can reassign "
1834
+ "these orders to a different status"
1835
+ msgstr ""
1836
+ "Wir haben% s Bestellungen erkannt, die den Status \"Gelieferte Bestellung\" "
1837
+ "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
1838
+
1839
+ #: woocommerce-advanced-shipment-tracking.php:499
1840
  #, php-format
1841
  msgid ""
1842
  "We detected %s orders that use the Partially Shipped order status, You can "
1845
  "Wir haben% s Bestellungen festgestellt, die den Status \"Teilversand\" "
1846
  "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
1847
 
1848
+ #: woocommerce-advanced-shipment-tracking.php:511
1849
+ #, php-format
1850
+ msgid ""
1851
+ "We detected %s orders that use the Updated Tracking order status, You can "
1852
+ "reassign these orders to a different status"
1853
+ msgstr ""
1854
+ "Wir haben% s Bestellungen festgestellt, die den Status \"Aktualisierte "
1855
+ "Nachverfolgungsbestellung\" verwenden. Sie können diese Bestellungen einem "
1856
+ "anderen Status zuweisen"
1857
 
1858
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:873
1859
+ msgid "Wrong Shipping Provider"
1860
+ msgstr "Falscher Versandanbieter"
1861
+
1862
+ #: includes/views/admin_status_notifications.php:116
1863
+ msgid ""
1864
+ "You already have delivered order status email enabled, to enable this email "
1865
+ "you'll need to disable the delivered order status email in settings."
1866
+ msgstr ""
1867
 
1868
+ #: includes/views/admin_options_tools.php:14
1869
+ msgid ""
1870
+ "You can send all your orders from the last 30 days to get shipment status "
1871
+ "from TrackShip:"
1872
+ msgstr ""
1873
+ "Sie können alle Ihre Bestellungen der letzten 30 Tage senden, um den "
1874
+ "Sendungsstatus von TrackShip zu erhalten:\n"
1875
+
1876
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
1877
  msgid "You can upload only csv file."
1878
  msgstr "Sie können nur CSV-Dateien hochladen."
1879
 
1880
+ #: includes/views/admin_options_shipping_provider.php:82
1881
+ #: includes/views/admin_options_shipping_provider.php:130
1882
  msgid ""
1883
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1884
  "URL, for more info, check our "
1886
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1887
  "URL, for more info, check our "
1888
 
1889
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
 
1890
  #, php-format
1891
  msgid "You did not create any %s shipping providers yet."
1892
  msgstr "Sie haben noch keine% s Versandanbieter erstellt."
1893
 
1894
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1788
1895
+ #: includes/views/admin_options_shipping_provider.php:45
1896
  #, php-format
1897
  msgid "You don't have any %s shipping providers."
1898
  msgstr "Sie haben keine% s Versandanbieter."
1899
 
1900
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
1901
+ #, php-format
1902
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1903
+ msgstr ""
1904
+ "Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-"
1905
+ "Verbindungsproblem\" erhalten."
1906
+
1907
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
1908
+ #, php-format
1909
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1910
+ msgstr ""
1911
+ "Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-Guthaben ist "
1912
+ "0\" erhalten."
1913
 
1914
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
1915
+ #, php-format
1916
+ msgid ""
1917
+ "You got %s %s orders with tracking info that were not sent to track on "
1918
+ "TrackShip"
1919
+ msgstr ""
1920
+ "Sie haben% s% s Bestellungen mit Tracking-Informationen erhalten, die nicht "
1921
+ "an TrackShip gesendet wurden"
1922
+
1923
+ #: includes/views/admin_trackship_dashboard.php:13
1924
+ #, php-format
1925
+ msgid ""
1926
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1927
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1928
+ msgstr ""
1929
+ "Sie haben% s Versandaufträge aus den letzten 30 Tagen, die Sie per "
1930
+ "Massenversand an <a href = \"javascript: void (0);\" senden können. class = "
1931
+ "\"tool_link\"> Sendungsstatus abrufen </a>"
1932
+
1933
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
1934
+ msgid ""
1935
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
1936
+ "for the tracking page to work."
1937
+ msgstr ""
1938
+ "Sie müssen der ausgewählten Seite den Shortcode [wcast-track-order] "
1939
+ "hinzufügen, damit die Tracking-Seite funktioniert."
1940
+
1941
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1942
+ msgid "Your order #{order_number} has been delivered"
1943
+ msgstr ""
1944
+ "Ihre Bestellung Nr. {Order_number} wurde geliefert\n"
1945
+
1946
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1947
+ msgid "Your order #{order_number} has returned to sender"
1948
+ msgstr ""
1949
+ "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
1950
+
1951
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
1952
+ msgid "Your order #{order_number} is available for pickup"
1953
+ msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
1954
+
1955
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1956
+ msgid "Your order #{order_number} is Failed Attempt"
1957
+ msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
1958
+
1959
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1960
+ msgid "Your order #{order_number} is in transit"
1961
+ msgstr ""
1962
+ "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
1963
+
1964
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1965
+ msgid "Your order #{order_number} is on hold"
1966
+ msgstr "Ihre Bestellnummer {Bestellnummer} wird gehalten"
1967
+
1968
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1969
+ msgid "Your order #{order_number} is out for delivery"
1970
+ msgstr ""
1971
+ "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
1972
+
1973
+ #: includes/customizer/class-wc-email-customizer.php:130
1974
+ #: includes/emails/class-shipment-delivered-email.php:94
1975
+ msgid "Your {site_title} order is now delivered"
1976
+ msgstr ""
1977
+ "Ihre {site_title} Bestellung wird jetzt geliefert\n"
1978
+
1979
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1980
  msgid "Your {site_title} order is now partially shipped"
1981
  msgstr ""
1982
  "Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
1983
 
1984
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1985
  msgid "Your {site_title} order is now updated tracking"
1986
  msgstr ""
1987
  "Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
 
 
 
 
lang/woo-advanced-shipment-tracking-el.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-el.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
- "Last-Translator: John Doe\n"
8
  "Language-Team: Greek\n"
9
  "Language: el\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,531 +12,627 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
- #. %s: search WooCommerce plugin link
18
- #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "τεκμηρίωση"
22
 
23
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
 
 
 
 
 
 
24
  msgid "Actions"
25
  msgstr "Actions"
26
 
27
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
- msgid "Add API Name alias"
29
- msgstr "Προσθήκη ψευδωνύμου ονόματος API"
30
 
31
- #: includes/views/admin_options_shipping_provider.php:65
32
- msgid ""
33
- "Add API name aliases to map Shipping providers names with the provider names "
34
- "that are updated in the shipment tracking API by external shipping services"
35
  msgstr ""
36
- "Προσθέστε ψευδώνυμα ονόματος API στο χάρτη Ονόματα παρόχων αποστολής με "
37
- "ονόματα παρόχων που ενημερώνονται στο API παρακολούθησης αποστολών από "
38
- "εξωτερικές υπηρεσίες αποστολής"
39
 
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
 
 
 
 
 
42
  msgid "Add Custom Provider"
43
  msgstr "Προσθήκη προσαρμοσμένου παροχέα"
44
 
45
- #. Description of the plugin
46
- msgid ""
47
- "Add shipment tracking information to your WooCommerce orders and provide "
48
- "customers with an easy way to track their orders. Shipment tracking Info "
49
- "will appear in customers accounts (in the order panel) and in WooCommerce "
50
- "order complete email."
51
- msgstr ""
52
- "Προσθέστε πληροφορίες παρακολούθησης αποστολών στις παραγγελίες σας στο "
53
- "WooCommerce και παρέχετε στους πελάτες έναν εύκολο τρόπο παρακολούθησης των "
54
- "παραγγελιών τους. Οι πληροφορίες παρακολούθησης αποστολής θα εμφανίζονται "
55
- "στους λογαριασμούς πελατών (στον πίνακα παραγγελιών) και στο πλήρες email "
56
- "της παραγγελίας WooCommerce."
57
-
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:815
59
- msgid "add the [wcast-track-order] shortcode in the selected page."
60
- msgstr ""
61
- "προσθέστε τον σύντομο κωδικό [wcast-track-order] στην επιλεγμένη σελίδα."
62
 
63
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
64
  msgid "Add Tracking"
65
  msgstr "Add Tracking"
66
 
67
- #: includes/class-wc-advanced-shipment-tracking-settings.php:339
68
  msgid "Add Tracking - order\t"
69
  msgstr "Add Tracking - order\t"
70
 
71
- #: includes/class-wc-advanced-shipment-tracking.php:517
72
- msgid "Add Tracking Info"
73
- msgstr "Προσθήκη Παρακολούθησης"
74
-
75
- #: includes/class-wc-advanced-shipment-tracking-admin.php:605
76
- msgid ""
77
- "Add Tracking Information in AST meta fields when you automatically sync "
78
- "tracking numbers from aliexpress orders"
79
- msgstr ""
80
- "Προσθέστε πληροφορίες παρακολούθησης στα μετα -πεδία AST όταν συγχρονίζετε "
81
- "αυτόματα τους αριθμούς παρακολούθησης από παραγγελίες aliexpress"
82
-
83
- #: includes/class-wc-advanced-shipment-tracking-admin.php:615
84
- msgid ""
85
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
86
- "& Packing Slips plugin By Ewout Fernhout"
87
- msgstr ""
88
- "Προσθέστε πληροφορίες παρακολούθησης στο τιμολόγιο PDF που δημιουργούνται "
89
- "από την προσθήκη WooCommerce PDF Invoices & Packing Slips By Ewout Fernhout"
90
-
91
- #: includes/class-wc-advanced-shipment-tracking-admin.php:625
92
- msgid ""
93
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
94
- "plugin By Bas Elbers"
95
- msgstr ""
96
- "Προσθέστε πληροφορίες παρακολούθησης στο τιμολόγιο PDF που δημιουργείται από "
97
- "την προσθήκη WooCommerce PDF Invoices By Bas Elbers"
98
-
99
- #: includes/views/admin_options_settings.php:16
100
- msgid "Add Tracking Options"
101
- msgstr "Προσθήκη επιλογών παρακολούθησης"
102
-
103
- #: includes/class-wc-advanced-shipment-tracking-admin.php:933
104
- msgid "Add Tracking Order action"
105
- msgstr "Προσθέστε ενέργεια εντολής παρακολούθησης"
106
-
107
- #: includes/class-wc-advanced-shipment-tracking-admin.php:585
108
- msgid ""
109
- "Adding tracking information to your orders shipped with 3plwinner and "
110
- "automate your workflow"
111
- msgstr ""
112
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
113
- "αποστέλλονται με 3plwinner και αυτοματοποιήστε τη ροή εργασίας σας"
114
-
115
- #: includes/class-wc-advanced-shipment-tracking-admin.php:545
116
- msgid ""
117
- "Adding tracking information to your orders shipped with CustomCat and "
118
- "automate your workflow"
119
- msgstr ""
120
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
121
- "αποστέλλονται με CustomCat και αυτοματοποιήστε τη ροή εργασίας σας"
122
-
123
- #: includes/class-wc-advanced-shipment-tracking-admin.php:555
124
- msgid ""
125
- "Adding tracking information to your orders shipped with Dear Systems and "
126
- "automate your workflow"
127
- msgstr ""
128
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
129
- "αποστέλλονται με Dear Systems και αυτοματοποιήστε τη ροή εργασίας σας"
130
-
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:595
132
- msgid ""
133
- "Adding tracking information to your orders shipped with Dianxiaomi and "
134
- "automate your workflow"
135
- msgstr ""
136
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
137
- "αποστέλλονται με Dianxiaomi και αυτοματοποιήστε τη ροή εργασίας σας"
138
-
139
- #: includes/class-wc-advanced-shipment-tracking-admin.php:575
140
- msgid ""
141
- "Adding tracking information to your orders shipped with Picqer and automate "
142
- "your workflow"
143
- msgstr ""
144
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
145
- "αποστέλλονται με Picqer και αυτοματοποιήστε τη ροή εργασίας σας"
146
-
147
- #: includes/class-wc-advanced-shipment-tracking-admin.php:565
148
- msgid ""
149
- "Adding tracking information to your orders shipped with Printify and "
150
- "automate your workflow"
151
- msgstr ""
152
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
153
- "αποστέλλονται με Printify και αυτοματοποιήστε τη ροή εργασίας σας"
154
-
155
- #: includes/class-wc-advanced-shipment-tracking-admin.php:515
156
- msgid ""
157
- "Adding tracking information to your orders shipped with QuickBooks Commerce "
158
- "and automate your workflow"
159
- msgstr ""
160
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
161
- "αποστέλλονται με το QuickBooks Commerce και αυτοματοποιήστε τη ροή εργασίας "
162
- "σας"
163
-
164
- #: includes/class-wc-advanced-shipment-tracking-admin.php:525
165
- msgid ""
166
- "Adding tracking information to your orders shipped with ReadyToShip and "
167
- "automate your workflow"
168
  msgstr ""
169
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
170
- "αποστέλλονται με το ReadyToShip και αυτοματοποιήστε τη ροή εργασίας σας"
171
 
172
- #: includes/class-wc-advanced-shipment-tracking-admin.php:535
173
- msgid ""
174
- "Adding tracking information to your orders shipped with Royal Mail Click & "
175
- "Drop and automate your workflow"
176
- msgstr ""
177
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
178
- "αποστέλλονται με Royal Mail Click & Drop και αυτοματοποιήστε τη ροή εργασίας "
179
- "σας"
180
-
181
- #: includes/class-wc-advanced-shipment-tracking-admin.php:475
182
- msgid ""
183
- "Adding tracking information to your orders shipped with ShipStation and "
184
- "automate your workflow"
185
- msgstr ""
186
- "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
187
- "αποστέλλονται με ShipStation και αυτοματοποιήστε τη ροή εργασίας σας"
188
-
189
- #: includes/class-wc-advanced-shipment-tracking-admin.php:485
190
- msgid ""
191
- "Adding tracking information to your orders shipped with WooCommerce Shipping "
192
- "to the Shipment Tracking and automate your workflow"
193
- msgstr ""
194
- "Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας που αποστέλλονται "
195
- "με WooCommerce Shipping στην παρακολούθηση αποστολών και αυτοματοποιήστε τη "
196
- "ροή εργασίας σας"
197
-
198
- #: includes/class-wc-advanced-shipment-tracking-admin.php:505
199
- msgid ""
200
- "Adding tracking information to your orders when generating shipping labels "
201
- "using the Ordoro"
202
- msgstr ""
203
- "Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας κατά τη δημιουργία "
204
- "ετικετών αποστολής χρησιμοποιώντας το Ordoro"
205
 
206
- #: includes/class-wc-advanced-shipment-tracking-admin.php:495
207
- msgid ""
208
- "Adding tracking information to your orders when generating shipping labels "
209
- "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
210
- "PluginHive"
211
- msgstr ""
212
- "Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας κατά τη δημιουργία "
213
- "ετικετών αποστολής χρησιμοποιώντας το πρόσθετο αποστολής WooCommerce UPS "
214
- "Shipping με προσθήκη ετικέτας Print από την PluginHive"
215
 
216
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
217
  msgid "Additional text after header"
218
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
219
 
220
- #. Name of the plugin
221
- msgid "Advanced Shipment Tracking for WooCommerce"
222
- msgstr "Προηγμένη παρακολούθηση αποστολών για το WooCommerce"
 
223
 
224
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
225
  msgid "After Order Details"
226
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
227
 
228
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
229
- msgid "API aliases"
230
- msgstr "Ψευδώνυμα API"
231
-
232
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
233
  msgid "API Date Format"
234
- msgstr "Μορφή ημερομηνίας API"
235
 
236
- #: includes/views/admin_options_shipping_provider.php:67
 
237
  msgid "API Name"
238
  msgstr "Όνομα API"
239
 
240
- #: includes/customizer/class-wc-tracking-info-customizer.php:333
241
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
242
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
243
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
244
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
245
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
246
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
247
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
248
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  msgid "Available variables:"
250
  msgstr "Διαθέσιμες μεταβλητές:"
251
 
252
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
253
  msgid "Before Order Details"
254
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
255
 
256
- #: includes/customizer/class-wc-tracking-info-customizer.php:537
 
 
 
 
257
  msgid "Border color"
258
  msgstr ""
259
  "Χρώμα πλαισίου\n"
260
 
261
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
262
  msgid "Border size"
263
  msgstr ""
264
  "Μέγεθος περιθωρίου\n"
265
 
266
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
267
  msgid "Bottom border color"
268
  msgstr "Το χρώμα του κάτω ορίου"
269
 
270
- #: includes/customizer/class-wc-tracking-info-customizer.php:968
 
 
 
 
271
  msgid "Button color"
272
- msgstr "Χρώμα κουμπιού"
273
 
274
- #: includes/customizer/class-wc-tracking-info-customizer.php:986
275
  msgid "Button font color"
276
- msgstr "Χρώμα γραμματοσειράς κουμπιού"
277
 
278
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
279
  msgid "Cannot create existing order shipment tracking."
280
  msgstr ""
281
  "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
282
  "παραγγελιών."
283
 
284
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
  msgid "Change order status to"
286
  msgstr "Change order status to"
287
 
288
- #: includes/class-wc-advanced-shipment-tracking-settings.php:299
289
  msgid "Change status to shipped"
290
  msgstr "Αλλάξτε την κατάσταση αποστολής"
291
 
292
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
293
  msgid "Choose for which Order status to display"
294
- msgstr "Επιλέξτε για ποια κατάσταση παραγγελίας θα εμφανίζεται"
 
 
 
 
 
 
 
 
295
 
296
- #: includes/views/admin_options_bulk_upload.php:32
297
  msgid "Choose the Shipped Date format"
298
  msgstr "Επιλέξτε τη μορφή αποστολής ημερομηνίας"
299
 
300
- #: includes/class-wc-advanced-shipment-tracking.php:467
 
 
 
 
301
  msgid "Completed"
302
  msgstr "Ολοκληρώθηκε το"
303
 
304
- #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
 
305
  msgid "Content"
306
  msgstr "Περιεχόμενο"
307
 
308
- #: includes/customizer/class-wc-tracking-info-customizer.php:807
309
  msgid "Content Background color"
310
- msgstr "Χρώμα φόντου περιεχομένου"
311
 
312
- #: includes/customizer/class-wc-tracking-info-customizer.php:370
313
- #: includes/customizer/class-wc-tracking-info-customizer.php:825
314
  msgid "Content font color"
315
  msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
316
 
317
- #: includes/customizer/class-wc-tracking-info-customizer.php:351
318
- #: includes/customizer/class-wc-tracking-info-customizer.php:843
319
  msgid "Content font size"
320
  msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
321
 
322
- #: includes/customizer/class-wc-tracking-info-customizer.php:885
323
  msgid "Content font weight"
324
  msgstr ""
325
  "Βάρος γραμματοσειράς περιεχομένου\n"
326
 
327
- #: includes/customizer/class-wc-tracking-info-customizer.php:862
328
  msgid "Content line height"
329
  msgstr ""
330
  "Το ύψος της γραμμής περιεχομένου\n"
331
 
332
- #: includes/views/admin_options_bulk_upload.php:55
333
  msgid "Continue"
334
  msgstr "Να συνεχίσει"
335
 
336
- #: includes/views/admin_options_shipping_provider.php:72
337
  msgid "Country"
338
  msgstr "Country"
339
 
340
- #: includes/class-wc-advanced-shipment-tracking-admin.php:381
341
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
342
- #: includes/views/admin_options_bulk_upload.php:8
 
343
  msgid "CSV Import"
344
  msgstr "Εισαγωγή CSV"
345
 
346
- #: includes/views/admin_options_shipping_provider.php:65
347
- msgid "Custom API name"
348
- msgstr "Προσαρμοσμένο όνομα API"
349
-
350
  #: includes/views/admin_options_shipping_provider.php:61
 
351
  msgid "Custom display name"
352
  msgstr "Προσαρμοσμένο εμφανιζόμενο όνομα"
353
 
354
- #: includes/customizer/class-wcast-customizer.php:44
355
- msgid "Custom order status email"
356
- msgstr "Email κατάστασης προσαρμοσμένης παραγγελίας"
 
357
 
358
- #: includes/views/admin_options_shipping_provider.php:82
359
- msgid "Custom URL"
360
- msgstr "προσαρμοσμένη διεύθυνση URL"
361
-
362
- #: includes/views/admin_options_settings.php:32
363
- msgid "Customer View"
364
- msgstr "Προβολή πελατών"
365
 
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:712
367
- #: includes/class-wc-advanced-shipment-tracking-admin.php:832
368
- msgid "Customize"
369
- msgstr "Προσαρμόστε"
370
 
371
- #: includes/views/admin_options_osm.php:66
 
 
372
  msgid "Dark Font"
373
  msgstr ""
374
  "Σκούρα γραμματοσειρά\n"
375
 
376
- #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
 
 
377
  msgid "Data saved successfully."
378
  msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
379
 
380
- #: includes/class-wc-advanced-shipment-tracking.php:369
381
- #: includes/class-wc-advanced-shipment-tracking-settings.php:377
382
  msgid "Date shipped:"
383
  msgstr "Ημερομηνία αποστολής:"
384
 
385
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
386
- #| msgid "Default"
387
- msgid "default"
388
  msgstr "Προκαθορισμένο"
389
 
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  msgid "Delivered"
392
  msgstr "Παραδόθηκε"
393
 
394
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  msgid "Display Name"
396
  msgstr "Εμφανιζόμενο όνομα"
397
 
398
- #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
 
 
 
 
 
 
 
399
  msgid "Display shipping provider image"
400
  msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
401
 
402
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
403
  msgid "Display shipping provider name"
404
  msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
405
 
406
- #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  msgid "Download sample csv"
408
  msgstr "Λήψη δείγματος csv"
409
 
410
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
411
- msgid "edit"
412
- msgstr "επεξεργασία"
413
-
414
- #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  msgid "Edit Shipping Provider"
416
  msgstr "Επεξεργασία παρόχου αποστολής"
417
 
418
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
419
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
420
  msgid "Email content"
421
  msgstr "Περιεχόμενο email"
422
 
423
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
424
- msgid "Email Type"
425
- msgstr "Τύπος email"
426
-
427
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
428
- msgid "Enable Partially Shipped order status email"
429
- msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
430
-
431
- #: includes/class-wc-advanced-shipment-tracking-admin.php:584
432
- msgid "Enable the 3plwinner integration"
433
- msgstr "Ενεργοποιήστε την ενσωμάτωση 3plwinner"
434
-
435
- #: includes/class-wc-advanced-shipment-tracking-admin.php:604
436
- msgid "Enable the AliExpress Dropshipping integration"
437
- msgstr "Ενεργοποιήστε την ενσωμάτωση AliExpress Dropshipping"
438
-
439
- #: includes/class-wc-advanced-shipment-tracking-admin.php:544
440
- msgid "Enable the CustomCat integration"
441
- msgstr "Ενεργοποιήστε την ενσωμάτωση CustomCat"
 
442
 
443
- #: includes/class-wc-advanced-shipment-tracking-admin.php:554
444
- msgid "Enable the Dear Systems integration"
445
- msgstr "Ενεργοποιήστε την ολοκλήρωση Dear Systems"
446
 
447
- #: includes/class-wc-advanced-shipment-tracking-admin.php:594
448
- msgid "Enable the Dianxiaomi integration"
449
- msgstr "Ενεργοποιήστε την ενσωμάτωση Dianxiaomi"
 
450
 
451
- #: includes/class-wc-advanced-shipment-tracking-admin.php:504
452
- msgid "Enable the Ordoro tracking integration"
453
- msgstr "Ενεργοποιήστε την ενσωμάτωση παρακολούθησης Ordoro"
454
 
455
- #: includes/class-wc-advanced-shipment-tracking-admin.php:574
456
- msgid "Enable the Picqer integration"
457
- msgstr "Ενεργοποιήστε την ενσωμάτωση Picqer"
458
 
459
- #: includes/class-wc-advanced-shipment-tracking-admin.php:564
460
- msgid "Enable the Printify integration"
461
- msgstr "Ενεργοποιήστε την ενσωμάτωση Printify"
462
 
463
- #: includes/class-wc-advanced-shipment-tracking-admin.php:514
464
- msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
465
- msgstr "Ενεργοποιήστε τις ενσωματώσεις QuickBooks Commerce (πρώην TradeGecko)"
466
 
467
- #: includes/class-wc-advanced-shipment-tracking-admin.php:524
468
- msgid "Enable the ReadyToShip integration"
469
- msgstr "Ενεργοποιήστε την ενσωμάτωση ReadyToShip"
470
 
471
- #: includes/class-wc-advanced-shipment-tracking-admin.php:534
472
- msgid "Enable the Royal Mail Click & Drop integration"
473
- msgstr "Ενεργοποιήστε την ενσωμάτωση Royal Mail Click & Drop"
474
 
475
- #: includes/class-wc-advanced-shipment-tracking-admin.php:474
476
- msgid "Enable the ShipStation integration"
477
- msgstr "Ενεργοποιήστε την ενσωμάτωση ShipStation"
478
 
479
- #: includes/class-wc-advanced-shipment-tracking-admin.php:484
480
- msgid "Enable the WC Shipping integration"
481
- msgstr "Ενεργοποιήστε την ενσωμάτωση WC Shipping"
482
 
483
- #: includes/class-wc-advanced-shipment-tracking-admin.php:494
484
- msgid ""
485
- "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
486
- "integration"
487
  msgstr ""
488
- "Ενεργοποιήστε το WooCommerce UPS Shipping Plugin με ενσωμάτωση πρόσθετου "
489
- "Print Label"
490
 
491
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
492
- msgid "Enable Track button in orders history (actions)"
493
  msgstr ""
494
- "Ενεργοποίηση κουμπιού παρακολούθησης στο ιστορικό παραγγελιών (ενέργειες)"
495
 
496
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
497
- msgid "Enable Updated Tracking order status email"
498
  msgstr ""
499
- "Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
500
 
501
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
502
  msgid "Filter by shipping provider"
503
  msgstr "Φιλτράρισμα ανά πάροχο αποστολής"
504
 
505
- #: includes/class-wc-advanced-shipment-tracking-settings.php:388
506
- msgid "Fulfill Order"
507
- msgstr "Εκπλήρωση παραγγελίας"
 
 
508
 
509
- #: includes/class-wc-advanced-shipment-tracking-admin.php:425
510
- #: includes/class-wc-advanced-shipment-tracking-admin.php:429
511
  msgid "General Settings"
512
  msgstr "Γενικές Ρυθμίσεις"
513
 
514
- #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
515
  msgid "Global"
516
  msgstr "Παγκόσμια"
517
 
518
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
519
- msgid "Go Pro"
520
- msgstr "Γίνε επαγγελματίας"
521
-
522
- #: includes/customizer/class-wc-tracking-info-customizer.php:731
 
 
 
 
 
 
 
523
  msgid "Headers background color"
524
- msgstr "Χρώμα φόντου κεφαλίδων"
525
 
526
- #: includes/customizer/class-wc-tracking-info-customizer.php:749
527
  msgid "Headers font color"
528
  msgstr ""
529
  "Χρώμα γραμματοσειράς κεφαλίδων\n"
530
 
531
- #: includes/customizer/class-wc-tracking-info-customizer.php:712
532
  msgid "Headers font size"
533
  msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
534
 
535
- #: includes/customizer/class-wc-tracking-info-customizer.php:767
536
  msgid "Headers font weight"
537
- msgstr "Βάρος γραμματοσειράς κεφαλίδων"
538
 
539
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
540
  msgid ""
541
  "Hi there. we thought you'd like to know that the shipment tracking for your "
542
  "recent order from {site_title} has been updated."
@@ -544,7 +640,16 @@ msgstr ""
544
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
545
  "για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
546
 
547
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
 
548
  msgid ""
549
  "Hi there. we thought you'd like to know that your recent order from "
550
  "{site_title} has been partially shipped."
@@ -552,55 +657,134 @@ msgstr ""
552
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
553
  "από {site_title} έχει αποσταλεί εν μέρει.\n"
554
 
555
- #: includes/class-wc-advanced-shipment-tracking-settings.php:645
556
- #: includes/class-wc-advanced-shipment-tracking-settings.php:662
557
- #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
558
  msgid "hide details"
559
  msgstr "Κρύψε τις λεπτομέρειες"
560
 
561
- #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
562
  msgid "Hide Table Headers"
563
  msgstr "Απόκρυψη κεφαλίδων πίνακα"
564
 
565
- #: includes/customizer/class-wc-tracking-info-customizer.php:482
 
566
  #| msgid "Hide the ship date"
567
  msgid "Hide the shipped date"
568
- msgstr "Απόκρυψη της ημερομηνίας του πλοίου"
 
569
 
570
- #: includes/customizer/class-wc-tracking-info-customizer.php:203
 
 
 
 
 
 
 
 
 
571
  msgid "Hide Tracking Header"
572
  msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
573
 
574
- #: includes/views/admin_options_bulk_upload.php:118
575
- msgid "How to import tracking number from CSV files?"
576
- msgstr "Πώς να εισαγάγετε αριθμό παρακολούθησης από αρχεία CSV;"
577
 
578
- #. Author URI of the plugin
579
- msgid "https://www.zorem.com"
580
- msgstr "https://www.zorem.com"
581
-
582
- #. URI of the plugin
583
- msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
584
- msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
 
585
 
586
- #: includes/views/admin_options_bulk_upload.php:74
587
  msgid "Import in Progress"
588
  msgstr "Εισαγωγή σε εξέλιξη"
589
 
590
- #: includes/views/admin_options_trackship_integration.php:18
591
- msgid "Install TrackShip for WooCommerce"
592
- msgstr "Εγκαταστήστε το TrackShip για το WooCommerce"
 
 
 
 
 
593
 
594
- #: includes/class-wc-advanced-shipment-tracking-admin.php:390
595
- #: includes/views/integrations_admin_options.php:3
596
- msgid "Integrations"
597
- msgstr "Ενσωματώσεις"
598
 
599
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
600
  msgid "Invalid order ID."
601
  msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
602
 
603
- #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
604
  msgid ""
605
  "Keep unchecked for the tracking info to be added to any existing tracking "
606
  "info added to the orders."
@@ -609,356 +793,602 @@ msgstr ""
609
  "σε τυχόν υπάρχουσες πληροφορίες παρακολούθησης που έχουν προστεθεί στις "
610
  "παραγγελίες."
611
 
612
- #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
613
  msgid "License"
614
  msgstr "Αδεια"
615
 
616
- #: includes/views/admin_options_osm.php:65
 
 
617
  msgid "Light Font"
618
  msgstr "Φως γραμματοσειράς"
619
 
620
- #: includes/class-wc-advanced-shipment-tracking.php:300
 
621
  msgid "Mark as Completed?"
622
  msgstr "Σημειώστε ως ολοκληρωμένο;"
623
 
624
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
625
  msgid "Mark as Shipped"
626
  msgstr "Επισήμανση ως αποσταλεί"
627
 
628
- #: includes/class-wc-advanced-shipment-tracking.php:297
 
629
  msgid "Mark as Shipped?"
630
  msgstr "Ορίστε ως αποστολέα;"
631
 
632
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
633
  msgid "Mark order as delivered"
634
  msgstr "Επισήμανση παραγγελίας ως παραδοθείσας"
635
 
636
- #: includes/class-wc-advanced-shipment-tracking.php:492
 
637
  msgid "Mark order as:"
638
  msgstr "Σημειώστε την τάξη ως:"
639
 
640
- #: includes/customizer/class-wcast-customizer.php:359
641
- msgid "Mockup Order"
642
- msgstr "Παραγγελία κοροϊδεύω"
643
-
644
- #: includes/class-wc-advanced-shipment-tracking-admin.php:816
645
- #: includes/views/integrations_admin_options.php:20
646
  msgid "more info"
647
  msgstr ""
648
  "περισσότερες πληροφορίες\n"
649
 
650
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
651
- msgid "Multiple API names mapping is a pro features"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
652
  msgstr ""
653
- "Η αντιστοίχιση πολλαπλών ονομάτων API είναι επαγγελματικά χαρακτηριστικά"
654
 
655
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
656
- msgid "Open the Track Button link in a new tab"
657
- msgstr "Ανοίξτε τον σύνδεσμο Κουμπί παρακολούθησης σε μια νέα καρτέλα"
 
 
 
 
 
658
 
659
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
660
- msgid "Order Emails Display"
661
- msgstr "Εμφάνιση παραγγελιών"
 
 
 
 
 
662
 
663
  #. %s: Order ID.
664
- #: templates/emails/wcast-email-order-details.php:55
665
  #, php-format
666
  msgid "Order number: %s"
667
  msgstr ""
668
  "Αριθμός παραγγελίας:% s\n"
669
 
670
- #: includes/class-wc-advanced-shipment-tracking-admin.php:434
671
- #: includes/class-wc-advanced-shipment-tracking-admin.php:438
672
- #: includes/views/admin_options_settings.php:64
673
- msgid "Order Statuses"
674
- msgstr "Καταστάσεις παραγγελίας"
675
 
676
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
677
- #: includes/class-wc-advanced-shipment-tracking.php:1193
678
- #: includes/class-wc-advanced-shipment-tracking.php:1269
679
  #, php-format
680
- #| msgid "Order was shipped with %s and tracking number is: %s"
681
- msgid "Order was shipped with %1$s and tracking number is: %2$s"
682
- msgstr ""
683
- "Η παραγγελία στάλθηκε με %1 $ s και ο αριθμός παρακολούθησης είναι: %2 $ s"
684
 
685
- #: includes/class-wc-advanced-shipment-tracking-admin.php:808
 
 
 
 
686
  msgid "Other"
687
  msgstr "Αλλα"
688
 
689
- #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
690
  msgid "Partial Shipped"
691
  msgstr "Μερική αποστολή"
692
 
693
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
694
- #: includes/class-wc-advanced-shipment-tracking-settings.php:129
695
- #: includes/class-wc-advanced-shipment-tracking-settings.php:161
696
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
697
  msgid "Partially Shipped"
698
  msgstr "Μερικώς αποστέλλονται"
699
 
700
- #. %s: replace with Partially Shipped Count
701
- #: includes/class-wc-advanced-shipment-tracking-settings.php:135
702
  #, php-format
703
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
704
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
705
  msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
706
  msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
707
 
708
- #: includes/class-wc-advanced-shipment-tracking-admin.php:614
709
- msgid ""
710
- "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
711
- "By Ewout Fernhout"
712
- msgstr ""
713
- "Ενσωμάτωση τιμολογίων PDF για την προσθήκη WooCommerce PDF Invoices & "
714
- "Packing Slips By Ewout Fernhout"
715
 
716
- #: includes/class-wc-advanced-shipment-tracking-admin.php:624
717
- msgid ""
718
- "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
719
- msgstr ""
720
- "Ενσωμάτωση τιμολογίων PDF για την προσθήκη WooCommerce PDF Invoices By Bas "
721
- "Elbers"
722
 
723
- #. %s: search WooCommerce plugin link
724
- #: woocommerce-advanced-shipment-tracking.php:181
725
  #, php-format
726
  msgid ""
727
- "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
728
- "Tracking for WooCommerce!"
729
  msgstr ""
730
- "Εγκαταστήστε και ενεργοποιήστε το% 1 $ sWooCommerce% 2 $ s για το Advanced "
731
- "Shipment Tracking για το WooCommerce!"
732
 
733
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
734
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
735
  msgid "Please select order to preview."
736
  msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
737
 
738
- #: includes/class-wc-advanced-shipment-tracking-admin.php:177
739
  msgid "Please upload a valid CSV file."
740
  msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
741
 
742
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
743
  msgid "Preview:"
744
  msgstr "Επισκόπηση:"
745
 
746
- #: includes/class-wc-advanced-shipment-tracking.php:361
747
- #: includes/class-wc-advanced-shipment-tracking-settings.php:373
748
  msgid "Product Code:"
749
  msgstr "Κωδικός προϊόντος:"
750
 
751
- #: includes/customizer/class-wc-tracking-info-customizer.php:141
752
- #: includes/customizer/class-wc-tracking-info-customizer.php:648
753
- #: templates/emails/tracking-info.php:216
754
- #: templates/myaccount/tracking-info.php:192
 
755
  msgid "Provider"
756
  msgstr "Μεταφορέας"
757
 
758
- #: includes/views/admin_options_shipping_provider.php:57
759
- #: templates/emails/tracking-info.php:222
760
- #: templates/myaccount/tracking-info.php:198
761
  msgid "Provider Name"
762
  msgstr "Ονομα πάροχου"
763
 
764
- #: includes/views/admin_options_shipping_provider.php:116
765
  msgid "Providers Added"
766
  msgstr "Προστέθηκαν παροχείς"
767
 
768
- #: includes/views/admin_options_shipping_provider.php:118
769
  msgid "Providers Deleted"
770
  msgstr "Οι πάροχοι έχουν διαγραφεί"
771
 
772
- #: includes/views/admin_options_shipping_provider.php:117
773
  msgid "Providers Updated"
774
  msgstr "Οι προμηθευτές ενημερώθηκαν"
775
 
776
- #: includes/class-wc-advanced-shipment-tracking-admin.php:174
777
  msgid "Really delete this entry? This will not be undo."
778
  msgstr "Να διαγραφεί πραγματικά αυτή η καταχώριση; Αυτό δεν θα αναιρεθεί."
779
 
780
- #: includes/views/admin_options_osm.php:14
 
 
 
 
 
781
  msgid "Rename the “Completed” Order status label to “Shipped”"
782
  msgstr ""
783
- "Μετονομάστε την ετικέτα κατάστασης παραγγελίας που ολοκληρώθηκε σε "
784
- "\"Αποστολή\""
785
 
786
- #: includes/views/admin_options_bulk_upload.php:46
787
  msgid "Replace tracking information?"
788
  msgstr "Replace tracking information?Αντικατάσταση πληροφοριών παρακολούθησης;"
789
 
790
- #: includes/views/admin_options_shipping_provider.php:100
 
 
 
 
791
  msgid "Reset"
792
  msgstr "Reset"
793
 
794
- #: includes/views/admin_options_shipping_provider.php:122
795
  msgid ""
796
  "Reset providers database, it will reset all your shipping provider database"
797
  msgstr ""
798
  "Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
799
  "δεδομένων παρόχων αποστολής"
800
 
801
- #: includes/views/admin_options_settings.php:19
802
- #: includes/views/admin_options_settings.php:35
803
- #: includes/views/admin_options_settings.php:51
804
- #: includes/views/admin_options_settings.php:67
805
- msgid "Save & Close"
806
- msgstr "Αποθήκευση & Κλείσιμο"
 
 
807
 
808
- #: includes/class-wc-advanced-shipment-tracking.php:384
 
 
 
 
 
 
 
 
 
 
 
 
809
  msgid "Save Tracking"
810
  msgstr "Αποθήκευση Παρακολούθησης"
811
 
812
- #: includes/views/admin_options_shipping_provider.php:27
813
  msgid "Search by provider / country"
814
  msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
815
 
816
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
817
- msgid "Select email type"
818
- msgstr "Επιλέξτε τύπο email"
 
 
 
 
 
 
 
 
 
 
 
819
 
820
- #: includes/class-wc-advanced-shipment-tracking.php:323
821
  msgid "Select Provider"
822
  msgstr "Επιλογή Παροχέα"
823
 
824
- #: includes/customizer/class-wc-tracking-info-customizer.php:259
825
  msgid "Select Template"
826
  msgstr ""
827
  "Επιλέξτε Πρότυπο\n"
828
 
829
- #: includes/views/admin_options_osm.php:74
 
 
 
 
 
 
 
 
830
  msgid "Send Email"
831
  msgstr ""
832
  "Να στείλετε e-mail\n"
833
 
834
- #: includes/class-wc-advanced-shipment-tracking-admin.php:927
835
  msgid ""
836
  "Set the \"mark as shipped\" option checked when adding tracking info to "
837
  "orders"
838
  msgstr ""
839
- "Ορίστε την επιλογή \"σήμανση ως αποσταλεί\" κατά την προσθήκη πληροφοριών "
840
- "παρακολούθησης σε παραγγελίες"
841
 
842
- #: includes/class-wc-advanced-shipment-tracking-admin.php:352
843
- #: includes/class-wc-advanced-shipment-tracking-admin.php:356
844
- #: includes/views/admin_options_settings.php:9
845
  msgid "Settings"
846
- msgstr "Ρυθμίσεις"
847
 
848
- #: includes/views/admin_options_bulk_upload.php:57
849
  msgid "Settings Saved."
850
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
851
 
852
- #. %s: replace with status
853
- #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
854
  #, php-format
855
  msgid "Shipment status changed to %s"
856
  msgstr "Η κατάσταση αποστολής άλλαξε στο% s"
857
 
858
- #: includes/class-wc-advanced-shipment-tracking-admin.php:189
859
- #: includes/class-wc-advanced-shipment-tracking.php:138
860
- #: includes/class-wc-advanced-shipment-tracking.php:219
 
 
 
 
 
 
 
 
 
 
861
  msgid "Shipment Tracking"
862
  msgstr "Παρακολούθηση Αποστολής"
863
 
864
- #: includes/views/admin_options_settings.php:48
865
- msgid "Shipment Tracking API"
866
- msgstr "API παρακολούθησης αποστολών"
867
-
868
- #: includes/class-wc-advanced-shipment-tracking-admin.php:849
869
- #: includes/class-wc-advanced-shipment-tracking-admin.php:945
870
- #: includes/class-wc-advanced-shipment-tracking.php:467
871
- #: includes/class-wc-advanced-shipment-tracking-settings.php:263
872
  msgid "Shipped"
873
  msgstr "Αποστέλλονται"
874
 
875
- #. %s: replace with shipped order count
876
- #: includes/class-wc-advanced-shipment-tracking-settings.php:283
877
  #, php-format
878
  msgid "Shipped <span class=\"count\">(%s)</span>"
879
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
880
  msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
881
  msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
882
 
883
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
884
- #: includes/customizer/class-wc-tracking-info-customizer.php:695
885
  msgid "Shipped Date"
886
  msgstr ""
887
  "Ημερομηνία αποστολής\n"
888
 
889
- #: includes/customizer/class-wc-tracking-info-customizer.php:688
 
890
  #| msgid "Ship date header text"
891
  msgid "Shipped date header text"
892
- msgstr "Κείμενο κεφαλίδας ημερομηνίας πλοίου"
 
893
 
894
  #. 1: shipping date
895
- #: includes/class-wc-advanced-shipment-tracking.php:255
896
  #, php-format
897
  msgid "Shipped on %s"
898
  msgstr "Στάλθηκε στις %s"
899
 
900
- #: includes/customizer/class-wc-tracking-info-customizer.php:151
901
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
902
  msgstr ""
903
  "Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
904
  "{tracking_number_link}"
905
 
906
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
907
  msgid "Shipped Order"
908
  msgstr "Αποστολή παραγγελίας"
909
 
910
- #: includes/views/admin_options_shipping_provider.php:74
 
911
  msgid "Shipping Country"
912
  msgstr "Χώρα αποστολής"
913
 
914
  #: includes/views/admin_options_shipping_provider.php:58
 
915
  msgid "Shipping Provider"
916
  msgstr "Πάροχος αποστολών"
917
 
918
- #: includes/customizer/class-wc-tracking-info-customizer.php:641
919
  msgid "Shipping provider header text"
920
- msgstr "Κείμενο κεφαλίδας παρόχου αποστολής"
921
 
922
- #: includes/class-wc-advanced-shipment-tracking.php:321
923
- #: includes/class-wc-advanced-shipment-tracking-settings.php:350
924
- #: includes/class-wc-advanced-shipment-tracking-settings.php:352
925
  msgid "Shipping Provider:"
926
  msgstr "Πάροχος υπηρεσιών:"
927
 
928
- #: includes/class-wc-advanced-shipment-tracking-admin.php:372
929
- #: includes/class-wc-advanced-shipment-tracking-admin.php:376
930
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
931
  msgid "Shipping Providers"
932
  msgstr "Πάροχοι αποστολών"
933
 
934
- #: includes/views/admin_options_shipping_provider.php:22
935
- msgid "Shipping Providers & Carriers"
936
- msgstr "Πάροχοι & Μεταφορείς Ναυτιλίας"
937
-
938
- #: includes/views/admin_options_shipping_provider.php:120
939
  msgid "Shipping providers database reset successfully."
940
  msgstr ""
941
  "Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
942
 
943
- #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
 
 
 
 
 
 
 
944
  msgid "Show bottom border"
945
  msgstr "Εμφάνιση περιθωρίου κάτω"
946
 
947
- #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
948
  msgid "Simple Layout Design"
949
  msgstr ""
950
  "Απλό σχέδιο διάταξης\n"
951
 
952
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
953
  msgid "Special character not allowd in tracking number"
954
  msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
955
 
956
- #: includes/views/admin_options_shipping_provider.php:110
957
- #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
 
 
 
 
 
958
  msgid "Sync Shipping Providers"
959
  msgstr "Sync Shipping Providers"
960
 
961
- #: includes/views/admin_options_shipping_provider.php:114
962
  msgid ""
963
  "Syncing the shipping providers list add or updates the pre-set shipping "
964
  "providers and will not effect custom shipping providers."
@@ -967,162 +1397,359 @@ msgstr ""
967
  "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
968
  "προσαρμοσμένους παροχείς αποστολής."
969
 
970
- #: includes/customizer/class-wc-tracking-info-customizer.php:790
971
  msgid "Table Content"
972
  msgstr "Περιεχόμενο πίνακα"
973
 
974
- #: includes/customizer/class-wc-tracking-info-customizer.php:520
975
  msgid "Table Design Options"
976
- msgstr "Επιλογές σχεδίασης πίνακα"
977
 
978
- #: includes/customizer/class-wc-tracking-info-customizer.php:605
 
979
  #| msgid "Table Headers"
980
  msgid "Table Header"
981
  msgstr "Κεφαλίδες στον πίνακα"
982
 
983
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
984
  msgid "Table Layout"
985
  msgstr ""
986
  "Διάταξη πίνακα\n"
987
 
988
- #: includes/customizer/class-wc-tracking-info-customizer.php:427
 
 
 
 
989
  msgid "Table Options"
990
- msgstr "Επιλογές πίνακα"
991
 
992
- #: includes/customizer/class-wc-tracking-info-customizer.php:581
993
  msgid "Text align"
994
- msgstr "Στοίχιση κειμένου"
995
 
996
- #: includes/views/admin_options_shipping_provider.php:61
 
997
  msgid ""
998
- "The custom display name will show in the tracking info section on the "
999
- "customer order emails, my-account, and TrackShip's tracking page and email "
1000
- "notifications"
1001
  msgstr ""
1002
- "Το προσαρμοσμένο εμφανιζόμενο όνομα θα εμφανιστεί στην ενότητα πληροφοριών "
1003
- "παρακολούθησης στα μηνύματα παραγγελίας πελατών, στον λογαριασμό μου και στη "
1004
- "σελίδα παρακολούθησης του TrackShip και στις ειδοποιήσεις μέσω email"
 
1005
 
1006
- #: includes/class-wc-advanced-shipment-tracking-settings.php:627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1007
  msgid "There are some issue with sync, Please Retry."
1008
  msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
1009
 
1010
- #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1011
  msgid "This browser does not support HTML5."
1012
  msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
1013
 
1014
- #: includes/class-wc-advanced-shipment-tracking.php:784
1015
- #: includes/class-wc-advanced-shipment-tracking.php:817
1016
- #: includes/class-wc-advanced-shipment-tracking.php:835
1017
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1018
- #: includes/customizer/class-wc-tracking-info-customizer.php:951
1019
- #: templates/emails/tracking-info.php:264
1020
- #: templates/myaccount/tracking-info.php:244
1021
- #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1022
  msgid "Track"
1023
  msgstr "Παρακολούθηση"
1024
 
1025
- #: includes/customizer/class-wc-tracking-info-customizer.php:908
1026
  msgid "Track Button"
1027
- msgstr "Κουμπί παρακολούθησης"
1028
-
1029
- #: includes/customizer/class-wc-tracking-info-customizer.php:925
1030
- msgid "Track Header"
1031
- msgstr "Παρακολούθηση κεφαλίδας"
1032
 
1033
- #: includes/customizer/class-wc-tracking-info-customizer.php:944
1034
  msgid "Track header text"
1035
  msgstr ""
1036
  "Κείμενο κεφαλίδας παρακολούθησης\n"
1037
 
1038
- #: includes/class-wc-advanced-shipment-tracking.php:242
1039
- #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
1040
  msgid "Track Shipment"
1041
  msgstr "Παρακολούθηση αποστολής"
1042
 
1043
- #: includes/customizer/class-wc-tracking-info-customizer.php:274
1044
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1045
  msgid "Tracking display layout"
1046
  msgstr "Παρακολούθηση της διάταξης προβολής"
1047
 
1048
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
1049
  msgid "Tracking Display Position"
1050
  msgstr "Παρακολούθηση θέσης προβολής"
1051
 
1052
- #: includes/customizer/class-wc-tracking-info-customizer.php:221
1053
  msgid "Tracking Header text"
1054
  msgstr ""
1055
  "Κείμενο κεφαλίδας εντοπισμού\n"
1056
 
1057
- #: includes/customizer/class-wcast-customizer.php:37
 
1058
  msgid "Tracking info display"
1059
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
1060
 
1061
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1062
- #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
 
 
1063
  #, php-format
1064
- #| msgid ""
1065
- #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1066
  msgid ""
1067
- "Tracking info was deleted for tracking provider %1$s with tracking number "
1068
- "%2$s"
1069
  msgstr ""
1070
- "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον πάροχο παρακολούθησης %1 $ "
1071
- "s με αριθμό παρακολούθησης %2 $ s"
1072
 
1073
- #: includes/customizer/class-wc-tracking-info-customizer.php:228
1074
  msgid "Tracking Information"
1075
  msgstr "Πληροφορίες Παρακολούθησης"
1076
 
1077
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1078
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
1079
- #: templates/emails/tracking-info.php:235
1080
- #: templates/myaccount/tracking-info.php:213
 
 
 
 
1081
  msgid "Tracking Number"
1082
  msgstr "Αριθμός"
1083
 
1084
- #: includes/customizer/class-wc-tracking-info-customizer.php:665
 
1085
  #| msgid "Tracking Number header text"
1086
  msgid "Tracking number header text"
1087
- msgstr "Κείμενο κεφαλίδας αριθμού παρακολούθησης"
 
1088
 
1089
- #: includes/class-wc-advanced-shipment-tracking.php:317
1090
- #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1091
  msgid "Tracking number:"
1092
  msgstr "Αριθμός Παρακολούθησης:"
1093
 
1094
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1095
  msgid "TrackShip"
1096
  msgstr "TrackShip"
1097
 
1098
- #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1099
  msgid "Update"
1100
  msgstr "Update"
1101
 
1102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1103
- #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1104
- #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1105
- #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1106
  msgid "Updated Tracking"
1107
  msgstr "Ενημερωμένη παρακολούθηση"
1108
 
1109
- #. %s: replace with Updated Tracking Count
1110
- #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1111
  #, php-format
1112
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1113
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1114
  msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1115
  msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1116
 
1117
- #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1118
  msgid "Upload a CSV file from your computer:"
1119
  msgstr "Upload a CSV file from your computer:"
1120
 
1121
- #: includes/views/admin_options_bulk_upload.php:107
1122
  msgid "Upload again"
1123
  msgstr "Μεταφόρτωση ξανά"
1124
 
1125
- #: includes/views/admin_options_bulk_upload.php:9
 
 
 
 
 
 
 
 
 
1126
  msgid ""
1127
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1128
  "file"
@@ -1130,23 +1757,47 @@ msgstr ""
1130
  "Χρησιμοποιήστε το εργαλείο εισαγωγής CSV για μαζική εισαγωγή πληροφοριών "
1131
  "παρακολούθησης σε παραγγελίες από ένα αρχείο CSV"
1132
 
1133
- #: includes/customizer/class-wc-tracking-info-customizer.php:501
 
 
 
 
 
 
1134
  msgid "Use tracking number as a link"
1135
  msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1136
 
1137
- #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1138
- #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1139
- #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1140
- #: includes/views/admin_options_bulk_upload.php:85
1141
  msgid "view details"
1142
  msgstr "δείτε λεπτομέρειες"
1143
 
1144
- #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
1145
  msgid "View Orders"
1146
  msgstr "Προβολή παραγγελιών"
1147
 
1148
- #. %s: replace with Partially Shipped order count
1149
- #: woocommerce-advanced-shipment-tracking.php:502
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1150
  #, php-format
1151
  msgid ""
1152
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1155,23 +1806,40 @@ msgstr ""
1155
  "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
1156
  "Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
1157
 
1158
- #: includes/views/admin_options_shipping_provider.php:62
1159
- msgid "White Label Provider Name"
1160
- msgstr "Όνομα παρόχου λευκής ετικέτας"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1161
 
1162
- #: includes/class-wc-advanced-shipment-tracking.php:370
1163
- #: includes/class-wc-advanced-shipment-tracking.php:373
1164
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1165
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1166
- msgid "Y-m-d"
1167
- msgstr "Υ-μ-η"
 
1168
 
1169
- #: includes/class-wc-advanced-shipment-tracking-admin.php:175
1170
  msgid "You can upload only csv file."
1171
  msgstr "Μπορείτε να ανεβάσετε μόνο αρχείο csv."
1172
 
1173
- #. %s: search WooCommerce plugin link
1174
- #: includes/views/admin_options_shipping_provider.php:89
1175
  msgid ""
1176
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1177
  "URL, for more info, check our "
@@ -1179,31 +1847,100 @@ msgstr ""
1179
  "Μπορείτε να χρησιμοποιήσετε τις μεταβλητές% number%,% postal_code% and% "
1180
  "country_code% στη διεύθυνση URL, για περισσότερες πληροφορίες, ανατρέξτε στο"
1181
 
1182
- #. %s: replace with status
1183
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1184
  #, php-format
1185
  msgid "You did not create any %s shipping providers yet."
1186
  msgstr "Δεν έχετε δημιουργήσει παρόχους αποστολής% s ακόμη."
1187
 
1188
- #. %s: replace with status
1189
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1190
  #, php-format
1191
  msgid "You don't have any %s shipping providers."
1192
  msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
1193
 
1194
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1195
- msgid "Your Order is Partially Shipped"
1196
- msgstr "Η παραγγελία σας έχει αποσταλεί μερικώς"
 
 
 
1197
 
1198
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1199
  msgid "Your {site_title} order is now partially shipped"
1200
  msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
1201
 
1202
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1203
  msgid "Your {site_title} order is now updated tracking"
1204
  msgstr ""
1205
  "Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
1206
-
1207
- #. Author of the plugin
1208
- msgid "zorem"
1209
- msgstr "Ζορέμ"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2020-11-24 10:48+0000\n"
7
+ "Last-Translator: John\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.4.4; wp-5.5.3"
16
 
17
+ #: includes/views/admin_options_shipping_provider.php:82
18
+ #: includes/views/admin_options_shipping_provider.php:130
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "τεκμηρίωση"
22
 
23
+ #: includes/views/admin_options_addons.php:132
24
+ #: includes/views/trackship_sidebar.php:14
25
+ msgid "Account Dashboard"
26
+ msgstr "Πίνακας ελέγχου λογαριασμού"
27
+
28
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1627
29
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1705
30
  msgid "Actions"
31
  msgstr "Actions"
32
 
33
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1628
34
+ msgid "Active"
35
+ msgstr "Ενεργός"
36
 
37
+ #: includes/views/admin_options_shipping_provider.php:22
38
+ msgid "Active Providers"
 
 
39
  msgstr ""
 
 
 
40
 
41
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
42
+ #: includes/views/admin_tracking_page_settings.php:71
43
+ msgid "Add a link to the Shipping provider page"
44
+ msgstr "Προσθέστε έναν σύνδεσμο στη σελίδα του Προμηθευτή αποστολής"
45
+
46
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1786
48
  msgid "Add Custom Provider"
49
  msgstr "Προσθήκη προσαρμοσμένου παροχέα"
50
 
51
+ #: includes/views/admin_options_shipping_provider.php:51
52
+ msgid "Add Custom Shipping Provider"
53
+ msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1531
56
  msgid "Add Tracking"
57
  msgstr "Add Tracking"
58
 
59
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
60
  msgid "Add Tracking - order\t"
61
  msgstr "Add Tracking - order\t"
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:924
64
+ msgid "Add Tracking action "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  msgstr ""
 
 
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking.php:328
68
+ msgid "Add Tracking Info"
69
+ msgstr "Προσθήκη Παρακολούθησης"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
73
+ #: includes/views/admin_options_addons.php:108
74
+ #: includes/views/admin_options_addons.php:114
75
+ msgid "Add-ons"
76
+ msgstr "Πρόσθετα"
 
 
 
77
 
78
+ #: includes/customizer/class-wc-tracking-info-customizer.php:273
79
  msgid "Additional text after header"
80
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
81
 
82
+ #: includes/customizer/class-wcast-customizer.php:58
83
+ #: includes/views/admin_status_notifications.php:141
84
+ msgid "Admin Notifications"
85
+ msgstr "Ειδοποιήσεις διαχειριστή"
86
 
87
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
88
  msgid "After Order Details"
89
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
90
 
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:949
 
 
 
 
92
  msgid "API Date Format"
93
+ msgstr "API Date Format"
94
 
95
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1623
96
+ #: includes/views/admin_options_shipping_provider.php:109
97
  msgid "API Name"
98
  msgstr "Όνομα API"
99
 
100
+ #: includes/views/admin_status_notifications.php:230
101
+ msgid "As it Happens"
102
+ msgstr "Καθώς συμβαίνει"
103
+
104
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
105
+ msgid ""
106
+ "Automatically set the Order Status to Delivered when the shipment is "
107
+ "delivered "
108
+ msgstr ""
109
+ "Ορίστε αυτόματα την κατάσταση παραγγελίας σε παράδοση κατά την παράδοση της "
110
+ "αποστολής"
111
+
112
+ #: includes/views/admin_trackship_dashboard.php:33
113
+ msgid "Automation"
114
+ msgstr "Αυτοματοποίηση"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
117
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
118
+ #: includes/customizer/class-wcast-customizer.php:172
119
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
120
+ #: includes/views/admin_status_notifications.php:82
121
+ msgid "Available For Pickup"
122
+ msgstr ""
123
+ "Διαθέσιμο για παραλαβή\n"
124
+
125
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
126
+ msgid "Available For Pickup email"
127
+ msgstr "Διαθέσιμο για παραλαβή email"
128
+
129
+ #. %s: list of placeholders
130
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
131
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
132
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
133
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
134
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
135
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
136
+ #: includes/customizer/class-wc-email-customizer.php:243
137
+ #: includes/customizer/class-wc-email-customizer.php:266
138
+ #: includes/customizer/class-wc-email-customizer.php:309
139
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
140
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
141
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
142
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
143
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
144
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
145
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
146
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
147
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
148
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
149
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
150
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
151
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
152
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
153
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
154
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
155
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
156
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
157
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
158
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
159
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
160
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
161
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
162
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
163
+ #: includes/emails/class-shipment-delivered-email.php:274
164
+ #: includes/emails/class-shipment-delivered-email.php:283
165
+ #: includes/views/admin_status_notifications.php:212
166
  msgid "Available variables:"
167
  msgstr "Διαθέσιμες μεταβλητές:"
168
 
169
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
170
  msgid "Before Order Details"
171
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
172
 
173
+ #: includes/customizer/class-wc-tracking-info-customizer.php:994
174
+ msgid "Border"
175
+ msgstr "Σύνορο"
176
+
177
+ #: includes/customizer/class-wc-tracking-info-customizer.php:549
178
  msgid "Border color"
179
  msgstr ""
180
  "Χρώμα πλαισίου\n"
181
 
182
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
183
  msgid "Border size"
184
  msgstr ""
185
  "Μέγεθος περιθωρίου\n"
186
 
187
+ #: includes/customizer/class-wc-tracking-info-customizer.php:426
188
  msgid "Bottom border color"
189
  msgstr "Το χρώμα του κάτω ορίου"
190
 
191
+ #: includes/views/admin_options_shipping_provider.php:23
192
+ msgid "Browse Providers"
193
+ msgstr ""
194
+
195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:960
196
  msgid "Button color"
197
+ msgstr ""
198
 
199
+ #: includes/customizer/class-wc-tracking-info-customizer.php:977
200
  msgid "Button font color"
201
+ msgstr ""
202
 
203
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
204
  msgid "Cannot create existing order shipment tracking."
205
  msgstr ""
206
  "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
207
  "παραγγελιών."
208
 
209
+ #: includes/views/admin_status_notifications.php:130
210
+ msgid "Carrier attempted to deliver the package but failed."
211
+ msgstr ""
212
+ "Η εταιρεία κινητής τηλεφωνίας προσπάθησε να παραδώσει το πακέτο, αλλά "
213
+ "απέτυχε."
214
+
215
+ #: includes/views/admin_status_notifications.php:97
216
+ msgid "Carrier is about to deliver the shipment."
217
+ msgstr "Ο μεταφορέας πρόκειται να παραδώσει την αποστολή."
218
+
219
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
220
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
221
+ msgid "Carrier Unsupported"
222
+ msgstr "Η εταιρεία κινητής τηλεφωνίας δεν υποστηρίζεται"
223
+
224
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1567
225
  msgid "Change order status to"
226
  msgstr "Change order status to"
227
 
228
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
229
  msgid "Change status to shipped"
230
  msgstr "Αλλάξτε την κατάσταση αποστολής"
231
 
232
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:950
233
  msgid "Choose for which Order status to display"
234
+ msgstr ""
235
+
236
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:925
237
+ msgid "Choose for which Order status to display Add Tracking action button"
238
+ msgstr ""
239
+
240
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:917
241
+ msgid "Choose on which order emails to include the shipment tracking info"
242
+ msgstr ""
243
 
244
+ #: includes/views/admin_options_bulk_upload.php:34
245
  msgid "Choose the Shipped Date format"
246
  msgstr "Επιλέξτε τη μορφή αποστολής ημερομηνίας"
247
 
248
+ #: includes/emails/class-shipment-delivered-email.php:298
249
+ msgid "Click Here"
250
+ msgstr "Κάντε κλικ ΕΔΩ"
251
+
252
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
253
  msgid "Completed"
254
  msgstr "Ολοκληρώθηκε το"
255
 
256
+ #: includes/customizer/class-wcast-customizer.php:118
257
+ msgid "Completed order status email"
258
+ msgstr "Ολοκληρωμένο email κατάστασης παραγγελίας"
259
+
260
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:527
261
+ #: includes/views/trackship_sidebar.php:13
262
+ msgid "Connected"
263
+ msgstr ""
264
+ "Συνδεδεμένος\n"
265
+
266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:336
267
  msgid "Content"
268
  msgstr "Περιεχόμενο"
269
 
270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
271
  msgid "Content Background color"
272
+ msgstr ""
273
 
274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:391
275
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
276
  msgid "Content font color"
277
  msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
278
 
279
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
280
+ #: includes/customizer/class-wc-tracking-info-customizer.php:881
281
  msgid "Content font size"
282
  msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
283
 
284
+ #: includes/customizer/class-wc-tracking-info-customizer.php:921
285
  msgid "Content font weight"
286
  msgstr ""
287
  "Βάρος γραμματοσειράς περιεχομένου\n"
288
 
289
+ #: includes/customizer/class-wc-tracking-info-customizer.php:899
290
  msgid "Content line height"
291
  msgstr ""
292
  "Το ύψος της γραμμής περιεχομένου\n"
293
 
294
+ #: includes/views/admin_options_bulk_upload.php:57
295
  msgid "Continue"
296
  msgstr "Να συνεχίσει"
297
 
298
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1624
299
  msgid "Country"
300
  msgstr "Country"
301
 
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
305
+ #: includes/views/admin_options_bulk_upload.php:11
306
  msgid "CSV Import"
307
  msgstr "Εισαγωγή CSV"
308
 
 
 
 
 
309
  #: includes/views/admin_options_shipping_provider.php:61
310
+ #: includes/views/admin_options_shipping_provider.php:106
311
  msgid "Custom display name"
312
  msgstr "Προσαρμοσμένο εμφανιζόμενο όνομα"
313
 
314
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
315
+ #: includes/views/admin_options_settings.php:46
316
+ msgid "Custom Order Statuses"
317
+ msgstr "Κατάσταση προσαρμοσμένης παραγγελίας"
318
 
319
+ #: includes/views/admin_options_shipping_provider.php:24
320
+ msgid "Custom Providers"
321
+ msgstr ""
 
 
 
 
322
 
323
+ #: includes/views/admin_status_notifications.php:234
324
+ msgid "Daily Digest on"
325
+ msgstr "Ημερήσιο Digest στις"
 
326
 
327
+ #: includes/views/admin_options_osm.php:37
328
+ #: includes/views/admin_options_osm.php:80
329
+ #: includes/views/admin_options_osm.php:120
330
  msgid "Dark Font"
331
  msgstr ""
332
  "Σκούρα γραμματοσειρά\n"
333
 
334
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1495
335
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1503
336
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
337
+ msgid "data not available."
338
+ msgstr "τα δεδομένα δεν είναι διαθέσιμα."
339
+
340
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
341
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
342
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
343
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
344
  msgid "Data saved successfully."
345
  msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
346
 
347
+ #: includes/class-wc-advanced-shipment-tracking.php:383
348
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
349
  msgid "Date shipped:"
350
  msgstr "Ημερομηνία αποστολής:"
351
 
352
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1625
353
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1704
354
+ msgid "Default"
355
  msgstr "Προκαθορισμένο"
356
 
357
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
358
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
359
+ msgstr ""
360
+ "Προεπιλεγμένο \"mark as <span class =\" shipped_label \"> ολοκληρωμένο "
361
+ "</span>\""
362
+
363
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
364
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
365
+ msgstr ""
366
+ "Προεπιλεγμένο \"mark as <span class =\" shipped_label \"> shipped </span>\""
367
+
368
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
369
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
370
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
371
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1555
373
+ #: includes/customizer/class-wcast-customizer.php:187
374
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
375
+ #: includes/views/admin_status_notifications.php:112
376
+ #: includes/views/admin_options_osm.php:17
377
  msgid "Delivered"
378
  msgstr "Παραδόθηκε"
379
 
380
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
381
+ #, php-format
382
+ msgid "Delivered <span class=\"count\">(%s)</span>"
383
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
384
+ msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
385
+ msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
386
+
387
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
388
+ msgid "Delivered email"
389
+ msgstr "Παραδόθηκε email"
390
+
391
+ #: includes/emails/class-shipment-delivered-email.php:32
392
+ msgid "Delivered order"
393
+ msgstr "Παραδοθείσα παραγγελία"
394
+
395
+ #: includes/customizer/class-wcast-customizer.php:111
396
+ #: includes/customizer/class-wc-email-customizer.php:163
397
+ msgid "Delivered order status email"
398
+ msgstr ""
399
+ "Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
400
+
401
+ #: includes/views/front/layout1_tracking_details.php:8
402
+ msgid "Destination Details"
403
+ msgstr "Λεπτομέρειες προορισμού"
404
+
405
+ #: includes/customizer/class-wc-email-customizer.php:379
406
+ msgid "Display Billing Address"
407
+ msgstr "Εμφάνιση της διεύθυνσης χρέωσης"
408
+
409
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
410
  msgid "Display Name"
411
  msgstr "Εμφανιζόμενο όνομα"
412
 
413
+ #: includes/customizer/class-wc-email-customizer.php:343
414
+ msgid "Display order details"
415
+ msgstr "Εμφάνιση λεπτομερειών παραγγελίας"
416
+
417
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
418
+ msgid "Display Shipment Status Filter on Orders admin"
419
+ msgstr "Εμφάνιση φίλτρου κατάστασης αποστολής στο διαχειριστή παραγγελιών"
420
+
421
+ #: includes/customizer/class-wc-email-customizer.php:361
422
+ msgid "Display Shipping Address"
423
+ msgstr "Εμφάνιση της διεύθυνσης αποστολής"
424
+
425
+ #: includes/customizer/class-wc-tracking-info-customizer.php:479
426
  msgid "Display shipping provider image"
427
  msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
428
 
429
+ #: includes/customizer/class-wc-tracking-info-customizer.php:461
430
  msgid "Display shipping provider name"
431
  msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
432
 
433
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
434
+ msgid "Display Track button on the Orders history list in my-account"
435
+ msgstr ""
436
+
437
+ #: includes/customizer/class-wc-email-customizer.php:326
438
+ msgid "Display tracking details"
439
+ msgstr "Προβολή λεπτομερειών παρακολούθησης"
440
+
441
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
442
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
443
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
444
+ msgid "Documentation"
445
+ msgstr "Απόδειξη με έγγραφα"
446
+
447
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
448
  msgid "Download sample csv"
449
  msgstr "Λήψη δείγματος csv"
450
 
451
+ #: includes/views/admin_status_notifications.php:190
452
+ msgid "E.g. {admin_email}, admin@example.org"
453
+ msgstr "Π.χ. {admin_email}, admin@example.org"
454
+
455
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
456
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
457
+ #: includes/customizer/class-wc-email-customizer.php:226
458
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
459
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
460
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
461
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
462
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
463
+ msgid "E.g. {customer.email}, admin@example.org"
464
+ msgstr "Πχ: {customer.email}, admin@example.org"
465
+
466
+ #: includes/emails/class-shipment-delivered-email.php:299
467
+ msgid "Edit in customizer"
468
+ msgstr "Επεξεργασία στο customizer"
469
+
470
+ #: includes/views/admin_options_shipping_provider.php:95
471
  msgid "Edit Shipping Provider"
472
  msgstr "Επεξεργασία παρόχου αποστολής"
473
 
474
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
475
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
476
+ #: includes/customizer/class-wc-email-customizer.php:289
477
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
478
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
479
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
480
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
481
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
482
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
483
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
484
+ #: includes/views/admin_status_notifications.php:206
485
  msgid "Email content"
486
  msgstr "Περιεχόμενο email"
487
 
488
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
489
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
490
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
491
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
492
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
493
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
494
+ msgid "Email Subject"
495
+ msgstr "Το θέμα του email"
496
+
497
+ #: includes/views/admin_tracking_page_settings.php:10
498
+ msgid "Enable a tracking page on your store"
499
+ msgstr "Ενεργοποιήστε μια σελίδα παρακολούθησης στο κατάστημά σας"
500
+
501
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
502
+ msgid "Enable Available For Pickup email"
503
+ msgstr "Ενεργοποίηση διαθέσιμου για παραλαβή email"
504
+
505
+ #: includes/views/admin_options_settings.php:47
506
+ msgid "Enable custom order statuses to streamline your fulfillment"
507
+ msgstr ""
508
 
509
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
510
+ msgid "Enable Delivered email"
511
+ msgstr "Ενεργοποίηση παραδόσεων email"
512
 
513
+ #: includes/customizer/class-wc-email-customizer.php:179
514
+ msgid "Enable Delivered order status email"
515
+ msgstr ""
516
+ "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
517
 
518
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
519
+ msgid "Enable Failed Attempt email"
520
+ msgstr "Ενεργοποίηση αποτυχημένου μηνύματος ηλεκτρονικού ταχυδρομείου"
521
 
522
+ #: includes/customizer/class-wc-email-customizer.php:397
523
+ msgid "Enable Google Analytics tracking"
524
+ msgstr "Ενεργοποιήστε την παρακολούθηση του Google Analytics"
525
 
526
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
527
+ msgid "Enable In Transit email"
528
+ msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου διαμετακόμισης"
529
 
530
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
531
+ msgid "Enable On Hold email"
532
+ msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου σε αναμονή"
533
 
534
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
535
+ msgid "Enable Out For Delivery email"
536
+ msgstr "Ενεργοποίηση email για παράδοση"
537
 
538
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
539
+ msgid "Enable Partially Shipped order status email"
540
+ msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
541
 
542
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
543
+ msgid "Enable Return To Sender email"
544
+ msgstr "Ενεργοποίηση επιστροφής στο email αποστολέα"
545
 
546
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
547
+ msgid "Enable TrackShip"
548
+ msgstr "Ενεργοποίηση TrackShip"
549
 
550
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
551
+ msgid "Enable Updated Tracking order status email"
 
 
552
  msgstr ""
553
+ "Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
 
554
 
555
+ #: includes/views/front/tracking_page_header.php:22
556
+ msgid "Est. Delivery Date"
557
  msgstr ""
558
+ "Est. Ημερομηνία παράδοσης\n"
559
 
560
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
561
+ msgid "Exception"
562
  msgstr ""
 
563
 
564
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
565
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
566
+ #: includes/customizer/class-wcast-customizer.php:195
567
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
568
+ #: includes/views/admin_status_notifications.php:130
569
+ msgid "Failed Attempt"
570
+ msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
571
+
572
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
573
+ msgid "Failed Attempt email"
574
+ msgstr "Αποτυχία αποστολής email"
575
+
576
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
577
+ msgid "Filter by shipment status"
578
+ msgstr "Φιλτράρισμα κατά κατάσταση αποστολής"
579
+
580
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2027
581
  msgid "Filter by shipping provider"
582
  msgstr "Φιλτράρισμα ανά πάροχο αποστολής"
583
 
584
+ #: includes/views/front/track_order_form.php:4
585
+ #: includes/views/front/track_order_form.php:5
586
+ msgid "Found in your order confirmation email."
587
+ msgstr ""
588
+ "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
589
 
590
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
591
+ #: includes/customizer/class-wcast-customizer.php:71
592
  msgid "General Settings"
593
  msgstr "Γενικές Ρυθμίσεις"
594
 
595
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
596
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1007
597
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1016
598
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1025
599
+ msgid "Get Shipment Status"
600
+ msgstr "Λήψη κατάστασης αποστολής"
601
+
602
+ #: includes/views/admin_options_shipping_provider.php:66
603
+ #: includes/views/admin_options_shipping_provider.php:114
604
  msgid "Global"
605
  msgstr "Παγκόσμια"
606
 
607
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
608
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
609
+ #: includes/customizer/class-wc-email-customizer.php:415
610
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
611
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
612
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
613
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
614
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
615
+ msgid "Google Analytics link tracking"
616
+ msgstr "Παρακολούθηση συνδέσμου Google Analytics"
617
+
618
+ #: includes/customizer/class-wc-tracking-info-customizer.php:734
619
  msgid "Headers background color"
620
+ msgstr ""
621
 
622
+ #: includes/customizer/class-wc-tracking-info-customizer.php:751
623
  msgid "Headers font color"
624
  msgstr ""
625
  "Χρώμα γραμματοσειράς κεφαλίδων\n"
626
 
627
+ #: includes/customizer/class-wc-tracking-info-customizer.php:716
628
  msgid "Headers font size"
629
  msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
630
 
631
+ #: includes/customizer/class-wc-tracking-info-customizer.php:768
632
  msgid "Headers font weight"
633
+ msgstr ""
634
 
635
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
636
  msgid ""
637
  "Hi there. we thought you'd like to know that the shipment tracking for your "
638
  "recent order from {site_title} has been updated."
640
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
641
  "για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
642
 
643
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
644
+ #: includes/customizer/class-wc-email-customizer.php:132
645
+ msgid ""
646
+ "Hi there. we thought you'd like to know that your recent order from "
647
+ "{site_title} has been Delivered."
648
+ msgstr ""
649
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
650
+ "από {site_title} έχει παραδοθεί.\n"
651
+
652
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
653
  msgid ""
654
  "Hi there. we thought you'd like to know that your recent order from "
655
  "{site_title} has been partially shipped."
657
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
658
  "από {site_title} έχει αποσταλεί εν μέρει.\n"
659
 
660
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
661
+ msgid ""
662
+ "Hi there. we thought you'd like to know that your recent order from "
663
+ "{site_title} has been returned to sender."
664
+ msgstr ""
665
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
666
+ "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
667
+
668
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
669
+ msgid ""
670
+ "Hi there. we thought you'd like to know that your recent order from "
671
+ "{site_title} is available for pickup."
672
+ msgstr ""
673
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
674
+ "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
675
+
676
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
677
+ msgid ""
678
+ "Hi there. we thought you'd like to know that your recent order from "
679
+ "{site_title} is Failed Attempt"
680
+ msgstr ""
681
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
682
+ "από το {site_title} απέτυχε"
683
+
684
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
685
+ msgid ""
686
+ "Hi there. we thought you'd like to know that your recent order from "
687
+ "{site_title} is in transit"
688
+ msgstr ""
689
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
690
+ "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
691
+
692
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
693
+ msgid ""
694
+ "Hi there. we thought you'd like to know that your recent order from "
695
+ "{site_title} is on hold"
696
+ msgstr ""
697
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να γνωρίζετε ότι η πρόσφατη παραγγελία σας "
698
+ "από το {site_title} είναι σε αναμονή"
699
+
700
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
701
+ msgid ""
702
+ "Hi there. we thought you'd like to know that your recent order from "
703
+ "{site_title} is out for delivery."
704
+ msgstr ""
705
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
706
+ "από το {site_title} είναι έξω για παράδοση.\n"
707
+
708
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
709
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
710
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
711
  msgid "hide details"
712
  msgstr "Κρύψε τις λεπτομέρειες"
713
 
714
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
715
+ #: includes/views/admin_tracking_page_settings.php:76
716
+ msgid "Hide Shipping Provider Image"
717
+ msgstr ""
718
+ "Απόκρυψη εικόνας παροχέα αποστολής\n"
719
+
720
+ #: includes/customizer/class-wc-tracking-info-customizer.php:630
721
  msgid "Hide Table Headers"
722
  msgstr "Απόκρυψη κεφαλίδων πίνακα"
723
 
724
+ #: includes/customizer/class-wc-tracking-info-customizer.php:497
725
+ #, fuzzy
726
  #| msgid "Hide the ship date"
727
  msgid "Hide the shipped date"
728
+ msgstr ""
729
+ "Απόκρυψη της ημερομηνίας του πλοίου\n"
730
 
731
+ #: includes/views/admin_tracking_page_settings.php:81
732
+ msgid "Hide tracking event details"
733
+ msgstr ""
734
+ "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης\n"
735
+
736
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
737
+ msgid "Hide tracking events details"
738
+ msgstr "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης"
739
+
740
+ #: includes/customizer/class-wc-tracking-info-customizer.php:232
741
  msgid "Hide Tracking Header"
742
  msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
743
 
744
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
745
+ msgid "How to Video"
746
+ msgstr "Πώς να κάνετε βίντεο"
747
 
748
+ #: includes/views/admin_status_notifications.php:155
749
+ msgid ""
750
+ "If a shipment reached the number of days that you define, and the shipment "
751
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
752
+ msgstr ""
753
+ "Εάν μια αποστολή έφτασε τον αριθμό των ημερών που ορίσατε και η αποστολή δεν "
754
+ "\"παραδοθεί\" ή \"Επιστρέφθηκε στον αποστολέα\" από το email θα "
755
+ "ενεργοποιηθεί."
756
 
757
+ #: includes/views/admin_options_bulk_upload.php:76
758
  msgid "Import in Progress"
759
  msgstr "Εισαγωγή σε εξέλιξη"
760
 
761
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
762
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
763
+ #: includes/customizer/class-wcast-customizer.php:149
764
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
765
+ #: includes/views/admin_status_notifications.php:37
766
+ msgid "In Transit"
767
+ msgstr ""
768
+ "Στη διαμετακόμιση\n"
769
 
770
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
771
+ msgid "In Transit email"
772
+ msgstr "Στο email Transit"
 
773
 
774
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
775
  msgid "Invalid order ID."
776
  msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
777
 
778
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
779
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
780
+ msgid "Invalid Tracking Number"
781
+ msgstr "Invalid Tracking Number"
782
+
783
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
784
+ msgid "Invalid User Key"
785
+ msgstr "Μη έγκυρο κλειδί χρήστη"
786
+
787
+ #: includes/views/admin_options_bulk_upload.php:48
788
  msgid ""
789
  "Keep unchecked for the tracking info to be added to any existing tracking "
790
  "info added to the orders."
793
  "σε τυχόν υπάρχουσες πληροφορίες παρακολούθησης που έχουν προστεθεί στις "
794
  "παραγγελίες."
795
 
796
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
797
+ msgid "Late shipment"
798
+ msgstr "Καθυστερημένη αποστολή"
799
+
800
+ #: includes/views/admin_status_notifications.php:176
801
+ msgid "Late Shipment Days"
802
+ msgstr "Καθυστερημένες αποστολές"
803
+
804
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
805
+ #: includes/views/admin_status_notifications.php:200
806
+ msgid "Late shipment for order #{order_number}"
807
+ msgstr "Τελευταία αποστολή για παραγγελία # {αριθμός_παραγγελίας}"
808
+
809
+ #: includes/customizer/class-wcast-customizer.php:203
810
+ #: includes/views/admin_status_notifications.php:155
811
+ msgid "Late Shipments"
812
+ msgstr "Μεταγενέστερες αποστολές"
813
+
814
+ #: includes/views/admin_options_settings.php:39
815
+ msgid "Launch Customizer"
816
+ msgstr "Εκκινήστε το Customizer"
817
+
818
+ #: includes/views/admin_options_addons.php:111
819
  msgid "License"
820
  msgstr "Αδεια"
821
 
822
+ #: includes/views/admin_options_osm.php:36
823
+ #: includes/views/admin_options_osm.php:79
824
+ #: includes/views/admin_options_osm.php:119
825
  msgid "Light Font"
826
  msgstr "Φως γραμματοσειράς"
827
 
828
+ #: includes/class-wc-advanced-shipment-tracking.php:316
829
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
830
  msgid "Mark as Completed?"
831
  msgstr "Σημειώστε ως ολοκληρωμένο;"
832
 
833
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1540
834
  msgid "Mark as Shipped"
835
  msgstr "Επισήμανση ως αποσταλεί"
836
 
837
+ #: includes/class-wc-advanced-shipment-tracking.php:313
838
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
839
  msgid "Mark as Shipped?"
840
  msgstr "Ορίστε ως αποστολέα;"
841
 
842
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
843
  msgid "Mark order as delivered"
844
  msgstr "Επισήμανση παραγγελίας ως παραδοθείσας"
845
 
846
+ #: includes/class-wc-advanced-shipment-tracking.php:397
847
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
848
  msgid "Mark order as:"
849
  msgstr "Σημειώστε την τάξη ως:"
850
 
851
+ #: includes/views/admin_tracking_page_settings.php:41
 
 
 
 
 
852
  msgid "more info"
853
  msgstr ""
854
  "περισσότερες πληροφορίες\n"
855
 
856
+ #: includes/views/admin_tracking_page_settings.php:41
857
+ msgid ""
858
+ "Note - If you select a different page than the Shipment Tracking page, add "
859
+ "the [wcast-track-order] shortcode to the selected page content."
860
+ msgstr ""
861
+ "Σημείωση - Αν επιλέξετε διαφορετική σελίδα από τη σελίδα Tracking Tracking, "
862
+ "προσθέστε το shortcode [wcast-track-order] στο επιλεγμένο περιεχόμενο "
863
+ "σελίδας.\n"
864
+
865
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
866
+ #: includes/views/trackship_settings.php:12
867
+ #: includes/views/trackship_settings.php:13
868
+ msgid "Notifications"
869
+ msgstr "Ειδοποιήσεις"
870
+
871
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
872
+ #: includes/customizer/class-wcast-customizer.php:157
873
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
874
+ #: includes/views/admin_status_notifications.php:52
875
+ msgid "On Hold"
876
+ msgstr "Σε κράτηση"
877
+
878
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
879
+ msgid "On Hold email"
880
+ msgstr "Σε αναμονή email"
881
+
882
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:935
883
+ msgid "Open the track link in a new tab"
884
  msgstr ""
 
885
 
886
+ #: includes/emails/class-shipment-delivered-email.php:33
887
+ msgid ""
888
+ "Order delivered emails are sent to customers when their orders are marked "
889
+ "delivered and usually indicate that their orders have been shipped."
890
+ msgstr ""
891
+ "Τα παραδοθέντα ηλεκτρονικά μηνύματα αποστέλλονται στους πελάτες όταν "
892
+ "παραγγελθούν οι παραγγελίες τους και συνήθως υποδεικνύουν ότι οι παραγγελίες "
893
+ "τους έχουν αποσταλεί."
894
 
895
+ #: includes/views/front/track_order_form.php:5
896
+ msgid "Order Email"
897
+ msgstr ""
898
+ "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
899
+
900
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:916
901
+ msgid "Order Email Display"
902
+ msgstr ""
903
 
904
  #. %s: Order ID.
905
+ #: templates/emails/wcast-email-order-details.php:48
906
  #, php-format
907
  msgid "Order number: %s"
908
  msgstr ""
909
  "Αριθμός παραγγελίας:% s\n"
910
 
911
+ #: includes/customizer/class-wcast-customizer.php:42
912
+ msgid "Order Status Emails"
913
+ msgstr "Κατάσταση παραγγελίας μέσω ηλεκτρονικού ταχυδρομείου"
 
 
914
 
915
+ #: includes/class-wc-advanced-shipment-tracking.php:1152
916
+ #: includes/class-wc-advanced-shipment-tracking.php:1243
 
917
  #, php-format
918
+ msgid "Order was shipped with %s and tracking number is: %s"
919
+ msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
 
 
920
 
921
+ #: includes/views/front/layout1_tracking_details.php:25
922
+ msgid "Origin Details"
923
+ msgstr "Λεπτομέρειες προέλευσης"
924
+
925
+ #: includes/views/admin_tracking_page_settings.php:36
926
  msgid "Other"
927
  msgstr "Αλλα"
928
 
929
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
930
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
931
+ #: includes/customizer/class-wcast-customizer.php:179
932
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
933
+ msgid "Out For Delivery"
934
+ msgstr ""
935
+ "Out για παράδοση\n"
936
+
937
+ #: includes/views/admin_status_notifications.php:97
938
+ msgid "Out For delivery"
939
+ msgstr "Έξω για παράδοση"
940
+
941
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
942
+ msgid "Out For Delivery email"
943
+ msgstr "Έξοδος για παράδοση email"
944
+
945
+ #: includes/class-wc-advanced-shipment-tracking.php:400
946
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
947
  msgid "Partial Shipped"
948
  msgstr "Μερική αποστολή"
949
 
950
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
951
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
952
+ #: includes/views/admin_options_osm.php:59
 
953
  msgid "Partially Shipped"
954
  msgstr "Μερικώς αποστέλλονται"
955
 
956
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
 
957
  #, php-format
958
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
959
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
960
  msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
961
  msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
962
 
963
+ #: includes/customizer/class-wcast-customizer.php:125
964
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
965
+ msgid "Partially Shipped status email"
966
+ msgstr "Μερική αποστολή μηνύματος κατάστασης κατάστασης"
 
 
 
967
 
968
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
969
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
970
+ msgid "Pending TrackShip"
971
+ msgstr "Εκκρεμεί TrackShip"
 
 
972
 
973
+ #: woocommerce-advanced-shipment-tracking.php:122
 
974
  #, php-format
975
  msgid ""
976
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
977
+ "for WooCommerce!"
978
  msgstr ""
 
 
979
 
980
+ #: includes/customizer/class-wc-email-customizer.php:201
981
+ #: includes/customizer/class-wc-tracking-info-customizer.php:193
982
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
983
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
984
+ msgid "Please select a order..."
985
+ msgstr ""
986
+ "Παρακαλώ επιλέξτε παραγγελία ...\n"
987
+
988
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
989
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
990
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
991
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
992
+ #: includes/customizer/class-wc-email-customizer.php:454
993
+ #: includes/customizer/class-wc-email-customizer.php:462
994
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
995
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
996
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
997
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
998
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
999
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
1000
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
1001
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
1002
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1003
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1004
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
1005
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
1006
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
1007
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
1008
  msgid "Please select order to preview."
1009
  msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
1010
 
1011
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1012
  msgid "Please upload a valid CSV file."
1013
  msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
1014
 
1015
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
1016
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
1017
+ #: includes/customizer/class-wcast-customizer.php:141
1018
+ msgid "Pre Transit"
1019
+ msgstr ""
1020
+ "Pre Transit\n"
1021
+
1022
+ #: includes/views/admin_tracking_page_settings.php:105
1023
+ msgid "Preview"
1024
+ msgstr ""
1025
+ "Προεπισκόπηση\n"
1026
+
1027
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
1028
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
1029
+ #: includes/customizer/class-wc-email-customizer.php:197
1030
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
1031
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
1032
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
1033
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
1034
+ #: includes/customizer/class-wc-tracking-info-customizer.php:189
1035
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
1036
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
1037
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
1038
+ msgid "Preview order"
1039
+ msgstr ""
1040
+ "Προεπισκόπηση σειράς\n"
1041
+
1042
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1043
  msgid "Preview:"
1044
  msgstr "Επισκόπηση:"
1045
 
1046
+ #: includes/class-wc-advanced-shipment-tracking.php:375
1047
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
1048
  msgid "Product Code:"
1049
  msgstr "Κωδικός προϊόντος:"
1050
 
1051
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1703
1052
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
1053
+ #: includes/customizer/class-wc-tracking-info-customizer.php:655
1054
+ #: templates/emails/tracking-info.php:280
1055
+ #: templates/myaccount/tracking-info.php:205
1056
  msgid "Provider"
1057
  msgstr "Μεταφορέας"
1058
 
1059
+ #: templates/emails/tracking-info.php:285
1060
+ #: templates/myaccount/tracking-info.php:210
 
1061
  msgid "Provider Name"
1062
  msgstr "Ονομα πάροχου"
1063
 
1064
+ #: includes/views/admin_options_shipping_provider.php:153
1065
  msgid "Providers Added"
1066
  msgstr "Προστέθηκαν παροχείς"
1067
 
1068
+ #: includes/views/admin_options_shipping_provider.php:155
1069
  msgid "Providers Deleted"
1070
  msgstr "Οι πάροχοι έχουν διαγραφεί"
1071
 
1072
+ #: includes/views/admin_options_shipping_provider.php:154
1073
  msgid "Providers Updated"
1074
  msgstr "Οι προμηθευτές ενημερώθηκαν"
1075
 
1076
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
1077
  msgid "Really delete this entry? This will not be undo."
1078
  msgstr "Να διαγραφεί πραγματικά αυτή η καταχώριση; Αυτό δεν θα αναιρεθεί."
1079
 
1080
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
1081
+ #: includes/views/admin_tracking_page_settings.php:86
1082
+ msgid "Remove TrackShip branding"
1083
+ msgstr "Αφαιρέστε το branding του TrackShip"
1084
+
1085
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
1086
  msgid "Rename the “Completed” Order status label to “Shipped”"
1087
  msgstr ""
 
 
1088
 
1089
+ #: includes/views/admin_options_bulk_upload.php:48
1090
  msgid "Replace tracking information?"
1091
  msgstr "Replace tracking information?Αντικατάσταση πληροφοριών παρακολούθησης;"
1092
 
1093
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
1094
+ msgid "Resend delivered order notification"
1095
+ msgstr "Επαναλάβετε την ειδοποίηση παραγγελίας"
1096
+
1097
+ #: includes/views/admin_options_shipping_provider.php:136
1098
  msgid "Reset"
1099
  msgstr "Reset"
1100
 
1101
+ #: includes/views/admin_options_shipping_provider.php:159
1102
  msgid ""
1103
  "Reset providers database, it will reset all your shipping provider database"
1104
  msgstr ""
1105
  "Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
1106
  "δεδομένων παρόχων αποστολής"
1107
 
1108
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
1109
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
1110
+ #: includes/customizer/class-wcast-customizer.php:165
1111
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
1112
+ #: includes/views/admin_status_notifications.php:67
1113
+ msgid "Return To Sender"
1114
+ msgstr ""
1115
+ "Επιστροφή στον αποστολέα\n"
1116
 
1117
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1118
+ msgid "Return To Sender email"
1119
+ msgstr "Επιστροφή στο email αποστολέα"
1120
+
1121
+ #: includes/views/admin_options_settings.php:23
1122
+ #: includes/views/admin_trackship_dashboard.php:45
1123
+ #: includes/views/admin_tracking_page_settings.php:104
1124
+ #: includes/views/admin_status_notifications.php:245
1125
+ msgid "Save Changes"
1126
+ msgstr "Αποθήκευσε τις αλλαγές"
1127
+
1128
+ #: includes/class-wc-advanced-shipment-tracking.php:416
1129
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
1130
  msgid "Save Tracking"
1131
  msgstr "Αποθήκευση Παρακολούθησης"
1132
 
1133
+ #: includes/views/admin_options_shipping_provider.php:29
1134
  msgid "Search by provider / country"
1135
  msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
1136
 
1137
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1138
+ msgid "Select an order to preview and design the tracking info display."
1139
+ msgstr ""
1140
+ "Επιλέξτε μια παραγγελία για να κάνετε προεπισκόπηση και να σχεδιάσετε την "
1141
+ "οθόνη πληροφοριών παρακολούθησης.\n"
1142
+
1143
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
1144
+ msgid "Select content border color for tracking page"
1145
+ msgstr "Επιλέξτε χρώμα περιγράμματος περιεχομένου για παρακολούθηση σελίδας"
1146
+
1147
+ #: includes/customizer/class-wcast-customizer.php:516
1148
+ msgid "Select order to preview"
1149
+ msgstr ""
1150
+ "Επιλέξτε παραγγελία για προεπισκόπηση\n"
1151
 
1152
+ #: includes/class-wc-advanced-shipment-tracking.php:338
1153
  msgid "Select Provider"
1154
  msgstr "Επιλογή Παροχέα"
1155
 
1156
+ #: includes/customizer/class-wc-tracking-info-customizer.php:302
1157
  msgid "Select Template"
1158
  msgstr ""
1159
  "Επιλέξτε Πρότυπο\n"
1160
 
1161
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
1162
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
1163
+ #: includes/views/admin_tracking_page_settings.php:27
1164
+ msgid "Select Tracking Page"
1165
+ msgstr "Επιλέξτε Σελίδα παρακολούθησης"
1166
+
1167
+ #: includes/views/admin_options_osm.php:41
1168
+ #: includes/views/admin_options_osm.php:84
1169
+ #: includes/views/admin_options_osm.php:124
1170
  msgid "Send Email"
1171
  msgstr ""
1172
  "Να στείλετε e-mail\n"
1173
 
1174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:909
1175
  msgid ""
1176
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1177
  "orders"
1178
  msgstr ""
 
 
1179
 
1180
+ #: includes/views/admin_options_settings.php:15
 
 
1181
  msgid "Settings"
1182
+ msgstr ""
1183
 
1184
+ #: includes/views/admin_options_bulk_upload.php:59
1185
  msgid "Settings Saved."
1186
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1187
 
1188
+ #: includes/class-wc-advanced-shipment-tracking-front.php:319
1189
+ #: includes/views/front/preview_tracking_page.php:25
1190
+ msgid "Shipment"
1191
+ msgstr ""
1192
+
1193
+ #: includes/class-wc-advanced-shipment-tracking-front.php:347
1194
+ #, php-format
1195
+ msgid "Shipment - %s (out of %s)"
1196
+ msgstr ""
1197
+ "Αποστολή -% s (από% s)\n"
1198
+
1199
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
1200
+ #, php-format
1201
+ msgid "Shipment : %s (out of %s)"
1202
+ msgstr ""
1203
+
1204
+ #: includes/views/admin_status_notifications.php:67
1205
+ msgid "Shipment is returned to sender."
1206
+ msgstr "Η αποστολή επιστρέφεται στον αποστολέα."
1207
+
1208
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
1209
+ msgid "Shipment Providers"
1210
+ msgstr "Παροχείς αποστολής"
1211
+
1212
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1486
1213
+ #: templates/emails/tracking-info.php:225
1214
+ #: templates/emails/tracking-info.php:255
1215
+ msgid "Shipment Status"
1216
+ msgstr "Κατάσταση αποστολής"
1217
+
1218
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
1219
+ msgid "Shipment status"
1220
+ msgstr "Κατάσταση αποστολής"
1221
+
1222
+ #: templates/emails/plain/tracking-info.php:35
1223
  #, php-format
1224
  msgid "Shipment status changed to %s"
1225
  msgstr "Η κατάσταση αποστολής άλλαξε στο% s"
1226
 
1227
+ #: includes/views/admin_status_notifications.php:3
1228
+ msgid "Shipment Status Email Notifications"
1229
+ msgstr "Ειδοποιήσεις μέσω email για την κατάσταση αποστολής"
1230
+
1231
+ #: includes/customizer/class-wcast-customizer.php:51
1232
+ msgid "Shipment Status Emails"
1233
+ msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
1234
+
1235
+ #: includes/class-wc-advanced-shipment-tracking.php:141
1236
+ #: includes/class-wc-advanced-shipment-tracking.php:223
1237
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
1238
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
1239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
1240
  msgid "Shipment Tracking"
1241
  msgstr "Παρακολούθηση Αποστολής"
1242
 
1243
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
1244
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
1245
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
 
 
 
 
 
1246
  msgid "Shipped"
1247
  msgstr "Αποστέλλονται"
1248
 
1249
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
 
1250
  #, php-format
1251
  msgid "Shipped <span class=\"count\">(%s)</span>"
1252
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
1253
  msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
1254
  msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
1255
 
1256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
1257
+ #: includes/customizer/class-wc-tracking-info-customizer.php:700
1258
  msgid "Shipped Date"
1259
  msgstr ""
1260
  "Ημερομηνία αποστολής\n"
1261
 
1262
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1263
+ #, fuzzy
1264
  #| msgid "Ship date header text"
1265
  msgid "Shipped date header text"
1266
+ msgstr ""
1267
+ "Κείμενο κεφαλίδας ημερομηνίας πλοίου\n"
1268
 
1269
  #. 1: shipping date
1270
+ #: includes/class-wc-advanced-shipment-tracking.php:256
1271
  #, php-format
1272
  msgid "Shipped on %s"
1273
  msgstr "Στάλθηκε στις %s"
1274
 
1275
+ #: includes/customizer/class-wc-tracking-info-customizer.php:159
1276
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1277
  msgstr ""
1278
  "Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
1279
  "{tracking_number_link}"
1280
 
1281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
1282
  msgid "Shipped Order"
1283
  msgstr "Αποστολή παραγγελίας"
1284
 
1285
+ #: includes/views/admin_options_shipping_provider.php:65
1286
+ #: includes/views/admin_options_shipping_provider.php:113
1287
  msgid "Shipping Country"
1288
  msgstr "Χώρα αποστολής"
1289
 
1290
  #: includes/views/admin_options_shipping_provider.php:58
1291
+ #: includes/views/admin_options_shipping_provider.php:103
1292
  msgid "Shipping Provider"
1293
  msgstr "Πάροχος αποστολών"
1294
 
1295
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
1296
  msgid "Shipping provider header text"
1297
+ msgstr ""
1298
 
1299
+ #: includes/class-wc-advanced-shipment-tracking.php:337
1300
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
1301
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
1302
  msgid "Shipping Provider:"
1303
  msgstr "Πάροχος υπηρεσιών:"
1304
 
1305
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
1306
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
1307
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
1308
  msgid "Shipping Providers"
1309
  msgstr "Πάροχοι αποστολών"
1310
 
1311
+ #: includes/views/admin_options_shipping_provider.php:157
 
 
 
 
1312
  msgid "Shipping providers database reset successfully."
1313
  msgstr ""
1314
  "Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
1315
 
1316
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1317
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1318
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1319
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1320
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1321
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1322
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1323
+ msgid "Show billing address"
1324
+ msgstr ""
1325
+ "Εμφάνιση διεύθυνσης χρέωσης\n"
1326
+
1327
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1328
  msgid "Show bottom border"
1329
  msgstr "Εμφάνιση περιθωρίου κάτω"
1330
 
1331
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1332
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1333
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1334
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1335
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1336
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1337
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1338
+ msgid "Show order details"
1339
+ msgstr ""
1340
+ "Εμφάνιση λεπτομερειών παραγγελίας\n"
1341
+
1342
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1343
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1344
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1345
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1346
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1347
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1348
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1349
+ msgid "Show shipping address"
1350
+ msgstr ""
1351
+ "Εμφάνιση της διεύθυνσης αποστολής\n"
1352
+
1353
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
1354
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
1355
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
1356
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
1357
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
1358
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
1359
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1360
+ msgid "Show tracking details"
1361
+ msgstr ""
1362
+ "Εμφάνιση λεπτομερειών παρακολούθησης\n"
1363
+
1364
+ #: includes/customizer/class-wc-tracking-info-customizer.php:320
1365
  msgid "Simple Layout Design"
1366
  msgstr ""
1367
  "Απλό σχέδιο διάταξης\n"
1368
 
1369
+ #: includes/customizer/class-wcast-customizer.php:87
1370
+ msgid "Simple layout design"
1371
+ msgstr "Απλό σχέδιο σχεδίασης"
1372
+
1373
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
1374
  msgid "Special character not allowd in tracking number"
1375
  msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
1376
 
1377
+ #: includes/views/admin_options_trackship_integration.php:17
1378
+ #: includes/views/admin_options_addons.php:134
1379
+ msgid "Start your free trial"
1380
+ msgstr "Ξεκινήστε την δωρεάν δοκιμή σας"
1381
+
1382
+ #: includes/views/trackship_sidebar.php:24
1383
+ msgid "Subscription Plan"
1384
+ msgstr "Πρόγραμμα συνδρομής"
1385
+
1386
+ #: includes/views/admin_options_shipping_provider.php:146
1387
+ #: includes/views/admin_options_shipping_provider.php:161
1388
  msgid "Sync Shipping Providers"
1389
  msgstr "Sync Shipping Providers"
1390
 
1391
+ #: includes/views/admin_options_shipping_provider.php:151
1392
  msgid ""
1393
  "Syncing the shipping providers list add or updates the pre-set shipping "
1394
  "providers and will not effect custom shipping providers."
1397
  "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
1398
  "προσαρμοσμένους παροχείς αποστολής."
1399
 
1400
+ #: includes/customizer/class-wc-tracking-info-customizer.php:831
1401
  msgid "Table Content"
1402
  msgstr "Περιεχόμενο πίνακα"
1403
 
1404
+ #: includes/customizer/class-wc-tracking-info-customizer.php:533
1405
  msgid "Table Design Options"
1406
+ msgstr ""
1407
 
1408
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1409
+ #, fuzzy
1410
  #| msgid "Table Headers"
1411
  msgid "Table Header"
1412
  msgstr "Κεφαλίδες στον πίνακα"
1413
 
1414
+ #: includes/customizer/class-wc-tracking-info-customizer.php:303
1415
  msgid "Table Layout"
1416
  msgstr ""
1417
  "Διάταξη πίνακα\n"
1418
 
1419
+ #: includes/customizer/class-wcast-customizer.php:79
1420
+ msgid "Table layout design"
1421
+ msgstr "Σχεδιασμός διάταξης πίνακα"
1422
+
1423
+ #: includes/customizer/class-wc-tracking-info-customizer.php:445
1424
  msgid "Table Options"
1425
+ msgstr ""
1426
 
1427
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1428
  msgid "Text align"
1429
+ msgstr ""
1430
 
1431
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
1432
+ #: includes/views/admin_options_shipping_provider.php:100
1433
  msgid ""
1434
+ "The custom name will display in the tracking info section on the customer "
1435
+ "order emails, my-account, shipment tracking page and shipment status emails."
 
1436
  msgstr ""
1437
+ "Το προσαρμοσμένο όνομα θα εμφανιστεί στην ενότητα πληροφοριών παρακολούθησης "
1438
+ "στα μηνύματα ηλεκτρονικού ταχυδρομείου παραγγελίας πελατών, στο λογαριασμό "
1439
+ "μου, στη σελίδα παρακολούθησης αποστολών και στα μηνύματα κατάστασης "
1440
+ "αποστολής."
1441
 
1442
+ #: includes/views/admin_status_notifications.php:52
1443
+ msgid "The shipment is On Hold."
1444
+ msgstr "Η αποστολή είναι σε αναμονή."
1445
+
1446
+ #: includes/views/admin_status_notifications.php:82
1447
+ msgid "The shipment is ready to by picked up."
1448
+ msgstr "Η αποστολή είναι έτοιμη για παραλαβή."
1449
+
1450
+ #: includes/views/admin_status_notifications.php:37
1451
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1452
+ msgstr ""
1453
+ "Η αποστολή έγινε αποδεκτή από τον πάροχο αποστολών και το κατά τη διάρκεια "
1454
+ "του ταξιδιού."
1455
+
1456
+ #: includes/views/admin_status_notifications.php:112
1457
+ msgid "The shipment was delivered successfully."
1458
+ msgstr "Η αποστολή παραδόθηκε με επιτυχία."
1459
+
1460
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
1461
  msgid "There are some issue with sync, Please Retry."
1462
  msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
1463
 
1464
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1465
  msgid "This browser does not support HTML5."
1466
  msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
1467
 
1468
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
1469
+ msgid ""
1470
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
1471
+ "will be selected by default when adding tracking info to orders."
1472
+ msgstr ""
1473
+ "Αυτό σημαίνει ότι το 'mark as <span class =' ​​shipped_label '> complete "
1474
+ "</span>' θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
1475
+ "παρακολούθησης σε παραγγελίες."
1476
+
1477
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
1478
+ msgid ""
1479
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
1480
+ "will be selected by default when adding tracking info to orders."
1481
+ msgstr ""
1482
+ "Αυτό σημαίνει ότι το 'mark as <span class =' ​​shipped_label '> shipped "
1483
+ "</span>' θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
1484
+ "παρακολούθησης σε παραγγελίες."
1485
+
1486
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1487
+ #: includes/views/admin_status_notifications.php:210
1488
+ msgid ""
1489
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1490
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1491
+ msgstr ""
1492
+ "Αυτή η παραγγελία εστάλη πριν από {shipment_length} ημέρες, η κατάσταση "
1493
+ "αποστολής είναι {shipment_status} και η εκτιμώμενη ημερομηνία παράδοσής της "
1494
+ "είναι {est_delivery_date}."
1495
+
1496
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1497
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1498
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1499
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1500
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1501
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1502
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1503
+ msgid "This will be appended to URL in the email content"
1504
+ msgstr ""
1505
+ "Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
1506
+
1507
+ #: includes/customizer/class-wc-email-customizer.php:416
1508
+ msgid ""
1509
+ "This will be appended to URL in the email content – e.g. "
1510
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1511
+ msgstr ""
1512
+ "Αυτό θα προσαρτηθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού "
1513
+ "ταχυδρομείου - π.χ. utm_source = ast & utm_medium = email & utm_campaign = "
1514
+ "παραδόθηκε"
1515
+
1516
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
1517
+ msgid ""
1518
+ "To enable this option, the 'Delivered' order status should be enabled in the "
1519
+ "AST settings."
1520
+ msgstr ""
1521
+ "Για να ενεργοποιήσετε αυτήν την επιλογή, η κατάσταση παραγγελίας "
1522
+ "«Παραδόθηκε» πρέπει να είναι ενεργοποιημένη στις ρυθμίσεις AST."
1523
+
1524
+ #: includes/views/front/track_order_form.php:3
1525
+ msgid ""
1526
+ "To track your order please enter your Order ID in the box below and press "
1527
+ "the \"Track\" button. This was given to you on your receipt and in the "
1528
+ "confirmation email you should have received."
1529
+ msgstr ""
1530
+ "Για να παρακολουθήσετε την παραγγελία σας, εισαγάγετε το αναγνωριστικό "
1531
+ "παραγγελίας σας στο παρακάτω πλαίσιο και πατήστε το κουμπί \"Παρακολούθηση\"."
1532
+ " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
1533
+ "να έχετε λάβει.\n"
1534
+
1535
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
1536
+ #: includes/views/admin_options_tools.php:13
1537
+ #: includes/views/trackship_settings.php:15
1538
+ #: includes/views/trackship_settings.php:16
1539
+ msgid "Tools"
1540
+ msgstr "Εργαλεία"
1541
+
1542
+ #: includes/class-wc-advanced-shipment-tracking.php:752
1543
+ #: includes/class-wc-advanced-shipment-tracking.php:788
1544
+ #: includes/customizer/class-wc-tracking-info-customizer.php:152
1545
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1546
+ #: templates/emails/tracking-info.php:315
1547
+ #: templates/myaccount/tracking-info.php:235
1548
+ #: includes/views/front/track_order_form.php:8
1549
  msgid "Track"
1550
  msgstr "Παρακολούθηση"
1551
 
1552
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1553
  msgid "Track Button"
1554
+ msgstr ""
 
 
 
 
1555
 
1556
+ #: includes/customizer/class-wc-tracking-info-customizer.php:808
1557
  msgid "Track header text"
1558
  msgstr ""
1559
  "Κείμενο κεφαλίδας παρακολούθησης\n"
1560
 
1561
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
1562
+ msgid "Track Label"
1563
+ msgstr "Ετικέτα διαδρομής"
1564
+
1565
+ #: includes/class-wc-advanced-shipment-tracking.php:246
1566
+ #: includes/class-wc-advanced-shipment-tracking.php:419
1567
  msgid "Track Shipment"
1568
  msgstr "Παρακολούθηση αποστολής"
1569
 
1570
+ #: includes/views/trackship_sidebar.php:20
1571
+ msgid "Trackers Balance"
1572
+ msgstr "Υπόλοιπο ιχνηλάτη"
1573
+
1574
+ #: includes/views/front/layout1_tracking_details.php:4
1575
+ msgid "Tracking Details"
1576
+ msgstr "Στοιχεία παρακολούθησης"
1577
+
1578
+ #: includes/class-wc-advanced-shipment-tracking-front.php:371
1579
+ msgid "Tracking details not found in TrackShip"
1580
+ msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
1581
+
1582
+ #: includes/views/admin_options_settings.php:35
1583
+ msgid "Tracking Display Customizer"
1584
+ msgstr ""
1585
+
1586
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1587
+ #: includes/customizer/class-wc-tracking-info-customizer.php:298
1588
  msgid "Tracking display layout"
1589
  msgstr "Παρακολούθηση της διάταξης προβολής"
1590
 
1591
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:932
1592
+ msgid "Tracking Display My Account"
1593
+ msgstr ""
1594
+
1595
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1596
  msgid "Tracking Display Position"
1597
  msgstr "Παρακολούθηση θέσης προβολής"
1598
 
1599
+ #: includes/customizer/class-wc-tracking-info-customizer.php:250
1600
  msgid "Tracking Header text"
1601
  msgstr ""
1602
  "Κείμενο κεφαλίδας εντοπισμού\n"
1603
 
1604
+ #: includes/customizer/class-wcast-customizer.php:32
1605
+ #: includes/customizer/class-wcast-customizer.php:103
1606
  msgid "Tracking info display"
1607
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
1608
 
1609
+ #: includes/views/admin_options_tools.php:11
1610
+ msgid "Tracking info sent to Trackship for all Orders."
1611
+ msgstr ""
1612
+ "Οι πληροφορίες παρακολούθησης εστάλησαν στο Trackship για όλες τις "
1613
+ "παραγγελίες."
1614
+
1615
+ #: includes/class-wc-advanced-shipment-tracking.php:721
1616
  #, php-format
 
 
1617
  msgid ""
1618
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
1619
  msgstr ""
1620
+ "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
1621
+ "με τον αριθμό παρακολούθησης% s"
1622
 
1623
+ #: includes/customizer/class-wc-tracking-info-customizer.php:257
1624
  msgid "Tracking Information"
1625
  msgstr "Πληροφορίες Παρακολούθησης"
1626
 
1627
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
1628
+ msgid "Tracking issues"
1629
+ msgstr "Παρακολούθηση ζητημάτων"
1630
+
1631
+ #: includes/customizer/class-wc-tracking-info-customizer.php:150
1632
+ #: includes/customizer/class-wc-tracking-info-customizer.php:678
1633
+ #: templates/emails/tracking-info.php:292
1634
+ #: templates/myaccount/tracking-info.php:215
1635
  msgid "Tracking Number"
1636
  msgstr "Αριθμός"
1637
 
1638
+ #: includes/customizer/class-wc-tracking-info-customizer.php:671
1639
+ #, fuzzy
1640
  #| msgid "Tracking Number header text"
1641
  msgid "Tracking number header text"
1642
+ msgstr ""
1643
+ "Κείμενο κεφαλίδας αριθμού παρακολούθησης\n"
1644
 
1645
+ #: includes/class-wc-advanced-shipment-tracking.php:332
1646
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
1647
  msgid "Tracking number:"
1648
  msgstr "Αριθμός Παρακολούθησης:"
1649
 
1650
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
1651
+ #: includes/views/admin_tracking_page_settings.php:9
1652
+ #: includes/views/trackship_settings.php:9
1653
+ #: includes/views/trackship_settings.php:10
1654
+ msgid "Tracking Page"
1655
+ msgstr "Σελίδα Παρακολούθησης"
1656
+
1657
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
1658
+ msgid "Tracking Page Layout"
1659
+ msgstr ""
1660
+ "Παρακολούθηση διάταξης σελίδας\n"
1661
+
1662
+ #: includes/views/admin_tracking_page_settings.php:92
1663
+ msgid "Tracking Widget Border Color"
1664
+ msgstr ""
1665
+
1666
+ #: includes/views/admin_tracking_page_settings.php:46
1667
+ msgid "Tracking Widget Layout"
1668
+ msgstr ""
1669
+
1670
+ #: includes/views/admin_tracking_page_settings.php:65
1671
+ msgid "Tracking Widget Options"
1672
+ msgstr ""
1673
+
1674
+ #: includes/views/admin_tracking_page_settings.php:116
1675
+ msgid "Tracking Widget Preview"
1676
+ msgstr "Προεπισκόπηση Widget παρακολούθησης"
1677
+
1678
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1626
1679
  msgid "TrackShip"
1680
  msgstr "TrackShip"
1681
 
1682
+ #: includes/views/trackship_sidebar.php:12
1683
+ msgid "TrackShip Connection Status"
1684
+ msgstr "Κατάσταση σύνδεσης TrackShip"
1685
+
1686
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1687
+ msgid "TrackShip not supported"
1688
+ msgstr "Το TrackShip δεν υποστηρίζεται"
1689
+
1690
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1683
1691
+ msgid "TrackShip supported"
1692
+ msgstr "Υποστηρίζεται TrackShip"
1693
+
1694
+ #: includes/views/admin_status_notifications.php:225
1695
+ msgid "Trigger Alert"
1696
+ msgstr "Ειδοποίηση ενεργοποίησης"
1697
+
1698
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
1699
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
1700
+ msgid "Unknown"
1701
+ msgstr "Αγνωστος"
1702
+
1703
+ #: includes/views/admin_options_shipping_provider.php:135
1704
  msgid "Update"
1705
  msgstr "Update"
1706
 
1707
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
1708
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
1709
+ #: includes/views/admin_options_osm.php:101
 
1710
  msgid "Updated Tracking"
1711
  msgstr "Ενημερωμένη παρακολούθηση"
1712
 
1713
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
 
1714
  #, php-format
1715
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1716
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1717
  msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1718
  msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1719
 
1720
+ #: includes/customizer/class-wcast-customizer.php:133
1721
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
1722
+ msgid "Updated Tracking status email"
1723
+ msgstr ""
1724
+ "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παρακολούθησης\n"
1725
+
1726
+ #: includes/views/trackship_sidebar.php:28
1727
+ msgid "Upgrade Now"
1728
+ msgstr "Αναβάθμισε τώρα"
1729
+
1730
+ #: includes/views/admin_options_shipping_provider.php:76
1731
+ #: includes/views/admin_options_shipping_provider.php:124
1732
+ msgid "Upload"
1733
+ msgstr "Μεταφόρτωση"
1734
+
1735
+ #: includes/views/admin_options_bulk_upload.php:26
1736
  msgid "Upload a CSV file from your computer:"
1737
  msgstr "Upload a CSV file from your computer:"
1738
 
1739
+ #: includes/views/admin_options_bulk_upload.php:109
1740
  msgid "Upload again"
1741
  msgstr "Μεταφόρτωση ξανά"
1742
 
1743
+ #: includes/views/admin_options_settings.php:36
1744
+ msgid ""
1745
+ "Use a customizer with a preview to customize the tracking info display on "
1746
+ "customer order emails and my-account."
1747
+ msgstr ""
1748
+ "Χρησιμοποιήστε ένα εργαλείο προσαρμογής με προεπισκόπηση για να προσαρμόσετε "
1749
+ "την εμφάνιση πληροφοριών παρακολούθησης στα ηλεκτρονικά μηνύματα παραγγελίας "
1750
+ "πελατών και στον λογαριασμό μου."
1751
+
1752
+ #: includes/views/admin_options_bulk_upload.php:12
1753
  msgid ""
1754
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1755
  "file"
1757
  "Χρησιμοποιήστε το εργαλείο εισαγωγής CSV για μαζική εισαγωγή πληροφοριών "
1758
  "παρακολούθησης σε παραγγελίες από ένα αρχείο CSV"
1759
 
1760
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
1761
+ msgid "Use the tracking page in the customer email/my account tracking link"
1762
+ msgstr ""
1763
+ "Χρησιμοποιήστε τη σελίδα παρακολούθησης στο σύνδεσμο παρακολούθησης email / "
1764
+ "του λογαριασμού μου"
1765
+
1766
+ #: includes/customizer/class-wc-tracking-info-customizer.php:515
1767
  msgid "Use tracking number as a link"
1768
  msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1769
 
1770
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
1771
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
1772
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
1773
+ #: includes/views/admin_options_bulk_upload.php:87
1774
  msgid "view details"
1775
  msgstr "δείτε λεπτομέρειες"
1776
 
1777
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1526
1778
+ msgid "View more on TrackShip"
1779
+ msgstr "Δείτε περισσότερα στο TrackShip"
1780
+
1781
+ #: includes/views/admin_options_bulk_upload.php:108
1782
  msgid "View Orders"
1783
  msgstr "Προβολή παραγγελιών"
1784
 
1785
+ #: includes/views/admin_options_trackship_integration.php:16
1786
+ #: includes/views/admin_options_addons.php:130
1787
+ msgid "Watch Video"
1788
+ msgstr "Δες το βίντεο"
1789
+
1790
+ #: woocommerce-advanced-shipment-tracking.php:487
1791
+ #, php-format
1792
+ msgid ""
1793
+ "We detected %s orders that use the Delivered order status, You can reassign "
1794
+ "these orders to a different status"
1795
+ msgstr ""
1796
+ "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση παραδοθείσας "
1797
+ "παραγγελίας. Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε "
1798
+ "διαφορετική κατάσταση"
1799
+
1800
+ #: woocommerce-advanced-shipment-tracking.php:499
1801
  #, php-format
1802
  msgid ""
1803
  "We detected %s orders that use the Partially Shipped order status, You can "
1806
  "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
1807
  "Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
1808
 
1809
+ #: woocommerce-advanced-shipment-tracking.php:511
1810
+ #, php-format
1811
+ msgid ""
1812
+ "We detected %s orders that use the Updated Tracking order status, You can "
1813
+ "reassign these orders to a different status"
1814
+ msgstr ""
1815
+ "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση ενημερωμένης "
1816
+ "παραγγελίας παρακολούθησης. Μπορείτε να εκχωρήσετε ξανά αυτές τις "
1817
+ "παραγγελίες σε διαφορετική κατάσταση"
1818
+
1819
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:873
1820
+ msgid "Wrong Shipping Provider"
1821
+ msgstr "Λάθος πάροχος αποστολών"
1822
+
1823
+ #: includes/views/admin_status_notifications.php:116
1824
+ msgid ""
1825
+ "You already have delivered order status email enabled, to enable this email "
1826
+ "you'll need to disable the delivered order status email in settings."
1827
+ msgstr ""
1828
 
1829
+ #: includes/views/admin_options_tools.php:14
1830
+ msgid ""
1831
+ "You can send all your orders from the last 30 days to get shipment status "
1832
+ "from TrackShip:"
1833
+ msgstr ""
1834
+ "Μπορείτε να στείλετε όλες τις παραγγελίες σας από τις τελευταίες 30 ημέρες "
1835
+ "για να λάβετε την κατάσταση αποστολής από το TrackShip:"
1836
 
1837
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
1838
  msgid "You can upload only csv file."
1839
  msgstr "Μπορείτε να ανεβάσετε μόνο αρχείο csv."
1840
 
1841
+ #: includes/views/admin_options_shipping_provider.php:82
1842
+ #: includes/views/admin_options_shipping_provider.php:130
1843
  msgid ""
1844
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1845
  "URL, for more info, check our "
1847
  "Μπορείτε να χρησιμοποιήσετε τις μεταβλητές% number%,% postal_code% and% "
1848
  "country_code% στη διεύθυνση URL, για περισσότερες πληροφορίες, ανατρέξτε στο"
1849
 
1850
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
 
1851
  #, php-format
1852
  msgid "You did not create any %s shipping providers yet."
1853
  msgstr "Δεν έχετε δημιουργήσει παρόχους αποστολής% s ακόμη."
1854
 
1855
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1788
1856
+ #: includes/views/admin_options_shipping_provider.php:45
1857
  #, php-format
1858
  msgid "You don't have any %s shipping providers."
1859
  msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
1860
 
1861
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1024
1862
+ #, php-format
1863
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1864
+ msgstr ""
1865
+ "Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Πρόβλημα σύνδεσης "
1866
+ "TrackShip\""
1867
 
1868
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1015
1869
+ #, php-format
1870
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1871
+ msgstr ""
1872
+ "Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Το υπόλοιπο TrackShip "
1873
+ "είναι 0\""
1874
+
1875
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1006
1876
+ #, php-format
1877
+ msgid ""
1878
+ "You got %s %s orders with tracking info that were not sent to track on "
1879
+ "TrackShip"
1880
+ msgstr ""
1881
+ "Λάβατε παραγγελίες% s% s με πληροφορίες παρακολούθησης που δεν εστάλησαν για "
1882
+ "παρακολούθηση στο TrackShip"
1883
+
1884
+ #: includes/views/admin_trackship_dashboard.php:13
1885
+ #, php-format
1886
+ msgid ""
1887
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1888
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1889
+ msgstr ""
1890
+ "Έχετε% s αποσταλείσες παραγγελίες από τις τελευταίες 30 ημέρες που μπορείτε "
1891
+ "να στείλετε μαζικά στη Λήψη κατάστασης αποστολής"
1892
+
1893
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
1894
+ msgid ""
1895
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
1896
+ "for the tracking page to work."
1897
+ msgstr ""
1898
+ "Πρέπει να προσθέσετε τον σύντομο κώδικα [wcast-track-order] στην επιλεγμένη "
1899
+ "σελίδα για να λειτουργήσει η σελίδα παρακολούθησης."
1900
+
1901
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1902
+ msgid "Your order #{order_number} has been delivered"
1903
+ msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
1904
+
1905
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1906
+ msgid "Your order #{order_number} has returned to sender"
1907
+ msgstr ""
1908
+ "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1909
+
1910
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
1911
+ msgid "Your order #{order_number} is available for pickup"
1912
+ msgstr ""
1913
+ "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
1914
+
1915
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1916
+ msgid "Your order #{order_number} is Failed Attempt"
1917
+ msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1918
+
1919
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1920
+ msgid "Your order #{order_number} is in transit"
1921
+ msgstr ""
1922
+ "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1923
+
1924
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1925
+ msgid "Your order #{order_number} is on hold"
1926
+ msgstr "Η παραγγελία σας # {order_number} βρίσκεται σε αναμονή"
1927
+
1928
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1929
+ msgid "Your order #{order_number} is out for delivery"
1930
+ msgstr ""
1931
+ "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1932
+
1933
+ #: includes/customizer/class-wc-email-customizer.php:130
1934
+ #: includes/emails/class-shipment-delivered-email.php:94
1935
+ msgid "Your {site_title} order is now delivered"
1936
+ msgstr ""
1937
+ "Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
1938
+
1939
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1940
  msgid "Your {site_title} order is now partially shipped"
1941
  msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
1942
 
1943
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1944
  msgid "Your {site_title} order is now updated tracking"
1945
  msgstr ""
1946
  "Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
 
 
 
 
lang/woo-advanced-shipment-tracking-es_ES.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-es_ES.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
- "Last-Translator: John Doe\n"
8
  "Language-Team: Spanish (Spain)\n"
9
  "Language: es_ES\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,538 +12,647 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
- #. %s: search WooCommerce plugin link
18
- #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "documentación"
22
 
23
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
 
 
 
 
 
 
24
  msgid "Actions"
25
  msgstr "Comportamiento"
26
 
27
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
- msgid "Add API Name alias"
29
- msgstr "Agregar alias de nombre de API"
30
 
31
- #: includes/views/admin_options_shipping_provider.php:65
32
- msgid ""
33
- "Add API name aliases to map Shipping providers names with the provider names "
34
- "that are updated in the shipment tracking API by external shipping services"
35
  msgstr ""
36
- "Agregue alias de nombres de API para asignar los nombres de los proveedores "
37
- "de envío con los nombres de los proveedores que los servicios de envío "
38
- "externos actualizan en la API de seguimiento de envíos."
39
 
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
 
 
 
 
 
42
  msgid "Add Custom Provider"
43
  msgstr "Agregar proveedor personalizado"
44
 
45
- #. Description of the plugin
46
- msgid ""
47
- "Add shipment tracking information to your WooCommerce orders and provide "
48
- "customers with an easy way to track their orders. Shipment tracking Info "
49
- "will appear in customers accounts (in the order panel) and in WooCommerce "
50
- "order complete email."
51
- msgstr ""
52
- "Agregue información de seguimiento de envío a sus pedidos de WooCommerce y "
53
- "brinde a los clientes una manera fácil de rastrear sus pedidos. La "
54
- "información de seguimiento del envío aparecerá en las cuentas de los "
55
- "clientes (en el panel de pedidos) y en el correo electrónico completo de "
56
- "pedidos de WooCommerce."
57
-
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:815
59
- msgid "add the [wcast-track-order] shortcode in the selected page."
60
- msgstr "agregue el código corto [wcast-track-order] en la página seleccionada."
61
-
62
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
63
  msgid "Add Tracking"
64
  msgstr "Agregar seguimiento"
65
 
66
- #: includes/class-wc-advanced-shipment-tracking-settings.php:339
67
  msgid "Add Tracking - order\t"
68
  msgstr "Agregar seguimiento: pedido"
69
 
70
- #: includes/class-wc-advanced-shipment-tracking.php:517
71
- msgid "Add Tracking Info"
72
- msgstr "Agregar información de seguimiento"
73
-
74
- #: includes/class-wc-advanced-shipment-tracking-admin.php:605
75
- msgid ""
76
- "Add Tracking Information in AST meta fields when you automatically sync "
77
- "tracking numbers from aliexpress orders"
78
- msgstr ""
79
- "Agregue información de seguimiento en los metacampos de AST cuando "
80
- "sincronice automáticamente los números de seguimiento de los pedidos de "
81
- "aliexpress"
82
-
83
- #: includes/class-wc-advanced-shipment-tracking-admin.php:615
84
- msgid ""
85
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
86
- "& Packing Slips plugin By Ewout Fernhout"
87
- msgstr ""
88
- "Agregue información de seguimiento en el PDF de factura generado por el "
89
- "complemento WooCommerce PDF Invoices & Packing Slips Por Ewout Fernhout"
90
-
91
- #: includes/class-wc-advanced-shipment-tracking-admin.php:625
92
- msgid ""
93
- "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
94
- "plugin By Bas Elbers"
95
- msgstr ""
96
- "Agregue información de seguimiento en la factura PDF generada por el "
97
- "complemento WooCommerce PDF Invoices Por Bas Elbers"
98
-
99
- #: includes/views/admin_options_settings.php:16
100
- #| msgid "Add Tracking action "
101
- msgid "Add Tracking Options"
102
- msgstr "Acción \"Agregar seguimiento\""
103
-
104
- #: includes/class-wc-advanced-shipment-tracking-admin.php:933
105
- msgid "Add Tracking Order action"
106
- msgstr "Agregar acción de orden de seguimiento"
107
-
108
- #: includes/class-wc-advanced-shipment-tracking-admin.php:585
109
- msgid ""
110
- "Adding tracking information to your orders shipped with 3plwinner and "
111
- "automate your workflow"
112
- msgstr ""
113
- "Agregar información de seguimiento a sus pedidos enviados con 3plwinner y "
114
- "automatizar su flujo de trabajo"
115
-
116
- #: includes/class-wc-advanced-shipment-tracking-admin.php:545
117
- msgid ""
118
- "Adding tracking information to your orders shipped with CustomCat and "
119
- "automate your workflow"
120
- msgstr ""
121
- "Agregar información de seguimiento a sus pedidos enviados con CustomCat y "
122
- "automatizar su flujo de trabajo"
123
-
124
- #: includes/class-wc-advanced-shipment-tracking-admin.php:555
125
- msgid ""
126
- "Adding tracking information to your orders shipped with Dear Systems and "
127
- "automate your workflow"
128
- msgstr ""
129
- "Agregar información de seguimiento a sus pedidos enviados con Dear Systems y "
130
- "automatizar su flujo de trabajo"
131
-
132
- #: includes/class-wc-advanced-shipment-tracking-admin.php:595
133
- msgid ""
134
- "Adding tracking information to your orders shipped with Dianxiaomi and "
135
- "automate your workflow"
136
- msgstr ""
137
- "Agregar información de seguimiento a sus pedidos enviados con Dianxiaomi y "
138
- "automatizar su flujo de trabajo"
139
-
140
- #: includes/class-wc-advanced-shipment-tracking-admin.php:575
141
- msgid ""
142
- "Adding tracking information to your orders shipped with Picqer and automate "
143
- "your workflow"
144
- msgstr ""
145
- "Agregar información de seguimiento a sus pedidos enviados con Picqer y "
146
- "automatizar su flujo de trabajo"
147
-
148
- #: includes/class-wc-advanced-shipment-tracking-admin.php:565
149
- msgid ""
150
- "Adding tracking information to your orders shipped with Printify and "
151
- "automate your workflow"
152
- msgstr ""
153
- "Agregar información de seguimiento a sus pedidos enviados con Printify y "
154
- "automatizar su flujo de trabajo"
155
-
156
- #: includes/class-wc-advanced-shipment-tracking-admin.php:515
157
- msgid ""
158
- "Adding tracking information to your orders shipped with QuickBooks Commerce "
159
- "and automate your workflow"
160
- msgstr ""
161
- "Agregar información de seguimiento a sus pedidos enviados con QuickBooks "
162
- "Commerce y automatizar su flujo de trabajo"
163
-
164
- #: includes/class-wc-advanced-shipment-tracking-admin.php:525
165
- msgid ""
166
- "Adding tracking information to your orders shipped with ReadyToShip and "
167
- "automate your workflow"
168
- msgstr ""
169
- "Agregar información de seguimiento a sus pedidos enviados con ReadyToShip y "
170
- "automatizar su flujo de trabajo"
171
-
172
- #: includes/class-wc-advanced-shipment-tracking-admin.php:535
173
- msgid ""
174
- "Adding tracking information to your orders shipped with Royal Mail Click & "
175
- "Drop and automate your workflow"
176
- msgstr ""
177
- "Agregar información de seguimiento a sus pedidos enviados con Royal Mail "
178
- "Click & Drop y automatizar su flujo de trabajo"
179
-
180
- #: includes/class-wc-advanced-shipment-tracking-admin.php:475
181
- msgid ""
182
- "Adding tracking information to your orders shipped with ShipStation and "
183
- "automate your workflow"
184
- msgstr ""
185
- "Agregar información de seguimiento a sus pedidos enviados con ShipStation y "
186
- "automatizar su flujo de trabajo"
187
-
188
- #: includes/class-wc-advanced-shipment-tracking-admin.php:485
189
- msgid ""
190
- "Adding tracking information to your orders shipped with WooCommerce Shipping "
191
- "to the Shipment Tracking and automate your workflow"
192
  msgstr ""
193
- "Agregar información de seguimiento a sus pedidos enviados con WooCommerce "
194
- "Shipping al Seguimiento de envíos y automatizar su flujo de trabajo"
195
 
196
- #: includes/class-wc-advanced-shipment-tracking-admin.php:505
197
- msgid ""
198
- "Adding tracking information to your orders when generating shipping labels "
199
- "using the Ordoro"
200
- msgstr ""
201
- "Agregar información de seguimiento a sus pedidos al generar etiquetas de "
202
- "envío utilizando Ordoro"
203
 
204
- #: includes/class-wc-advanced-shipment-tracking-admin.php:495
205
- msgid ""
206
- "Adding tracking information to your orders when generating shipping labels "
207
- "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
208
- "PluginHive"
209
- msgstr ""
210
- "Agregar información de seguimiento a sus pedidos al generar etiquetas de "
211
- "envío utilizando el complemento de envío de UPS de WooCommerce con el "
212
- "complemento de etiqueta de impresión de PluginHive"
213
 
214
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
215
  msgid "Additional text after header"
216
  msgstr "Texto adicional después del encabezado"
217
 
218
- #. Name of the plugin
219
- msgid "Advanced Shipment Tracking for WooCommerce"
220
- msgstr "Seguimiento avanzado de envíos para WooCommerce"
 
221
 
222
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
223
  msgid "After Order Details"
224
  msgstr "Después de los detalles del pedido"
225
 
226
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
227
- msgid "API aliases"
228
- msgstr "Alias de API"
229
-
230
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
231
  msgid "API Date Format"
232
  msgstr "Formato de fecha de API"
233
 
234
- #: includes/views/admin_options_shipping_provider.php:67
 
235
  msgid "API Name"
236
  msgstr "Nombre de API"
237
 
238
- #: includes/customizer/class-wc-tracking-info-customizer.php:333
239
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
240
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
241
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
242
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
243
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
244
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
245
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
246
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  msgid "Available variables:"
248
  msgstr "Variables disponibles:"
249
 
250
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
251
  msgid "Before Order Details"
252
  msgstr "Antes de los detalles del pedido"
253
 
254
- #: includes/customizer/class-wc-tracking-info-customizer.php:537
 
 
 
 
255
  msgid "Border color"
256
  msgstr ""
257
  "Color del borde\n"
258
 
259
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
260
  msgid "Border size"
261
  msgstr ""
262
  "Tamaño del borde\n"
263
 
264
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
265
  msgid "Bottom border color"
266
  msgstr ""
267
  "Color del borde inferior\n"
268
 
269
- #: includes/customizer/class-wc-tracking-info-customizer.php:968
 
 
 
 
270
  msgid "Button color"
271
- msgstr "Color del botón"
272
 
273
- #: includes/customizer/class-wc-tracking-info-customizer.php:986
274
  msgid "Button font color"
275
- msgstr "Color de fuente del botón"
276
 
277
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
278
  msgid "Cannot create existing order shipment tracking."
279
  msgstr ""
280
  "No se puede crear el seguimiento de envío de pedidos existente.\n"
281
 
282
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  msgid "Change order status to"
284
  msgstr "Cambiar el estado del pedido a"
285
 
286
- #: includes/class-wc-advanced-shipment-tracking-settings.php:299
287
  msgid "Change status to shipped"
288
  msgstr ""
289
  "Cambiar estado a enviado\n"
290
 
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
292
  msgid "Choose for which Order status to display"
293
- msgstr "Elegir en qué Estados de pedido mostrar"
 
 
 
 
 
 
 
 
294
 
295
- #: includes/views/admin_options_bulk_upload.php:32
296
  msgid "Choose the Shipped Date format"
297
  msgstr "Elija el formato de fecha de envío"
298
 
299
- #: includes/class-wc-advanced-shipment-tracking.php:467
 
 
 
 
 
300
  msgid "Completed"
301
  msgstr "Terminada"
302
 
303
- #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
 
304
  msgid "Content"
305
  msgstr "Contenido"
306
 
307
- #: includes/customizer/class-wc-tracking-info-customizer.php:807
308
  msgid "Content Background color"
309
- msgstr "Color de fondo del contenido"
310
 
311
- #: includes/customizer/class-wc-tracking-info-customizer.php:370
312
- #: includes/customizer/class-wc-tracking-info-customizer.php:825
313
  msgid "Content font color"
314
  msgstr ""
315
  "Color de fuente de contenido\n"
316
 
317
- #: includes/customizer/class-wc-tracking-info-customizer.php:351
318
- #: includes/customizer/class-wc-tracking-info-customizer.php:843
319
  msgid "Content font size"
320
  msgstr ""
321
  "Tamaño de fuente de contenido\n"
322
 
323
- #: includes/customizer/class-wc-tracking-info-customizer.php:885
324
  msgid "Content font weight"
325
  msgstr ""
326
  "Peso de la fuente de contenido\n"
327
 
328
- #: includes/customizer/class-wc-tracking-info-customizer.php:862
329
  msgid "Content line height"
330
  msgstr ""
331
  "Altura de la línea de contenido\n"
332
 
333
- #: includes/views/admin_options_bulk_upload.php:55
334
  msgid "Continue"
335
  msgstr "Seguir"
336
 
337
- #: includes/views/admin_options_shipping_provider.php:72
338
  msgid "Country"
339
  msgstr "País"
340
 
341
- #: includes/class-wc-advanced-shipment-tracking-admin.php:381
342
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
343
- #: includes/views/admin_options_bulk_upload.php:8
 
344
  msgid "CSV Import"
345
  msgstr "Importación CSV"
346
 
347
- #: includes/views/admin_options_shipping_provider.php:65
348
- msgid "Custo
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2020-11-24 10:48+0000\n"
7
+ "Last-Translator: John\n"
8
  "Language-Team: Spanish (Spain)\n"
9
  "Language: es_ES\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.4.4; wp-5.5.3"
16
 
17
+ #: includes/views/admin_options_shipping_provider.php:82
18
+ #: includes/views/admin_options_shipping_provider.php:130
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "documentación"
22
 
23
+ #: includes/views/admin_options_addons.php:132
24
+ #: includes/views/trackship_sidebar.php:14
25
+ msgid "Account Dashboard"
26
+ msgstr "Panel de cuenta"
27
+
28
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1627
29
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1705
30
  msgid "Actions"
31
  msgstr "Comportamiento"
32
 
33
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1628
34
+ msgid "Active"
35
+ msgstr "Activa"
36
 
37
+ #: includes/views/admin_options_shipping_provider.php:22
38
+ msgid "Active Providers"
 
 
39
  msgstr ""
 
 
 
40
 
41
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
42
+ #: includes/views/admin_tracking_page_settings.php:71
43
+ msgid "Add a link to the Shipping provider page"
44
+ msgstr "Agregue un enlace a la página del proveedor de envío"
45
+
46
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1786
48
  msgid "Add Custom Provider"
49
  msgstr "Agregar proveedor personalizado"
50
 
51
+ #: includes/views/admin_options_shipping_provider.php:51
52
+ msgid "Add Custom Shipping Provider"
53
+ msgstr "Añadir proveedor de envío personalizado"
54
+
55
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1531
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  msgid "Add Tracking"
57
  msgstr "Agregar seguimiento"
58
 
59
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
60
  msgid "Add Tracking - order\t"
61
  msgstr "Agregar seguimiento: pedido"
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:924
64
+ msgid "Add Tracking action "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  msgstr ""
 
 
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking.php:328
68
+ msgid "Add Tracking Info"
69
+ msgstr "Agregar información de seguimiento"
 
 
 
 
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
73
+ #: includes/views/admin_options_addons.php:108
74
+ #: includes/views/admin_options_addons.php:114
75
+ msgid "Add-ons"
76
+ msgstr "Complementos"
 
 
 
77
 
78
+ #: includes/customizer/class-wc-tracking-info-customizer.php:273
79
  msgid "Additional text after header"
80
  msgstr "Texto adicional después del encabezado"
81
 
82
+ #: includes/customizer/class-wcast-customizer.php:58
83
+ #: includes/views/admin_status_notifications.php:141
84
+ msgid "Admin Notifications"
85
+ msgstr "Notificaciones de administrador"
86
 
87
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
88
  msgid "After Order Details"
89
  msgstr "Después de los detalles del pedido"
90
 
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:949
 
 
 
 
92
  msgid "API Date Format"
93
  msgstr "Formato de fecha de API"
94
 
95
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1623
96
+ #: includes/views/admin_options_shipping_provider.php:109
97
  msgid "API Name"
98
  msgstr "Nombre de API"
99
 
100
+ #: includes/views/admin_status_notifications.php:230
101
+ msgid "As it Happens"
102
+ msgstr "Como sucede"
103
+
104
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
105
+ msgid ""
106
+ "Automatically set the Order Status to Delivered when the shipment is "
107
+ "delivered "
108
+ msgstr ""
109
+ "Establecer automáticamente el estado del pedido en Entregado cuando se "
110
+ "entrega el envío"
111
+
112
+ #: includes/views/admin_trackship_dashboard.php:33
113
+ msgid "Automation"
114
+ msgstr "Automatización"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
117
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
118
+ #: includes/customizer/class-wcast-customizer.php:172
119
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
120
+ #: includes/views/admin_status_notifications.php:82
121
+ msgid "Available For Pickup"
122
+ msgstr ""
123
+ "Disponible para envíos\n"
124
+
125
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
126
+ msgid "Available For Pickup email"
127
+ msgstr "Disponible para correo electrónico de recogida"
128
+
129
+ #. %s: list of placeholders
130
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
131
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
132
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
133
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
134
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
135
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
136
+ #: includes/customizer/class-wc-email-customizer.php:243
137
+ #: includes/customizer/class-wc-email-customizer.php:266
138
+ #: includes/customizer/class-wc-email-customizer.php:309
139
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
140
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
141
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
142
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
143
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
144
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
145
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
146
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
147
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
148
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
149
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
150
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
151
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
152
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
153
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
154
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
155
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
156
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
157
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
158
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
159
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
160
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
161
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
162
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
163
+ #: includes/emails/class-shipment-delivered-email.php:274
164
+ #: includes/emails/class-shipment-delivered-email.php:283
165
+ #: includes/views/admin_status_notifications.php:212
166
  msgid "Available variables:"
167
  msgstr "Variables disponibles:"
168
 
169
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
170
  msgid "Before Order Details"
171
  msgstr "Antes de los detalles del pedido"
172
 
173
+ #: includes/customizer/class-wc-tracking-info-customizer.php:994
174
+ msgid "Border"
175
+ msgstr "Frontera"
176
+
177
+ #: includes/customizer/class-wc-tracking-info-customizer.php:549
178
  msgid "Border color"
179
  msgstr ""
180
  "Color del borde\n"
181
 
182
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
183
  msgid "Border size"
184
  msgstr ""
185
  "Tamaño del borde\n"
186
 
187
+ #: includes/customizer/class-wc-tracking-info-customizer.php:426
188
  msgid "Bottom border color"
189
  msgstr ""
190
  "Color del borde inferior\n"
191
 
192
+ #: includes/views/admin_options_shipping_provider.php:23
193
+ msgid "Browse Providers"
194
+ msgstr ""
195
+
196
+ #: includes/customizer/class-wc-tracking-info-customizer.php:960
197
  msgid "Button color"
198
+ msgstr ""
199
 
200
+ #: includes/customizer/class-wc-tracking-info-customizer.php:977
201
  msgid "Button font color"
202
+ msgstr ""
203
 
204
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
205
  msgid "Cannot create existing order shipment tracking."
206
  msgstr ""
207
  "No se puede crear el seguimiento de envío de pedidos existente.\n"
208
 
209
+ #: includes/views/admin_status_notifications.php:130
210
+ msgid "Carrier attempted to deliver the package but failed."
211
+ msgstr "El transportista intentó entregar el paquete pero falló."
212
+
213
+ #: includes/views/admin_status_notifications.php:97
214
+ msgid "Carrier is about to deliver the shipment."
215
+ msgstr "El transportista está a punto de entregar el envío."
216
+
217
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
218
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
219
+ msgid "Carrier Unsupported"
220
+ msgstr "Transportista no admitido"
221
+
222
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1567
223
  msgid "Change order status to"
224
  msgstr "Cambiar el estado del pedido a"
225
 
226
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
227
  msgid "Change status to shipped"
228
  msgstr ""
229
  "Cambiar estado a enviado\n"
230
 
231
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:950
232
  msgid "Choose for which Order status to display"
233
+ msgstr ""
234
+
235
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:925
236
+ msgid "Choose for which Order status to display Add Tracking action button"
237
+ msgstr ""
238
+
239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:917
240
+ msgid "Choose on which order emails to include the shipment tracking info"
241
+ msgstr ""
242
 
243
+ #: includes/views/admin_options_bulk_upload.php:34
244
  msgid "Choose the Shipped Date format"
245
  msgstr "Elija el formato de fecha de envío"
246
 
247
+ #: includes/emails/class-shipment-delivered-email.php:298
248
+ msgid "Click Here"
249
+ msgstr ""
250
+ "Haga clic aquí\n"
251
+
252
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
253
  msgid "Completed"
254
  msgstr "Terminada"
255
 
256
+ #: includes/customizer/class-wcast-customizer.php:118
257
+ msgid "Completed order status email"
258
+ msgstr "Correo electrónico de estado de pedido completado"
259
+
260
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:527
261
+ #: includes/views/trackship_sidebar.php:13
262
+ msgid "Connected"
263
+ msgstr ""
264
+ "Conectado\n"
265
+
266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:336
267
  msgid "Content"
268
  msgstr "Contenido"
269
 
270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
271
  msgid "Content Background color"
272
+ msgstr ""
273
 
274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:391
275
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
276
  msgid "Content font color"
277
  msgstr ""
278
  "Color de fuente de contenido\n"
279
 
280
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
281
+ #: includes/customizer/class-wc-tracking-info-customizer.php:881
282
  msgid "Content font size"
283
  msgstr ""
284
  "Tamaño de fuente de contenido\n"
285
 
286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:921
287
  msgid "Content font weight"
288
  msgstr ""
289
  "Peso de la fuente de contenido\n"
290
 
291
+ #: includes/customizer/class-wc-tracking-info-customizer.php:899
292
  msgid "Content line height"
293
  msgstr ""
294
  "Altura de la línea de contenido\n"
295
 
296
+ #: includes/views/admin_options_bulk_upload.php:57
297
  msgid "Continue"
298
  msgstr "Seguir"
299
 
300
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1624
301
  msgid "Country"
302
  msgstr "País"
303
 
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
305
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
306
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
307
+ #: includes/views/admin_options_bulk_upload.php:11
308
  msgid "CSV Import"
309
  msgstr "Importación CSV"
310