Advanced Shipment Tracking for WooCommerce - Version 3.1.5

Version Description

Download this release

Release Info

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

Code changes from version 3.3 to 3.1.5

Files changed (129) 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 +1565 -885
  124. lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
  125. lang/woo-advanced-shipment-tracking-da_DK.po +1581 -908
  126. lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
  127. lang/woo-advanced-shipment-tracking-de_DE.po +1629 -921
  128. lang/woo-advanced-shipment-tracking-el.mo +0 -0
  129. lang/woo-advanced-shipment-tracking-el.po +1497 -852
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,947 +12,1594 @@ 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 "
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
- "клиентите (в панела за поръчки) и в пълния имейл на поръчката на 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."
 
 
 
541
  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."
549
  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."
606
  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,244 +1608,277 @@ 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"
1124
  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 "
1148
- "reassign these orders to a different status"
1149
  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 "
1173
  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-11 09:36+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
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
19
+ msgid ""
20
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
21
+ "for WooCommerce!"
22
+ msgstr ""
23
 
24
+ #: woocommerce-advanced-shipment-tracking.php:487
25
+ #, php-format
26
+ msgid ""
27
+ "We detected %s orders that use the Delivered order status, You can reassign "
28
+ "these orders to a different status"
29
+ msgstr ""
30
+ "Открихме% s поръчки, които използват състоянието на доставена поръчка. "
31
+ "Можете да преназначите тези поръчки на различен статус"
32
 
33
+ #: woocommerce-advanced-shipment-tracking.php:499
34
+ #, php-format
35
+ msgid ""
36
+ "We detected %s orders that use the Partially Shipped order status, You can "
37
+ "reassign these orders to a different status"
38
+ msgstr ""
39
+ "Открихме% s поръчки, които използват състоянието на частично изпратена "
40
+ "поръчка. Можете да преназначите тези поръчки на различен статус"
41
 
42
+ #: woocommerce-advanced-shipment-tracking.php:511
43
+ #, php-format
44
  msgid ""
45
+ "We detected %s orders that use the Updated Tracking order status, You can "
46
+ "reassign these orders to a different status"
47
  msgstr ""
48
+ "Открихме% s поръчки, които използват статуса на актуализирано проследяване "
49
+ "на поръчката. Можете да преназначите тези поръчки на различен статус"
 
50
 
51
+ #: includes/class-wc-advanced-shipment-tracking-front.php:313
52
+ #, php-format
53
+ msgid "Shipment : %s (out of %s)"
54
+ msgstr ""
55
 
56
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
57
+ #: includes/views/front/preview_tracking_page.php:25
58
+ msgid "Shipment"
 
 
 
59
  msgstr ""
 
 
 
 
60
 
61
+ #: includes/class-wc-advanced-shipment-tracking-front.php:344
62
+ #, php-format
63
+ msgid "Shipment - %s (out of %s)"
64
+ msgstr ""
65
+ "Пратка -% s (от% s)\n"
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking-front.php:368
68
+ msgid "Tracking details not found in TrackShip"
69
+ msgstr "Детайли за проследяване не са открити в TrackShip"
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking.php:141
72
+ #: includes/class-wc-advanced-shipment-tracking.php:223
73
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
74
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
75
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
76
+ msgid "Shipment Tracking"
77
+ msgstr "Проследяване на пратките"
78
+
79
+ #: includes/class-wc-advanced-shipment-tracking.php:246
80
+ #: includes/class-wc-advanced-shipment-tracking.php:419
81
+ msgid "Track Shipment"
82
+ msgstr "Проследяване на пратката"
83
+
84
+ #. 1: shipping date
85
+ #: includes/class-wc-advanced-shipment-tracking.php:256
86
+ #, php-format
87
+ msgid "Shipped on %s"
88
+ msgstr "Изпратено на% s"
89
 
90
+ #: includes/class-wc-advanced-shipment-tracking.php:313
91
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
92
+ msgid "Mark as Shipped?"
93
+ msgstr "Да се ​​маркира като изпратен?"
94
+
95
+ #: includes/class-wc-advanced-shipment-tracking.php:316
96
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
97
+ msgid "Mark as Completed?"
98
+ msgstr "Да се ​​маркира като завършен?"
99
+
100
+ #: includes/class-wc-advanced-shipment-tracking.php:328
101
  msgid "Add Tracking Info"
102
  msgstr "Добавяне на информация за проследяване"
103
 
104
+ #: includes/class-wc-advanced-shipment-tracking.php:332
105
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
106
+ msgid "Tracking number:"
107
+ msgstr "Номер за проследяване:"
108
+
109
+ #: includes/class-wc-advanced-shipment-tracking.php:337
110
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
111
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
112
+ msgid "Shipping Provider:"
113
+ msgstr "Доставчик:"
114
+
115
+ #: includes/class-wc-advanced-shipment-tracking.php:338
116
+ msgid "Select Provider"
117
+ msgstr "Изберете Доставчик"
118
+
119
+ #: includes/class-wc-advanced-shipment-tracking.php:375
120
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
121
+ msgid "Product Code:"
122
+ msgstr "Код на продукта:"
123
+
124
+ #: includes/class-wc-advanced-shipment-tracking.php:383
125
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
126
+ msgid "Date shipped:"
127
+ msgstr "Дата на изпращане:"
128
+
129
+ #: includes/class-wc-advanced-shipment-tracking.php:397
130
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
131
+ msgid "Mark order as:"
132
+ msgstr "Маркиране на поръчката като:"
133
+
134
+ #: includes/class-wc-advanced-shipment-tracking.php:400
135
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
136
+ msgid "Partial Shipped"
137
+ msgstr "Частично изпратено"
138
+
139
+ #: includes/class-wc-advanced-shipment-tracking.php:416
140
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
141
+ msgid "Save Tracking"
142
+ msgstr "Запазване на проследяването"
143
+
144
+ #: includes/class-wc-advanced-shipment-tracking.php:419
145
+ msgid "Preview:"
146
+ msgstr "Преглед:"
147
+
148
+ #: includes/class-wc-advanced-shipment-tracking.php:721
149
+ #, php-format
150
  msgid ""
151
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
152
  msgstr ""
153
+ "Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
154
+ "проследяващ номер% s"
155
+
156
+ #: includes/class-wc-advanced-shipment-tracking.php:752
157
+ #: includes/class-wc-advanced-shipment-tracking.php:773
158
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
159
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
160
+ #: templates/emails/tracking-info.php:311
161
+ #: templates/myaccount/tracking-info.php:232
162
+ #: includes/views/front/track_order_form.php:8
163
+ msgid "Track"
164
+ msgstr "път"
165
+
166
+ #: includes/class-wc-advanced-shipment-tracking.php:1127
167
+ #: includes/class-wc-advanced-shipment-tracking.php:1218
168
+ #, php-format
169
+ msgid "Order was shipped with %s and tracking number is: %s"
170
+ msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
171
+
172
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
173
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
174
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
175
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
176
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
177
+ #: includes/customizer/class-wcast-customizer.php:187
178
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
179
+ #: includes/views/admin_status_notifications.php:112
180
+ #: includes/views/admin_options_osm.php:17
181
+ msgid "Delivered"
182
+ msgstr "Доставени"
183
 
184
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
185
+ #, php-format
186
+ msgid "Delivered <span class=\"count\">(%s)</span>"
187
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
188
+ msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
189
+ msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
190
+
191
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
192
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
193
+ #: includes/views/admin_options_osm.php:101
194
+ msgid "Updated Tracking"
195
+ msgstr "Актуализирано проследяване"
196
+
197
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
198
+ #, php-format
199
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
200
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
201
+ msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
202
+ msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
203
+
204
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
205
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
206
+ #: includes/views/admin_options_osm.php:59
207
+ msgid "Partially Shipped"
208
+ msgstr "Частично изпратени"
209
+
210
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
211
+ #, php-format
212
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
213
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
214
+ msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
215
+ msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
216
+
217
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
218
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
219
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
220
+ msgid "Shipped"
221
+ msgstr "Доставят"
222
+
223
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
224
+ #, php-format
225
+ msgid "Shipped <span class=\"count\">(%s)</span>"
226
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
227
+ msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
228
+ msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
229
+
230
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
231
+ msgid "Change status to shipped"
232
+ msgstr "Промяна на състоянието на изпратено"
233
+
234
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
235
+ msgid "Completed"
236
+ msgstr "завършен"
237
+
238
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
239
+ msgid "Add Tracking - order\t"
240
+ msgstr "Добавяне на проследяване - поръчка"
241
+
242
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
243
+ msgid "Resend delivered order notification"
244
+ msgstr "Повторно изпратено известие за поръчка"
245
+
246
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
247
+ msgid "There are some issue with sync, Please Retry."
248
+ msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
249
+
250
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
251
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
252
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
253
+ #: includes/views/admin_options_bulk_upload.php:87
254
+ msgid "view details"
255
+ msgstr "Разгледайте детайлите"
256
+
257
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
258
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
259
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
260
+ msgid "hide details"
261
+ msgstr "скрий подробности"
262
+
263
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
264
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
265
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
266
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
267
+ msgid "Data saved successfully."
268
+ msgstr "Данните са запазени успешно."
269
+
270
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
271
+ #: includes/views/admin_tracking_page_settings.php:9
272
+ #: includes/views/trackship_settings.php:9
273
+ #: includes/views/trackship_settings.php:10
274
+ msgid "Tracking Page"
275
+ msgstr "Страница за проследяване"
276
+
277
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
278
+ #: includes/views/trackship_settings.php:12
279
+ #: includes/views/trackship_settings.php:13
280
+ msgid "Notifications"
281
+ msgstr "Известия"
282
+
283
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
284
+ #: includes/views/admin_options_tools.php:13
285
+ #: includes/views/trackship_settings.php:15
286
+ #: includes/views/trackship_settings.php:16
287
+ msgid "Tools"
288
+ msgstr "Инструменти"
289
+
290
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
291
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
292
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
293
+ msgid "Documentation"
294
+ msgstr "документация"
295
+
296
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
297
  msgid ""
298
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
299
+ "for the tracking page to work."
300
  msgstr ""
301
+ "Трябва да добавите шорткода [wcast-track-order] към избраната страница, за "
302
+ "да работи страницата за проследяване."
303
 
304
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
305
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
306
+ #: includes/views/admin_tracking_page_settings.php:27
307
+ msgid "Select Tracking Page"
308
+ msgstr "Изберете страница за проследяване"
309
+
310
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
311
+ msgid "Use the tracking page in the customer email/my account tracking link"
312
  msgstr ""
313
+ "Използвайте страницата за проследяване в имейла на клиента / връзката за "
314
+ "проследяване на моя акаунт"
315
 
316
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
317
+ msgid "Tracking Page Layout"
318
+ msgstr ""
319
+ "Оформление на проследяващата страница\n"
320
 
321
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
322
+ msgid "Select content border color for tracking page"
323
+ msgstr "Изберете цвят на контура на съдържанието за страница за проследяване"
324
 
325
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
326
+ #: includes/views/admin_tracking_page_settings.php:71
327
+ msgid "Add a link to the Shipping provider page"
328
+ msgstr "Добавете връзка към страницата на доставчика на доставка"
329
+
330
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
331
+ #: includes/views/admin_tracking_page_settings.php:76
332
+ msgid "Hide Shipping Provider Image"
333
  msgstr ""
334
+ "Скриване на изображението на доставчика на доставка\n"
 
335
 
336
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
337
+ msgid "Hide tracking events details"
338
+ msgstr "Скриване на подробности за проследяване на събития"
339
+
340
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
341
+ #: includes/views/admin_tracking_page_settings.php:86
342
+ msgid "Remove TrackShip branding"
343
+ msgstr "Премахване на марката TrackShip"
344
+
345
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
346
+ msgid "Enable TrackShip"
347
+ msgstr "Активирайте TrackShip"
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
350
+ msgid "Display Shipment Status Filter on Orders admin"
351
  msgstr ""
352
+ "Показване на филтъра за състоянието на доставката на администратор на поръчки"
 
353
 
354
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
355
  msgid ""
356
+ "Automatically set the Order Status to Delivered when the shipment is "
357
+ "delivered "
358
  msgstr ""
359
+ "Автоматично задайте Статуса на поръчката на Доставено, когато пратката е "
360
+ "доставена"
361
 
362
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
363
  msgid ""
364
+ "To enable this option, the 'Delivered' order status should be enabled in the "
365
+ "AST settings."
366
  msgstr ""
367
+ "За да активирате тази опция, състоянието на поръчката „Доставено“ трябва да "
368
+ "бъде активирано в настройките на AST."
369
+
370
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
371
+ msgid "Shipment status"
372
+ msgstr "Състояние на пратката"
373
+
374
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
375
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1001
376
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1010
377
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1019
378
+ msgid "Get Shipment Status"
379
+ msgstr "Получете състояние на пратката"
380
+
381
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
382
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
383
+ msgid "Pending TrackShip"
384
+ msgstr "Изчаква TrackShip"
385
+
386
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
387
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
388
+ msgid "Unknown"
389
+ msgstr "Неизвестно"
390
+
391
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
392
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
393
+ #: includes/customizer/class-wcast-customizer.php:141
394
+ msgid "Pre Transit"
395
+ msgstr "Предварително преминаване"
396
+
397
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
398
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
399
+ #: includes/customizer/class-wcast-customizer.php:149
400
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
401
+ #: includes/views/admin_status_notifications.php:37
402
+ msgid "In Transit"
403
+ msgstr "Транзитно"
404
+
405
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
406
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
407
+ #: includes/customizer/class-wcast-customizer.php:172
408
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
409
+ #: includes/views/admin_status_notifications.php:82
410
+ msgid "Available For Pickup"
411
+ msgstr "Предлага се за пикап"
412
+
413
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
414
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
415
+ #: includes/customizer/class-wcast-customizer.php:179
416
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
417
+ msgid "Out For Delivery"
418
+ msgstr ""
419
+ "За доставка\n"
420
+
421
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
422
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
423
+ #: includes/customizer/class-wcast-customizer.php:195
424
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
425
+ #: includes/views/admin_status_notifications.php:127
426
+ msgid "Failed Attempt"
427
+ msgstr "Неуспешен опит"
428
+
429
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
430
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
431
+ msgid "Carrier Unsupported"
432
+ msgstr "Превозвачът не се поддържа"
433
+
434
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
435
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
436
+ #: includes/customizer/class-wcast-customizer.php:165
437
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
438
+ #: includes/views/admin_status_notifications.php:67
439
+ msgid "Return To Sender"
440
+ msgstr "Върнете се към подателя"
441
+
442
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
443
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
444
+ msgid "Invalid Tracking Number"
445
+ msgstr "Невалиден номер за проследяване"
446
+
447
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
448
+ msgid "Filter by shipment status"
449
+ msgstr "Филтрирайте по статус на пратката"
450
+
451
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
452
+ #: includes/customizer/class-wcast-customizer.php:157
453
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
454
+ #: includes/views/admin_status_notifications.php:52
455
+ msgid "On Hold"
456
+ msgstr "На изчакване"
457
+
458
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
459
+ msgid "Invalid User Key"
460
+ msgstr "Невалиден потребителски ключ"
461
+
462
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
463
+ msgid "Wrong Shipping Provider"
464
+ msgstr "Wrong Shipping Provider"
465
+
466
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1000
467
+ #, php-format
468
  msgid ""
469
+ "You got %s %s orders with tracking info that were not sent to track on "
470
+ "TrackShip"
471
  msgstr ""
472
+ "Получихте% s% s поръчки с информация за проследяване, които не бяха "
473
+ "изпратени за проследяване на TrackShip"
474
 
475
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1009
476
+ #, php-format
477
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
 
478
  msgstr ""
479
+ "Получихте% s% s поръчки със статус на пратка „Салдото на TrackShip е 0“"
 
480
 
481
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1018
482
+ #, php-format
483
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
 
484
  msgstr ""
485
+ "Получихте% s% s поръчки със статус на пратка „Проблем с връзката TrackShip“"
 
486
 
487
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1477
488
+ msgid "Shipment Providers"
489
+ msgstr "Доставчици на пратки"
490
+
491
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1480
492
+ #: templates/emails/tracking-info.php:221
493
+ #: templates/emails/tracking-info.php:251
494
+ msgid "Shipment Status"
495
+ msgstr "Състояние на пратката"
496
+
497
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
498
+ msgid "Tracking issues"
499
+ msgstr "Проследяване на проблеми"
500
+
501
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
502
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1497
503
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1514
504
+ msgid "data not available."
505
+ msgstr "данни не са налични."
506
+
507
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
508
+ msgid "View more on TrackShip"
509
+ msgstr "Вижте повече на TrackShip"
510
+
511
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
512
+ msgid "Really delete this entry? This will not be undo."
513
+ msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
514
+
515
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
516
+ msgid "You can upload only csv file."
517
+ msgstr "Можете да качите само csv файл."
518
+
519
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
520
+ msgid "This browser does not support HTML5."
521
+ msgstr "Този браузър не поддържа HTML5."
522
+
523
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
524
+ msgid "Please upload a valid CSV file."
525
+ msgstr "Моля, качете валиден CSV файл."
526
+
527
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
528
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
529
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1579
530
+ msgid "Shipping Providers"
531
+ msgstr "Доставчици на доставка"
532
+
533
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
534
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
535
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
536
+ #: includes/views/admin_options_bulk_upload.php:11
537
+ msgid "CSV Import"
538
+ msgstr "CSV импортиране"
539
+
540
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
541
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
542
+ #: includes/views/admin_options_addons.php:108
543
+ #: includes/views/admin_options_addons.php:114
544
+ msgid "Add-ons"
545
+ msgstr "Добавки"
546
+
547
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
548
+ msgid "How to Video"
549
+ msgstr "How to Video"
550
+
551
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:524
552
+ #: includes/views/trackship_sidebar.php:13
553
+ msgid "Connected"
554
  msgstr ""
555
+ "свързан\n"
 
556
 
557
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
558
+ #: includes/views/admin_options_settings.php:52
559
+ msgid "Custom Order Statuses"
560
+ msgstr "Статуси по поръчка"
561
+
562
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
563
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
564
  msgstr ""
565
+ "По подразбиране \"маркиране като <span class =\" shipped_label \"> изпратено "
566
+ "</span>\""
567
 
568
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
569
  msgid ""
570
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
571
+ "will be selected by default when adding tracking info to orders."
572
  msgstr ""
573
+ "Това означава, че „маркирането като <span class = 'shipped_label'> изпратено "
574
+ "</span> 'ще бъде избрано по подразбиране при добавяне на информация за "
575
+ "проследяване към поръчките."
576
 
577
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
578
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
579
  msgstr ""
580
+ "По подразбиране „маркиране като <span class =\" shipped_label \"> завършено "
581
+ "</span>\""
 
582
 
583
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
584
  msgid ""
585
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
586
+ "will be selected by default when adding tracking info to orders."
587
  msgstr ""
588
+ "Това означава, че „маркирането като <span class = 'shipped_label'> завършено "
589
+ "</span> 'ще бъде избрано по подразбиране при добавяне на информация за "
590
+ "проследяване към поръчките."
591
 
592
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:900
593
  msgid ""
594
+ "Set the \"mark as shipped\" option checked when adding tracking info to "
595
+ "orders"
 
596
  msgstr ""
 
 
 
597
 
598
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
599
+ msgid "Completed Order Status"
600
+ msgstr ""
601
 
602
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
603
+ msgid "Rename the “Completed” Order status label to “Shipped”"
604
+ msgstr ""
605
 
606
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:915
607
+ msgid "On which order emails to include the shipment tracking info?"
608
+ msgstr ""
609
+
610
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:922
611
+ msgid "For which Order status to display Add Tracking action button?"
612
+ msgstr ""
613
 
614
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:929
615
+ msgid "Add Tracking Options"
616
+ msgstr ""
617
 
618
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
619
  msgid "API Date Format"
620
  msgstr "API формат на датата"
621
 
622
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1447
623
+ msgid "Shipped Order"
624
+ msgstr "Изпратена поръчка"
625
 
626
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1471
627
+ msgid "Mark order as delivered"
628
+ msgstr "Маркирайте поръчката като доставена"
 
 
 
 
 
 
 
 
629
 
630
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
631
+ msgid "Add Tracking"
632
+ msgstr "Добавете проследяване"
633
 
634
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1498
635
+ msgid "Mark as Shipped"
636
+ msgstr "Маркирайте като изпратено"
637
 
638
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1525
639
+ msgid "Change order status to"
640
+ msgstr "Променете състоянието на поръчката на"
641
 
642
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1570
643
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1744
644
+ msgid "Add Custom Provider"
645
+ msgstr "Добавете персонализиран доставчик"
646
 
647
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
648
+ msgid "Display Name"
649
+ msgstr "Показвано име"
650
 
651
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
652
+ #: includes/views/admin_options_shipping_provider.php:100
653
+ msgid ""
654
+ "The custom name will display in the tracking info section on the customer "
655
+ "order emails, my-account, shipment tracking page and shipment status emails."
656
+ msgstr ""
657
+ "Персонализираното име ще се покаже в раздела за информация за проследяване "
658
+ "на имейли за поръчки на клиенти, моя акаунт, страница за проследяване на "
659
+ "пратки и имейли за състоянието на пратката."
660
 
661
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1581
662
+ #: includes/views/admin_options_shipping_provider.php:109
663
+ msgid "API Name"
664
+ msgstr "Име на API"
665
 
666
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1582
667
+ msgid "Country"
668
+ msgstr "Страна"
669
 
670
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1583
671
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1662
672
+ msgid "Default"
673
+ msgstr "По подразбиране"
674
 
675
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1584
676
+ msgid "TrackShip"
677
+ msgstr "TrackShip"
678
 
679
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1585
680
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1663
681
+ msgid "Actions"
682
+ msgstr "Действия"
683
 
684
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1586
685
+ msgid "Active"
686
+ msgstr "Активен"
687
 
688
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
689
+ msgid "TrackShip supported"
690
+ msgstr "TrackShip supported"
691
 
692
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
693
+ msgid "TrackShip not supported"
694
+ msgstr "TrackShip не се поддържа"
695
 
696
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1661
697
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
698
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
699
+ #: templates/emails/tracking-info.php:276
700
+ #: templates/myaccount/tracking-info.php:202
701
+ msgid "Provider"
702
+ msgstr "доставчик"
703
 
704
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1743
705
+ #, php-format
706
+ msgid "You did not create any %s shipping providers yet."
707
+ msgstr "Все още не сте създали доставчици на% s доставка."
 
708
 
709
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1746
710
+ #: includes/views/admin_options_shipping_provider.php:45
711
+ #, php-format
712
+ msgid "You don't have any %s shipping providers."
713
+ msgstr "Нямате доставчици за доставки на% s."
714
 
715
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1985
716
+ msgid "Filter by shipping provider"
717
+ msgstr "Филтрирайте по доставчик"
 
718
 
719
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
720
+ msgid "Cannot create existing order shipment tracking."
721
+ msgstr "Cannot create existing order shipment tracking."
722
 
723
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
724
+ msgid "Invalid order ID."
725
+ msgstr "Невалиден идентификационен номер на поръчката."
726
 
727
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
728
+ msgid "Special character not allowd in tracking number"
729
+ msgstr "Специален знак не е разрешен в проследяващия номер"
 
 
730
 
731
+ #: includes/customizer/class-wcast-customizer.php:32
732
+ #: includes/customizer/class-wcast-customizer.php:103
733
+ msgid "Tracking info display"
734
+ msgstr ""
735
+ "Показване на информация за проследяване\n"
736
 
737
+ #: includes/customizer/class-wcast-customizer.php:42
738
+ msgid "Order Status Emails"
739
+ msgstr "Имейли със статут на поръчка"
740
 
741
+ #: includes/customizer/class-wcast-customizer.php:51
742
+ msgid "Shipment Status Emails"
743
+ msgstr "Имейли за състоянието на пратката"
744
 
745
+ #: includes/customizer/class-wcast-customizer.php:58
746
+ #: includes/views/admin_status_notifications.php:138
747
+ msgid "Admin Notifications"
748
+ msgstr "Известия за администратори"
749
 
750
+ #: includes/customizer/class-wcast-customizer.php:71
751
+ #: includes/views/admin_options_settings.php:15
752
+ msgid "General Settings"
753
+ msgstr "Основни настройки"
754
 
755
+ #: includes/customizer/class-wcast-customizer.php:79
756
+ msgid "Table layout design"
757
+ msgstr "Дизайн на таблицата на оформлението"
 
758
 
759
+ #: includes/customizer/class-wcast-customizer.php:87
760
+ msgid "Simple layout design"
761
+ msgstr "Прост дизайн на оформлението"
 
762
 
763
+ #: includes/customizer/class-wcast-customizer.php:111
764
+ #: includes/customizer/class-wc-email-customizer.php:163
765
+ msgid "Delivered order status email"
766
+ msgstr "Предоставен е имейл за състоянието на поръчката"
767
 
768
+ #: includes/customizer/class-wcast-customizer.php:118
769
+ msgid "Completed order status email"
770
+ msgstr "Изпълнен имейл за състоянието на поръчката"
 
771
 
772
+ #: includes/customizer/class-wcast-customizer.php:125
773
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
774
+ msgid "Partially Shipped status email"
775
+ msgstr "Частично изпратен имейл за състояние"
776
 
777
+ #: includes/customizer/class-wcast-customizer.php:133
778
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
779
+ msgid "Updated Tracking status email"
780
+ msgstr ""
781
+ "Актуализиран имейл за състоянието на проследяването\n"
782
 
783
+ #: includes/customizer/class-wcast-customizer.php:203
784
+ #: includes/views/admin_status_notifications.php:152
785
+ msgid "Late Shipments"
786
+ msgstr "Късни пратки"
787
 
788
+ #: includes/customizer/class-wcast-customizer.php:516
789
+ msgid "Select order to preview"
790
  msgstr ""
791
+ "Изберете поръчка за визуализация\n"
792
 
793
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
794
+ msgid "Your order #{order_number} is available for pickup"
795
  msgstr ""
796
+ "Вашата поръчка # {order_number} е достъпна за приемане\n"
 
 
 
 
 
 
 
 
797
 
798
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
799
+ msgid ""
800
+ "Hi there. we thought you'd like to know that your recent order from "
801
+ "{site_title} is available for pickup."
802
+ msgstr ""
803
+ "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
804
+ "{site_title} е достъпна за приемане."
805
+
806
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
807
+ msgid "Available For Pickup email"
808
+ msgstr "Налично за имейл за вземане"
809
+
810
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
811
+ msgid "Enable Available For Pickup email"
812
+ msgstr "Активиране на имейл за пикап"
813
+
814
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
815
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
816
+ #: includes/customizer/class-wc-email-customizer.php:197
817
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
818
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
819
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
820
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
821
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
822
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
823
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
824
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
825
+ msgid "Preview order"
826
+ msgstr ""
827
+ "Преглед на поръчката\n"
828
+
829
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
830
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
831
+ #: includes/customizer/class-wc-email-customizer.php:226
832
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
833
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
834
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
835
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
836
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
837
+ msgid "E.g. {customer.email}, admin@example.org"
838
+ msgstr "E.g. {customer.email}, admin@example.org"
839
+
840
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
841
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
842
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
843
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
844
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
845
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
846
+ msgid "Email Subject"
847
+ msgstr "Тема на имейл"
848
+
849
+ #. %s: list of placeholders
850
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
851
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
852
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
853
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
854
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
855
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
856
+ #: includes/customizer/class-wc-email-customizer.php:243
857
+ #: includes/customizer/class-wc-email-customizer.php:266
858
+ #: includes/customizer/class-wc-email-customizer.php:309
859
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
860
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
861
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
862
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
863
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
864
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
865
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
866
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
867
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
868
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
869
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
870
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
871
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
872
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
873
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
874
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
875
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
876
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
877
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
878
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
879
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
880
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
881
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
882
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
883
+ #: includes/emails/class-shipment-delivered-email.php:274
884
+ #: includes/emails/class-shipment-delivered-email.php:283
885
+ #: includes/views/admin_status_notifications.php:209
886
+ msgid "Available variables:"
887
+ msgstr "Налични променливи:"
888
 
889
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
890
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
891
+ #: includes/customizer/class-wc-email-customizer.php:289
892
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
893
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
894
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
895
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
896
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
897
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
898
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
899
+ #: includes/views/admin_status_notifications.php:203
900
  msgid "Email content"
901
  msgstr "Съдържание на имейла"
902
 
903
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
904
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
905
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
906
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
907
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
908
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
909
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
910
+ msgid "Show tracking details"
911
+ msgstr ""
912
+ "Показване на подробности за проследяването\n"
913
+
914
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
915
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
916
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
917
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
918
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
919
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
920
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
921
+ msgid "Show order details"
922
+ msgstr ""
923
+ "Показване на подробности за поръчката\n"
924
+
925
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
926
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
927
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
928
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
929
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
930
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
931
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
932
+ msgid "Show billing address"
933
+ msgstr ""
934
+ "Показване на адрес за фактуриране\n"
935
+
936
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
937
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
938
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
939
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
940
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
941
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
942
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
943
+ msgid "Show shipping address"
944
+ msgstr ""
945
+ "Показване на адреса за доставка\n"
946
+
947
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
948
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
949
+ #: includes/customizer/class-wc-email-customizer.php:415
950
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
951
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
952
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
953
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
954
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
955
+ msgid "Google Analytics link tracking"
956
+ msgstr "Проследяване на връзки в Google Analytics"
957
+
958
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
959
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
960
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
961
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
962
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
963
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
964
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
965
+ msgid "This will be appended to URL in the email content"
966
+ msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
967
+
968
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
969
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
970
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
971
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
972
+ #: includes/customizer/class-wc-email-customizer.php:454
973
+ #: includes/customizer/class-wc-email-customizer.php:462
974
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
975
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
976
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
977
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
978
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
979
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
980
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
981
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
982
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
983
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
984
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
985
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
986
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
987
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
988
+ msgid "Please select order to preview."
989
+ msgstr "Моля, изберете поръчка за преглед."
990
 
991
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
992
+ msgid "Your order #{order_number} has been delivered"
993
+ msgstr "Вашата поръчка {order_number} е доставена"
994
 
995
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
996
+ #: includes/customizer/class-wc-email-customizer.php:132
997
+ msgid ""
998
+ "Hi there. we thought you'd like to know that your recent order from "
999
+ "{site_title} has been Delivered."
1000
+ msgstr ""
1001
+ "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
1002
+ "{site_title} е била Доставена."
1003
+
1004
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
1005
+ msgid "Delivered email"
1006
+ msgstr "Доставен имейл"
1007
+
1008
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1009
+ msgid "Enable Delivered email"
1010
+ msgstr "Активиране на доставения имейл"
1011
+
1012
+ #: includes/customizer/class-wc-email-customizer.php:130
1013
+ #: includes/emails/class-shipment-delivered-email.php:94
1014
+ msgid "Your {site_title} order is now delivered"
1015
+ msgstr "Поръчката ви {site_title} вече е доставена"
1016
+
1017
+ #: includes/customizer/class-wc-email-customizer.php:179
1018
+ msgid "Enable Delivered order status email"
1019
+ msgstr "Активиране на имейл съобщението за състоянието на поръчката"
1020
+
1021
+ #: includes/customizer/class-wc-email-customizer.php:201
1022
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1023
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1024
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1025
+ msgid "Please select a order..."
1026
+ msgstr ""
1027
+ "Моля, изберете поръчка ...\n"
1028
 
1029
+ #: includes/customizer/class-wc-email-customizer.php:326
1030
+ msgid "Display tracking details"
1031
+ msgstr "Показване на подробности за проследяване"
1032
 
1033
+ #: includes/customizer/class-wc-email-customizer.php:343
1034
+ msgid "Display order details"
1035
+ msgstr "Показване на подробности за поръчката"
1036
 
1037
+ #: includes/customizer/class-wc-email-customizer.php:361
1038
+ msgid "Display Shipping Address"
1039
+ msgstr "Показване на адрес за доставка"
1040
 
1041
+ #: includes/customizer/class-wc-email-customizer.php:379
1042
+ msgid "Display Billing Address"
1043
+ msgstr "Показване на адрес за фактуриране"
1044
 
1045
+ #: includes/customizer/class-wc-email-customizer.php:397
1046
+ msgid "Enable Google Analytics tracking"
1047
+ msgstr "Активиране на проследяването на Google Analytics"
1048
 
1049
+ #: includes/customizer/class-wc-email-customizer.php:416
1050
+ msgid ""
1051
+ "This will be appended to URL in the email content – e.g. "
1052
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1053
+ msgstr ""
1054
+ "Това ще бъде добавено към URL адреса в съдържанието на имейла - напр. "
1055
+ "utm_source = AST & utm_medium = имейл & utm_campaign = доставени"
1056
 
1057
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1058
+ msgid "Your order #{order_number} is Failed Attempt"
1059
+ msgstr "Вашата поръчка {order_number} е неуспешен опит"
1060
 
1061
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1062
+ msgid ""
1063
+ "Hi there. we thought you'd like to know that your recent order from "
1064
+ "{site_title} is Failed Attempt"
1065
+ msgstr ""
1066
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1067
+ "{site_title} е неуспешен опит"
1068
 
1069
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1070
+ msgid "Failed Attempt email"
1071
+ msgstr "Имейл при неуспешен опит"
1072
 
1073
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1074
+ msgid "Enable Failed Attempt email"
1075
+ msgstr "Активиране на имейл с неуспешен опит"
1076
 
1077
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1078
+ msgid "Your order #{order_number} is in transit"
1079
+ msgstr ""
1080
+ "Вашата поръчка # {order_number} е в транзит\n"
1081
 
1082
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1083
  msgid ""
1084
+ "Hi there. we thought you'd like to know that your recent order from "
1085
+ "{site_title} is in transit"
1086
  msgstr ""
1087
+ "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1088
+ "{site_title} е в транзит"
1089
+
1090
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1091
+ msgid "In Transit email"
1092
+ msgstr "In Transit email"
1093
 
1094
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1095
+ msgid "Enable In Transit email"
1096
+ msgstr "Активиране на имейл в Transit"
1097
+
1098
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1099
+ msgid "Your order #{order_number} is out for delivery"
1100
  msgstr ""
1101
+ "Вашата поръчка # {order_number} е за доставка\n"
1102
 
1103
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1104
+ msgid ""
1105
+ "Hi there. we thought you'd like to know that your recent order from "
1106
+ "{site_title} is out for delivery."
1107
  msgstr ""
1108
+ "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1109
+ "{site_title} е за доставка.\n"
1110
 
1111
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1112
+ msgid "Out For Delivery email"
1113
+ msgstr "Изпратете имейл за доставка"
1114
 
1115
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1116
+ msgid "Enable Out For Delivery email"
1117
+ msgstr "Enable Out For Delivery email"
1118
 
1119
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1120
+ msgid "Your order #{order_number} has returned to sender"
1121
+ msgstr ""
1122
+ "Вашата поръчка # {order_number} се върна на подателя\n"
1123
 
1124
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1125
+ msgid ""
1126
+ "Hi there. we thought you'd like to know that your recent order from "
1127
+ "{site_title} has been returned to sender."
1128
+ msgstr ""
1129
+ "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
1130
+ "{site_title} е върната на подателя.\n"
1131
 
1132
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1133
+ msgid "Return To Sender email"
1134
+ msgstr "Връщане към имейл на подателя"
1135
 
1136
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1137
+ msgid "Enable Return To Sender email"
1138
+ msgstr "Активирайте имейл на Return To Sender"
1139
 
1140
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1141
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1142
+ #: templates/emails/tracking-info.php:288
1143
+ #: templates/myaccount/tracking-info.php:212
1144
+ msgid "Tracking Number"
1145
+ msgstr "Номер за проследяване"
1146
+
1147
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1148
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1149
+ msgid "Shipped Date"
1150
  msgstr ""
1151
+ "Дата на изпращане\n"
1152
 
1153
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
1154
+ msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1155
  msgstr ""
1156
+ "Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
1157
 
1158
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1159
+ msgid "Select an order to preview and design the tracking info display."
1160
+ msgstr ""
1161
+ "Изберете поръчка за визуализация и дизайн на дисплея с информация за "
1162
+ "проследяване.\n"
1163
 
1164
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1165
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1166
+ msgid "Tracking display layout"
1167
+ msgstr "Проследяване на оформлението на дисплея"
1168
+
1169
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1170
+ msgid "Select Template"
1171
  msgstr ""
1172
+ "Изберете шаблон\n"
 
1173
 
1174
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1175
+ msgid "Table Layout"
 
 
1176
  msgstr ""
1177
+ "Оформление на таблицата\n"
 
1178
 
1179
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1180
+ msgid "Tracking Display Position"
1181
+ msgstr "Проследяване на позицията на дисплея"
 
 
1182
 
1183
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1184
+ msgid "Before Order Details"
1185
+ msgstr "Преди подробности за поръчката"
 
1186
 
1187
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1188
+ msgid "After Order Details"
1189
+ msgstr "След подробности за поръчката"
 
1190
 
1191
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1192
  msgid "Hide Tracking Header"
1193
  msgstr "Скриване на проследяващия заглавие"
1194
 
1195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1196
+ msgid "Tracking Header text"
1197
+ msgstr ""
1198
+ "Проследяване на текста на заглавката\n"
1199
 
1200
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1201
+ msgid "Tracking Information"
1202
+ msgstr "Информация за проследяване"
1203
 
1204
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1205
+ msgid "Additional text after header"
1206
+ msgstr "Допълнителен текст след заглавието"
1207
 
1208
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1209
+ msgid "Hide tracking information from order line items"
1210
+ msgstr "Скриване на проследяваща информация от договорени покупки"
1211
 
1212
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1213
+ msgid "Simple Layout Design"
1214
+ msgstr ""
1215
+ "Прост дизайн на оформлението\n"
1216
 
1217
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1218
+ msgid "Content"
1219
+ msgstr "съдържание"
 
1220
 
1221
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1222
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1223
+ msgid "Content font size"
1224
+ msgstr ""
1225
+ "Размер на шрифта на съдържанието\n"
1226
 
1227
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1228
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1229
+ msgid "Content font color"
 
1230
  msgstr ""
1231
+ "Цвят на шрифта на съдържанието\n"
 
1232
 
1233
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1234
+ msgid "Show bottom border"
1235
+ msgstr ""
1236
+ "Показване на долната граница\n"
1237
 
1238
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1239
+ msgid "Bottom border color"
1240
  msgstr ""
1241
+ "Цвят на долната граница\n"
1242
 
1243
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1244
+ msgid "Table layout Design"
1245
+ msgstr ""
1246
+ "Дизайн на таблицата\n"
1247
 
1248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1249
+ msgid "Display shipping provider name"
1250
+ msgstr ""
1251
+ "Показване на име на доставчика на доставка\n"
1252
 
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1254
+ msgid "Display shipping provider image"
1255
+ msgstr ""
1256
+ "Покажи изображението на доставчика на доставка\n"
1257
 
1258
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1259
+ msgid "Hide the ship date"
1260
+ msgstr ""
1261
+ "Скриване на датата на кораба\n"
1262
 
1263
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1264
+ msgid "Use tracking number as a link"
1265
+ msgstr "Използвайте проследяващия номер като връзка"
1266
 
1267
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1268
+ msgid "Table Headers"
1269
+ msgstr ""
1270
+ "Заглавки на таблици\n"
1271
 
1272
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1273
+ msgid "Hide Table Headers"
 
1274
  msgstr ""
1275
+ "Скриване на заглавките на таблици\n"
1276
 
1277
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1278
+ msgid "Provider header text"
1279
+ msgstr "Текст на заглавката на доставчика"
1280
 
1281
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1282
+ msgid "Tracking Number header text"
1283
+ msgstr "Текст на заглавния номер на проследяващия номер"
 
1284
 
1285
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1286
+ msgid "Ship date header text"
1287
+ msgstr ""
1288
+ "Текст на заглавието на датата на изпращане\n"
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1291
+ msgid "Track Label"
1292
+ msgstr "Етикет за проследяване"
1293
+
1294
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1295
+ msgid "Track header text"
1296
  msgstr ""
1297
+ "Проследяване на заглавния текст\n"
1298
 
1299
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1300
+ msgid "Headers font size"
1301
+ msgstr ""
1302
+ "Размер на шрифта на заглавките\n"
 
1303
 
1304
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1305
+ msgid "Headers font color"
1306
+ msgstr ""
1307
+ "Цвят на шрифта на заглавките\n"
 
 
 
1308
 
1309
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1310
+ msgid "Table Content"
1311
+ msgstr "Съдържание на таблицата"
1312
 
1313
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1314
+ msgid "Padding"
1315
+ msgstr ""
1316
+ "подложка\n"
1317
 
1318
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1319
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1320
+ msgid "Background color"
1321
+ msgstr "Цвят на фона"
 
 
1322
 
1323
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1324
+ msgid "Border color"
1325
+ msgstr "Цвят на границата"
 
 
 
 
1326
 
1327
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1328
+ msgid "Border size"
1329
+ msgstr "Размер на границата"
1330
+
1331
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1332
+ msgid "Content Text align"
1333
  msgstr ""
1334
+ "Изравняване на текста на съдържанието\n"
 
1335
 
1336
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1337
+ msgid "Content line height"
 
1338
  msgstr ""
1339
+ "Височина на линията на съдържанието\n"
1340
 
1341
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1342
+ msgid "Content font weight"
 
 
 
 
1343
  msgstr ""
1344
+ "Тегло на шрифта на съдържанието\n"
 
1345
 
1346
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1347
+ msgid "Tracking Link"
1348
+ msgstr ""
1349
+ "Проследяваща връзка\n"
1350
 
1351
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1352
+ msgid "Font Color"
1353
+ msgstr ""
1354
+ "Цвят на шрифта\n"
1355
 
1356
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1357
+ msgid "Border"
1358
+ msgstr ""
1359
+ "граница\n"
1360
 
1361
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1362
+ msgid "Your {site_title} order is now partially shipped"
1363
+ msgstr "Поръчката ви {site_title} вече е частично доставена"
 
1364
 
1365
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1366
+ msgid ""
1367
+ "Hi there. we thought you'd like to know that your recent order from "
1368
+ "{site_title} has been partially shipped."
1369
+ msgstr ""
1370
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1371
+ "{site_title} е частично изпратена.\n"
1372
 
1373
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1374
+ msgid "Enable Partially Shipped order status email"
1375
+ msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
 
 
1376
 
1377
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1378
+ msgid "Your {site_title} order is now updated tracking"
1379
+ msgstr ""
1380
+ "Поръчката ви {site_title} вече е актуализирана за проследяване\n"
1381
 
1382
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1383
+ msgid ""
1384
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1385
+ "recent order from {site_title} has been updated."
1386
+ msgstr ""
1387
+ "Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
1388
+ "за скорошната ви поръчка от {site_title} е актуализирано.\n"
1389
 
1390
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1391
+ msgid "Enable Updated Tracking order status email"
1392
+ msgstr ""
1393
+ "Активиране на имейла за актуализирано проследяване на поръчката\n"
1394
 
1395
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1396
+ #: includes/views/admin_status_notifications.php:197
1397
+ msgid "Late shipment for order #{order_number}"
1398
+ msgstr "Късна пратка за поръчка № {order_number}"
1399
 
1400
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
1401
+ msgid "Late shipment"
1402
+ msgstr "Късна доставка"
1403
 
1404
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1405
+ #: includes/views/admin_status_notifications.php:207
1406
+ msgid ""
1407
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1408
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1409
+ msgstr ""
1410
+ "Тази поръчка е изпратена преди {shipment_length} дни, състоянието на "
1411
+ "пратката е {shipment_status}, а прогнозната й дата на доставка е "
1412
+ "{est_delivery_date}."
1413
 
1414
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1415
+ msgid "Your order #{order_number} is on hold"
1416
+ msgstr "Вашата поръчка № {order_number} е задържана"
1417
 
1418
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1419
  msgid ""
1420
+ "Hi there. we thought you'd like to know that your recent order from "
1421
+ "{site_title} is on hold"
1422
  msgstr ""
1423
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1424
+ "{site_title} е в задържане"
1425
 
1426
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1427
+ msgid "On Hold email"
1428
+ msgstr "Имейл при задържане"
 
 
 
1429
 
1430
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1431
+ msgid "Enable On Hold email"
1432
+ msgstr "Активирайте имейл на задържане"
1433
 
1434
+ #: includes/emails/class-shipment-delivered-email.php:32
1435
+ msgid "Delivered order"
1436
+ msgstr "Доставена поръчка"
1437
 
1438
+ #: includes/emails/class-shipment-delivered-email.php:33
1439
+ msgid ""
1440
+ "Order delivered emails are sent to customers when their orders are marked "
1441
+ "delivered and usually indicate that their orders have been shipped."
1442
+ msgstr ""
1443
+ "Имейлите за доставени поръчки се изпращат на клиентите, когато поръчките им "
1444
+ "са маркирани доставени и обикновено показват, че поръчките им са изпратени."
1445
+
1446
+ #: includes/emails/class-shipment-delivered-email.php:298
1447
+ msgid "Click Here"
1448
+ msgstr "Натисни тук"
1449
+
1450
+ #: includes/emails/class-shipment-delivered-email.php:299
1451
+ msgid "Edit in customizer"
1452
+ msgstr "Редактиране в персонализатора"
1453
+
1454
+ #: includes/views/admin_options_bulk_upload.php:12
1455
+ msgid ""
1456
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1457
+ "file"
1458
+ msgstr ""
1459
+ "Използвайте нашия CSV инструмент за импортиране, за да групово импортирате "
1460
+ "информация за проследяване към поръчки от CSV файл"
1461
 
1462
+ #: includes/views/admin_options_bulk_upload.php:26
1463
+ msgid "Upload a CSV file from your computer:"
1464
+ msgstr "Качете CSV файл от вашия компютър:"
1465
 
1466
+ #: includes/views/admin_options_bulk_upload.php:34
1467
+ msgid "Choose the Shipped Date format"
1468
+ msgstr "Изберете формата на изпратената дата"
 
1469
 
1470
+ #: includes/views/admin_options_bulk_upload.php:48
1471
+ msgid "Replace tracking information?"
1472
+ msgstr "Replace tracking information?"
 
1473
 
1474
+ #: includes/views/admin_options_bulk_upload.php:48
1475
  msgid ""
1476
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1477
+ "info added to the orders."
1478
  msgstr ""
1479
+ "Не оставяйте отметка информацията за проследяване да се добавя към всяка "
1480
+ "съществуваща информация за проследяване, добавена към поръчките."
 
 
 
 
 
 
1481
 
1482
  #: includes/views/admin_options_bulk_upload.php:57
1483
+ msgid "Continue"
1484
+ msgstr "продължи"
1485
+
1486
+ #: includes/views/admin_options_bulk_upload.php:59
1487
  msgid "Settings Saved."
1488
  msgstr "Настройките са запазени."
1489
 
1490
+ #: includes/views/admin_options_bulk_upload.php:76
1491
+ msgid "Import in Progress"
1492
+ msgstr "Вносът е в процес"
 
 
1493
 
1494
+ #: includes/views/admin_options_bulk_upload.php:108
1495
+ msgid "View Orders"
1496
+ msgstr "Преглед на поръчки"
 
 
1497
 
1498
+ #: includes/views/admin_options_bulk_upload.php:109
1499
+ msgid "Upload again"
1500
+ msgstr "Качете отново"
1501
 
1502
+ #: includes/views/admin_options_settings.php:23
1503
+ #: includes/views/admin_trackship_dashboard.php:45
1504
+ #: includes/views/admin_tracking_page_settings.php:104
1505
+ #: includes/views/admin_status_notifications.php:242
1506
+ msgid "Save Changes"
1507
+ msgstr "Запазите промените"
1508
 
1509
+ #: includes/views/admin_options_settings.php:35
1510
+ msgid "Tracking Display Customizer"
1511
+ msgstr ""
 
 
 
 
1512
 
1513
+ #: includes/views/admin_options_settings.php:41
1514
+ msgid ""
1515
+ "Use a customizer with a preview to customize the tracking info display on "
1516
+ "customer order emails and my-account."
1517
  msgstr ""
1518
+ "Използвайте персонализатор с визуализация, за да персонализирате дисплея с "
1519
+ "информация за проследяване в имейлите за поръчки на клиенти и моя акаунт."
1520
 
1521
+ #: includes/views/admin_options_settings.php:44
1522
+ msgid "Launch Customizer"
1523
+ msgstr "Стартирайте персонализатора"
 
1524
 
1525
+ #: includes/views/admin_options_shipping_provider.php:22
1526
+ msgid "Active Providers"
1527
+ msgstr ""
 
 
1528
 
1529
+ #: includes/views/admin_options_shipping_provider.php:23
1530
+ msgid "Browse Providers"
1531
  msgstr ""
 
1532
 
1533
+ #: includes/views/admin_options_shipping_provider.php:24
1534
+ msgid "Custom Providers"
1535
+ msgstr ""
1536
 
1537
+ #: includes/views/admin_options_shipping_provider.php:29
1538
+ msgid "Search by provider / country"
1539
+ msgstr "Търсене по доставчик / държава"
1540
+
1541
+ #: includes/views/admin_options_shipping_provider.php:51
1542
+ msgid "Add Custom Shipping Provider"
1543
+ msgstr "Добавете Потребителски доставчик"
1544
 
1545
  #: includes/views/admin_options_shipping_provider.php:58
1546
+ #: includes/views/admin_options_shipping_provider.php:103
1547
  msgid "Shipping Provider"
1548
  msgstr "Доставчик на доставка"
1549
 
1550
+ #: includes/views/admin_options_shipping_provider.php:61
1551
+ #: includes/views/admin_options_shipping_provider.php:106
1552
+ msgid "Custom display name"
1553
+ msgstr "Персонализирано име за показване"
 
 
 
 
 
1554
 
1555
+ #: includes/views/admin_options_shipping_provider.php:65
1556
+ #: includes/views/admin_options_shipping_provider.php:113
1557
+ msgid "Shipping Country"
1558
+ msgstr "Страна на доставка"
 
1559
 
1560
+ #: includes/views/admin_options_shipping_provider.php:66
1561
+ #: includes/views/admin_options_shipping_provider.php:114
1562
+ msgid "Global"
1563
+ msgstr "в световен мащаб"
1564
 
1565
+ #: includes/views/admin_options_shipping_provider.php:76
1566
+ #: includes/views/admin_options_shipping_provider.php:124
1567
+ msgid "Upload"
1568
+ msgstr "Качи"
1569
 
1570
+ #: includes/views/admin_options_shipping_provider.php:82
1571
+ #: includes/views/admin_options_shipping_provider.php:130
1572
+ msgid ""
1573
+ "You can use the variables %number%, %postal_code% and %country_code% in the "
1574
+ "URL, for more info, check our "
1575
  msgstr ""
1576
+ "Можете да използвате променливите% number%,% postal_code% и% country_code% в "
1577
+ "URL адреса, за повече информация проверете нашата"
1578
 
1579
+ #: includes/views/admin_options_shipping_provider.php:82
1580
+ #: includes/views/admin_options_shipping_provider.php:130
1581
+ #, php-format
1582
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1583
+ msgstr "документация"
1584
 
1585
+ #: includes/views/admin_options_shipping_provider.php:95
1586
+ msgid "Edit Shipping Provider"
1587
+ msgstr "Редактиране на доставчика на доставка"
1588
 
1589
+ #: includes/views/admin_options_shipping_provider.php:135
1590
+ msgid "Update"
1591
+ msgstr "Актуализиране"
1592
+
1593
+ #: includes/views/admin_options_shipping_provider.php:136
1594
+ msgid "Reset"
1595
+ msgstr "Нулиране"
1596
+
1597
+ #: includes/views/admin_options_shipping_provider.php:146
1598
+ #: includes/views/admin_options_shipping_provider.php:161
1599
  msgid "Sync Shipping Providers"
1600
  msgstr "Синхронизирайте доставчиците на доставка"
1601
 
1602
+ #: includes/views/admin_options_shipping_provider.php:151
1603
  msgid ""
1604
  "Syncing the shipping providers list add or updates the pre-set shipping "
1605
  "providers and will not effect custom shipping providers."
1608
  "актуализира предварително зададените доставчици за доставка и няма да "
1609
  "повлияе на доставчиците по поръчка."
1610
 
1611
+ #: includes/views/admin_options_shipping_provider.php:153
1612
+ msgid "Providers Added"
1613
+ msgstr "Доставчиците са добавени"
1614
+
1615
+ #: includes/views/admin_options_shipping_provider.php:154
1616
+ msgid "Providers Updated"
1617
+ msgstr "Актуализирани доставчици"
1618
 
1619
+ #: includes/views/admin_options_shipping_provider.php:155
1620
+ msgid "Providers Deleted"
1621
+ msgstr "Доставчиците са изтрити"
1622
 
1623
+ #: includes/views/admin_options_shipping_provider.php:157
1624
+ msgid "Shipping providers database reset successfully."
1625
+ msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
 
1626
 
1627
+ #: includes/views/admin_options_shipping_provider.php:159
1628
+ msgid ""
1629
+ "Reset providers database, it will reset all your shipping provider database"
1630
  msgstr ""
1631
+ "Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
1632
+ "доставчика ви"
1633
 
1634
+ #: includes/views/admin_options_trackship_integration.php:16
1635
+ #: includes/views/admin_options_addons.php:130
1636
+ msgid "Watch Video"
1637
+ msgstr "Гледам видео"
1638
 
1639
+ #: includes/views/admin_options_trackship_integration.php:17
1640
+ #: includes/views/admin_options_addons.php:134
1641
+ msgid "Start your free trial"
1642
+ msgstr "Започнете безплатен пробен период"
1643
 
1644
+ #: includes/views/admin_options_addons.php:111
1645
+ msgid "License"
1646
+ msgstr "License"
 
 
 
 
 
 
1647
 
1648
+ #: includes/views/admin_options_addons.php:132
1649
+ #: includes/views/trackship_sidebar.php:14
1650
+ msgid "Account Dashboard"
1651
+ msgstr "Табло за управление на акаунта"
1652
 
1653
+ #: includes/views/admin_trackship_dashboard.php:13
1654
+ #, php-format
1655
+ msgid ""
1656
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1657
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1658
+ msgstr ""
1659
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1660
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1661
 
1662
+ #: includes/views/admin_trackship_dashboard.php:33
1663
+ msgid "Automation"
1664
+ msgstr "Automation"
 
 
 
 
 
 
 
1665
 
1666
+ #: includes/views/admin_tracking_page_settings.php:10
1667
+ msgid "Enable a tracking page on your store"
1668
+ msgstr "Активирайте страницата за проследяване в магазина си"
1669
 
1670
+ #: includes/views/admin_tracking_page_settings.php:36
1671
+ msgid "Other"
1672
+ msgstr "Други"
1673
 
1674
+ #: includes/views/admin_tracking_page_settings.php:41
1675
+ msgid ""
1676
+ "Note - If you select a different page than the Shipment Tracking page, add "
1677
+ "the [wcast-track-order] shortcode to the selected page content."
1678
  msgstr ""
1679
+ "Забележка - Ако изберете страница, различна от тази за проследяване на "
1680
+ "пратката, добавете краткия код [wcast-track-order] към избраното съдържание "
1681
+ "на страницата.\n"
1682
 
1683
+ #: includes/views/admin_tracking_page_settings.php:41
1684
+ msgid "more info"
1685
+ msgstr ""
1686
+ "повече информация\n"
1687
 
1688
+ #: includes/views/admin_tracking_page_settings.php:46
1689
+ msgid "Tracking Widget Layout"
1690
+ msgstr ""
 
1691
 
1692
+ #: includes/views/admin_tracking_page_settings.php:65
1693
+ msgid "Tracking Widget Options"
1694
+ msgstr ""
1695
 
1696
+ #: includes/views/admin_tracking_page_settings.php:81
1697
+ msgid "Hide tracking event details"
1698
  msgstr ""
1699
+ "Скриване на данните за проследяване на проследяването\n"
1700
 
1701
+ #: includes/views/admin_tracking_page_settings.php:92
1702
+ msgid "Tracking Widget Border Color"
1703
  msgstr ""
 
1704
 
1705
+ #: includes/views/admin_tracking_page_settings.php:105
1706
+ msgid "Preview"
 
 
 
 
 
 
1707
  msgstr ""
1708
+ "предварителен преглед\n"
 
1709
 
1710
+ #: includes/views/admin_tracking_page_settings.php:116
1711
+ msgid "Tracking Widget Preview"
1712
+ msgstr "Предварителен преглед на джаджа"
1713
 
1714
+ #: includes/views/admin_status_notifications.php:3
1715
+ msgid "Shipment Status Email Notifications"
1716
+ msgstr "Shipment Status Email Notifications"
 
 
 
1717
 
1718
+ #: includes/views/admin_status_notifications.php:37
1719
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1720
+ msgstr "Пратката е приета от доставчика на корабоплаването и е на път."
 
1721
 
1722
+ #: includes/views/admin_status_notifications.php:52
1723
+ msgid "The shipment is On Hold."
1724
+ msgstr "Пратката е в режим на задържане."
 
1725
 
1726
+ #: includes/views/admin_status_notifications.php:67
1727
+ msgid "Shipment is returned to sender."
1728
+ msgstr "Пратката се връща на подателя."
1729
 
1730
+ #: includes/views/admin_status_notifications.php:82
1731
+ msgid "The shipment is ready to by picked up."
1732
+ msgstr "Пратката е готова до вдигане."
1733
 
1734
+ #: includes/views/admin_status_notifications.php:97
1735
+ msgid "Carrier is about to deliver the shipment."
1736
+ msgstr "Carrier is about to deliver the shipment."
 
 
 
1737
 
1738
+ #: includes/views/admin_status_notifications.php:97
1739
+ msgid "Out For delivery"
1740
+ msgstr "Вън за доставка"
 
 
 
 
1741
 
1742
+ #: includes/views/admin_status_notifications.php:112
1743
+ msgid "The shipment was delivered successfully."
1744
+ msgstr "Пратката е доставена успешно."
1745
 
1746
+ #: includes/views/admin_status_notifications.php:127
1747
+ msgid "Carrier attempted to deliver the package but failed."
1748
+ msgstr "Превозвачът се опита да достави пакета, но не успя."
1749
 
1750
+ #: includes/views/admin_status_notifications.php:152
1751
  msgid ""
1752
+ "If a shipment reached the number of days that you define, and the shipment "
1753
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
1754
  msgstr ""
1755
+ "Ако пратката достигне броя дни, които сте определили, и пратката не е "
1756
+ "„доставена“ или „Върната на подателя“, ще се задейства имейл."
1757
 
1758
+ #: includes/views/admin_status_notifications.php:173
1759
+ msgid "Late Shipment Days"
1760
+ msgstr "Късни дни на изпращане"
1761
 
1762
+ #: includes/views/admin_status_notifications.php:187
1763
+ msgid "E.g. {admin_email}, admin@example.org"
1764
+ msgstr "Например {admin_email}, admin@example.org"
 
 
 
1765
 
1766
+ #: includes/views/admin_status_notifications.php:222
1767
+ msgid "Trigger Alert"
1768
+ msgstr "Сигнал за задействане"
1769
 
1770
+ #: includes/views/admin_status_notifications.php:227
1771
+ msgid "As it Happens"
1772
+ msgstr "Както се случва"
1773
+
1774
+ #: includes/views/admin_status_notifications.php:231
1775
+ msgid "Daily Digest on"
1776
+ msgstr "Daily Digest на"
1777
+
1778
+ #: includes/views/admin_options_tools.php:11
1779
+ msgid "Tracking info sent to Trackship for all Orders."
1780
+ msgstr "Tracking info sent to Trackship for all Orders."
1781
+
1782
+ #: includes/views/admin_options_tools.php:14
1783
  msgid ""
1784
+ "You can send all your orders from the last 30 days to get shipment status "
1785
+ "from TrackShip:"
1786
  msgstr ""
1787
+ "Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
1788
+ "статус на пратката от TrackShip:"
1789
 
1790
+ #: includes/views/admin_options_osm.php:36
1791
+ #: includes/views/admin_options_osm.php:79
1792
+ #: includes/views/admin_options_osm.php:119
1793
+ msgid "Light Font"
1794
+ msgstr ""
1795
+ "Лек шрифт\n"
 
 
 
 
1796
 
1797
+ #: includes/views/admin_options_osm.php:37
1798
+ #: includes/views/admin_options_osm.php:80
1799
+ #: includes/views/admin_options_osm.php:120
1800
+ msgid "Dark Font"
1801
+ msgstr ""
1802
+ "Тъмен шрифт\n"
1803
 
1804
+ #: includes/views/admin_options_osm.php:41
1805
+ #: includes/views/admin_options_osm.php:84
1806
+ #: includes/views/admin_options_osm.php:124
1807
+ msgid "Send Email"
 
1808
  msgstr ""
1809
+ "Изпратете имейл\n"
 
1810
 
1811
+ #: includes/views/trackship_sidebar.php:12
1812
+ msgid "TrackShip Connection Status"
1813
+ msgstr "Състояние на връзката към TrackShip"
1814
+
1815
+ #: includes/views/trackship_sidebar.php:20
1816
+ msgid "Trackers Balance"
1817
+ msgstr "Тракери Баланс"
1818
+
1819
+ #: includes/views/trackship_sidebar.php:24
1820
+ msgid "Subscription Plan"
1821
+ msgstr "Абонаментен план"
1822
+
1823
+ #: includes/views/trackship_sidebar.php:28
1824
+ msgid "Upgrade Now"
1825
+ msgstr "Надстройте сега"
1826
+
1827
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
1828
+ msgid "Download sample csv"
1829
+ msgstr "Изтеглете пример csv"
1830
+
1831
+ #: templates/emails/tracking-info.php:281
1832
+ #: templates/myaccount/tracking-info.php:207
1833
+ msgid "Provider Name"
1834
+ msgstr "Provider Name"
1835
 
1836
+ #. %s: Order ID.
1837
+ #: templates/emails/wcast-email-order-details.php:48
1838
  #, php-format
1839
+ msgid "Order number: %s"
1840
+ msgstr ""
1841
+ "Номер на поръчката:% s\n"
1842
 
1843
+ #: includes/views/front/tracking_page_header.php:22
1844
+ msgid "Est. Delivery Date"
1845
+ msgstr ""
1846
+ "Est. Дата на доставка\n"
1847
 
1848
+ #: includes/views/front/layout1_tracking_details.php:4
1849
+ msgid "Tracking Details"
1850
+ msgstr "Детайли за проследяване"
1851
 
1852
+ #: includes/views/front/layout1_tracking_details.php:8
1853
+ msgid "Destination Details"
1854
+ msgstr "Подробности за дестинацията"
1855
+
1856
+ #: includes/views/front/layout1_tracking_details.php:25
1857
+ msgid "Origin Details"
1858
+ msgstr "Подробности за произхода"
1859
+
1860
+ #: includes/views/front/track_order_form.php:3
1861
+ msgid ""
1862
+ "To track your order please enter your Order ID in the box below and press "
1863
+ "the \"Track\" button. This was given to you on your receipt and in the "
1864
+ "confirmation email you should have received."
1865
  msgstr ""
1866
+ "За да проследите Вашата поръчка, моля въведете Вашата поръчка ID в полето по-"
1867
+ "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
1868
+ "в имейла за потвърждение, който трябваше да получите.\n"
1869
+
1870
+ #: includes/views/front/track_order_form.php:4
1871
+ #: includes/views/front/track_order_form.php:5
1872
+ msgid "Found in your order confirmation email."
1873
+ msgstr ""
1874
+ "Намерен в имейла за потвърждение на поръчката.\n"
1875
+
1876
+ #: includes/views/front/track_order_form.php:5
1877
+ msgid "Order Email"
1878
+ msgstr ""
1879
+ "Имейл за поръчка\n"
1880
 
1881
+ #: templates/emails/plain/tracking-info.php:35
1882
+ #, php-format
1883
+ msgid "Shipment status changed to %s"
1884
+ msgstr "Състоянието на пратката се промени на% s"
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,943 +12,1585 @@ 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."
540
  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."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
548
  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."
605
  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,244 +1599,275 @@ 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 på "
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"
1120
  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 "
1144
- "reassign these orders to a different status"
1145
  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 "
1169
  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-11 09:36+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
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid ""
20
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
21
+ "for WooCommerce!"
22
  msgstr ""
 
 
23
 
24
+ #: woocommerce-advanced-shipment-tracking.php:487
25
+ #, php-format
26
  msgid ""
27
+ "We detected %s orders that use the Delivered order status, You can reassign "
28
+ "these orders to a different status"
29
  msgstr ""
30
+ "Vi registrerede% s ordrer, der bruger leveret ordrestatus. Du kan omfordele "
31
+ "disse ordrer til en anden status"
32
 
33
+ #: woocommerce-advanced-shipment-tracking.php:499
34
+ #, php-format
35
  msgid ""
36
+ "We detected %s orders that use the Partially Shipped order status, You can "
37
+ "reassign these orders to a different status"
38
  msgstr ""
39
+ "Vi har registreret% s ordrer, der bruger ordren Delvist afsendt. Du kan "
40
+ "tildele disse ordrer til en anden status"
 
 
 
 
 
 
 
 
41
 
42
+ #: woocommerce-advanced-shipment-tracking.php:511
43
+ #, php-format
44
  msgid ""
45
+ "We detected %s orders that use the Updated Tracking order status, You can "
46
+ "reassign these orders to a different status"
47
  msgstr ""
48
+ "Vi registrerede% s ordrer, der bruger status for opdateret sporingsordre. Du "
49
+ "kan omfordele disse ordrer til en anden status"
50
 
51
+ #: includes/class-wc-advanced-shipment-tracking-front.php:313
52
+ #, php-format
53
+ msgid "Shipment : %s (out of %s)"
 
54
  msgstr ""
 
 
55
 
56
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
57
+ #: includes/views/front/preview_tracking_page.php:25
58
+ msgid "Shipment"
 
59
  msgstr ""
 
 
60
 
61
+ #: includes/class-wc-advanced-shipment-tracking-front.php:344
62
+ #, php-format
63
+ msgid "Shipment - %s (out of %s)"
 
64
  msgstr ""
65
+ "Forsendelse -% s (ud af% s)\n"
 
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking-front.php:368
68
+ msgid "Tracking details not found in TrackShip"
69
+ msgstr "Sporingsdetaljer findes ikke i TrackShip"
 
 
 
 
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking.php:141
72
+ #: includes/class-wc-advanced-shipment-tracking.php:223
73
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
74
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
75
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
76
+ msgid "Shipment Tracking"
77
+ msgstr "Forsendelsessporing"
78
 
79
+ #: includes/class-wc-advanced-shipment-tracking.php:246
80
+ #: includes/class-wc-advanced-shipment-tracking.php:419
81
+ msgid "Track Shipment"
82
+ msgstr "Spor forsendelse"
 
 
 
83
 
84
+ #. 1: shipping date
85
+ #: includes/class-wc-advanced-shipment-tracking.php:256
86
+ #, php-format
87
+ msgid "Shipped on %s"
88
+ msgstr "Sendes på% s"
 
 
89
 
90
+ #: includes/class-wc-advanced-shipment-tracking.php:313
91
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
92
+ msgid "Mark as Shipped?"
93
+ msgstr "Marker som sendt?"
 
 
 
94
 
95
+ #: includes/class-wc-advanced-shipment-tracking.php:316
96
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
97
+ msgid "Mark as Completed?"
98
+ msgstr "Marker som afsluttet?"
 
 
 
99
 
100
+ #: includes/class-wc-advanced-shipment-tracking.php:328
101
+ msgid "Add Tracking Info"
102
+ msgstr "Tilføj sporingsinfo"
 
 
 
 
 
103
 
104
+ #: includes/class-wc-advanced-shipment-tracking.php:332
105
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
106
+ msgid "Tracking number:"
107
+ msgstr "Tracking nummer:"
 
 
 
108
 
109
+ #: includes/class-wc-advanced-shipment-tracking.php:337
110
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
111
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
112
+ msgid "Shipping Provider:"
113
+ msgstr "Forsendelse:"
 
 
 
 
114
 
115
+ #: includes/class-wc-advanced-shipment-tracking.php:338
116
+ msgid "Select Provider"
117
+ msgstr "Vælg Udbyder"
118
 
119
+ #: includes/class-wc-advanced-shipment-tracking.php:375
120
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
121
+ msgid "Product Code:"
122
+ msgstr "Produktkode:"
123
 
124
+ #: includes/class-wc-advanced-shipment-tracking.php:383
125
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
126
+ msgid "Date shipped:"
127
+ msgstr "Dato afsendt:"
128
 
129
+ #: includes/class-wc-advanced-shipment-tracking.php:397
130
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
131
+ msgid "Mark order as:"
132
+ msgstr "Marker ordre som:"
133
 
134
+ #: includes/class-wc-advanced-shipment-tracking.php:400
135
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
136
+ msgid "Partial Shipped"
137
+ msgstr "Delvis afsendt"
138
 
139
+ #: includes/class-wc-advanced-shipment-tracking.php:416
140
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
141
+ msgid "Save Tracking"
142
+ msgstr "Gem sporing"
143
 
144
+ #: includes/class-wc-advanced-shipment-tracking.php:419
145
+ msgid "Preview:"
146
+ msgstr "Eksempel:"
 
 
 
 
 
 
 
 
147
 
148
+ #: includes/class-wc-advanced-shipment-tracking.php:721
149
+ #, php-format
150
+ msgid ""
151
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
152
+ msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
153
+
154
+ #: includes/class-wc-advanced-shipment-tracking.php:752
155
+ #: includes/class-wc-advanced-shipment-tracking.php:773
156
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
157
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
158
+ #: templates/emails/tracking-info.php:311
159
+ #: templates/myaccount/tracking-info.php:232
160
+ #: includes/views/front/track_order_form.php:8
161
+ msgid "Track"
162
+ msgstr "Spor pakke"
163
 
164
+ #: includes/class-wc-advanced-shipment-tracking.php:1127
165
+ #: includes/class-wc-advanced-shipment-tracking.php:1218
166
+ #, php-format
167
+ msgid "Order was shipped with %s and tracking number is: %s"
168
+ msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
169
+
170
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
171
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
172
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
173
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
175
+ #: includes/customizer/class-wcast-customizer.php:187
176
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
177
+ #: includes/views/admin_status_notifications.php:112
178
+ #: includes/views/admin_options_osm.php:17
179
+ msgid "Delivered"
180
+ msgstr "leveres"
181
 
182
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
183
+ #, php-format
184
+ msgid "Delivered <span class=\"count\">(%s)</span>"
185
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
186
+ msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
187
+ msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
188
+
189
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
190
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
191
+ #: includes/views/admin_options_osm.php:101
192
+ msgid "Updated Tracking"
193
+ msgstr "Opdateret sporing"
194
 
195
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
196
+ #, php-format
197
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
198
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
199
+ msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
200
+ msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
201
 
202
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
203
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
204
+ #: includes/views/admin_options_osm.php:59
205
+ msgid "Partially Shipped"
206
+ msgstr "Delvist afsendt"
207
 
208
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
209
+ #, php-format
210
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
211
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
212
+ msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
213
+ msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
214
 
215
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
216
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
217
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
218
+ msgid "Shipped"
219
+ msgstr "afsendt"
220
 
221
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
222
+ #, php-format
223
+ msgid "Shipped <span class=\"count\">(%s)</span>"
224
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
225
+ msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
226
+ msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
227
 
228
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
229
  msgid "Change status to shipped"
230
  msgstr "Skift status til afsendt"
231
 
232
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
 
 
 
 
 
 
 
 
233
  msgid "Completed"
234
  msgstr "afsluttet"
235
 
236
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
237
+ msgid "Add Tracking - order\t"
238
+ msgstr "Tilføj sporing - ordre"
239
 
240
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
241
+ msgid "Resend delivered order notification"
242
+ msgstr "Send leveret ordreanmeldelse igen"
243
 
244
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
245
+ msgid "There are some issue with sync, Please Retry."
246
+ msgstr "Der er nogle problemer med synkronisering, prøv igen."
 
 
247
 
248
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
249
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
250
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
251
+ #: includes/views/admin_options_bulk_upload.php:87
252
+ msgid "view details"
253
+ msgstr "view details"
254
 
255
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
256
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
257
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
258
+ msgid "hide details"
259
+ msgstr "Gem detaljer"
260
 
261
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
262
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
263
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
264
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
265
+ msgid "Data saved successfully."
266
+ msgstr "Data gemt med succes."
267
+
268
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
269
+ #: includes/views/admin_tracking_page_settings.php:9
270
+ #: includes/views/trackship_settings.php:9
271
+ #: includes/views/trackship_settings.php:10
272
+ msgid "Tracking Page"
273
+ msgstr "Tracking Page"
274
+
275
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
276
+ #: includes/views/trackship_settings.php:12
277
+ #: includes/views/trackship_settings.php:13
278
+ msgid "Notifications"
279
+ msgstr "Meddelelser"
280
+
281
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
282
+ #: includes/views/admin_options_tools.php:13
283
+ #: includes/views/trackship_settings.php:15
284
+ #: includes/views/trackship_settings.php:16
285
+ msgid "Tools"
286
+ msgstr "Værktøj"
287
+
288
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
289
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
290
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
291
+ msgid "Documentation"
292
+ msgstr "Dokumentation"
293
+
294
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
295
+ msgid ""
296
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
297
+ "for the tracking page to work."
298
  msgstr ""
299
+ "Du skal tilføje kortkoden [wcast-track-order] til den valgte side for at "
300
+ "sporingssiden skal fungere."
301
 
302
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
303
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
304
+ #: includes/views/admin_tracking_page_settings.php:27
305
+ msgid "Select Tracking Page"
306
+ msgstr "Vælg sporingsside"
307
 
308
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
309
+ msgid "Use the tracking page in the customer email/my account tracking link"
310
+ msgstr "Brug sporingssiden i kundens e-mail / link til min kontosporing"
311
 
312
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
313
+ msgid "Tracking Page Layout"
314
+ msgstr ""
315
+ "Sporing af sidelayout\n"
 
316
 
317
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
318
+ msgid "Select content border color for tracking page"
319
+ msgstr "Vælg farve for indholdsramme til sporingsside"
320
 
321
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
322
+ #: includes/views/admin_tracking_page_settings.php:71
323
+ msgid "Add a link to the Shipping provider page"
324
+ msgstr "Vælg farve for indholdsramme til sporingsside"
325
 
326
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
327
+ #: includes/views/admin_tracking_page_settings.php:76
328
+ msgid "Hide Shipping Provider Image"
329
+ msgstr ""
330
+ "Skjul forsendelsesbillede\n"
331
 
332
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
333
+ msgid "Hide tracking events details"
334
+ msgstr "Skjul detaljer om sporingshændelser"
335
 
336
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
337
+ #: includes/views/admin_tracking_page_settings.php:86
338
+ msgid "Remove TrackShip branding"
339
+ msgstr "Fjern TrackShip-branding"
340
 
341
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
342
+ msgid "Enable TrackShip"
343
+ msgstr "Aktivér TrackShip"
 
344
 
345
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
346
+ msgid "Display Shipment Status Filter on Orders admin"
347
+ msgstr "Display Shipment Status Filter on Orders admin"
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
350
+ msgid ""
351
+ "Automatically set the Order Status to Delivered when the shipment is "
352
+ "delivered "
353
  msgstr ""
354
+ "Indstil automatisk ordrestatus til leveret, når forsendelsen er leveret"
355
 
356
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
357
+ msgid ""
358
+ "To enable this option, the 'Delivered' order status should be enabled in the "
359
+ "AST settings."
360
+ msgstr ""
361
+ "For at aktivere denne mulighed skal ordren 'Leveret' være aktiveret i AST-"
362
+ "indstillingerne."
363
+
364
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
365
+ msgid "Shipment status"
366
+ msgstr "Forsendelsesstatus"
367
+
368
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
369
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1001
370
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1010
371
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1019
372
+ msgid "Get Shipment Status"
373
+ msgstr "Få forsendelsesstatus"
374
+
375
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
376
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
377
+ msgid "Pending TrackShip"
378
+ msgstr "Pending TrackShip"
379
+
380
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
381
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
382
+ msgid "Unknown"
383
+ msgstr "Ukendt"
384
+
385
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
386
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
387
+ #: includes/customizer/class-wcast-customizer.php:141
388
+ msgid "Pre Transit"
389
+ msgstr ""
390
+ "Pre Transit\n"
391
+
392
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
393
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
394
+ #: includes/customizer/class-wcast-customizer.php:149
395
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
396
+ #: includes/views/admin_status_notifications.php:37
397
+ msgid "In Transit"
398
+ msgstr "Undervejs"
399
+
400
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
401
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
402
+ #: includes/customizer/class-wcast-customizer.php:172
403
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
404
+ #: includes/views/admin_status_notifications.php:82
405
+ msgid "Available For Pickup"
406
+ msgstr ""
407
+ "Klar til afhentning\n"
408
+
409
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
410
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
411
+ #: includes/customizer/class-wcast-customizer.php:179
412
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
413
+ msgid "Out For Delivery"
414
+ msgstr "Ud for levering"
415
+
416
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
417
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
418
+ #: includes/customizer/class-wcast-customizer.php:195
419
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
420
+ #: includes/views/admin_status_notifications.php:127
421
+ msgid "Failed Attempt"
422
+ msgstr "Mislykket forsøg"
423
+
424
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
425
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
426
+ msgid "Carrier Unsupported"
427
+ msgstr "Transportør understøttes ikke"
428
+
429
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
430
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
431
+ #: includes/customizer/class-wcast-customizer.php:165
432
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
433
+ #: includes/views/admin_status_notifications.php:67
434
+ msgid "Return To Sender"
435
+ msgstr ""
436
+ "Retur til Afsender\n"
437
 
438
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
439
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
440
+ msgid "Invalid Tracking Number"
441
+ msgstr "Ugyldigt sporingsnummer"
442
 
443
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
444
+ msgid "Filter by shipment status"
445
+ msgstr "Filter by shipment status"
 
446
 
447
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
448
+ #: includes/customizer/class-wcast-customizer.php:157
449
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
450
+ #: includes/views/admin_status_notifications.php:52
451
+ msgid "On Hold"
452
+ msgstr "I venteposition"
453
 
454
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
455
+ msgid "Invalid User Key"
456
+ msgstr "Invalid User Key"
457
 
458
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
459
+ msgid "Wrong Shipping Provider"
460
+ msgstr "Forkert forsendelsesudbyder"
 
461
 
462
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1000
463
+ #, php-format
464
+ msgid ""
465
+ "You got %s %s orders with tracking info that were not sent to track on "
466
+ "TrackShip"
467
  msgstr ""
468
+ "Du fik% s% s ordrer med sporingsoplysninger, der ikke blev sendt til at "
469
+ "spore på TrackShip"
470
 
471
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1009
472
+ #, php-format
473
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
474
+ msgstr "Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-saldoen er 0\""
475
 
476
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1018
477
+ #, php-format
478
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
479
+ msgstr ""
480
+ "Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-forbindelsesproblem\""
481
 
482
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1477
483
+ msgid "Shipment Providers"
484
+ msgstr "Forsendelsesleverandører"
485
 
486
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1480
487
+ #: templates/emails/tracking-info.php:221
488
+ #: templates/emails/tracking-info.php:251
489
+ msgid "Shipment Status"
490
+ msgstr "Forsendelsesstatus"
491
 
492
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
493
+ msgid "Tracking issues"
494
+ msgstr "Sporingsspørgsmål"
495
 
496
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
497
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1497
498
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1514
499
+ msgid "data not available."
500
+ msgstr "data ikke tilgængelige."
501
 
502
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
503
+ msgid "View more on TrackShip"
504
+ msgstr "Se mere på TrackShip"
505
 
506
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
507
+ msgid "Really delete this entry? This will not be undo."
508
+ msgstr "Vil du virkelig slette denne post? Dette fortrydes ikke."
509
 
510
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
511
+ msgid "You can upload only csv file."
512
+ msgstr "Du kan kun uploade csv-fil."
513
 
514
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
515
+ msgid "This browser does not support HTML5."
516
+ msgstr "Denne browser understøtter ikke HTML5."
517
 
518
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
519
+ msgid "Please upload a valid CSV file."
520
+ msgstr "Upload en gyldig CSV-fil."
521
 
522
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
523
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
524
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1579
525
+ msgid "Shipping Providers"
526
+ msgstr "Forsendelsesudbydere"
527
 
528
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
529
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
530
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
531
+ #: includes/views/admin_options_bulk_upload.php:11
532
+ msgid "CSV Import"
533
+ msgstr "CSV-import"
534
 
535
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
536
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
537
+ #: includes/views/admin_options_addons.php:108
538
+ #: includes/views/admin_options_addons.php:114
539
+ msgid "Add-ons"
540
+ msgstr "Tilføjelser"
541
 
542
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
543
+ msgid "How to Video"
544
+ msgstr "Sådan video"
545
 
546
  #: includes/class-wc-advanced-shipment-tracking-admin.php:524
547
+ #: includes/views/trackship_sidebar.php:13
548
+ msgid "Connected"
549
+ msgstr ""
550
+ "forbundet\n"
 
 
551
 
552
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
553
+ #: includes/views/admin_options_settings.php:52
554
+ msgid "Custom Order Statuses"
555
+ msgstr "Brugerdefinerede ordrestatusser"
556
 
557
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
558
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
559
+ msgstr "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
560
 
561
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
562
  msgid ""
563
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
564
+ "will be selected by default when adding tracking info to orders."
565
  msgstr ""
566
+ "Dette betyder, at 'mærket som <span class =' ​​shipped_label '> afsendt "
567
+ "</span>' vælges som standard, når der tilføjes sporingsoplysninger til "
568
+ "ordrer."
569
 
570
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
571
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
572
+ msgstr ""
573
+ "Standard \"markér som <span class =\" shipped_label \"> afsluttet </span>\""
574
 
575
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
576
+ msgid ""
577
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
578
+ "will be selected by default when adding tracking info to orders."
579
  msgstr ""
580
+ "Dette betyder, at 'mærket som <span class =' ​​shipped_label '> afsluttet "
581
+ "</span>' vælges som standard, når der tilføjes sporingsoplysninger til "
582
+ "ordrer."
583
 
584
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:900
585
+ msgid ""
586
+ "Set the \"mark as shipped\" option checked when adding tracking info to "
587
+ "orders"
588
+ msgstr ""
589
 
590
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
591
+ msgid "Completed Order Status"
592
+ msgstr ""
593
 
594
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
595
+ msgid "Rename the “Completed” Order status label to “Shipped”"
596
+ msgstr ""
 
597
 
598
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:915
599
+ msgid "On which order emails to include the shipment tracking info?"
600
+ msgstr ""
601
+
602
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:922
603
+ msgid "For which Order status to display Add Tracking action button?"
604
+ msgstr ""
605
+
606
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:929
607
+ msgid "Add Tracking Options"
608
+ msgstr ""
609
 
610
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
611
+ msgid "API Date Format"
612
+ msgstr "API-datoformat"
613
 
614
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1447
615
+ msgid "Shipped Order"
616
+ msgstr "Afsendt ordre"
617
 
618
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1471
619
+ msgid "Mark order as delivered"
620
+ msgstr "Marker ordre som leveret"
621
+
622
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
623
+ msgid "Add Tracking"
624
+ msgstr "Tilføj sporing"
625
+
626
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1498
627
+ msgid "Mark as Shipped"
628
+ msgstr "Marker som afsendt"
629
+
630
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1525
631
+ msgid "Change order status to"
632
+ msgstr "Skift ordrestatus til"
633
+
634
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1570
635
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1744
636
+ msgid "Add Custom Provider"
637
+ msgstr "Add Custom Provider"
638
+
639
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
640
+ msgid "Display Name"
641
+ msgstr "Visningsnavn"
642
+
643
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
644
+ #: includes/views/admin_options_shipping_provider.php:100
645
+ msgid ""
646
+ "The custom name will display in the tracking info section on the customer "
647
+ "order emails, my-account, shipment tracking page and shipment status emails."
648
  msgstr ""
649
+ "Det brugerdefinerede navn vises i sporingsinfosektionen på e-mails med "
650
+ "kundeordrer, min konto, forsendelsessporingsside og forsendelsesstatus-e-"
651
+ "mails."
652
 
653
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1581
654
+ #: includes/views/admin_options_shipping_provider.php:109
655
+ msgid "API Name"
656
+ msgstr "API-navn"
657
+
658
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1582
659
+ msgid "Country"
660
+ msgstr "Land"
661
+
662
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1583
663
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1662
664
+ msgid "Default"
665
+ msgstr "Standard"
666
+
667
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1584
668
+ msgid "TrackShip"
669
+ msgstr "TrackShip"
670
+
671
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1585
672
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1663
673
+ msgid "Actions"
674
+ msgstr "Handlinger"
675
+
676
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1586
677
+ msgid "Active"
678
+ msgstr "Aktiv"
679
+
680
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
681
+ msgid "TrackShip supported"
682
+ msgstr "TrackShip understøttet"
683
+
684
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
685
+ msgid "TrackShip not supported"
686
+ msgstr "TrackShip understøttes ikke"
687
+
688
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1661
689
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
690
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
691
+ #: templates/emails/tracking-info.php:276
692
+ #: templates/myaccount/tracking-info.php:202
693
+ msgid "Provider"
694
+ msgstr "Fragtfirma"
695
+
696
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1743
697
+ #, php-format
698
+ msgid "You did not create any %s shipping providers yet."
699
+ msgstr "Du har ikke oprettet nogen% s forsendelsesudbydere endnu."
700
+
701
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1746
702
+ #: includes/views/admin_options_shipping_provider.php:45
703
+ #, php-format
704
+ msgid "You don't have any %s shipping providers."
705
+ msgstr "Du har ikke% s forsendelsesudbydere."
706
+
707
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1985
708
+ msgid "Filter by shipping provider"
709
+ msgstr "Filter by shipping provider"
710
+
711
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
712
+ msgid "Cannot create existing order shipment tracking."
713
+ msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
714
+
715
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
716
+ msgid "Invalid order ID."
717
+ msgstr "Ugyldigt ordre-ID."
718
+
719
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
720
+ msgid "Special character not allowd in tracking number"
721
+ msgstr "Specialtegn er ikke tilladt i sporingsnummer"
722
+
723
+ #: includes/customizer/class-wcast-customizer.php:32
724
+ #: includes/customizer/class-wcast-customizer.php:103
725
+ msgid "Tracking info display"
726
  msgstr ""
727
+ "Tracking info display\n"
728
+
729
+ #: includes/customizer/class-wcast-customizer.php:42
730
+ msgid "Order Status Emails"
731
+ msgstr "E-mails med ordrestatus"
732
+
733
+ #: includes/customizer/class-wcast-customizer.php:51
734
+ msgid "Shipment Status Emails"
735
+ msgstr "Sendingsstatus-e-mails"
736
+
737
+ #: includes/customizer/class-wcast-customizer.php:58
738
+ #: includes/views/admin_status_notifications.php:138
739
+ msgid "Admin Notifications"
740
+ msgstr "Adminmeddelelser"
741
+
742
+ #: includes/customizer/class-wcast-customizer.php:71
743
+ #: includes/views/admin_options_settings.php:15
744
+ msgid "General Settings"
745
+ msgstr "Generelle indstillinger"
746
+
747
+ #: includes/customizer/class-wcast-customizer.php:79
748
+ msgid "Table layout design"
749
+ msgstr "Tabellayoutdesign"
750
+
751
+ #: includes/customizer/class-wcast-customizer.php:87
752
+ msgid "Simple layout design"
753
+ msgstr "Simpelt layoutdesign"
754
+
755
+ #: includes/customizer/class-wcast-customizer.php:111
756
+ #: includes/customizer/class-wc-email-customizer.php:163
757
+ msgid "Delivered order status email"
758
+ msgstr ""
759
+ "Leveret ordre status email\n"
760
+
761
+ #: includes/customizer/class-wcast-customizer.php:118
762
+ msgid "Completed order status email"
763
+ msgstr "Fuldført e-mail med ordrestatus"
764
+
765
+ #: includes/customizer/class-wcast-customizer.php:125
766
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
767
+ msgid "Partially Shipped status email"
768
+ msgstr "Delvis afsendt status-e-mail"
769
+
770
+ #: includes/customizer/class-wcast-customizer.php:133
771
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
772
+ msgid "Updated Tracking status email"
773
+ msgstr ""
774
+ "Opdateret e-mail med sporingsstatus\n"
775
+
776
+ #: includes/customizer/class-wcast-customizer.php:203
777
+ #: includes/views/admin_status_notifications.php:152
778
+ msgid "Late Shipments"
779
+ msgstr "Sent forsendelse"
780
+
781
+ #: includes/customizer/class-wcast-customizer.php:516
782
+ msgid "Select order to preview"
783
+ msgstr ""
784
+ "Vælg rækkefølge for at forhåndsvise\n"
785
 
786
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
787
+ msgid "Your order #{order_number} is available for pickup"
788
+ msgstr ""
789
+ "Din ordre # {order_number} er tilgængelig til afhentning\n"
790
 
791
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
792
  msgid ""
793
+ "Hi there. we thought you'd like to know that your recent order from "
794
+ "{site_title} is available for pickup."
795
  msgstr ""
796
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
797
+ "er tilgængelig til afhentning.\n"
798
+
799
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
800
+ msgid "Available For Pickup email"
801
+ msgstr "Tilgængelig til afhentnings-e-mail"
802
+
803
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
804
+ msgid "Enable Available For Pickup email"
805
+ msgstr "Aktiver tilgængelig til afhentnings-e-mail"
806
+
807
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
808
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
809
+ #: includes/customizer/class-wc-email-customizer.php:197
810
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
811
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
812
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
813
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
814
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
815
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
816
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
817
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
818
+ msgid "Preview order"
819
+ msgstr ""
820
+ "Forhåndsvis rækkefølge\n"
821
+
822
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
823
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
824
+ #: includes/customizer/class-wc-email-customizer.php:226
825
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
826
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
827
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
828
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
829
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
830
+ msgid "E.g. {customer.email}, admin@example.org"
831
+ msgstr "F.eks {customer.email}, admin@example.org"
832
+
833
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
834
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
835
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
836
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
837
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
838
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
839
+ msgid "Email Subject"
840
+ msgstr "Email emne"
841
+
842
+ #. %s: list of placeholders
843
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
844
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
845
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
846
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
847
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
848
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
849
+ #: includes/customizer/class-wc-email-customizer.php:243
850
+ #: includes/customizer/class-wc-email-customizer.php:266
851
+ #: includes/customizer/class-wc-email-customizer.php:309
852
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
853
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
854
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
855
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
856
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
857
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
858
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
859
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
860
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
861
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
862
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
863
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
864
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
865
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
866
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
867
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
868
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
869
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
870
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
871
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
872
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
873
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
874
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
875
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
876
+ #: includes/emails/class-shipment-delivered-email.php:274
877
+ #: includes/emails/class-shipment-delivered-email.php:283
878
+ #: includes/views/admin_status_notifications.php:209
879
+ msgid "Available variables:"
880
+ msgstr "Tilgængelige variabler:"
881
+
882
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
883
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
884
+ #: includes/customizer/class-wc-email-customizer.php:289
885
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
886
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
887
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
888
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
889
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
890
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
891
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
892
+ #: includes/views/admin_status_notifications.php:203
893
+ msgid "Email content"
894
+ msgstr "Email indhold"
895
+
896
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
897
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
898
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
899
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
900
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
901
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
902
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
903
+ msgid "Show tracking details"
904
+ msgstr ""
905
+ "Vis sporingsoplysninger\n"
906
+
907
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
908
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
909
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
910
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
911
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
912
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
913
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
914
+ msgid "Show order details"
915
+ msgstr ""
916
+ "Vis bestilling detaljer\n"
917
+
918
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
919
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
920
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
921
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
922
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
923
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
924
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
925
+ msgid "Show billing address"
926
+ msgstr ""
927
+ "Vis faktureringsadresse\n"
928
+
929
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
930
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
931
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
932
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
933
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
934
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
935
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
936
+ msgid "Show shipping address"
937
+ msgstr ""
938
+ "Vis forsendelsesadresse\n"
939
+
940
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
941
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
942
+ #: includes/customizer/class-wc-email-customizer.php:415
943
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
944
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
945
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
946
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
947
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
948
+ msgid "Google Analytics link tracking"
949
+ msgstr "Google Analytics-linksporing"
950
+
951
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
952
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
953
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
954
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
955
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
956
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
957
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
958
+ msgid "This will be appended to URL in the email content"
959
+ msgstr "Dette føjes til URL i e-mail-indholdet"
960
+
961
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
962
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
963
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
964
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
965
+ #: includes/customizer/class-wc-email-customizer.php:454
966
+ #: includes/customizer/class-wc-email-customizer.php:462
967
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
968
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
969
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
970
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
971
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
972
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
973
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
974
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
975
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
976
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
977
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
978
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
979
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
980
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
981
+ msgid "Please select order to preview."
982
+ msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
983
 
984
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
985
+ msgid "Your order #{order_number} has been delivered"
986
+ msgstr "Din ordre nr. {Ordre_nummer} er leveret"
987
+
988
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
989
+ #: includes/customizer/class-wc-email-customizer.php:132
990
  msgid ""
991
  "Hi there. we thought you'd like to know that your recent order from "
992
+ "{site_title} has been Delivered."
993
+ msgstr ""
994
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
995
+ "er blevet leveret.\n"
996
+
997
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
998
+ msgid "Delivered email"
999
+ msgstr "Leveret e-mail"
1000
+
1001
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1002
+ msgid "Enable Delivered email"
1003
+ msgstr "Aktivér Leveret e-mail"
1004
+
1005
+ #: includes/customizer/class-wc-email-customizer.php:130
1006
+ #: includes/emails/class-shipment-delivered-email.php:94
1007
+ msgid "Your {site_title} order is now delivered"
1008
+ msgstr ""
1009
+ "Din {site_title} ordre er nu leveret\n"
1010
+
1011
+ #: includes/customizer/class-wc-email-customizer.php:179
1012
+ msgid "Enable Delivered order status email"
1013
+ msgstr ""
1014
+ "Aktivér leveret ordre status email\n"
1015
+
1016
+ #: includes/customizer/class-wc-email-customizer.php:201
1017
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1018
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1019
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1020
+ msgid "Please select a order..."
1021
+ msgstr "Vælg venligst en ordre ..."
1022
+
1023
+ #: includes/customizer/class-wc-email-customizer.php:326
1024
+ msgid "Display tracking details"
1025
+ msgstr "Vis sporingsdetaljer"
1026
+
1027
+ #: includes/customizer/class-wc-email-customizer.php:343
1028
+ msgid "Display order details"
1029
+ msgstr "Vis ordredetaljer"
1030
+
1031
+ #: includes/customizer/class-wc-email-customizer.php:361
1032
+ msgid "Display Shipping Address"
1033
+ msgstr "Vis forsendelsesadresse"
1034
+
1035
+ #: includes/customizer/class-wc-email-customizer.php:379
1036
+ msgid "Display Billing Address"
1037
+ msgstr "Vis faktureringsadresse"
1038
+
1039
+ #: includes/customizer/class-wc-email-customizer.php:397
1040
+ msgid "Enable Google Analytics tracking"
1041
+ msgstr "Aktivér Google Analytics-sporing"
1042
+
1043
+ #: includes/customizer/class-wc-email-customizer.php:416
1044
+ msgid ""
1045
+ "This will be appended to URL in the email content – e.g. "
1046
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1047
+ msgstr ""
1048
+ "Dette føjes til URL i e-mail-indholdet - f.eks. utm_source = ast & "
1049
+ "utm_medium = email & utm_campaign = leveret"
1050
+
1051
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1052
+ msgid "Your order #{order_number} is Failed Attempt"
1053
+ msgstr "Din ordre # {order_nummer} er mislykket"
1054
+
1055
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1056
+ msgid ""
1057
+ "Hi there. we thought you'd like to know that your recent order from "
1058
+ "{site_title} is Failed Attempt"
1059
  msgstr ""
1060
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1061
+ "mislykket forsøg"
1062
 
1063
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1064
+ msgid "Failed Attempt email"
1065
+ msgstr "Mislykket forsøgs-e-mail"
 
 
1066
 
1067
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1068
+ msgid "Enable Failed Attempt email"
1069
+ msgstr "Aktivér Mislykket forsøgs-e-mail"
1070
+
1071
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1072
+ msgid "Your order #{order_number} is in transit"
1073
  msgstr ""
1074
+ "Din ordre # {order_number} er i transit\n"
1075
+
1076
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1077
+ msgid ""
1078
+ "Hi there. we thought you'd like to know that your recent order from "
1079
+ "{site_title} is in transit"
1080
+ msgstr ""
1081
+ "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1082
+ "er i transit"
1083
+
1084
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1085
+ msgid "In Transit email"
1086
+ msgstr "I transit-e-mail"
1087
+
1088
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1089
+ msgid "Enable In Transit email"
1090
+ msgstr "Aktiver i transit-e-mail"
1091
+
1092
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1093
+ msgid "Your order #{order_number} is out for delivery"
1094
+ msgstr "Din ordre # {order_number} er ude for levering"
1095
+
1096
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1097
+ msgid ""
1098
+ "Hi there. we thought you'd like to know that your recent order from "
1099
+ "{site_title} is out for delivery."
1100
+ msgstr ""
1101
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1102
+ "er ude for levering."
1103
+
1104
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1105
+ msgid "Out For Delivery email"
1106
+ msgstr "E-mail til levering"
1107
+
1108
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1109
+ msgid "Enable Out For Delivery email"
1110
+ msgstr "Aktiver e-mail til levering"
1111
+
1112
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1113
+ msgid "Your order #{order_number} has returned to sender"
1114
+ msgstr "Din ordre # {order_number} er returneret til afsenderen"
1115
+
1116
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1117
+ msgid ""
1118
+ "Hi there. we thought you'd like to know that your recent order from "
1119
+ "{site_title} has been returned to sender."
1120
+ msgstr ""
1121
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1122
+ "er blevet returneret til afsenderen."
1123
+
1124
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1125
+ msgid "Return To Sender email"
1126
+ msgstr "Return To Sender email"
1127
+
1128
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1129
+ msgid "Enable Return To Sender email"
1130
+ msgstr "Aktivér E-mail til returnering til afsender"
1131
+
1132
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1133
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1134
+ #: templates/emails/tracking-info.php:288
1135
+ #: templates/myaccount/tracking-info.php:212
1136
+ msgid "Tracking Number"
1137
+ msgstr "Tracking nummer"
1138
+
1139
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1140
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1141
+ msgid "Shipped Date"
1142
+ msgstr ""
1143
+ "Afsendt dato\n"
1144
+
1145
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
1146
+ msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1147
+ msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
1148
+
1149
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1150
+ msgid "Select an order to preview and design the tracking info display."
1151
+ msgstr ""
1152
+ "Vælg en ordre for at få vist og designe visningen af ​​sporingsinfo.\n"
1153
+
1154
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1155
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1156
+ msgid "Tracking display layout"
1157
+ msgstr "Sporing af displaylayout"
1158
+
1159
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1160
+ msgid "Select Template"
1161
+ msgstr ""
1162
+ "Vælg skabelon\n"
1163
+
1164
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1165
+ msgid "Table Layout"
1166
+ msgstr ""
1167
+ "Tabellayout\n"
1168
 
1169
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1170
+ msgid "Tracking Display Position"
1171
+ msgstr "Sporing af skærmposition"
1172
+
1173
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1174
+ msgid "Before Order Details"
1175
+ msgstr "Før ordredetaljer"
1176
+
1177
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1178
+ msgid "After Order Details"
1179
+ msgstr "Efter ordredetaljer"
1180
 
1181
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1182
  msgid "Hide Tracking Header"
1183
  msgstr "Skjul sporingshoved"
1184
 
1185
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1186
+ msgid "Tracking Header text"
1187
+ msgstr ""
1188
+ "Sporing af overskriftstekst\n"
1189
 
1190
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1191
+ msgid "Tracking Information"
1192
+ msgstr "Sporing Oplysninger"
1193
 
1194
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1195
+ msgid "Additional text after header"
1196
+ msgstr "Yderligere tekst efter overskrift"
1197
 
1198
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1199
+ msgid "Hide tracking information from order line items"
1200
+ msgstr "Skjul sporingsoplysninger fra ordrelinjeposter"
1201
 
1202
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1203
+ msgid "Simple Layout Design"
1204
+ msgstr ""
1205
+ "Simpelt layoutdesign\n"
1206
 
1207
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1208
+ msgid "Content"
1209
+ msgstr "Indhold"
 
1210
 
1211
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1212
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1213
+ msgid "Content font size"
1214
+ msgstr ""
1215
+ "Indholdsstørrelse\n"
1216
 
1217
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1218
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1219
+ msgid "Content font color"
 
1220
  msgstr ""
1221
+ "Indhold font farve\n"
 
1222
 
1223
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1224
+ msgid "Show bottom border"
1225
+ msgstr ""
1226
+ "Vis nederste kant\n"
1227
 
1228
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1229
+ msgid "Bottom border color"
1230
  msgstr ""
1231
+ "Nederste kantfarve\n"
1232
 
1233
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1234
+ msgid "Table layout Design"
1235
+ msgstr ""
1236
+ "Tabellayout Design\n"
1237
 
1238
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1239
+ msgid "Display shipping provider name"
1240
+ msgstr ""
1241
+ "Vis forsendelsesudbyderens navn\n"
1242
 
1243
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1244
+ msgid "Display shipping provider image"
1245
+ msgstr ""
1246
+ "Vis forsendelsesudbyders billede\n"
1247
 
1248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1249
+ msgid "Hide the ship date"
1250
+ msgstr ""
1251
+ "Skjul skibets dato\n"
1252
 
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1254
+ msgid "Use tracking number as a link"
1255
+ msgstr "Brug sporingsnummer som et link"
1256
 
1257
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1258
+ msgid "Table Headers"
1259
+ msgstr ""
1260
+ "Bordoverskrifter\n"
1261
 
1262
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1263
+ msgid "Hide Table Headers"
 
1264
  msgstr ""
1265
+ "Skjul tabeloverskrifter\n"
1266
+
1267
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1268
+ msgid "Provider header text"
1269
+ msgstr ""
1270
+ "Udbyderens hovedtekst\n"
1271
 
1272
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1273
+ msgid "Tracking Number header text"
1274
+ msgstr ""
1275
+ "Sporing af nummeroverskriftstekst\n"
1276
 
1277
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1278
+ msgid "Ship date header text"
1279
+ msgstr ""
1280
+ "Send datoens overskriftstekst\n"
1281
 
1282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1283
+ msgid "Track Label"
1284
+ msgstr "Sporetiket"
1285
 
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1287
+ msgid "Track header text"
 
 
1288
  msgstr ""
1289
+ "Spor overskriftstekst\n"
1290
 
1291
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1292
+ msgid "Headers font size"
1293
+ msgstr ""
1294
+ "Headers skriftstørrelse\n"
 
1295
 
1296
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1297
+ msgid "Headers font color"
1298
+ msgstr ""
1299
+ "Headers fontfarve\n"
 
 
 
1300
 
1301
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1302
+ msgid "Table Content"
1303
+ msgstr "Table Content"
1304
 
1305
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1306
+ msgid "Padding"
1307
+ msgstr "polstring"
1308
 
1309
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1310
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1311
+ msgid "Background color"
1312
+ msgstr "Baggrundsfarve"
 
 
1313
 
1314
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1315
+ msgid "Border color"
1316
+ msgstr ""
1317
+ "Border farve\n"
 
 
 
1318
 
1319
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1320
+ msgid "Border size"
 
 
1321
  msgstr ""
1322
+ "Border størrelse\n"
 
1323
 
1324
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1325
+ msgid "Content Text align"
 
1326
  msgstr ""
1327
+ "Juster indholdstekst\n"
1328
 
1329
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1330
+ msgid "Content line height"
 
 
 
 
1331
  msgstr ""
1332
+ "Indholdslinjehøjde\n"
 
1333
 
1334
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1335
+ msgid "Content font weight"
1336
+ msgstr ""
1337
+ "Indhold skrifttype vægt\n"
1338
 
1339
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1340
+ msgid "Tracking Link"
1341
+ msgstr "Sporingslink"
1342
 
1343
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1344
+ msgid "Font Color"
1345
+ msgstr ""
1346
+ "Skrift farve\n"
1347
 
1348
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1349
+ msgid "Border"
1350
+ msgstr "Grænse"
 
1351
 
1352
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1353
+ msgid "Your {site_title} order is now partially shipped"
1354
+ msgstr "Din {site_title} ordre er nu delvist sendt"
 
 
 
1355
 
1356
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1357
+ msgid ""
1358
+ "Hi there. we thought you'd like to know that your recent order from "
1359
+ "{site_title} has been partially shipped."
1360
+ msgstr ""
1361
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1362
+ "delvist sendt.\n"
1363
 
1364
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1365
+ msgid "Enable Partially Shipped order status email"
1366
+ msgstr "Aktivér delvis afsendt ordre-status-e-mail"
1367
 
1368
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1369
+ msgid "Your {site_title} order is now updated tracking"
1370
+ msgstr ""
1371
+ "Din {site_title} ordre er nu opdateret sporing\n"
1372
 
1373
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1374
+ msgid ""
1375
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1376
+ "recent order from {site_title} has been updated."
1377
+ msgstr ""
1378
+ "Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
1379
+ "ordre fra {site_title} er blevet opdateret.\n"
1380
 
1381
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1382
+ msgid "Enable Updated Tracking order status email"
1383
+ msgstr ""
1384
+ "Aktivér e-mail med opdateret sporingsordrestatus\n"
1385
 
1386
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1387
+ #: includes/views/admin_status_notifications.php:197
1388
+ msgid "Late shipment for order #{order_number}"
1389
+ msgstr "Sen forsendelse til ordre nr. {Ordre_nummer}"
1390
 
1391
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
1392
+ msgid "Late shipment"
1393
+ msgstr "Sen forsendelse"
1394
 
1395
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1396
+ #: includes/views/admin_status_notifications.php:207
1397
+ msgid ""
1398
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1399
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1400
+ msgstr ""
1401
+ "Denne ordre blev afsendt for {shipment_length} dage siden, "
1402
+ "forsendelsesstatus er {shipment_status}, og dens forventede leveringsdato er "
1403
+ "{est_delivery_date}."
1404
+
1405
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1406
+ msgid "Your order #{order_number} is on hold"
1407
+ msgstr "Din ordre # {order_nummer} er på vent"
1408
 
1409
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1410
  msgid ""
1411
+ "Hi there. we thought you'd like to know that your recent order from "
1412
+ "{site_title} is on hold"
1413
+ msgstr ""
1414
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1415
+ "på vent"
1416
 
1417
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1418
+ msgid "On Hold email"
1419
+ msgstr "E-mail i venteposition"
 
 
 
1420
 
1421
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1422
+ msgid "Enable On Hold email"
1423
+ msgstr "Aktivér e-mail på vent"
1424
 
1425
+ #: includes/emails/class-shipment-delivered-email.php:32
1426
+ msgid "Delivered order"
1427
+ msgstr "Leveret ordre"
1428
+
1429
+ #: includes/emails/class-shipment-delivered-email.php:33
1430
+ msgid ""
1431
+ "Order delivered emails are sent to customers when their orders are marked "
1432
+ "delivered and usually indicate that their orders have been shipped."
1433
+ msgstr ""
1434
+ "Ordrer leverede e-mails sendes til kunderne, når deres ordrer er mærket "
1435
+ "leveret og angiver normalt, at deres ordrer er blevet sendt."
1436
+
1437
+ #: includes/emails/class-shipment-delivered-email.php:298
1438
+ msgid "Click Here"
1439
+ msgstr "Klik her"
1440
+
1441
+ #: includes/emails/class-shipment-delivered-email.php:299
1442
+ msgid "Edit in customizer"
1443
+ msgstr "Rediger i brugerdefineret"
1444
 
1445
+ #: includes/views/admin_options_bulk_upload.php:12
1446
+ msgid ""
1447
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1448
+ "file"
1449
+ msgstr ""
1450
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1451
+ "file"
1452
 
1453
+ #: includes/views/admin_options_bulk_upload.php:26
1454
+ msgid "Upload a CSV file from your computer:"
1455
+ msgstr "Upload en CSV-fil fra din computer:"
1456
 
1457
+ #: includes/views/admin_options_bulk_upload.php:34
1458
+ msgid "Choose the Shipped Date format"
1459
+ msgstr "Vælg formatet Sendt dato"
 
1460
 
1461
+ #: includes/views/admin_options_bulk_upload.php:48
1462
+ msgid "Replace tracking information?"
1463
+ msgstr "Erstat sporingsoplysninger?"
 
1464
 
1465
+ #: includes/views/admin_options_bulk_upload.php:48
1466
  msgid ""
1467
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1468
+ "info added to the orders."
1469
  msgstr ""
1470
+ "Sørg for, at sporingsoplysningerne ikke føjes til eksisterende "
1471
+ "sporingsoplysninger, der føjes til ordrene."
 
 
 
 
 
 
1472
 
1473
  #: includes/views/admin_options_bulk_upload.php:57
1474
+ msgid "Continue"
1475
+ msgstr "Blive ved"
1476
+
1477
+ #: includes/views/admin_options_bulk_upload.php:59
1478
  msgid "Settings Saved."
1479
  msgstr "Indstillinger gemt."
1480
 
1481
+ #: includes/views/admin_options_bulk_upload.php:76
1482
+ msgid "Import in Progress"
1483
+ msgstr "Import i gang"
 
 
1484
 
1485
+ #: includes/views/admin_options_bulk_upload.php:108
1486
+ msgid "View Orders"
1487
+ msgstr "Se ordrer"
 
 
1488
 
1489
+ #: includes/views/admin_options_bulk_upload.php:109
1490
+ msgid "Upload again"
1491
+ msgstr "Upload igen"
1492
 
1493
+ #: includes/views/admin_options_settings.php:23
1494
+ #: includes/views/admin_trackship_dashboard.php:45
1495
+ #: includes/views/admin_tracking_page_settings.php:104
1496
+ #: includes/views/admin_status_notifications.php:242
1497
+ msgid "Save Changes"
1498
+ msgstr "Gem ændringer"
1499
 
1500
+ #: includes/views/admin_options_settings.php:35
1501
+ msgid "Tracking Display Customizer"
1502
+ msgstr ""
 
 
 
 
1503
 
1504
+ #: includes/views/admin_options_settings.php:41
1505
+ msgid ""
1506
+ "Use a customizer with a preview to customize the tracking info display on "
1507
+ "customer order emails and my-account."
1508
  msgstr ""
1509
+ "Brug en customizer med en forhåndsvisning til at tilpasse visningen af "
1510
+ "​​sporingsinfo i e-mails med kundeordrer og min-konto."
1511
 
1512
+ #: includes/views/admin_options_settings.php:44
1513
+ msgid "Launch Customizer"
1514
+ msgstr "Start Customizer"
 
1515
 
1516
+ #: includes/views/admin_options_shipping_provider.php:22
1517
+ msgid "Active Providers"
1518
+ msgstr ""
 
 
1519
 
1520
+ #: includes/views/admin_options_shipping_provider.php:23
1521
+ msgid "Browse Providers"
1522
+ msgstr ""
1523
 
1524
+ #: includes/views/admin_options_shipping_provider.php:24
1525
+ msgid "Custom Providers"
1526
+ msgstr ""
1527
 
1528
+ #: includes/views/admin_options_shipping_provider.php:29
1529
+ msgid "Search by provider / country"
1530
+ msgstr "Søg efter udbyder / land"
1531
+
1532
+ #: includes/views/admin_options_shipping_provider.php:51
1533
+ msgid "Add Custom Shipping Provider"
1534
+ msgstr "Tilføj Tilpasset forsendelsesleverandør"
1535
 
1536
  #: includes/views/admin_options_shipping_provider.php:58
1537
+ #: includes/views/admin_options_shipping_provider.php:103
1538
  msgid "Shipping Provider"
1539
  msgstr "Forsendelsesudbyder"
1540
 
1541
+ #: includes/views/admin_options_shipping_provider.php:61
1542
+ #: includes/views/admin_options_shipping_provider.php:106
1543
+ msgid "Custom display name"
1544
+ msgstr "Brugerdefineret displaynavn"
 
 
 
 
 
1545
 
1546
+ #: includes/views/admin_options_shipping_provider.php:65
1547
+ #: includes/views/admin_options_shipping_provider.php:113
1548
+ msgid "Shipping Country"
1549
+ msgstr "Forsendelsesland"
 
1550
 
1551
+ #: includes/views/admin_options_shipping_provider.php:66
1552
+ #: includes/views/admin_options_shipping_provider.php:114
1553
+ msgid "Global"
1554
+ msgstr "Global"
1555
 
1556
+ #: includes/views/admin_options_shipping_provider.php:76
1557
+ #: includes/views/admin_options_shipping_provider.php:124
1558
+ msgid "Upload"
1559
+ msgstr "Upload"
1560
 
1561
+ #: includes/views/admin_options_shipping_provider.php:82
1562
+ #: includes/views/admin_options_shipping_provider.php:130
1563
+ msgid ""
1564
+ "You can use the variables %number%, %postal_code% and %country_code% in the "
1565
+ "URL, for more info, check our "
1566
  msgstr ""
1567
+ "Du kan bruge variablerne% number%,% postal_code% og% country_code% i URL'en, "
1568
+ "for mere info, se vores"
1569
 
1570
+ #: includes/views/admin_options_shipping_provider.php:82
1571
+ #: includes/views/admin_options_shipping_provider.php:130
1572
+ #, php-format
1573
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1574
+ msgstr "<a href=\"%s\" target=\"blank\"> dokumentation </a>"
1575
 
1576
+ #: includes/views/admin_options_shipping_provider.php:95
1577
+ msgid "Edit Shipping Provider"
1578
+ msgstr "Rediger forsendelsesudbyder"
1579
 
1580
+ #: includes/views/admin_options_shipping_provider.php:135
1581
+ msgid "Update"
1582
+ msgstr "Opdatering"
1583
+
1584
+ #: includes/views/admin_options_shipping_provider.php:136
1585
+ msgid "Reset"
1586
+ msgstr "Nulstil"
1587
+
1588
+ #: includes/views/admin_options_shipping_provider.php:146
1589
+ #: includes/views/admin_options_shipping_provider.php:161
1590
  msgid "Sync Shipping Providers"
1591
  msgstr "Synkroniseringsforsendelser"
1592
 
1593
+ #: includes/views/admin_options_shipping_provider.php:151
1594
  msgid ""
1595
  "Syncing the shipping providers list add or updates the pre-set shipping "
1596
  "providers and will not effect custom shipping providers."
1599
  "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
1600
  "forsendelsesleverandører."
1601
 
1602
+ #: includes/views/admin_options_shipping_provider.php:153
1603
+ msgid "Providers Added"
1604
+ msgstr "Udbydere tilføjet"
1605
 
1606
+ #: includes/views/admin_options_shipping_provider.php:154
1607
+ msgid "Providers Updated"
1608
+ msgstr "Udbydere opdateret"
1609
+
1610
+ #: includes/views/admin_options_shipping_provider.php:155
1611
+ msgid "Providers Deleted"
1612
+ msgstr "Udbydere er slettet"
1613
 
1614
+ #: includes/views/admin_options_shipping_provider.php:157
1615
+ msgid "Shipping providers database reset successfully."
1616
+ msgstr "Forsendelsesdatabase nulstilles med succes."
 
1617
 
1618
+ #: includes/views/admin_options_shipping_provider.php:159
1619
+ msgid ""
1620
+ "Reset providers database, it will reset all your shipping provider database"
1621
+ msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
1622
 
1623
+ #: includes/views/admin_options_trackship_integration.php:16
1624
+ #: includes/views/admin_options_addons.php:130
1625
+ msgid "Watch Video"
1626
+ msgstr "Se video"
1627
 
1628
+ #: includes/views/admin_options_trackship_integration.php:17
1629
+ #: includes/views/admin_options_addons.php:134
1630
+ msgid "Start your free trial"
1631
+ msgstr "Start din gratis prøveperiode"
1632
 
1633
+ #: includes/views/admin_options_addons.php:111
1634
+ msgid "License"
1635
+ msgstr "Licens"
 
 
 
 
 
 
1636
 
1637
+ #: includes/views/admin_options_addons.php:132
1638
+ #: includes/views/trackship_sidebar.php:14
1639
+ msgid "Account Dashboard"
1640
+ msgstr "Kontoudashboard"
1641
 
1642
+ #: includes/views/admin_trackship_dashboard.php:13
1643
+ #, php-format
1644
+ msgid ""
1645
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1646
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1647
+ msgstr ""
1648
+ "Du har% s afsendt ordrer fra de sidste 30 dage, som du kan sende i bulk til "
1649
+ "<a href = \"javascript: void (0);\" class = \"tool_link\"> Få "
1650
+ "forsendelsesstatus </a>"
1651
 
1652
+ #: includes/views/admin_trackship_dashboard.php:33
1653
+ msgid "Automation"
1654
+ msgstr "Automatisering"
 
 
 
 
 
 
 
1655
 
1656
+ #: includes/views/admin_tracking_page_settings.php:10
1657
+ msgid "Enable a tracking page on your store"
1658
+ msgstr "Aktivér en sporingsside i din butik"
1659
 
1660
+ #: includes/views/admin_tracking_page_settings.php:36
1661
+ msgid "Other"
1662
+ msgstr "Andet"
1663
 
1664
+ #: includes/views/admin_tracking_page_settings.php:41
1665
+ msgid ""
1666
+ "Note - If you select a different page than the Shipment Tracking page, add "
1667
+ "the [wcast-track-order] shortcode to the selected page content."
1668
  msgstr ""
1669
+ "Bemærk - Hvis du vælger en anden side end siden med sporing af forsendelse, "
1670
+ "tilføj kortkoden [wcast-track-order] til det valgte sideindhold.\n"
1671
 
1672
+ #: includes/views/admin_tracking_page_settings.php:41
1673
+ msgid "more info"
1674
+ msgstr ""
1675
+ "mere info\n"
 
 
 
 
 
1676
 
1677
+ #: includes/views/admin_tracking_page_settings.php:46
1678
+ msgid "Tracking Widget Layout"
1679
+ msgstr ""
1680
 
1681
+ #: includes/views/admin_tracking_page_settings.php:65
1682
+ msgid "Tracking Widget Options"
1683
  msgstr ""
 
1684
 
1685
+ #: includes/views/admin_tracking_page_settings.php:81
1686
+ msgid "Hide tracking event details"
1687
  msgstr ""
1688
+ "Skjul detaljer om sporingsbegivenhed\n"
1689
 
1690
+ #: includes/views/admin_tracking_page_settings.php:92
1691
+ msgid "Tracking Widget Border Color"
 
 
 
 
 
 
1692
  msgstr ""
 
 
1693
 
1694
+ #: includes/views/admin_tracking_page_settings.php:105
1695
+ msgid "Preview"
1696
+ msgstr "Eksempel"
1697
 
1698
+ #: includes/views/admin_tracking_page_settings.php:116
1699
+ msgid "Tracking Widget Preview"
1700
+ msgstr "Eksempel på sporing af widget"
 
 
 
1701
 
1702
+ #: includes/views/admin_status_notifications.php:3
1703
+ msgid "Shipment Status Email Notifications"
1704
+ msgstr "Forsendelsesstatus E-mail-meddelelser"
 
1705
 
1706
+ #: includes/views/admin_status_notifications.php:37
1707
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1708
+ msgstr ""
1709
+ "Forsendelsen blev accepteret af forsendelsesudbyderen og dens undervejs."
1710
 
1711
+ #: includes/views/admin_status_notifications.php:52
1712
+ msgid "The shipment is On Hold."
1713
+ msgstr "Forsendelsen er i venteposition."
1714
 
1715
+ #: includes/views/admin_status_notifications.php:67
1716
+ msgid "Shipment is returned to sender."
1717
+ msgstr "Forsendelse returneres til afsenderen."
1718
 
1719
+ #: includes/views/admin_status_notifications.php:82
1720
+ msgid "The shipment is ready to by picked up."
1721
+ msgstr "Forsendelsen er klar til afhentning."
 
 
 
1722
 
1723
+ #: includes/views/admin_status_notifications.php:97
1724
+ msgid "Carrier is about to deliver the shipment."
1725
+ msgstr "Carrier er ved at levere forsendelsen."
 
 
 
 
1726
 
1727
+ #: includes/views/admin_status_notifications.php:97
1728
+ msgid "Out For delivery"
1729
+ msgstr "Ud til levering"
1730
 
1731
+ #: includes/views/admin_status_notifications.php:112
1732
+ msgid "The shipment was delivered successfully."
1733
+ msgstr "Forsendelsen blev leveret med succes."
1734
+
1735
+ #: includes/views/admin_status_notifications.php:127
1736
+ msgid "Carrier attempted to deliver the package but failed."
1737
+ msgstr "Luftfartsselskab forsøgte at levere pakken, men mislykkedes."
1738
 
1739
+ #: includes/views/admin_status_notifications.php:152
1740
  msgid ""
1741
+ "If a shipment reached the number of days that you define, and the shipment "
1742
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
1743
  msgstr ""
1744
+ "Hvis en forsendelse nåede det antal dage, du definerede, og forsendelsen "
1745
+ "ikke \"leveres\" eller \"Returneres til afsender\", vil e-mail udløse."
1746
 
1747
+ #: includes/views/admin_status_notifications.php:173
1748
+ msgid "Late Shipment Days"
1749
+ msgstr "Sen forsendelsesdage"
1750
 
1751
+ #: includes/views/admin_status_notifications.php:187
1752
+ msgid "E.g. {admin_email}, admin@example.org"
1753
+ msgstr "F.eks. {admin_email}, admin@example.org"
 
 
 
1754
 
1755
+ #: includes/views/admin_status_notifications.php:222
1756
+ msgid "Trigger Alert"
1757
+ msgstr "Trigger Alert"
1758
 
1759
+ #: includes/views/admin_status_notifications.php:227
1760
+ msgid "As it Happens"
1761
+ msgstr "Som det sker"
1762
+
1763
+ #: includes/views/admin_status_notifications.php:231
1764
+ msgid "Daily Digest on"
1765
+ msgstr "Daglig fordøjelse"
1766
+
1767
+ #: includes/views/admin_options_tools.php:11
1768
+ msgid "Tracking info sent to Trackship for all Orders."
1769
+ msgstr "Sporingsinfo sendt til Trackship for alle ordrer."
1770
+
1771
+ #: includes/views/admin_options_tools.php:14
1772
  msgid ""
1773
+ "You can send all your orders from the last 30 days to get shipment status "
1774
+ "from TrackShip:"
1775
  msgstr ""
1776
+ "Du kan sende alle dine ordrer fra de sidste 30 dage for at "
1777
+ "forsendelsesstatus fra TrackShip:"
1778
 
1779
+ #: includes/views/admin_options_osm.php:36
1780
+ #: includes/views/admin_options_osm.php:79
1781
+ #: includes/views/admin_options_osm.php:119
1782
+ msgid "Light Font"
1783
+ msgstr ""
1784
+ "Let skrift\n"
 
 
 
 
1785
 
1786
+ #: includes/views/admin_options_osm.php:37
1787
+ #: includes/views/admin_options_osm.php:80
1788
+ #: includes/views/admin_options_osm.php:120
1789
+ msgid "Dark Font"
1790
+ msgstr ""
1791
+ "Mørk skrifttype\n"
1792
 
1793
+ #: includes/views/admin_options_osm.php:41
1794
+ #: includes/views/admin_options_osm.php:84
1795
+ #: includes/views/admin_options_osm.php:124
1796
+ msgid "Send Email"
 
1797
  msgstr ""
1798
+ "Send e-mail\n"
 
1799
 
1800
+ #: includes/views/trackship_sidebar.php:12
1801
+ msgid "TrackShip Connection Status"
1802
+ msgstr "TrackShip-forbindelsesstatus"
1803
+
1804
+ #: includes/views/trackship_sidebar.php:20
1805
+ msgid "Trackers Balance"
1806
+ msgstr "Trackers Balance"
1807
+
1808
+ #: includes/views/trackship_sidebar.php:24
1809
+ msgid "Subscription Plan"
1810
+ msgstr "Abonnementsplan"
1811
+
1812
+ #: includes/views/trackship_sidebar.php:28
1813
+ msgid "Upgrade Now"
1814
+ msgstr "Opgrader nu"
1815
+
1816
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
1817
+ msgid "Download sample csv"
1818
+ msgstr "Download prøve csv"
1819
+
1820
+ #: templates/emails/tracking-info.php:281
1821
+ #: templates/myaccount/tracking-info.php:207
1822
+ msgid "Provider Name"
1823
+ msgstr "Udbyderens navn"
1824
 
1825
+ #. %s: Order ID.
1826
+ #: templates/emails/wcast-email-order-details.php:48
1827
  #, php-format
1828
+ msgid "Order number: %s"
1829
+ msgstr ""
1830
+ "Ordrenummer:% s\n"
1831
 
1832
+ #: includes/views/front/tracking_page_header.php:22
1833
+ msgid "Est. Delivery Date"
1834
+ msgstr ""
1835
+ "Est. Leveringsdato\n"
1836
 
1837
+ #: includes/views/front/layout1_tracking_details.php:4
1838
+ msgid "Tracking Details"
1839
+ msgstr "Sporingsdetaljer"
1840
 
1841
+ #: includes/views/front/layout1_tracking_details.php:8
1842
+ msgid "Destination Details"
1843
+ msgstr "Destinationsoplysninger"
1844
+
1845
+ #: includes/views/front/layout1_tracking_details.php:25
1846
+ msgid "Origin Details"
1847
+ msgstr "Oprindelsesdetaljer"
1848
+
1849
+ #: includes/views/front/track_order_form.php:3
1850
+ msgid ""
1851
+ "To track your order please enter your Order ID in the box below and press "
1852
+ "the \"Track\" button. This was given to you on your receipt and in the "
1853
+ "confirmation email you should have received."
1854
  msgstr ""
1855
+ "For at spore din ordre skal du indtaste dit ordre-id i boksen herunder og "
1856
+ "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
1857
+ "den bekræftelses e-mail, du skulle have modtaget.\n"
1858
+
1859
+ #: includes/views/front/track_order_form.php:4
1860
+ #: includes/views/front/track_order_form.php:5
1861
+ msgid "Found in your order confirmation email."
1862
+ msgstr ""
1863
+ "Findes i din ordrebekræftelses-email.\n"
1864
+
1865
+ #: includes/views/front/track_order_form.php:5
1866
+ msgid "Order Email"
1867
+ msgstr ""
1868
+ "Bestil Email\n"
1869
 
1870
+ #: templates/emails/plain/tracking-info.php:35
1871
+ #, php-format
1872
+ msgid "Shipment status changed to %s"
1873
+ msgstr "Forsendelsesstatus ændret til% s"
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,1141 +12,1496 @@ 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."
548
- 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."
556
  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."
615
  msgstr ""
616
- "Lassen Sie das Kontrollkästchen deaktiviert, damit die Tracking-"
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>"
715
- msgstr[0] ""
716
- "Teilweise versandt <span class=\"count\">(%s)</span>\n"
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>"
892
- msgstr[0] ""
893
- "Versand <span class=\"count\">(%s)</span>\n"
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."
980
  msgstr ""
981
- "Durch das Synchronisieren der Versandanbieterliste werden die "
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>"
1136
- msgstr[0] ""
1137
- "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
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,50 +1509,122 @@ 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 "
1179
- "reassign these orders to a different status"
1180
  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 +1632,313 @@ 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-11 09:37+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
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid ""
20
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
21
+ "for WooCommerce!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgstr ""
 
23
 
24
+ #: woocommerce-advanced-shipment-tracking.php:487
25
+ #, php-format
 
 
 
 
 
 
 
 
 
 
 
26
  msgid ""
27
+ "We detected %s orders that use the Delivered order status, You can reassign "
28
+ "these orders to a different status"
29
  msgstr ""
30
+ "Wir haben% s Bestellungen erkannt, die den Status \"Gelieferte Bestellung\" "
31
+ "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
32
 
33
+ #: woocommerce-advanced-shipment-tracking.php:499
34
+ #, php-format
35
  msgid ""
36
+ "We detected %s orders that use the Partially Shipped order status, You can "
37
+ "reassign these orders to a different status"
38
  msgstr ""
39
+ "Wir haben% s Bestellungen festgestellt, die den Status \"Teilversand\" "
40
+ "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
 
41
 
42
+ #: woocommerce-advanced-shipment-tracking.php:511
43
+ #, php-format
44
  msgid ""
45
+ "We detected %s orders that use the Updated Tracking order status, You can "
46
+ "reassign these orders to a different status"
47
  msgstr ""
48
+ "Wir haben% s Bestellungen festgestellt, die den Status \"Aktualisierte "
49
+ "Nachverfolgungsbestellung\" verwenden. Sie können diese Bestellungen einem "
50
+ "anderen Status zuweisen"
 
 
 
51
 
52
+ #: includes/class-wc-advanced-shipment-tracking-front.php:313
53
+ #, php-format
54
+ msgid "Shipment : %s (out of %s)"
 
 
 
 
 
55
  msgstr ""
 
 
56
 
57
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
58
+ #: includes/views/front/preview_tracking_page.php:25
59
+ msgid "Shipment"
 
60
  msgstr ""
 
 
61
 
62
+ #: includes/class-wc-advanced-shipment-tracking-front.php:344
63
+ #, php-format
64
+ msgid "Shipment - %s (out of %s)"
 
65
  msgstr ""
66
+ "Versand -% s (von% s)\n"
 
67
 
68
+ #: includes/class-wc-advanced-shipment-tracking-front.php:368
69
+ msgid "Tracking details not found in TrackShip"
70
+ msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
 
 
 
 
71
 
72
+ #: includes/class-wc-advanced-shipment-tracking.php:141
73
+ #: includes/class-wc-advanced-shipment-tracking.php:223
74
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
75
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
76
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
77
+ msgid "Shipment Tracking"
78
+ msgstr "Sendungsverfolgung"
79
 
80
+ #: includes/class-wc-advanced-shipment-tracking.php:246
81
+ #: includes/class-wc-advanced-shipment-tracking.php:419
82
+ msgid "Track Shipment"
 
83
  msgstr ""
84
+ "Sendung verfolgen\n"
 
85
 
86
+ #. 1: shipping date
87
+ #: includes/class-wc-advanced-shipment-tracking.php:256
88
+ #, php-format
89
+ msgid "Shipped on %s"
90
+ msgstr "Versand auf% s"
 
 
91
 
92
+ #: includes/class-wc-advanced-shipment-tracking.php:313
93
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
94
+ msgid "Mark as Shipped?"
95
+ msgstr "Als versandt markieren?"
 
 
 
96
 
97
+ #: includes/class-wc-advanced-shipment-tracking.php:316
98
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
99
+ msgid "Mark as Completed?"
100
+ msgstr "Als erledigt markieren?"
 
 
 
101
 
102
+ #: includes/class-wc-advanced-shipment-tracking.php:328
103
+ msgid "Add Tracking Info"
104
+ msgstr "Tracking-Info hinzufügen"
 
 
 
 
105
 
106
+ #: includes/class-wc-advanced-shipment-tracking.php:332
107
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
108
+ msgid "Tracking number:"
109
+ msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
 
 
 
 
110
 
111
+ #: includes/class-wc-advanced-shipment-tracking.php:337
112
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
113
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
114
+ msgid "Shipping Provider:"
115
+ msgstr "Versandanbieter:"
 
 
116
 
117
+ #: includes/class-wc-advanced-shipment-tracking.php:338
118
+ msgid "Select Provider"
119
+ msgstr "Wählen Sie Provider aus"
 
 
 
 
 
 
120
 
121
+ #: includes/class-wc-advanced-shipment-tracking.php:375
122
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
123
+ msgid "Product Code:"
124
+ msgstr "Produktcode:"
125
 
126
+ #: includes/class-wc-advanced-shipment-tracking.php:383
127
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
128
+ msgid "Date shipped:"
129
+ msgstr "Lieferdatum:"
130
 
131
+ #: includes/class-wc-advanced-shipment-tracking.php:397
132
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
133
+ msgid "Mark order as:"
134
+ msgstr "Bestellung markieren als:"
135
 
136
+ #: includes/class-wc-advanced-shipment-tracking.php:400
137
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
138
+ msgid "Partial Shipped"
139
+ msgstr "Teilweise versandt"
140
 
141
+ #: includes/class-wc-advanced-shipment-tracking.php:416
142
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
143
+ msgid "Save Tracking"
144
+ msgstr "Tracking speichern"
145
 
146
+ #: includes/class-wc-advanced-shipment-tracking.php:419
147
+ msgid "Preview:"
148
+ msgstr "Vorschau:"
149
 
150
+ #: includes/class-wc-advanced-shipment-tracking.php:721
151
+ #, php-format
152
+ msgid ""
153
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
154
+ msgstr ""
155
+ "Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
156
+ "Tracking-Nummer% s gelöscht"
157
+
158
+ #: includes/class-wc-advanced-shipment-tracking.php:752
159
+ #: includes/class-wc-advanced-shipment-tracking.php:773
160
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
161
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
162
+ #: templates/emails/tracking-info.php:311
163
+ #: templates/myaccount/tracking-info.php:232
164
+ #: includes/views/front/track_order_form.php:8
165
+ msgid "Track"
166
+ msgstr "Verfolgen"
167
 
168
+ #: includes/class-wc-advanced-shipment-tracking.php:1127
169
+ #: includes/class-wc-advanced-shipment-tracking.php:1218
170
+ #, php-format
171
+ msgid "Order was shipped with %s and tracking number is: %s"
172
+ msgstr ""
173
+ "Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
174
+
175
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
176
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
177
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
178
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
179
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
180
+ #: includes/customizer/class-wcast-customizer.php:187
181
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
182
+ #: includes/views/admin_status_notifications.php:112
183
+ #: includes/views/admin_options_osm.php:17
184
+ msgid "Delivered"
185
+ msgstr "Geliefert"
186
 
187
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
188
+ #, php-format
189
+ msgid "Delivered <span class=\"count\">(%s)</span>"
190
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
191
+ msgstr[0] ""
192
+ "Geliefert <span class=\"count\">(%s)</span>\n"
193
+ msgstr[1] ""
194
+ "Geliefert <span class=\"count\">(%s)</span>\n"
195
 
196
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
197
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
198
+ #: includes/views/admin_options_osm.php:101
199
+ msgid "Updated Tracking"
200
  msgstr ""
201
+ "Aktualisiertes Tracking\n"
202
 
203
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
204
+ #, php-format
205
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
206
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
207
+ msgstr[0] ""
208
+ "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
209
+ msgstr[1] ""
210
+ "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
211
 
212
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
213
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
214
+ #: includes/views/admin_options_osm.php:59
215
+ msgid "Partially Shipped"
216
+ msgstr ""
217
+ "zum Teil versandt\n"
218
 
219
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
220
+ #, php-format
221
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
222
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
223
+ msgstr[0] ""
224
+ "Teilweise versandt <span class=\"count\">(%s)</span>\n"
225
+ msgstr[1] ""
226
+ "Teilweise versandt <span class=\"count\">(%s)</span>\n"
227
 
228
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
229
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
230
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
231
+ msgid "Shipped"
232
+ msgstr "Versendet"
233
 
234
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
235
+ #, php-format
236
+ msgid "Shipped <span class=\"count\">(%s)</span>"
237
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
238
+ msgstr[0] ""
239
+ "Versand <span class=\"count\">(%s)</span>\n"
240
+ msgstr[1] ""
241
+ "Versand <span class=\"count\">(%s)</span>\n"
242
 
243
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
244
  msgid "Change status to shipped"
245
  msgstr ""
246
  "Ändern Sie den Status in \"Versand\"\n"
247
 
248
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
 
 
 
 
 
 
 
 
249
  msgid "Completed"
250
  msgstr "vollendet, fertiggestellt"
251
 
252
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
253
+ msgid "Add Tracking - order\t"
254
+ msgstr "Tracking hinzufügen - Bestellung"
 
 
 
 
255
 
256
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
257
+ msgid "Resend delivered order notification"
 
258
  msgstr ""
259
+ "Senden Sie die gelieferte Bestellbenachrichtigung erneut\n"
260
 
261
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
262
+ msgid "There are some issue with sync, Please Retry."
 
263
  msgstr ""
264
+ "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
265
+ "\n"
266
 
267
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
268
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
269
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
270
+ #: includes/views/admin_options_bulk_upload.php:87
271
+ msgid "view details"
272
  msgstr ""
273
+ "Details anzeigen\n"
 
 
 
 
274
 
275
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
276
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
277
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
278
+ msgid "hide details"
279
+ msgstr ""
280
+ "Details ausblenden\n"
281
 
282
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
283
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
284
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
285
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
286
+ msgid "Data saved successfully."
287
+ msgstr "Daten erfolgreich gespeichert."
288
 
289
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
290
+ #: includes/views/admin_tracking_page_settings.php:9
291
+ #: includes/views/trackship_settings.php:9
292
+ #: includes/views/trackship_settings.php:10
293
+ msgid "Tracking Page"
294
+ msgstr "Tracking-Seite"
295
+
296
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
297
+ #: includes/views/trackship_settings.php:12
298
+ #: includes/views/trackship_settings.php:13
299
+ msgid "Notifications"
300
+ msgstr "Benachrichtigungen"
301
+
302
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
303
+ #: includes/views/admin_options_tools.php:13
304
+ #: includes/views/trackship_settings.php:15
305
+ #: includes/views/trackship_settings.php:16
306
+ msgid "Tools"
307
+ msgstr "Werkzeuge"
308
+
309
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
310
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
311
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
312
+ msgid "Documentation"
313
+ msgstr "Dokumentation"
314
 
315
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
316
+ msgid ""
317
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
318
+ "for the tracking page to work."
319
+ msgstr ""
320
+ "Sie müssen der ausgewählten Seite den Shortcode [wcast-track-order] "
321
+ "hinzufügen, damit die Tracking-Seite funktioniert."
322
 
323
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
324
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
325
+ #: includes/views/admin_tracking_page_settings.php:27
326
+ msgid "Select Tracking Page"
327
+ msgstr ""
328
+ "Wählen Sie Tracking-Seite\n"
329
 
330
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
331
+ msgid "Use the tracking page in the customer email/my account tracking link"
332
+ msgstr ""
333
+ "Verwenden Sie die Tracking-Seite im Kunden-E-Mail- / Mein Account-Tracking-"
334
+ "Link"
335
 
336
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
337
+ msgid "Tracking Page Layout"
338
+ msgstr ""
339
+ "Seitenlayout verfolgen\n"
340
 
341
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
342
+ msgid "Select content border color for tracking page"
343
+ msgstr "Wählen Sie die Farbe des Inhaltsrahmens für die Tracking-Seite aus"
344
 
345
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
346
+ #: includes/views/admin_tracking_page_settings.php:71
347
+ msgid "Add a link to the Shipping provider page"
348
+ msgstr "Fügen Sie einen Link zur Seite Versandanbieter hinzu"
349
 
350
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
351
+ #: includes/views/admin_tracking_page_settings.php:76
352
+ msgid "Hide Shipping Provider Image"
353
  msgstr ""
354
+ "Bild des Versandanbieters ausblenden\n"
355
 
356
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
357
+ msgid "Hide tracking events details"
358
+ msgstr "Details zu Tracking-Ereignissen ausblenden"
359
 
360
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
361
+ #: includes/views/admin_tracking_page_settings.php:86
362
+ msgid "Remove TrackShip branding"
363
+ msgstr ""
364
+ "Entfernen Sie das TrackShip-Branding\n"
365
 
366
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
367
+ msgid "Enable TrackShip"
368
+ msgstr "TrackShip aktivieren"
 
369
 
370
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
371
+ msgid "Display Shipment Status Filter on Orders admin"
372
+ msgstr "Sendungsstatusfilter im Auftragsadministrator anzeigen"
373
 
374
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
375
+ msgid ""
376
+ "Automatically set the Order Status to Delivered when the shipment is "
377
+ "delivered "
378
+ msgstr ""
379
+ "Setzen Sie den Bestellstatus automatisch auf \"Geliefert\", wenn die Sendung "
380
+ "geliefert wird"
381
 
382
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
383
+ msgid ""
384
+ "To enable this option, the 'Delivered' order status should be enabled in the "
385
+ "AST settings."
386
+ msgstr ""
387
+ "Um diese Option zu aktivieren, sollte der Auftragsstatus \"Geliefert\" in "
388
+ "den AST-Einstellungen aktiviert sein."
389
+
390
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
391
+ msgid "Shipment status"
392
+ msgstr "Shipment status"
393
+
394
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
395
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1001
396
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1010
397
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1019
398
+ msgid "Get Shipment Status"
399
+ msgstr ""
400
+ "Sendungsstatus abrufen\n"
401
+
402
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
403
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
404
+ msgid "Pending TrackShip"
405
+ msgstr "Ausstehendes TrackShip"
406
+
407
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
408
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
409
+ msgid "Unknown"
410
+ msgstr "Unknown"
411
+
412
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
413
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
414
+ #: includes/customizer/class-wcast-customizer.php:141
415
+ msgid "Pre Transit"
416
+ msgstr ""
417
+ "Pre Transit\n"
418
+
419
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
420
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
421
+ #: includes/customizer/class-wcast-customizer.php:149
422
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
423
+ #: includes/views/admin_status_notifications.php:37
424
+ msgid "In Transit"
425
+ msgstr ""
426
+ "Im Transit\n"
427
+
428
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
429
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
430
+ #: includes/customizer/class-wcast-customizer.php:172
431
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
432
+ #: includes/views/admin_status_notifications.php:82
433
+ msgid "Available For Pickup"
434
+ msgstr ""
435
+ "Zur Abholung bereit\n"
436
+
437
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
438
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
439
+ #: includes/customizer/class-wcast-customizer.php:179
440
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
441
+ msgid "Out For Delivery"
442
+ msgstr ""
443
+ "Raus zur Lieferung\n"
444
+
445
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
446
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
447
+ #: includes/customizer/class-wcast-customizer.php:195
448
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
449
+ #: includes/views/admin_status_notifications.php:127
450
+ msgid "Failed Attempt"
451
+ msgstr "Misslungener Versuch"
452
+
453
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
454
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
455
+ msgid "Carrier Unsupported"
456
+ msgstr "Träger nicht unterstützt"
457
+
458
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
459
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
460
+ #: includes/customizer/class-wcast-customizer.php:165
461
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
462
+ #: includes/views/admin_status_notifications.php:67
463
+ msgid "Return To Sender"
464
+ msgstr ""
465
+ "Zurück an den Absender\n"
466
+
467
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
468
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
469
+ msgid "Invalid Tracking Number"
470
+ msgstr "Ungültige Tracking-Nummer"
471
+
472
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
473
+ msgid "Filter by shipment status"
474
+ msgstr "Filtern nach Sendungsstatus"
475
+
476
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
477
+ #: includes/customizer/class-wcast-customizer.php:157
478
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
479
+ #: includes/views/admin_status_notifications.php:52
480
+ msgid "On Hold"
481
+ msgstr "In Wartestellung"
482
+
483
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
484
+ msgid "Invalid User Key"
485
+ msgstr "Ungültiger Benutzerschlüssel"
486
+
487
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
488
+ msgid "Wrong Shipping Provider"
489
+ msgstr "Falscher Versandanbieter"
490
+
491
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1000
492
+ #, php-format
493
+ msgid ""
494
+ "You got %s %s orders with tracking info that were not sent to track on "
495
+ "TrackShip"
496
  msgstr ""
497
+ "Sie haben% s% s Bestellungen mit Tracking-Informationen erhalten, die nicht "
498
+ "an TrackShip gesendet wurden"
499
 
500
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1009
501
+ #, php-format
502
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
503
  msgstr ""
504
+ "Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-Guthaben ist "
505
+ "0\" erhalten."
506
 
507
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1018
508
+ #, php-format
509
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
510
+ msgstr ""
511
+ "Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-"
512
+ "Verbindungsproblem\" erhalten."
513
 
514
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1477
515
+ msgid "Shipment Providers"
516
+ msgstr ""
517
+ "Versandanbieter\n"
518
 
519
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1480
520
+ #: templates/emails/tracking-info.php:221
521
+ #: templates/emails/tracking-info.php:251
522
+ msgid "Shipment Status"
523
+ msgstr ""
524
+ "Versandstatus\n"
525
 
526
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
527
+ msgid "Tracking issues"
528
+ msgstr ""
529
+ "Verfolgung von Problemen\n"
530
 
531
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
532
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1497
533
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1514
534
+ msgid "data not available."
535
+ msgstr ""
536
+ "keine Daten verfügbar.\n"
537
 
538
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
539
+ msgid "View more on TrackShip"
540
  msgstr ""
541
+ "Erfahren Sie mehr über TrackShip\n"
542
 
543
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
544
+ msgid "Really delete this entry? This will not be undo."
545
+ msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
546
 
547
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
548
+ msgid "You can upload only csv file."
549
+ msgstr "Sie können nur CSV-Dateien hochladen."
550
 
551
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
552
+ msgid "This browser does not support HTML5."
553
+ msgstr "Dieser Browser unterstützt HTML5 nicht."
554
 
555
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
556
+ msgid "Please upload a valid CSV file."
557
+ msgstr "Please upload a valid CSV file."
558
 
559
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
560
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
561
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1579
562
+ msgid "Shipping Providers"
563
+ msgstr "Versandanbieter"
564
 
565
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
566
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
567
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
568
+ #: includes/views/admin_options_bulk_upload.php:11
569
+ msgid "CSV Import"
570
+ msgstr "CSV-Import"
571
 
572
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
573
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
574
+ #: includes/views/admin_options_addons.php:108
575
+ #: includes/views/admin_options_addons.php:114
576
+ msgid "Add-ons"
577
+ msgstr "Add-ons"
578
 
579
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
580
+ msgid "How to Video"
581
+ msgstr "Wie man ein Video macht"
582
 
583
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:524
584
+ #: includes/views/trackship_sidebar.php:13
585
+ msgid "Connected"
586
  msgstr ""
587
+ "In Verbindung gebracht\n"
588
 
589
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
590
+ #: includes/views/admin_options_settings.php:52
591
+ msgid "Custom Order Statuses"
592
+ msgstr "Status der benutzerdefinierten Bestellung"
593
 
594
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
595
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
596
+ msgstr "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
597
 
598
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
599
+ msgid ""
600
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
601
+ "will be selected by default when adding tracking info to orders."
602
+ msgstr ""
603
+ "Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
604
+ "Bestellungen standardmäßig die Option 'Als <span class =' ​​shipped_label '> "
605
+ "versendet </ span>' markiert ist."
606
 
607
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
608
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
609
+ msgstr ""
610
+ "Standard \"als <span class =\" shipped_label \"> abgeschlossen </ span> "
611
+ "markieren\""
612
 
613
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
614
  msgid ""
615
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
616
+ "will be selected by default when adding tracking info to orders."
617
  msgstr ""
618
+ "Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
619
+ "Bestellungen standardmäßig die Option 'Markieren als <span class =' "
620
+ "​​shipped_label '> erledigt </ span>' ausgewählt wird."
621
 
622
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:900
623
+ msgid ""
624
+ "Set the \"mark as shipped\" option checked when adding tracking info to "
625
+ "orders"
626
+ msgstr ""
627
 
628
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
629
+ msgid "Completed Order Status"
630
  msgstr ""
 
 
631
 
632
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
633
+ msgid "Rename the “Completed” Order status label to “Shipped”"
634
+ msgstr ""
635
 
636
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:915
637
+ msgid "On which order emails to include the shipment tracking info?"
638
+ msgstr ""
639
 
640
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:922
641
+ msgid "For which Order status to display Add Tracking action button?"
642
+ msgstr ""
 
643
 
644
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:929
645
+ msgid "Add Tracking Options"
646
+ msgstr ""
647
 
648
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
649
+ msgid "API Date Format"
650
+ msgstr "API-Datumsformat"
651
 
652
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1447
653
+ msgid "Shipped Order"
654
+ msgstr "Versandbestellung"
655
 
656
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1471
657
+ msgid "Mark order as delivered"
658
+ msgstr "Bestellung als geliefert markieren"
 
659
 
660
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
661
+ msgid "Add Tracking"
662
+ msgstr "Add Tracking"
 
663
 
664
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1498
665
+ msgid "Mark as Shipped"
666
+ msgstr "Als versandt markieren"
667
 
668
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1525
669
+ msgid "Change order status to"
670
+ msgstr "Ändern Sie den Auftragsstatus in"
671
+
672
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1570
673
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1744
674
+ msgid "Add Custom Provider"
675
+ msgstr "Benutzerdefinierten Anbieter hinzufügen"
676
+
677
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
678
+ msgid "Display Name"
679
+ msgstr "Anzeigename"
680
 
681
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
682
+ #: includes/views/admin_options_shipping_provider.php:100
683
  msgid ""
684
+ "The custom name will display in the tracking info section on the customer "
685
+ "order emails, my-account, shipment tracking page and shipment status emails."
686
  msgstr ""
687
+ "Der benutzerdefinierte Name wird im Abschnitt \"Tracking-Informationen\" in "
688
+ "den E-Mails mit Kundenbestellungen, meinem Konto, der "
689
+ "Sendungsverfolgungsseite und den Sendungsstatus-E-Mails angezeigt."
690
 
691
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1581
692
+ #: includes/views/admin_options_shipping_provider.php:109
693
+ msgid "API Name"
694
+ msgstr "API-Name"
 
 
695
 
696
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1582
697
+ msgid "Country"
698
+ msgstr "Land"
 
699
 
700
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1583
701
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1662
702
+ msgid "Default"
703
+ msgstr "Standard"
704
 
705
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1584
706
+ msgid "TrackShip"
707
+ msgstr "TrackShip"
708
 
709
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1585
710
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1663
711
+ msgid "Actions"
712
+ msgstr "Aktionen"
713
 
714
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1586
715
+ msgid "Active"
716
+ msgstr "Aktiv"
717
 
718
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
719
+ msgid "TrackShip supported"
720
+ msgstr "TrackShip wird unterstützt"
721
 
722
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
723
+ msgid "TrackShip not supported"
724
+ msgstr "TrackShip wird nicht unterstützt"
725
+
726
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1661
727
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
728
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
729
+ #: templates/emails/tracking-info.php:276
730
+ #: templates/myaccount/tracking-info.php:202
731
+ msgid "Provider"
732
+ msgstr "Anbieter"
733
+
734
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1743
735
+ #, php-format
736
+ msgid "You did not create any %s shipping providers yet."
737
+ msgstr "Sie haben noch keine% s Versandanbieter erstellt."
738
 
739
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1746
740
+ #: includes/views/admin_options_shipping_provider.php:45
741
+ #, php-format
742
+ msgid "You don't have any %s shipping providers."
743
+ msgstr "Sie haben keine% s Versandanbieter."
744
+
745
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1985
746
+ msgid "Filter by shipping provider"
747
+ msgstr "Nach Versandanbieter filtern"
748
 
749
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
750
+ msgid "Cannot create existing order shipment tracking."
751
+ msgstr ""
752
+ "Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
753
 
754
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
755
  msgid "Invalid order ID."
756
  msgstr ""
757
  "Ungültige Bestellnummer.\n"
758
 
759
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
760
+ msgid "Special character not allowd in tracking number"
 
 
761
  msgstr ""
762
+ "Sonderzeichen in Tracking-Nummer nicht zulässig\n"
 
 
 
 
 
 
763
 
764
+ #: includes/customizer/class-wcast-customizer.php:32
765
+ #: includes/customizer/class-wcast-customizer.php:103
766
+ msgid "Tracking info display"
767
  msgstr ""
768
+ "Tracking-Info-Anzeige\n"
769
 
770
+ #: includes/customizer/class-wcast-customizer.php:42
771
+ msgid "Order Status Emails"
772
+ msgstr "Bestellstatus-E-Mails"
773
 
774
+ #: includes/customizer/class-wcast-customizer.php:51
775
+ msgid "Shipment Status Emails"
776
+ msgstr "Sendungsstatus-E-Mails"
777
 
778
+ #: includes/customizer/class-wcast-customizer.php:58
779
+ #: includes/views/admin_status_notifications.php:138
780
+ msgid "Admin Notifications"
781
+ msgstr "Admin-Benachrichtigungen"
782
 
783
+ #: includes/customizer/class-wcast-customizer.php:71
784
+ #: includes/views/admin_options_settings.php:15
785
+ msgid "General Settings"
786
+ msgstr "Allgemeine Einstellungen"
787
 
788
+ #: includes/customizer/class-wcast-customizer.php:79
789
+ msgid "Table layout design"
790
+ msgstr "Design des Tabellenlayouts"
791
 
792
+ #: includes/customizer/class-wcast-customizer.php:87
793
+ msgid "Simple layout design"
794
+ msgstr "Einfaches Layout-Design"
795
 
796
+ #: includes/customizer/class-wcast-customizer.php:111
797
+ #: includes/customizer/class-wc-email-customizer.php:163
798
+ msgid "Delivered order status email"
799
  msgstr ""
800
+ "Bestellstatus per E-Mail zugestellt\n"
 
 
 
 
 
 
 
 
801
 
802
+ #: includes/customizer/class-wcast-customizer.php:118
803
+ msgid "Completed order status email"
804
+ msgstr "E-Mail mit dem Status der abgeschlossenen Bestellung"
805
 
806
+ #: includes/customizer/class-wcast-customizer.php:125
807
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
808
+ msgid "Partially Shipped status email"
 
809
  msgstr ""
810
+ "Teilweise versendete Status-E-Mail\n"
811
 
812
+ #: includes/customizer/class-wcast-customizer.php:133
813
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
814
+ msgid "Updated Tracking status email"
 
 
 
 
 
 
 
 
 
815
  msgstr ""
816
+ "Aktualisierte Tracking-Status-E-Mail\n"
 
 
 
 
 
817
 
818
+ #: includes/customizer/class-wcast-customizer.php:203
819
+ #: includes/views/admin_status_notifications.php:152
820
+ msgid "Late Shipments"
821
+ msgstr "Verspätete Lieferungen"
822
 
823
+ #: includes/customizer/class-wcast-customizer.php:516
824
+ msgid "Select order to preview"
825
+ msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
 
 
 
 
826
 
827
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
828
+ msgid "Your order #{order_number} is available for pickup"
829
+ msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
 
 
 
 
 
 
830
 
831
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
832
  msgid ""
833
+ "Hi there. we thought you'd like to know that your recent order from "
834
+ "{site_title} is available for pickup."
835
  msgstr ""
836
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
837
+ "{site_title} zur Abholung verfügbar ist."
838
+
839
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
840
+ msgid "Available For Pickup email"
841
+ msgstr "Verfügbar für Abhol-E-Mail"
842
+
843
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
844
+ msgid "Enable Available For Pickup email"
845
+ msgstr "Aktivieren Sie Verfügbar für Abhol-E-Mail"
846
+
847
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
848
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
849
+ #: includes/customizer/class-wc-email-customizer.php:197
850
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
851
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
852
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
853
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
854
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
855
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
856
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
857
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
858
+ msgid "Preview order"
859
+ msgstr "Vorschau der Bestellung"
860
+
861
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
862
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
863
+ #: includes/customizer/class-wc-email-customizer.php:226
864
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
865
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
866
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
867
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
868
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
869
+ msgid "E.g. {customer.email}, admin@example.org"
870
+ msgstr "Z.B. {customer.email}, admin@example.org"
871
+
872
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
873
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
874
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
875
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
876
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
877
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
878
+ msgid "Email Subject"
879
+ msgstr "E-Mail Betreff"
880
+
881
+ #. %s: list of placeholders
882
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
883
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
884
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
885
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
886
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
887
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
888
+ #: includes/customizer/class-wc-email-customizer.php:243
889
+ #: includes/customizer/class-wc-email-customizer.php:266
890
+ #: includes/customizer/class-wc-email-customizer.php:309
891
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
892
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
893
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
894
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
895
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
896
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
897
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
898
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
899
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
900
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
901
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
902
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
903
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
904
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
905
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
906
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
907
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
908
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
909
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
910
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
911
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
912
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
913
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
914
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
915
+ #: includes/emails/class-shipment-delivered-email.php:274
916
+ #: includes/emails/class-shipment-delivered-email.php:283
917
+ #: includes/views/admin_status_notifications.php:209
918
+ msgid "Available variables:"
919
+ msgstr "Verfügbare Variablen:"
920
 
921
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
922
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
923
+ #: includes/customizer/class-wc-email-customizer.php:289
924
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
925
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
926
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
927
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
928
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
929
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
930
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
931
+ #: includes/views/admin_status_notifications.php:203
932
+ msgid "Email content"
933
+ msgstr "E-Mail-Inhalt"
934
+
935
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
936
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
937
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
938
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
939
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
940
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
941
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
942
+ msgid "Show tracking details"
943
+ msgstr "Tracking-Details anzeigen"
944
+
945
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
946
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
947
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
948
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
949
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
950
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
951
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
952
+ msgid "Show order details"
953
+ msgstr ""
954
+ "Bestelldetails anzeigen\n"
955
+
956
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
957
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
958
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
959
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
960
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
961
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
962
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
963
+ msgid "Show billing address"
964
+ msgstr ""
965
+ "Rechnungsadresse anzeigen\n"
966
+
967
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
968
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
969
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
970
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
971
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
972
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
973
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
974
+ msgid "Show shipping address"
975
+ msgstr ""
976
+ "Lieferadresse anzeigen\n"
977
+
978
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
979
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
980
+ #: includes/customizer/class-wc-email-customizer.php:415
981
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
982
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
983
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
984
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
985
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
986
+ msgid "Google Analytics link tracking"
987
+ msgstr ""
988
+ "Google Analytics-Linkverfolgung\n"
989
+
990
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
991
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
992
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
993
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
994
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
995
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
996
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
997
+ msgid "This will be appended to URL in the email content"
998
+ msgstr ""
999
+ "Dies wird an die URL im E-Mail-Inhalt angehängt\n"
1000
+
1001
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
1002
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
1003
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
1004
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
1005
+ #: includes/customizer/class-wc-email-customizer.php:454
1006
+ #: includes/customizer/class-wc-email-customizer.php:462
1007
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
1008
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
1009
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
1010
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
1011
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
1012
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
1013
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
1014
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
1015
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1016
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1017
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
1018
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
1019
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
1020
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
1021
+ msgid "Please select order to preview."
1022
  msgstr ""
1023
+ "Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
 
1024
 
1025
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1026
+ msgid "Your order #{order_number} has been delivered"
 
 
 
 
1027
  msgstr ""
1028
+ "Ihre Bestellung Nr. {Order_number} wurde geliefert\n"
 
1029
 
1030
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
1031
+ #: includes/customizer/class-wc-email-customizer.php:132
1032
+ msgid ""
1033
+ "Hi there. we thought you'd like to know that your recent order from "
1034
+ "{site_title} has been Delivered."
1035
  msgstr ""
1036
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1037
+ "{site_title} geliefert wurde.\n"
1038
 
1039
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
1040
+ msgid "Delivered email"
1041
+ msgstr "E-Mail zugestellt"
1042
 
1043
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1044
+ msgid "Enable Delivered email"
1045
+ msgstr "Aktivieren Sie die zugestellte E-Mail"
1046
 
1047
+ #: includes/customizer/class-wc-email-customizer.php:130
1048
+ #: includes/emails/class-shipment-delivered-email.php:94
1049
+ msgid "Your {site_title} order is now delivered"
1050
+ msgstr ""
1051
+ "Ihre {site_title} Bestellung wird jetzt geliefert\n"
1052
 
1053
+ #: includes/customizer/class-wc-email-customizer.php:179
1054
+ msgid "Enable Delivered order status email"
1055
+ msgstr ""
1056
+ "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
 
 
1057
 
1058
+ #: includes/customizer/class-wc-email-customizer.php:201
1059
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1060
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1061
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1062
+ msgid "Please select a order..."
1063
+ msgstr ""
1064
+ "Bitte wählen Sie eine Bestellung aus ...\n"
1065
 
1066
+ #: includes/customizer/class-wc-email-customizer.php:326
1067
+ msgid "Display tracking details"
1068
+ msgstr ""
1069
+ "Tracking-Details anzeigen\n"
1070
 
1071
+ #: includes/customizer/class-wc-email-customizer.php:343
1072
+ msgid "Display order details"
1073
+ msgstr ""
1074
+ "Bestelldetails anzeigen\n"
1075
 
1076
+ #: includes/customizer/class-wc-email-customizer.php:361
1077
+ msgid "Display Shipping Address"
1078
+ msgstr ""
1079
+ "Lieferadresse anzeigen\n"
1080
 
1081
+ #: includes/customizer/class-wc-email-customizer.php:379
1082
+ msgid "Display Billing Address"
1083
+ msgstr ""
1084
+ "Rechnungsadresse anzeigen\n"
1085
 
1086
+ #: includes/customizer/class-wc-email-customizer.php:397
1087
+ msgid "Enable Google Analytics tracking"
1088
+ msgstr ""
1089
+ "Aktivieren Sie das Google Analytics-Tracking\n"
1090
 
1091
+ #: includes/customizer/class-wc-email-customizer.php:416
1092
+ msgid ""
1093
+ "This will be appended to URL in the email content – e.g. "
1094
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1095
+ msgstr ""
1096
+ "Dies wird an die URL im E-Mail-Inhalt angehängt - z. utm_source = ast & "
1097
+ "utm_medium = email & utm_campaign = geliefert\n"
1098
 
1099
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1100
+ msgid "Your order #{order_number} is Failed Attempt"
1101
+ msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
1102
 
1103
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1104
  msgid ""
1105
+ "Hi there. we thought you'd like to know that your recent order from "
1106
+ "{site_title} is Failed Attempt"
1107
  msgstr ""
1108
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
1109
+ "{site_title} fehlgeschlagen ist"
1110
 
1111
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1112
+ msgid "Failed Attempt email"
1113
+ msgstr "Fehlgeschlagener Versuch E-Mail"
 
 
 
1114
 
1115
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1116
+ msgid "Enable Failed Attempt email"
1117
+ msgstr "Aktivieren Sie die E-Mail \"Fehlgeschlagener Versuch\""
1118
 
1119
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1120
+ msgid "Your order #{order_number} is in transit"
1121
  msgstr ""
1122
+ "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
1123
 
1124
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1125
+ msgid ""
1126
+ "Hi there. we thought you'd like to know that your recent order from "
1127
+ "{site_title} is in transit"
1128
+ msgstr ""
1129
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1130
+ "{site_title} unterwegs ist\n"
1131
 
1132
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1133
+ msgid "In Transit email"
1134
+ msgstr "In Transit E-Mail"
1135
 
1136
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1137
+ msgid "Enable In Transit email"
1138
+ msgstr "In Transit-E-Mail aktivieren"
 
1139
 
1140
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1141
+ msgid "Your order #{order_number} is out for delivery"
1142
  msgstr ""
1143
+ "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
1144
 
1145
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1146
  msgid ""
1147
+ "Hi there. we thought you'd like to know that your recent order from "
1148
+ "{site_title} is out for delivery."
1149
  msgstr ""
1150
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1151
+ "{site_title} nicht lieferbar ist.\n"
1152
 
1153
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1154
+ msgid "Out For Delivery email"
1155
+ msgstr "Out For Delivery E-Mail"
 
 
1156
 
1157
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1158
+ msgid "Enable Out For Delivery email"
1159
+ msgstr "Aktivieren Sie Out for Delivery E-Mail"
1160
 
1161
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1162
+ msgid "Your order #{order_number} has returned to sender"
1163
+ msgstr ""
1164
+ "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
 
1165
 
1166
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1167
+ msgid ""
1168
+ "Hi there. we thought you'd like to know that your recent order from "
1169
+ "{site_title} has been returned to sender."
1170
+ msgstr ""
1171
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1172
+ "{site_title} an den Absender zurückgeschickt wurde.\n"
1173
 
1174
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1175
+ msgid "Return To Sender email"
1176
+ msgstr "Zurück zur Absender-E-Mail"
1177
 
1178
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1179
+ msgid "Enable Return To Sender email"
1180
+ msgstr "Aktivieren Sie Return To Sender E-Mail"
 
 
 
1181
 
1182
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1183
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1184
+ #: templates/emails/tracking-info.php:288
1185
+ #: templates/myaccount/tracking-info.php:212
1186
+ msgid "Tracking Number"
1187
+ msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
 
 
 
1188
 
1189
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1190
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1191
  msgid "Shipped Date"
1192
  msgstr "Versanddatum"
1193
 
1194
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
 
 
 
 
 
 
 
 
 
 
 
1195
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1196
  msgstr ""
1197
  "Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
1198
 
1199
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1200
+ msgid "Select an order to preview and design the tracking info display."
 
 
 
 
1201
  msgstr ""
1202
+ "Wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen und die Anzeige "
1203
+ "der Tracking-Informationen zu gestalten.\n"
1204
 
1205
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1206
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1207
+ msgid "Tracking display layout"
1208
+ msgstr "Tracking-Display-Layout"
1209
 
1210
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1211
+ msgid "Select Template"
1212
+ msgstr ""
1213
+ "Vorlage auswählen\n"
1214
 
1215
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1216
+ msgid "Table Layout"
1217
+ msgstr ""
1218
+ "Tabellenlayout\n"
 
1219
 
1220
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1221
+ msgid "Tracking Display Position"
1222
+ msgstr "Verfolgung der Anzeigeposition"
 
 
1223
 
1224
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1225
+ msgid "Before Order Details"
1226
+ msgstr "Vor der Bestellung Details"
1227
 
1228
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1229
+ msgid "After Order Details"
1230
+ msgstr "Nach Auftragsdetails"
1231
 
1232
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1233
+ msgid "Hide Tracking Header"
1234
+ msgstr "Tracking-Header ausblenden"
1235
+
1236
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1237
+ msgid "Tracking Header text"
1238
  msgstr ""
1239
+ "Tracking-Header-Text\n"
1240
+
1241
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1242
+ msgid "Tracking Information"
1243
+ msgstr "Tracking-Informationen"
1244
 
1245
  #: includes/customizer/class-wc-tracking-info-customizer.php:295
1246
+ msgid "Additional text after header"
1247
+ msgstr "Zusätzlicher Text nach Kopfzeile"
1248
+
1249
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1250
+ msgid "Hide tracking information from order line items"
1251
+ msgstr "Verfolgen Sie Tracking-Informationen aus Auftragspositionen"
1252
+
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1254
  msgid "Simple Layout Design"
1255
  msgstr ""
1256
  "Einfaches Layout Design\n"
1257
 
1258
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1259
+ msgid "Content"
1260
+ msgstr "Inhalt"
1261
+
1262
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1263
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1264
+ msgid "Content font size"
1265
  msgstr ""
1266
+ "Schriftgröße des Inhalts\n"
1267
 
1268
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1269
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1270
+ msgid "Content font color"
1271
  msgstr ""
1272
+ "Schriftfarbe des Inhalts\n"
1273
 
1274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1275
+ msgid "Show bottom border"
 
 
1276
  msgstr ""
1277
+ "Zeige unteren Rand\n"
 
 
1278
 
1279
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1280
+ msgid "Bottom border color"
1281
  msgstr ""
1282
+ "Farbe des unteren Randes\n"
1283
 
1284
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1285
+ msgid "Table layout Design"
1286
+ msgstr ""
1287
+ "Tabellenlayout Design\n"
1288
 
1289
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1290
+ msgid "Display shipping provider name"
1291
+ msgstr ""
1292
+ "Name des Versandanbieters anzeigen\n"
1293
 
1294
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1295
+ msgid "Display shipping provider image"
1296
  msgstr ""
1297
+ "Bild des Versandanbieters anzeigen\n"
1298
 
1299
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1300
+ msgid "Hide the ship date"
1301
+ msgstr ""
1302
+ "Verstecken Sie das Versanddatum\n"
1303
 
1304
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1305
+ msgid "Use tracking number as a link"
1306
+ msgstr ""
1307
+ "Verwenden Sie die Tracking-Nummer als Link\n"
1308
 
1309
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1310
+ msgid "Table Headers"
 
 
 
1311
  msgstr ""
1312
+ "Tabellenüberschriften\n"
 
 
 
1313
 
1314
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1315
+ msgid "Hide Table Headers"
1316
  msgstr ""
1317
+ "Tabellenüberschriften ausblenden\n"
 
1318
 
1319
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1320
+ msgid "Provider header text"
1321
+ msgstr ""
1322
+ "Provider-Header-Text\n"
1323
 
1324
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1325
+ msgid "Tracking Number header text"
1326
+ msgstr ""
1327
+ "Tracking-Nummer-Header-Text\n"
 
 
 
 
 
 
1328
 
1329
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1330
+ msgid "Ship date header text"
1331
+ msgstr ""
1332
+ "Versanddatum Kopfzeilentext\n"
1333
 
1334
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1335
+ msgid "Track Label"
1336
+ msgstr "Track Label"
1337
 
1338
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1339
  msgid "Track header text"
1340
  msgstr ""
1341
  "Verfolgen Sie den Header-Text\n"
1342
 
1343
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1344
+ msgid "Headers font size"
 
1345
  msgstr ""
1346
+ "Schriftgröße der Überschriften\n"
1347
 
1348
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1349
+ msgid "Headers font color"
1350
+ msgstr ""
1351
+ "Schriftfarbe der Überschriften\n"
1352
 
1353
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1354
+ msgid "Table Content"
1355
+ msgstr ""
1356
+ "Tabelleninhalt\n"
1357
 
1358
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1359
+ msgid "Padding"
1360
+ msgstr "Polsterung"
1361
+
1362
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1363
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1364
+ msgid "Background color"
1365
  msgstr ""
1366
+ "Hintergrundfarbe\n"
1367
 
1368
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1369
+ msgid "Border color"
1370
+ msgstr "Randfarbe"
1371
+
1372
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1373
+ msgid "Border size"
1374
  msgstr ""
1375
+ "Rahmengrösse\n"
1376
 
1377
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1378
+ msgid "Content Text align"
1379
+ msgstr ""
1380
+ "Inhalt Text ausrichten\n"
1381
+
1382
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1383
+ msgid "Content line height"
1384
+ msgstr "Höhe der Inhaltszeile"
1385
+
1386
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1387
+ msgid "Content font weight"
1388
+ msgstr ""
1389
+ "Schriftgröße des Inhalts\n"
1390
+
1391
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1392
+ msgid "Tracking Link"
1393
+ msgstr ""
1394
+ "Tracking-Link\n"
1395
+
1396
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1397
+ msgid "Font Color"
1398
+ msgstr ""
1399
+ "Schriftfarbe\n"
1400
+
1401
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1402
+ msgid "Border"
1403
+ msgstr "Rand"
1404
+
1405
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1406
+ msgid "Your {site_title} order is now partially shipped"
1407
+ msgstr ""
1408
+ "Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
1409
+
1410
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1411
  msgid ""
1412
+ "Hi there. we thought you'd like to know that your recent order from "
1413
+ "{site_title} has been partially shipped."
1414
  msgstr ""
1415
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1416
+ "{site_title} teilweise versendet wurde.\n"
1417
 
1418
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1419
+ msgid "Enable Partially Shipped order status email"
1420
+ msgstr ""
1421
+ "Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
1422
 
1423
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1424
+ msgid "Your {site_title} order is now updated tracking"
1425
+ msgstr ""
1426
+ "Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
 
 
1427
 
1428
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1429
+ msgid ""
1430
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1431
+ "recent order from {site_title} has been updated."
1432
+ msgstr ""
1433
+ "Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
1434
+ "letzte Bestellung von {site_title} aktualisiert wurde.\n"
1435
 
1436
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1437
+ msgid "Enable Updated Tracking order status email"
1438
+ msgstr ""
1439
+ "Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
1440
+ "Sendungsverfolgung\n"
1441
 
1442
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1443
+ #: includes/views/admin_status_notifications.php:197
1444
+ msgid "Late shipment for order #{order_number}"
1445
+ msgstr "Verspäteter Versand für Bestellnummer {Bestellnummer}"
1446
 
1447
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
1448
+ msgid "Late shipment"
1449
+ msgstr "Verspäteter Versand"
1450
 
1451
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1452
+ #: includes/views/admin_status_notifications.php:207
1453
+ msgid ""
1454
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1455
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1456
  msgstr ""
1457
+ "Diese Bestellung wurde vor {Versandlänge} Tagen versandt, der Versandstatus "
1458
+ "ist {Versandstatus} und das voraussichtliche Lieferdatum ist {Versanddatum}."
1459
 
1460
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1461
+ msgid "Your order #{order_number} is on hold"
1462
+ msgstr "Ihre Bestellnummer {Bestellnummer} wird gehalten"
 
 
 
 
 
 
1463
 
1464
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1465
+ msgid ""
1466
+ "Hi there. we thought you'd like to know that your recent order from "
1467
+ "{site_title} is on hold"
1468
+ msgstr ""
1469
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1470
+ "{site_title} zurückgestellt wurde"
1471
 
1472
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1473
+ msgid "On Hold email"
1474
+ msgstr "On Hold E-Mail"
1475
 
1476
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1477
+ msgid "Enable On Hold email"
1478
+ msgstr "E-Mail aktivieren"
1479
+
1480
+ #: includes/emails/class-shipment-delivered-email.php:32
1481
+ msgid "Delivered order"
1482
+ msgstr ""
1483
+ "Gelieferte Bestellung\n"
1484
+
1485
+ #: includes/emails/class-shipment-delivered-email.php:33
1486
+ msgid ""
1487
+ "Order delivered emails are sent to customers when their orders are marked "
1488
+ "delivered and usually indicate that their orders have been shipped."
1489
+ msgstr ""
1490
+ "Von der Bestellung zugestellte E-Mails werden an Kunden gesendet, wenn ihre "
1491
+ "Bestellungen als zugestellt markiert sind und in der Regel angeben, dass "
1492
+ "ihre Bestellungen versandt wurden.\n"
1493
+
1494
+ #: includes/emails/class-shipment-delivered-email.php:298
1495
+ msgid "Click Here"
1496
+ msgstr ""
1497
+ "Klick hier\n"
1498
+
1499
+ #: includes/emails/class-shipment-delivered-email.php:299
1500
+ msgid "Edit in customizer"
1501
+ msgstr ""
1502
+ "Bearbeiten Sie im Customizer\n"
1503
+
1504
+ #: includes/views/admin_options_bulk_upload.php:12
1505
  msgid ""
1506
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1507
  "file"
1509
  "Verwenden Sie unser CSV-Import-Tool, um Tracking-Informationen in "
1510
  "Bestellungen aus einer CSV-Datei zu importieren"
1511
 
1512
+ #: includes/views/admin_options_bulk_upload.php:26
1513
+ msgid "Upload a CSV file from your computer:"
1514
+ msgstr "Laden Sie eine CSV-Datei von Ihrem Computer hoch:"
 
1515
 
1516
+ #: includes/views/admin_options_bulk_upload.php:34
1517
+ msgid "Choose the Shipped Date format"
1518
+ msgstr "Wählen Sie das Versanddatum-Format"
1519
+
1520
+ #: includes/views/admin_options_bulk_upload.php:48
1521
+ msgid "Replace tracking information?"
1522
+ msgstr "Tracking-Informationen ersetzen?"
1523
+
1524
+ #: includes/views/admin_options_bulk_upload.php:48
1525
+ msgid ""
1526
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1527
+ "info added to the orders."
1528
  msgstr ""
1529
+ "Lassen Sie das Kontrollkästchen deaktiviert, damit die Tracking-"
1530
+ "Informationen zu den vorhandenen Tracking-Informationen hinzugefügt werden, "
1531
+ "die den Bestellungen hinzugefügt wurden."
1532
+
1533
+ #: includes/views/admin_options_bulk_upload.php:57
1534
+ msgid "Continue"
1535
+ msgstr "Fortsetzen"
1536
+
1537
+ #: includes/views/admin_options_bulk_upload.php:59
1538
+ msgid "Settings Saved."
1539
+ msgstr "Einstellungen gespeichert."
1540
+
1541
+ #: includes/views/admin_options_bulk_upload.php:76
1542
+ msgid "Import in Progress"
1543
+ msgstr "Import in Bearbeitung"
1544
 
1545
+ #: includes/views/admin_options_bulk_upload.php:108
1546
  msgid "View Orders"
1547
  msgstr "Bestellungen anzeigen"
1548
 
1549
+ #: includes/views/admin_options_bulk_upload.php:109
1550
+ msgid "Upload again"
1551
+ msgstr "Erneut hochladen"
1552
+
1553
+ #: includes/views/admin_options_settings.php:23
1554
+ #: includes/views/admin_trackship_dashboard.php:45
1555
+ #: includes/views/admin_tracking_page_settings.php:104
1556
+ #: includes/views/admin_status_notifications.php:242
1557
+ msgid "Save Changes"
1558
+ msgstr ""
1559
+ "Änderungen speichern\n"
1560
+
1561
+ #: includes/views/admin_options_settings.php:35
1562
+ msgid "Tracking Display Customizer"
1563
+ msgstr ""
1564
+
1565
+ #: includes/views/admin_options_settings.php:41
1566
  msgid ""
1567
+ "Use a customizer with a preview to customize the tracking info display on "
1568
+ "customer order emails and my-account."
1569
  msgstr ""
1570
+ "Verwenden Sie einen Customizer mit einer Vorschau, um die Anzeige der "
1571
+ "Tracking-Informationen in Kundenbestellungs-E-Mails und in meinem Konto "
1572
+ "anzupassen."
1573
 
1574
+ #: includes/views/admin_options_settings.php:44
1575
+ msgid "Launch Customizer"
1576
+ msgstr ""
1577
+ "Starten Sie den Customizer\n"
1578
 
1579
+ #: includes/views/admin_options_shipping_provider.php:22
1580
+ msgid "Active Providers"
1581
+ msgstr ""
 
 
 
1582
 
1583
+ #: includes/views/admin_options_shipping_provider.php:23
1584
+ msgid "Browse Providers"
1585
+ msgstr ""
1586
+
1587
+ #: includes/views/admin_options_shipping_provider.php:24
1588
+ msgid "Custom Providers"
1589
+ msgstr ""
1590
+
1591
+ #: includes/views/admin_options_shipping_provider.php:29
1592
+ msgid "Search by provider / country"
1593
+ msgstr ""
1594
+ "Suche nach Anbieter / Land\n"
1595
 
1596
+ #: includes/views/admin_options_shipping_provider.php:51
1597
+ msgid "Add Custom Shipping Provider"
1598
+ msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
1599
+
1600
+ #: includes/views/admin_options_shipping_provider.php:58
1601
+ #: includes/views/admin_options_shipping_provider.php:103
1602
+ msgid "Shipping Provider"
1603
+ msgstr "Versandanbieter"
1604
+
1605
+ #: includes/views/admin_options_shipping_provider.php:61
1606
+ #: includes/views/admin_options_shipping_provider.php:106
1607
+ msgid "Custom display name"
1608
+ msgstr "Benutzerdefinierter Anzeigename"
1609
+
1610
+ #: includes/views/admin_options_shipping_provider.php:65
1611
+ #: includes/views/admin_options_shipping_provider.php:113
1612
+ msgid "Shipping Country"
1613
+ msgstr ""
1614
+ "Lieferungsland\n"
1615
+
1616
+ #: includes/views/admin_options_shipping_provider.php:66
1617
+ #: includes/views/admin_options_shipping_provider.php:114
1618
+ msgid "Global"
1619
+ msgstr "Global"
1620
+
1621
+ #: includes/views/admin_options_shipping_provider.php:76
1622
+ #: includes/views/admin_options_shipping_provider.php:124
1623
+ msgid "Upload"
1624
+ msgstr "Hochladen"
1625
+
1626
+ #: includes/views/admin_options_shipping_provider.php:82
1627
+ #: includes/views/admin_options_shipping_provider.php:130
1628
  msgid ""
1629
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1630
  "URL, for more info, check our "
1632
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1633
  "URL, for more info, check our "
1634
 
1635
+ #: includes/views/admin_options_shipping_provider.php:82
1636
+ #: includes/views/admin_options_shipping_provider.php:130
1637
  #, php-format
1638
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1639
+ msgstr "Dokumentation"
1640
+
1641
+ #: includes/views/admin_options_shipping_provider.php:95
1642
+ msgid "Edit Shipping Provider"
1643
+ msgstr "Versandanbieter bearbeiten"
1644
+
1645
+ #: includes/views/admin_options_shipping_provider.php:135
1646
+ msgid "Update"
1647
+ msgstr "Aktualisieren"
1648
+
1649
+ #: includes/views/admin_options_shipping_provider.php:136
1650
+ msgid "Reset"
1651
+ msgstr "Zurücksetzen"
1652
+
1653
+ #: includes/views/admin_options_shipping_provider.php:146
1654
+ #: includes/views/admin_options_shipping_provider.php:161
1655
+ msgid "Sync Shipping Providers"
1656
+ msgstr ""
1657
+ "Versandanbieter synchronisieren\n"
1658
+
1659
+ #: includes/views/admin_options_shipping_provider.php:151
1660
+ msgid ""
1661
+ "Syncing the shipping providers list add or updates the pre-set shipping "
1662
+ "providers and will not effect custom shipping providers."
1663
+ msgstr ""
1664
+ "Durch das Synchronisieren der Versandanbieterliste werden die "
1665
+ "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
1666
+ "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
1667
+
1668
+ #: includes/views/admin_options_shipping_provider.php:153
1669
+ msgid "Providers Added"
1670
+ msgstr "Anbieter hinzugefügt"
1671
+
1672
+ #: includes/views/admin_options_shipping_provider.php:154
1673
+ msgid "Providers Updated"
1674
+ msgstr "Anbieter aktualisiert"
1675
+
1676
+ #: includes/views/admin_options_shipping_provider.php:155
1677
+ msgid "Providers Deleted"
1678
+ msgstr "Anbieter gelöscht"
1679
+
1680
+ #: includes/views/admin_options_shipping_provider.php:157
1681
+ msgid "Shipping providers database reset successfully."
1682
+ msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
1683
+
1684
+ #: includes/views/admin_options_shipping_provider.php:159
1685
+ msgid ""
1686
+ "Reset providers database, it will reset all your shipping provider database"
1687
+ msgstr ""
1688
+ "Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
1689
+ "Datenbank zurück"
1690
 
1691
+ #: includes/views/admin_options_trackship_integration.php:16
1692
+ #: includes/views/admin_options_addons.php:130
1693
+ msgid "Watch Video"
1694
+ msgstr "Schau Video"
1695
+
1696
+ #: includes/views/admin_options_trackship_integration.php:17
1697
+ #: includes/views/admin_options_addons.php:134
1698
+ msgid "Start your free trial"
1699
+ msgstr "Starten Sie Ihre kostenlose Testversion"
1700
+
1701
+ #: includes/views/admin_options_addons.php:111
1702
+ msgid "License"
1703
+ msgstr "Lizenz"
1704
+
1705
+ #: includes/views/admin_options_addons.php:132
1706
+ #: includes/views/trackship_sidebar.php:14
1707
+ msgid "Account Dashboard"
1708
+ msgstr "Benutzerkonto Übersicht"
1709
+
1710
+ #: includes/views/admin_trackship_dashboard.php:13
1711
  #, php-format
1712
+ msgid ""
1713
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1714
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1715
+ msgstr ""
1716
+ "Sie haben% s Versandaufträge aus den letzten 30 Tagen, die Sie per "
1717
+ "Massenversand an <a href = \"javascript: void (0);\" senden können. class = "
1718
+ "\"tool_link\"> Sendungsstatus abrufen </a>"
1719
 
1720
+ #: includes/views/admin_trackship_dashboard.php:33
1721
+ msgid "Automation"
1722
+ msgstr "Automatisierung"
1723
 
1724
+ #: includes/views/admin_tracking_page_settings.php:10
1725
+ msgid "Enable a tracking page on your store"
1726
+ msgstr "Aktivieren Sie eine Tracking-Seite in Ihrem Shop"
1727
+
1728
+ #: includes/views/admin_tracking_page_settings.php:36
1729
+ msgid "Other"
1730
+ msgstr "Andere"
1731
+
1732
+ #: includes/views/admin_tracking_page_settings.php:41
1733
+ msgid ""
1734
+ "Note - If you select a different page than the Shipment Tracking page, add "
1735
+ "the [wcast-track-order] shortcode to the selected page content."
1736
  msgstr ""
1737
+ "Hinweis - Wenn Sie eine andere Seite als die Seite \"Sendungsverfolgung\" "
1738
+ "auswählen, fügen Sie dem ausgewählten Seiteninhalt den Shortcode [wcast-"
1739
+ "track-order] hinzu.\n"
1740
 
1741
+ #: includes/views/admin_tracking_page_settings.php:41
1742
+ msgid "more info"
1743
  msgstr ""
1744
+ "Mehr Info\n"
1745
+
1746
+ #: includes/views/admin_tracking_page_settings.php:46
1747
+ msgid "Tracking Widget Layout"
1748
+ msgstr ""
1749
+
1750
+ #: includes/views/admin_tracking_page_settings.php:65
1751
+ msgid "Tracking Widget Options"
1752
+ msgstr ""
1753
+
1754
+ #: includes/views/admin_tracking_page_settings.php:81
1755
+ msgid "Hide tracking event details"
1756
+ msgstr ""
1757
+ "Tracking-Ereignisdetails ausblenden\n"
1758
+
1759
+ #: includes/views/admin_tracking_page_settings.php:92
1760
+ msgid "Tracking Widget Border Color"
1761
+ msgstr ""
1762
+
1763
+ #: includes/views/admin_tracking_page_settings.php:105
1764
+ msgid "Preview"
1765
+ msgstr "Vorschau"
1766
+
1767
+ #: includes/views/admin_tracking_page_settings.php:116
1768
+ msgid "Tracking Widget Preview"
1769
+ msgstr "Vorschau des Tracking-Widgets"
1770
+
1771
+ #: includes/views/admin_status_notifications.php:3
1772
+ msgid "Shipment Status Email Notifications"
1773
+ msgstr "Versandstatus E-Mail-Benachrichtigungen"
1774
+
1775
+ #: includes/views/admin_status_notifications.php:37
1776
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1777
+ msgstr "Die Sendung wurde vom Versandanbieter angenommen und ist unterwegs."
1778
+
1779
+ #: includes/views/admin_status_notifications.php:52
1780
+ msgid "The shipment is On Hold."
1781
+ msgstr "The shipment is On Hold."
1782
+
1783
+ #: includes/views/admin_status_notifications.php:67
1784
+ msgid "Shipment is returned to sender."
1785
+ msgstr "Shipment is returned to sender."
1786
+
1787
+ #: includes/views/admin_status_notifications.php:82
1788
+ msgid "The shipment is ready to by picked up."
1789
+ msgstr "Die Sendung ist abholbereit."
1790
+
1791
+ #: includes/views/admin_status_notifications.php:97
1792
+ msgid "Carrier is about to deliver the shipment."
1793
+ msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern."
1794
+
1795
+ #: includes/views/admin_status_notifications.php:97
1796
+ msgid "Out For delivery"
1797
+ msgstr "Raus zur Lieferung"
1798
+
1799
+ #: includes/views/admin_status_notifications.php:112
1800
+ msgid "The shipment was delivered successfully."
1801
+ msgstr "Die Sendung wurde erfolgreich geliefert."
1802
+
1803
+ #: includes/views/admin_status_notifications.php:127
1804
+ msgid "Carrier attempted to deliver the package but failed."
1805
+ msgstr ""
1806
+ "Der Spediteur hat versucht, das Paket zu liefern, ist jedoch fehlgeschlagen."
1807
+
1808
+ #: includes/views/admin_status_notifications.php:152
1809
+ msgid ""
1810
+ "If a shipment reached the number of days that you define, and the shipment "
1811
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
1812
+ msgstr ""
1813
+ "Wenn eine Sendung die von Ihnen festgelegte Anzahl von Tagen erreicht hat "
1814
+ "und die Sendung nicht \"geliefert\" oder \"an den Absender zurückgesandt\" "
1815
+ "ist, wird eine E-Mail ausgelöst."
1816
+
1817
+ #: includes/views/admin_status_notifications.php:173
1818
+ msgid "Late Shipment Days"
1819
+ msgstr "Späte Versandtage"
1820
+
1821
+ #: includes/views/admin_status_notifications.php:187
1822
+ msgid "E.g. {admin_email}, admin@example.org"
1823
+ msgstr "Z.B. {admin_email}, admin@example.org"
1824
 
1825
+ #: includes/views/admin_status_notifications.php:222
1826
+ msgid "Trigger Alert"
1827
+ msgstr "Alarm auslösen"
1828
+
1829
+ #: includes/views/admin_status_notifications.php:227
1830
+ msgid "As it Happens"
1831
+ msgstr "Wie es passiert"
1832
+
1833
+ #: includes/views/admin_status_notifications.php:231
1834
+ msgid "Daily Digest on"
1835
+ msgstr "Daily Digest on"
1836
+
1837
+ #: includes/views/admin_options_tools.php:11
1838
+ msgid "Tracking info sent to Trackship for all Orders."
1839
+ msgstr "Tracking-Informationen für alle Bestellungen an Trackhip gesendet."
1840
+
1841
+ #: includes/views/admin_options_tools.php:14
1842
+ msgid ""
1843
+ "You can send all your orders from the last 30 days to get shipment status "
1844
+ "from TrackShip:"
1845
+ msgstr ""
1846
+ "Sie können alle Ihre Bestellungen der letzten 30 Tage senden, um den "
1847
+ "Sendungsstatus von TrackShip zu erhalten:\n"
1848
+
1849
+ #: includes/views/admin_options_osm.php:36
1850
+ #: includes/views/admin_options_osm.php:79
1851
+ #: includes/views/admin_options_osm.php:119
1852
+ msgid "Light Font"
1853
+ msgstr ""
1854
+ "Leichte Schrift\n"
1855
+
1856
+ #: includes/views/admin_options_osm.php:37
1857
+ #: includes/views/admin_options_osm.php:80
1858
+ #: includes/views/admin_options_osm.php:120
1859
+ msgid "Dark Font"
1860
+ msgstr ""
1861
+ "Dunkle Schrift\n"
1862
+
1863
+ #: includes/views/admin_options_osm.php:41
1864
+ #: includes/views/admin_options_osm.php:84
1865
+ #: includes/views/admin_options_osm.php:124
1866
+ msgid "Send Email"
1867
+ msgstr ""
1868
+ "E-Mail senden\n"
1869
+
1870
+ #: includes/views/trackship_sidebar.php:12
1871
+ msgid "TrackShip Connection Status"
1872
+ msgstr "TrackShip-Verbindungsstatus"
1873
+
1874
+ #: includes/views/trackship_sidebar.php:20
1875
+ msgid "Trackers Balance"
1876
+ msgstr "Tracker Balance"
1877
+
1878
+ #: includes/views/trackship_sidebar.php:24
1879
+ msgid "Subscription Plan"
1880
+ msgstr "Abonnementplan"
1881
+
1882
+ #: includes/views/trackship_sidebar.php:28
1883
+ msgid "Upgrade Now"
1884
+ msgstr "Jetzt upgraden"
1885
+
1886
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
1887
+ msgid "Download sample csv"
1888
+ msgstr "Beispiel-CSV herunterladen"
1889
+
1890
+ #: templates/emails/tracking-info.php:281
1891
+ #: templates/myaccount/tracking-info.php:207
1892
+ msgid "Provider Name"
1893
+ msgstr "Anbietername"
1894
+
1895
+ #. %s: Order ID.
1896
+ #: templates/emails/wcast-email-order-details.php:48
1897
+ #, php-format
1898
+ msgid "Order number: %s"
1899
+ msgstr ""
1900
+ "Bestellnummer:% s\n"
1901
+
1902
+ #: includes/views/front/tracking_page_header.php:22
1903
+ msgid "Est. Delivery Date"
1904
+ msgstr ""
1905
+ "Europäische Sommerzeit. Lieferdatum\n"
1906
+
1907
+ #: includes/views/front/layout1_tracking_details.php:4
1908
+ msgid "Tracking Details"
1909
+ msgstr "Verfolgungsdetails"
1910
+
1911
+ #: includes/views/front/layout1_tracking_details.php:8
1912
+ msgid "Destination Details"
1913
+ msgstr "Zieldetails"
1914
+
1915
+ #: includes/views/front/layout1_tracking_details.php:25
1916
+ msgid "Origin Details"
1917
+ msgstr "Origin Details"
1918
+
1919
+ #: includes/views/front/track_order_form.php:3
1920
+ msgid ""
1921
+ "To track your order please enter your Order ID in the box below and press "
1922
+ "the \"Track\" button. This was given to you on your receipt and in the "
1923
+ "confirmation email you should have received."
1924
+ msgstr ""
1925
+ "Um Ihre Bestellung zu verfolgen, geben Sie bitte Ihre Bestellnummer in das "
1926
+ "unten stehende Feld ein und klicken Sie auf \"Verfolgen\". Dies wurde Ihnen "
1927
+ "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
1928
+ "sollen, mitgeteilt.\n"
1929
+
1930
+ #: includes/views/front/track_order_form.php:4
1931
+ #: includes/views/front/track_order_form.php:5
1932
+ msgid "Found in your order confirmation email."
1933
+ msgstr ""
1934
+ "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
1935
+
1936
+ #: includes/views/front/track_order_form.php:5
1937
+ msgid "Order Email"
1938
+ msgstr ""
1939
+ "E-Mail bestellen\n"
1940
+
1941
+ #: templates/emails/plain/tracking-info.php:35
1942
+ #, php-format
1943
+ msgid "Shipment status changed to %s"
1944
+ msgstr "Der Sendungsstatus wurde in% s geändert"
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,953 +12,1604 @@ 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."
 
 
 
543
  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."
551
  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."
607
- msgstr ""
608
- "Μην παραλείψετε να ελέγξετε τις πληροφορίες παρακολούθησης που θα προστεθούν "
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,243 +1618,285 @@ 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"
1129
  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 "
1153
- "reassign these orders to a different status"
 
 
 
 
1154
  msgstr ""
1155
- "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
1156
- "Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
1157
 
1158
- #: includes/views/admin_options_shipping_provider.php:62
1159
- msgid "White Label Provider Name"
1160
- 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-11 09:37+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
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
19
+ msgid ""
20
+ "Please install and activate %sWooCommerce%s for Advanced Shipment Tracking "
21
+ "for WooCommerce!"
22
+ msgstr ""
23
 
24
+ #: woocommerce-advanced-shipment-tracking.php:487
25
+ #, php-format
26
+ msgid ""
27
+ "We detected %s orders that use the Delivered order status, You can reassign "
28
+ "these orders to a different status"
29
+ msgstr ""
30
+ "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση παραδοθείσας "
31
+ "παραγγελίας. Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε "
32
+ "διαφορετική κατάσταση"
33
 
34
+ #: woocommerce-advanced-shipment-tracking.php:499
35
+ #, php-format
36
+ msgid ""
37
+ "We detected %s orders that use the Partially Shipped order status, You can "
38
+ "reassign these orders to a different status"
39
+ msgstr ""
40
+ "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
41
+ "Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
42
 
43
+ #: woocommerce-advanced-shipment-tracking.php:511
44
+ #, php-format
45
  msgid ""
46
+ "We detected %s orders that use the Updated Tracking order status, You can "
47
+ "reassign these orders to a different status"
48
  msgstr ""
49
+ "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση ενημερωμένης "
50
+ "παραγγελίας παρακολούθησης. Μπορείτε να εκχωρήσετε ξανά αυτές τις "
51
+ "παραγγελίες σε διαφορετική κατάσταση"
52
 
53
+ #: includes/class-wc-advanced-shipment-tracking-front.php:313
54
+ #, php-format
55
+ msgid "Shipment : %s (out of %s)"
56
+ msgstr ""
57
 
58
+ #: includes/class-wc-advanced-shipment-tracking-front.php:316
59
+ #: includes/views/front/preview_tracking_page.php:25
60
+ msgid "Shipment"
 
 
 
61
  msgstr ""
 
 
 
 
 
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-front.php:344
64
+ #, php-format
65
+ msgid "Shipment - %s (out of %s)"
66
  msgstr ""
67
+ "Αποστολή -% s (από% s)\n"
68
 
69
+ #: includes/class-wc-advanced-shipment-tracking-front.php:368
70
+ msgid "Tracking details not found in TrackShip"
71
+ msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
72
 
73
+ #: includes/class-wc-advanced-shipment-tracking.php:141
74
+ #: includes/class-wc-advanced-shipment-tracking.php:223
75
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
76
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:246
77
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:297
78
+ msgid "Shipment Tracking"
79
+ msgstr "Παρακολούθηση Αποστολής"
80
+
81
+ #: includes/class-wc-advanced-shipment-tracking.php:246
82
+ #: includes/class-wc-advanced-shipment-tracking.php:419
83
+ msgid "Track Shipment"
84
+ msgstr "Παρακολούθηση αποστολής"
85
+
86
+ #. 1: shipping date
87
+ #: includes/class-wc-advanced-shipment-tracking.php:256
88
+ #, php-format
89
+ msgid "Shipped on %s"
90
+ msgstr "Στάλθηκε στις %s"
91
+
92
+ #: includes/class-wc-advanced-shipment-tracking.php:313
93
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:416
94
+ msgid "Mark as Shipped?"
95
+ msgstr "Ορίστε ως αποστολέα;"
96
+
97
+ #: includes/class-wc-advanced-shipment-tracking.php:316
98
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:419
99
+ msgid "Mark as Completed?"
100
+ msgstr "Σημειώστε ως ολοκληρωμένο;"
101
 
102
+ #: includes/class-wc-advanced-shipment-tracking.php:328
103
  msgid "Add Tracking Info"
104
  msgstr "Προσθήκη Παρακολούθησης"
105
 
106
+ #: includes/class-wc-advanced-shipment-tracking.php:332
107
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:436
108
+ msgid "Tracking number:"
109
+ msgstr "Αριθμός Παρακολούθησης:"
110
+
111
+ #: includes/class-wc-advanced-shipment-tracking.php:337
112
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:440
113
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
114
+ msgid "Shipping Provider:"
115
+ msgstr "Πάροχος υπηρεσιών:"
116
+
117
+ #: includes/class-wc-advanced-shipment-tracking.php:338
118
+ msgid "Select Provider"
119
+ msgstr "Επιλογή Παροχέα"
120
+
121
+ #: includes/class-wc-advanced-shipment-tracking.php:375
122
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:462
123
+ msgid "Product Code:"
124
+ msgstr "Κωδικός προϊόντος:"
125
+
126
+ #: includes/class-wc-advanced-shipment-tracking.php:383
127
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:466
128
+ msgid "Date shipped:"
129
+ msgstr "Ημερομηνία αποστολής:"
130
+
131
+ #: includes/class-wc-advanced-shipment-tracking.php:397
132
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:476
133
+ msgid "Mark order as:"
134
+ msgstr "Σημειώστε την τάξη ως:"
135
+
136
+ #: includes/class-wc-advanced-shipment-tracking.php:400
137
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
138
+ msgid "Partial Shipped"
139
+ msgstr "Μερική αποστολή"
140
+
141
+ #: includes/class-wc-advanced-shipment-tracking.php:416
142
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
143
+ msgid "Save Tracking"
144
+ msgstr "Αποθήκευση Παρακολούθησης"
145
+
146
+ #: includes/class-wc-advanced-shipment-tracking.php:419
147
+ msgid "Preview:"
148
+ msgstr "Επισκόπηση:"
149
+
150
+ #: includes/class-wc-advanced-shipment-tracking.php:721
151
+ #, php-format
152
  msgid ""
153
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
154
  msgstr ""
155
+ "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
156
+ "με τον αριθμό παρακολούθησης% s"
157
+
158
+ #: includes/class-wc-advanced-shipment-tracking.php:752
159
+ #: includes/class-wc-advanced-shipment-tracking.php:773
160
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
161
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
162
+ #: templates/emails/tracking-info.php:311
163
+ #: templates/myaccount/tracking-info.php:232
164
+ #: includes/views/front/track_order_form.php:8
165
+ msgid "Track"
166
+ msgstr "Παρακολούθηση"
167
+
168
+ #: includes/class-wc-advanced-shipment-tracking.php:1127
169
+ #: includes/class-wc-advanced-shipment-tracking.php:1218
170
+ #, php-format
171
+ msgid "Order was shipped with %s and tracking number is: %s"
172
+ msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
173
+
174
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
175
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:179
176
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:766
177
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:840
178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1513
179
+ #: includes/customizer/class-wcast-customizer.php:187
180
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
181
+ #: includes/views/admin_status_notifications.php:112
182
+ #: includes/views/admin_options_osm.php:17
183
+ msgid "Delivered"
184
+ msgstr "Παραδόθηκε"
185
+
186
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:139
187
+ #, php-format
188
+ msgid "Delivered <span class=\"count\">(%s)</span>"
189
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
190
+ msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
191
+ msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
192
+
193
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:148
194
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:194
195
+ #: includes/views/admin_options_osm.php:101
196
+ msgid "Updated Tracking"
197
+ msgstr "Ενημερωμένη παρακολούθηση"
198
+
199
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:153
200
+ #, php-format
201
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
202
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
203
+ msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
204
+ msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
205
+
206
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:162
207
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:208
208
+ #: includes/views/admin_options_osm.php:59
209
+ msgid "Partially Shipped"
210
+ msgstr "Μερικώς αποστέλλονται"
211
+
212
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:167
213
+ #, php-format
214
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
215
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
216
+ msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
217
+ msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
218
+
219
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:327
220
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:417
221
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:798
222
+ msgid "Shipped"
223
+ msgstr "Αποστέλλονται"
224
+
225
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:344
226
+ #, php-format
227
+ msgid "Shipped <span class=\"count\">(%s)</span>"
228
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
229
+ msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
230
+ msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
231
+
232
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:358
233
+ msgid "Change status to shipped"
234
+ msgstr "Αλλάξτε την κατάσταση αποστολής"
235
+
236
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:420
237
+ msgid "Completed"
238
+ msgstr "Ολοκληρώθηκε το"
239
+
240
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:429
241
+ msgid "Add Tracking - order\t"
242
+ msgstr "Add Tracking - order\t"
243
+
244
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:507
245
+ msgid "Resend delivered order notification"
246
+ msgstr "Επαναλάβετε την ειδοποίηση παραγγελίας"
247
+
248
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:713
249
+ msgid "There are some issue with sync, Please Retry."
250
+ msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
251
+
252
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:728
253
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:743
254
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:758
255
+ #: includes/views/admin_options_bulk_upload.php:87
256
+ msgid "view details"
257
+ msgstr "δείτε λεπτομέρειες"
258
 
259
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:729
260
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:744
261
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:759
262
+ msgid "hide details"
263
+ msgstr "Κρύψε τις λεπτομέρειες"
264
+
265
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:159
266
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:229
267
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:230
268
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
269
+ msgid "Data saved successfully."
270
+ msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
271
+
272
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:217
273
+ #: includes/views/admin_tracking_page_settings.php:9
274
+ #: includes/views/trackship_settings.php:9
275
+ #: includes/views/trackship_settings.php:10
276
+ msgid "Tracking Page"
277
+ msgstr "Σελίδα Παρακολούθησης"
278
+
279
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:218
280
+ #: includes/views/trackship_settings.php:12
281
+ #: includes/views/trackship_settings.php:13
282
+ msgid "Notifications"
283
+ msgstr "Ειδοποιήσεις"
284
+
285
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:219
286
+ #: includes/views/admin_options_tools.php:13
287
+ #: includes/views/trackship_settings.php:15
288
+ #: includes/views/trackship_settings.php:16
289
+ msgid "Tools"
290
+ msgstr "Εργαλεία"
291
+
292
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:220
293
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
294
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
295
+ msgid "Documentation"
296
+ msgstr "Απόδειξη με έγγραφα"
297
+
298
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:341
299
  msgid ""
300
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
301
+ "for the tracking page to work."
302
  msgstr ""
303
+ "Πρέπει να προσθέσετε τον σύντομο κώδικα [wcast-track-order] στην επιλεγμένη "
304
+ "σελίδα για να λειτουργήσει η σελίδα παρακολούθησης."
305
 
306
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:349
307
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:357
308
+ #: includes/views/admin_tracking_page_settings.php:27
309
+ msgid "Select Tracking Page"
310
+ msgstr "Επιλέξτε Σελίδα παρακολούθησης"
311
+
312
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:363
313
+ msgid "Use the tracking page in the customer email/my account tracking link"
314
  msgstr ""
315
+ "Χρησιμοποιήστε τη σελίδα παρακολούθησης στο σύνδεσμο παρακολούθησης email / "
316
+ "του λογαριασμού μου"
317
 
318
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:369
319
+ msgid "Tracking Page Layout"
320
+ msgstr ""
321
+ "Παρακολούθηση διάταξης σελίδας\n"
322
 
323
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:380
324
+ msgid "Select content border color for tracking page"
325
+ msgstr "Επιλέξτε χρώμα περιγράμματος περιεχομένου για παρακολούθηση σελίδας"
326
 
327
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:386
328
+ #: includes/views/admin_tracking_page_settings.php:71
329
+ msgid "Add a link to the Shipping provider page"
330
+ msgstr "Προσθέστε έναν σύνδεσμο στη σελίδα του Προμηθευτή αποστολής"
331
+
332
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:392
333
+ #: includes/views/admin_tracking_page_settings.php:76
334
+ msgid "Hide Shipping Provider Image"
335
  msgstr ""
336
+ "Απόκρυψη εικόνας παροχέα αποστολής\n"
337
+
338
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:398
339
+ msgid "Hide tracking events details"
340
+ msgstr "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης"
341
+
342
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:404
343
+ #: includes/views/admin_tracking_page_settings.php:86
344
+ msgid "Remove TrackShip branding"
345
+ msgstr "Αφαιρέστε το branding του TrackShip"
346
+
347
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:431
348
+ msgid "Enable TrackShip"
349
+ msgstr "Ενεργοποίηση TrackShip"
350
+
351
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:437
352
+ msgid "Display Shipment Status Filter on Orders admin"
353
+ msgstr "Εμφάνιση φίλτρου κατάστασης αποστολής στο διαχειριστή παραγγελιών"
354
 
355
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:470
356
  msgid ""
357
+ "Automatically set the Order Status to Delivered when the shipment is "
358
+ "delivered "
359
  msgstr ""
360
+ "Ορίστε αυτόματα την κατάσταση παραγγελίας σε παράδοση κατά την παράδοση της "
361
+ "αποστολής"
362
 
363
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:471
364
  msgid ""
365
+ "To enable this option, the 'Delivered' order status should be enabled in the "
366
+ "AST settings."
367
  msgstr ""
368
+ "Για να ενεργοποιήσετε αυτήν την επιλογή, η κατάσταση παραγγελίας "
369
+ "«Παραδόθηκε» πρέπει να είναι ενεργοποιημένη στις ρυθμίσεις AST."
370
+
371
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:495
372
+ msgid "Shipment status"
373
+ msgstr "Κατάσταση αποστολής"
374
+
375
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:738
376
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1001
377
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1010
378
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1019
379
+ msgid "Get Shipment Status"
380
+ msgstr "Λήψη κατάστασης αποστολής"
381
+
382
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:760
383
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:858
384
+ msgid "Pending TrackShip"
385
+ msgstr "Εκκρεμεί TrackShip"
386
+
387
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:761
388
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:855
389
+ msgid "Unknown"
390
+ msgstr "Αγνωστος"
391
+
392
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:762
393
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
394
+ #: includes/customizer/class-wcast-customizer.php:141
395
+ msgid "Pre Transit"
396
+ msgstr ""
397
+ "Pre Transit\n"
398
+
399
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:763
400
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:831
401
+ #: includes/customizer/class-wcast-customizer.php:149
402
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
403
+ #: includes/views/admin_status_notifications.php:37
404
+ msgid "In Transit"
405
+ msgstr ""
406
+ "Στη διαμετακόμιση\n"
407
+
408
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:764
409
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:846
410
+ #: includes/customizer/class-wcast-customizer.php:172
411
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
412
+ #: includes/views/admin_status_notifications.php:82
413
+ msgid "Available For Pickup"
414
+ msgstr ""
415
+ "Διαθέσιμο για παραλαβή\n"
416
 
417
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:765
418
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:843
419
+ #: includes/customizer/class-wcast-customizer.php:179
420
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
421
+ msgid "Out For Delivery"
422
+ msgstr ""
423
+ "Out για παράδοση\n"
424
+
425
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:767
426
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:852
427
+ #: includes/customizer/class-wcast-customizer.php:195
428
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
429
+ #: includes/views/admin_status_notifications.php:127
430
+ msgid "Failed Attempt"
431
+ msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
432
+
433
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:769
434
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
435
+ msgid "Carrier Unsupported"
436
+ msgstr "Η εταιρεία κινητής τηλεφωνίας δεν υποστηρίζεται"
437
+
438
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:770
439
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:849
440
+ #: includes/customizer/class-wcast-customizer.php:165
441
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
442
+ #: includes/views/admin_status_notifications.php:67
443
+ msgid "Return To Sender"
444
  msgstr ""
445
+ "Επιστροφή στον αποστολέα\n"
 
446
 
447
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:771
448
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
449
+ msgid "Invalid Tracking Number"
450
+ msgstr "Invalid Tracking Number"
451
+
452
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:776
453
+ msgid "Filter by shipment status"
454
+ msgstr "Φιλτράρισμα κατά κατάσταση αποστολής"
455
+
456
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:834
457
+ #: includes/customizer/class-wcast-customizer.php:157
458
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
459
+ #: includes/views/admin_status_notifications.php:52
460
+ msgid "On Hold"
461
+ msgstr "Σε κράτηση"
462
+
463
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:867
464
+ msgid "Invalid User Key"
465
+ msgstr "Μη έγκυρο κλειδί χρήστη"
466
+
467
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
468
+ msgid "Wrong Shipping Provider"
469
+ msgstr "Λάθος πάροχος αποστολών"
470
+
471
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1000
472
+ #, php-format
473
  msgid ""
474
+ "You got %s %s orders with tracking info that were not sent to track on "
475
+ "TrackShip"
476
  msgstr ""
477
+ "Λάβατε παραγγελίες% s% s με πληροφορίες παρακολούθησης που δεν εστάλησαν για "
478
+ "παρακολούθηση στο TrackShip"
479
 
480
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1009
481
+ #, php-format
482
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
 
483
  msgstr ""
484
+ "Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Το υπόλοιπο TrackShip "
485
+ "είναι 0\""
486
 
487
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1018
488
+ #, php-format
489
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
 
490
  msgstr ""
491
+ "Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Πρόβλημα σύνδεσης "
492
+ "TrackShip\""
493
+
494
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1477
495
+ msgid "Shipment Providers"
496
+ msgstr "Παροχείς αποστολής"
497
+
498
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1480
499
+ #: templates/emails/tracking-info.php:221
500
+ #: templates/emails/tracking-info.php:251
501
+ msgid "Shipment Status"
502
+ msgstr "Κατάσταση αποστολής"
503
+
504
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1483
505
+ msgid "Tracking issues"
506
+ msgstr "Παρακολούθηση ζητημάτων"
507
+
508
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1489
509
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1497
510
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1514
511
+ msgid "data not available."
512
+ msgstr "τα δεδομένα δεν είναι διαθέσιμα."
513
+
514
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1520
515
+ msgid "View more on TrackShip"
516
+ msgstr "Δείτε περισσότερα στο TrackShip"
517
+
518
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:231
519
+ msgid "Really delete this entry? This will not be undo."
520
+ msgstr "Να διαγραφεί πραγματικά αυτή η καταχώριση; Αυτό δεν θα αναιρεθεί."
521
 
522
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:232
523
+ msgid "You can upload only csv file."
524
+ msgstr "Μπορείτε να ανεβάσετε μόνο αρχείο csv."
525
+
526
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:233
527
+ msgid "This browser does not support HTML5."
528
+ msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
529
+
530
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:234
531
+ msgid "Please upload a valid CSV file."
532
+ msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
533
+
534
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:304
535
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:322
536
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1579
537
+ msgid "Shipping Providers"
538
+ msgstr "Πάροχοι αποστολών"
539
+
540
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:305
541
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:307
542
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:324
543
+ #: includes/views/admin_options_bulk_upload.php:11
544
+ msgid "CSV Import"
545
+ msgstr "Εισαγωγή CSV"
546
+
547
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
548
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
549
+ #: includes/views/admin_options_addons.php:108
550
+ #: includes/views/admin_options_addons.php:114
551
+ msgid "Add-ons"
552
+ msgstr "Πρόσθετα"
553
+
554
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:335
555
+ msgid "How to Video"
556
+ msgstr "Πώς να κάνετε βίντεο"
557
+
558
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:524
559
+ #: includes/views/trackship_sidebar.php:13
560
+ msgid "Connected"
561
  msgstr ""
562
+ "Συνδεδεμένος\n"
 
563
 
564
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:634
565
+ #: includes/views/admin_options_settings.php:52
566
+ msgid "Custom Order Statuses"
567
+ msgstr "Κατάσταση προσαρμοσμένης παραγγελίας"
568
+
569
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:799
570
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
571
  msgstr ""
572
+ "Προεπιλεγμένο \"mark as <span class =\" shipped_label \"> shipped </span>\""
 
 
573
 
574
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:800
575
  msgid ""
576
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
577
+ "will be selected by default when adding tracking info to orders."
578
  msgstr ""
579
+ "Αυτό σημαίνει ότι το 'mark as <span class =' ​​shipped_label '> shipped "
580
+ "</span>' θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
581
+ "παρακολούθησης σε παραγγελίες."
582
 
583
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:803
584
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
585
  msgstr ""
586
+ "Προεπιλεγμένο \"mark as <span class =\" shipped_label \"> ολοκληρωμένο "
587
+ "</span>\""
 
588
 
589
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:804
590
  msgid ""
591
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
592
+ "will be selected by default when adding tracking info to orders."
593
  msgstr ""
594
+ "Αυτό σημαίνει ότι το 'mark as <span class =' ​​shipped_label '> complete "
595
+ "</span>' θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
596
+ "παρακολούθησης σε παραγγελίες."
597
 
598
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:900
599
  msgid ""
600
+ "Set the \"mark as shipped\" option checked when adding tracking info to "
601
+ "orders"
 
602
  msgstr ""
 
 
 
603
 
604
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
605
+ msgid "Completed Order Status"
606
+ msgstr ""
607
 
608
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:908
609
+ msgid "Rename the “Completed” Order status label to “Shipped”"
610
+ msgstr ""
611
 
612
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:915
613
+ msgid "On which order emails to include the shipment tracking info?"
614
+ msgstr ""
615
 
616
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:922
617
+ msgid "For which Order status to display Add Tracking action button?"
618
+ msgstr ""
619
 
620
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:929
621
+ msgid "Add Tracking Options"
622
+ msgstr ""
623
 
624
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
625
+ msgid "API Date Format"
626
+ msgstr "API Date Format"
627
 
628
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1447
629
+ msgid "Shipped Order"
630
+ msgstr "Αποστολή παραγγελίας"
 
 
 
 
 
 
 
 
631
 
632
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1471
633
+ msgid "Mark order as delivered"
634
+ msgstr "Επισήμανση παραγγελίας ως παραδοθείσας"
635
 
636
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1489
637
+ msgid "Add Tracking"
638
+ msgstr "Add Tracking"
 
639
 
640
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1498
641
+ msgid "Mark as Shipped"
642
+ msgstr "Επισήμανση ως αποσταλεί"
 
643
 
644
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1525
645
+ msgid "Change order status to"
646
+ msgstr "Change order status to"
647
 
648
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1570
649
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1744
650
+ msgid "Add Custom Provider"
651
+ msgstr "Προσθήκη προσαρμοσμένου παροχέα"
652
 
653
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
654
+ msgid "Display Name"
655
+ msgstr "Εμφανιζόμενο όνομα"
656
 
657
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1580
658
+ #: includes/views/admin_options_shipping_provider.php:100
659
+ msgid ""
660
+ "The custom name will display in the tracking info section on the customer "
661
+ "order emails, my-account, shipment tracking page and shipment status emails."
662
  msgstr ""
663
+ "Το προσαρμοσμένο όνομα θα εμφανιστεί στην ενότητα πληροφοριών παρακολούθησης "
664
+ "στα μηνύματα ηλεκτρονικού ταχυδρομείου παραγγελίας πελατών, στο λογαριασμό "
665
+ "μου, στη σελίδα παρακολούθησης αποστολών και στα μηνύματα κατάστασης "
666
+ "αποστολής."
667
 
668
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1581
669
+ #: includes/views/admin_options_shipping_provider.php:109
670
+ msgid "API Name"
671
+ msgstr "Όνομα API"
672
 
673
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1582
674
+ msgid "Country"
675
+ msgstr "Country"
676
 
677
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1583
678
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1662
679
+ msgid "Default"
680
+ msgstr "Προκαθορισμένο"
681
 
682
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1584
683
+ msgid "TrackShip"
684
+ msgstr "TrackShip"
685
 
686
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1585
687
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1663
688
+ msgid "Actions"
689
+ msgstr "Actions"
690
 
691
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1586
692
+ msgid "Active"
693
+ msgstr "Ενεργός"
694
 
695
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
696
+ msgid "TrackShip supported"
697
+ msgstr "Υποστηρίζεται TrackShip"
698
 
699
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1641
700
+ msgid "TrackShip not supported"
701
+ msgstr "Το TrackShip δεν υποστηρίζεται"
 
702
 
703
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1661
704
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
705
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
706
+ #: templates/emails/tracking-info.php:276
707
+ #: templates/myaccount/tracking-info.php:202
708
+ msgid "Provider"
709
+ msgstr "Μεταφορέας"
710
 
711
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1743
712
+ #, php-format
713
+ msgid "You did not create any %s shipping providers yet."
714
+ msgstr "Δεν έχετε δημιουργήσει παρόχους αποστολής% s ακόμη."
715
 
716
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1746
717
+ #: includes/views/admin_options_shipping_provider.php:45
718
+ #, php-format
719
+ msgid "You don't have any %s shipping providers."
720
+ msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
721
+
722
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1985
723
+ msgid "Filter by shipping provider"
724
+ msgstr "Φιλτράρισμα ανά πάροχο αποστολής"
725
+
726
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
727
+ msgid "Cannot create existing order shipment tracking."
728
  msgstr ""
729
+ "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
730
+ "παραγγελιών."
731
 
732
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
733
+ msgid "Invalid order ID."
734
+ msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
735
 
736
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
737
+ msgid "Special character not allowd in tracking number"
738
+ msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
739
 
740
+ #: includes/customizer/class-wcast-customizer.php:32
741
+ #: includes/customizer/class-wcast-customizer.php:103
742
+ msgid "Tracking info display"
743
+ msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
 
744
 
745
+ #: includes/customizer/class-wcast-customizer.php:42
746
+ msgid "Order Status Emails"
747
+ msgstr "Κατάσταση παραγγελίας μέσω ηλεκτρονικού ταχυδρομείου"
748
 
749
+ #: includes/customizer/class-wcast-customizer.php:51
750
+ msgid "Shipment Status Emails"
751
+ msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
752
 
753
+ #: includes/customizer/class-wcast-customizer.php:58
754
+ #: includes/views/admin_status_notifications.php:138
755
+ msgid "Admin Notifications"
756
+ msgstr "Ειδοποιήσεις διαχειριστή"
757
 
758
+ #: includes/customizer/class-wcast-customizer.php:71
759
+ #: includes/views/admin_options_settings.php:15
760
+ msgid "General Settings"
761
+ msgstr "Γενικές Ρυθμίσεις"
762
 
763
+ #: includes/customizer/class-wcast-customizer.php:79
764
+ msgid "Table layout design"
765
+ msgstr "Σχεδιασμός διάταξης πίνακα"
766
 
767
+ #: includes/customizer/class-wcast-customizer.php:87
768
+ msgid "Simple layout design"
769
+ msgstr "Απλό σχέδιο σχεδίασης"
 
770
 
771
+ #: includes/customizer/class-wcast-customizer.php:111
772
+ #: includes/customizer/class-wc-email-customizer.php:163
773
+ msgid "Delivered order status email"
774
  msgstr ""
775
+ "Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
776
 
777
+ #: includes/customizer/class-wcast-customizer.php:118
778
+ msgid "Completed order status email"
779
+ msgstr "Ολοκληρωμένο email κατάστασης παραγγελίας"
780
 
781
+ #: includes/customizer/class-wcast-customizer.php:125
782
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
783
+ msgid "Partially Shipped status email"
784
+ msgstr "Μερική αποστολή μηνύματος κατάστασης κατάστασης"
785
 
786
+ #: includes/customizer/class-wcast-customizer.php:133
787
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
788
+ msgid "Updated Tracking status email"
789
+ msgstr ""
790
+ "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παρακολούθησης\n"
791
 
792
+ #: includes/customizer/class-wcast-customizer.php:203
793
+ #: includes/views/admin_status_notifications.php:152
794
+ msgid "Late Shipments"
795
+ msgstr "Μεταγενέστερες αποστολές"
796
 
797
+ #: includes/customizer/class-wcast-customizer.php:516
798
+ msgid "Select order to preview"
799
+ msgstr ""
800
+ "Επιλέξτε παραγγελία για προεπισκόπηση\n"
801
 
802
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
803
+ msgid "Your order #{order_number} is available for pickup"
804
+ msgstr ""
805
+ "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
806
 
807
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
808
+ msgid ""
809
+ "Hi there. we thought you'd like to know that your recent order from "
810
+ "{site_title} is available for pickup."
811
+ msgstr ""
812
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
813
+ "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
814
+
815
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
816
+ msgid "Available For Pickup email"
817
+ msgstr "Διαθέσιμο για παραλαβή email"
818
+
819
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
820
+ msgid "Enable Available For Pickup email"
821
+ msgstr "Ενεργοποίηση διαθέσιμου για παραλαβή email"
822
+
823
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
824
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
825
+ #: includes/customizer/class-wc-email-customizer.php:197
826
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
827
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
828
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
829
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
830
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
831
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
832
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
833
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
834
+ msgid "Preview order"
835
+ msgstr ""
836
+ "Προεπισκόπηση σειράς\n"
837
+
838
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
839
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
840
+ #: includes/customizer/class-wc-email-customizer.php:226
841
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
842
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
843
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
844
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
845
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
846
+ msgid "E.g. {customer.email}, admin@example.org"
847
+ msgstr "Πχ: {customer.email}, admin@example.org"
848
+
849
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
850
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
851
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
852
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
853
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
854
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
855
+ msgid "Email Subject"
856
+ msgstr "Το θέμα του email"
857
+
858
+ #. %s: list of placeholders
859
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
860
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
861
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
862
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
863
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
864
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
865
+ #: includes/customizer/class-wc-email-customizer.php:243
866
+ #: includes/customizer/class-wc-email-customizer.php:266
867
+ #: includes/customizer/class-wc-email-customizer.php:309
868
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
869
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
870
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
871
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
872
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
873
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
874
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
875
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
876
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
877
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
878
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
879
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
880
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
881
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
882
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
883
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
884
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
885
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
886
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
887
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
888
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
889
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
890
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
891
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
892
+ #: includes/emails/class-shipment-delivered-email.php:274
893
+ #: includes/emails/class-shipment-delivered-email.php:283
894
+ #: includes/views/admin_status_notifications.php:209
895
+ msgid "Available variables:"
896
+ msgstr "Διαθέσιμες μεταβλητές:"
897
 
898
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
899
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
900
+ #: includes/customizer/class-wc-email-customizer.php:289
901
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
902
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
903
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
904
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
905
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
906
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
907
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
908
+ #: includes/views/admin_status_notifications.php:203
909
+ msgid "Email content"
910
+ msgstr "Περιεχόμενο email"
911
+
912
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
913
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
914
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
915
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
916
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
917
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
918
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
919
+ msgid "Show tracking details"
920
+ msgstr ""
921
+ "Εμφάνιση λεπτομερειών παρακολούθησης\n"
922
+
923
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
924
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
925
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
926
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
927
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
928
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
929
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
930
+ msgid "Show order details"
931
+ msgstr ""
932
+ "Εμφάνιση λεπτομερειών παραγγελίας\n"
933
+
934
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
935
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
936
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
937
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
938
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
939
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
940
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
941
+ msgid "Show billing address"
942
+ msgstr ""
943
+ "Εμφάνιση διεύθυνσης χρέωσης\n"
944
+
945
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
946
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
947
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
948
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
949
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
950
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
951
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
952
+ msgid "Show shipping address"
953
+ msgstr ""
954
+ "Εμφάνιση της διεύθυνσης αποστολής\n"
955
+
956
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
957
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
958
+ #: includes/customizer/class-wc-email-customizer.php:415
959
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
960
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
961
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
962
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
963
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
964
+ msgid "Google Analytics link tracking"
965
+ msgstr "Παρακολούθηση συνδέσμου Google Analytics"
966
+
967
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
968
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
969
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
970
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
971
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
972
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
973
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
974
+ msgid "This will be appended to URL in the email content"
975
+ msgstr ""
976
+ "Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
977
+
978
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:446
979
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:453
980
+ #: includes/customizer/class-wc-delivered-email-customizer.php:448
981
+ #: includes/customizer/class-wc-delivered-email-customizer.php:455
982
+ #: includes/customizer/class-wc-email-customizer.php:454
983
+ #: includes/customizer/class-wc-email-customizer.php:462
984
+ #: includes/customizer/class-wc-failure-email-customizer.php:448
985
+ #: includes/customizer/class-wc-failure-email-customizer.php:456
986
+ #: includes/customizer/class-wc-intransit-email-customizer.php:451
987
+ #: includes/customizer/class-wc-intransit-email-customizer.php:459
988
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:449
989
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:457
990
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
991
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:454
992
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
993
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
994
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
995
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:306
996
+ #: includes/customizer/class-wc-onhold-email-customizer.php:451
997
+ #: includes/customizer/class-wc-onhold-email-customizer.php:459
998
+ msgid "Please select order to preview."
999
+ msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
1000
 
1001
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1002
+ msgid "Your order #{order_number} has been delivered"
1003
+ msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
1004
 
1005
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
1006
+ #: includes/customizer/class-wc-email-customizer.php:132
1007
+ msgid ""
1008
+ "Hi there. we thought you'd like to know that your recent order from "
1009
+ "{site_title} has been Delivered."
1010
+ msgstr ""
1011
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1012
+ "από {site_title} έχει παραδοθεί.\n"
1013
 
1014
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
1015
+ msgid "Delivered email"
1016
+ msgstr "Παραδόθηκε email"
 
1017
 
1018
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1019
+ msgid "Enable Delivered email"
1020
+ msgstr "Ενεργοποίηση παραδόσεων email"
1021
 
1022
+ #: includes/customizer/class-wc-email-customizer.php:130
1023
+ #: includes/emails/class-shipment-delivered-email.php:94
1024
+ msgid "Your {site_title} order is now delivered"
1025
+ msgstr ""
1026
+ "Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
1027
 
1028
+ #: includes/customizer/class-wc-email-customizer.php:179
1029
+ msgid "Enable Delivered order status email"
1030
+ msgstr ""
1031
+ "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
1032
 
1033
+ #: includes/customizer/class-wc-email-customizer.php:201
1034
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1035
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1036
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1037
+ msgid "Please select a order..."
1038
+ msgstr ""
1039
+ "Παρακαλώ επιλέξτε παραγγελία ...\n"
1040
 
1041
+ #: includes/customizer/class-wc-email-customizer.php:326
1042
+ msgid "Display tracking details"
1043
+ msgstr "Προβολή λεπτομερειών παρακολούθησης"
1044
 
1045
+ #: includes/customizer/class-wc-email-customizer.php:343
1046
+ msgid "Display order details"
1047
+ msgstr "Εμφάνιση λεπτομερειών παραγγελίας"
1048
 
1049
+ #: includes/customizer/class-wc-email-customizer.php:361
1050
+ msgid "Display Shipping Address"
1051
+ msgstr "Εμφάνιση της διεύθυνσης αποστολής"
1052
 
1053
+ #: includes/customizer/class-wc-email-customizer.php:379
1054
+ msgid "Display Billing Address"
1055
+ msgstr "Εμφάνιση της διεύθυνσης χρέωσης"
1056
 
1057
+ #: includes/customizer/class-wc-email-customizer.php:397
1058
+ msgid "Enable Google Analytics tracking"
1059
+ msgstr "Ενεργοποιήστε την παρακολούθηση του Google Analytics"
1060
 
1061
+ #: includes/customizer/class-wc-email-customizer.php:416
1062
+ msgid ""
1063
+ "This will be appended to URL in the email content – e.g. "
1064
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1065
+ msgstr ""
1066
+ "Αυτό θα προσαρτηθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού "
1067
+ "ταχυδρομείου - π.χ. utm_source = ast & utm_medium = email & utm_campaign = "
1068
+ "παραδόθηκε"
1069
 
1070
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1071
+ msgid "Your order #{order_number} is Failed Attempt"
1072
+ msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1073
 
1074
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1075
+ msgid ""
1076
+ "Hi there. we thought you'd like to know that your recent order from "
1077
+ "{site_title} is Failed Attempt"
1078
+ msgstr ""
1079
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1080
+ "από το {site_title} απέτυχε"
1081
 
1082
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1083
+ msgid "Failed Attempt email"
1084
+ msgstr "Αποτυχία αποστολής email"
1085
 
1086
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1087
+ msgid "Enable Failed Attempt email"
1088
+ msgstr "Ενεργοποίηση αποτυχημένου μηνύματος ηλεκτρονικού ταχυδρομείου"
1089
 
1090
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1091
+ msgid "Your order #{order_number} is in transit"
1092
+ msgstr ""
1093
+ "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1094
 
1095
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1096
  msgid ""
1097
+ "Hi there. we thought you'd like to know that your recent order from "
1098
+ "{site_title} is in transit"
1099
  msgstr ""
1100
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1101
+ "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
1102
+
1103
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1104
+ msgid "In Transit email"
1105
+ msgstr "Στο email Transit"
1106
 
1107
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1108
+ msgid "Enable In Transit email"
1109
+ msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου διαμετακόμισης"
1110
+
1111
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1112
+ msgid "Your order #{order_number} is out for delivery"
1113
  msgstr ""
1114
+ "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1115
 
1116
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1117
+ msgid ""
1118
+ "Hi there. we thought you'd like to know that your recent order from "
1119
+ "{site_title} is out for delivery."
1120
  msgstr ""
1121
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1122
+ "από το {site_title} είναι έξω για παράδοση.\n"
1123
 
1124
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1125
+ msgid "Out For Delivery email"
1126
+ msgstr "Έξοδος για παράδοση email"
1127
 
1128
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1129
+ msgid "Enable Out For Delivery email"
1130
+ msgstr "Ενεργοποίηση email για παράδοση"
1131
 
1132
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1133
+ msgid "Your order #{order_number} has returned to sender"
1134
+ msgstr ""
1135
+ "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1136
 
1137
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1138
+ msgid ""
1139
+ "Hi there. we thought you'd like to know that your recent order from "
1140
+ "{site_title} has been returned to sender."
1141
+ msgstr ""
1142
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1143
+ "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
1144
 
1145
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1146
+ msgid "Return To Sender email"
1147
+ msgstr "Επιστροφή στο email αποστολέα"
1148
 
1149
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1150
+ msgid "Enable Return To Sender email"
1151
+ msgstr "Ενεργοποίηση επιστροφής στο email αποστολέα"
1152
 
1153
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1154
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1155
+ #: templates/emails/tracking-info.php:288
1156
+ #: templates/myaccount/tracking-info.php:212
1157
+ msgid "Tracking Number"
1158
+ msgstr "Αριθμός"
1159
+
1160
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1161
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1162
+ msgid "Shipped Date"
1163
  msgstr ""
1164
+ "Ημερομηνία αποστολής\n"
1165
 
1166
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
1167
+ msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1168
+ msgstr ""
1169
+ "Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
1170
+ "{tracking_number_link}"
1171
 
1172
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1173
+ msgid "Select an order to preview and design the tracking info display."
1174
+ msgstr ""
1175
+ "Επιλέξτε μια παραγγελία για να κάνετε προεπισκόπηση και να σχεδιάσετε την "
1176
+ "οθόνη πληροφοριών παρακολούθησης.\n"
1177
 
1178
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1179
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1180
+ msgid "Tracking display layout"
1181
+ msgstr "Παρακολούθηση της διάταξης προβολής"
1182
+
1183
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1184
+ msgid "Select Template"
1185
  msgstr ""
1186
+ "Επιλέξτε Πρότυπο\n"
 
1187
 
1188
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1189
+ msgid "Table Layout"
 
 
1190
  msgstr ""
1191
+ "Διάταξη πίνακα\n"
 
1192
 
1193
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1194
+ msgid "Tracking Display Position"
1195
+ msgstr "Παρακολούθηση θέσης προβολής"
 
 
1196
 
1197
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1198
+ msgid "Before Order Details"
1199
+ msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
1200
 
1201
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1202
+ msgid "After Order Details"
1203
+ msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
 
1204
 
1205
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1206
  msgid "Hide Tracking Header"
1207
  msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
1208
 
1209
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1210
+ msgid "Tracking Header text"
1211
+ msgstr ""
1212
+ "Κείμενο κεφαλίδας εντοπισμού\n"
1213
 
1214
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1215
+ msgid "Tracking Information"
1216
+ msgstr "Πληροφορίες Παρακολούθησης"
1217
 
1218
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1219
+ msgid "Additional text after header"
1220
+ msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
1221
 
1222
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1223
+ msgid "Hide tracking information from order line items"
1224
+ msgstr "Απόκρυψη πληροφοριών παρακολούθησης από στοιχεία γραμμής παραγγελίας"
1225
 
1226
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1227
+ msgid "Simple Layout Design"
1228
+ msgstr ""
1229
+ "Απλό σχέδιο διάταξης\n"
1230
 
1231
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1232
+ msgid "Content"
1233
+ msgstr "Περιεχόμενο"
 
1234
 
1235
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1236
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1237
+ msgid "Content font size"
1238
+ msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
1239
 
1240
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1241
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1242
+ msgid "Content font color"
1243
+ msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
 
 
 
 
1244
 
1245
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1246
+ msgid "Show bottom border"
1247
+ msgstr "Εμφάνιση περιθωρίου κάτω"
1248
 
1249
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1250
+ msgid "Bottom border color"
1251
+ msgstr "Το χρώμα του κάτω ορίου"
1252
 
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1254
+ msgid "Table layout Design"
1255
+ msgstr "Σχέδιο διάταξης πίνακα"
1256
 
1257
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1258
+ msgid "Display shipping provider name"
1259
+ msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
1260
 
1261
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1262
+ msgid "Display shipping provider image"
1263
+ msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
1264
 
1265
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1266
+ msgid "Hide the ship date"
1267
+ msgstr ""
1268
+ "Απόκρυψη της ημερομηνίας του πλοίου\n"
1269
 
1270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1271
+ msgid "Use tracking number as a link"
1272
+ msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1273
 
1274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1275
+ msgid "Table Headers"
1276
+ msgstr "Κεφαλίδες στον πίνακα"
1277
 
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1279
+ msgid "Hide Table Headers"
1280
+ msgstr "Απόκρυψη κεφαλίδων πίνακα"
1281
+
1282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1283
+ msgid "Provider header text"
1284
+ msgstr "Κείμενο κεφαλίδας παροχέα"
1285
+
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1287
+ msgid "Tracking Number header text"
1288
  msgstr ""
1289
+ "Κείμενο κεφαλίδας αριθμού παρακολούθησης\n"
1290
 
1291
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1292
+ msgid "Ship date header text"
1293
  msgstr ""
1294
+ "Κείμενο κεφαλίδας ημερομηνίας πλοίου\n"
1295
+
1296
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1297
+ msgid "Track Label"
1298
+ msgstr "Ετικέτα διαδρομής"
1299
 
1300
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1301
+ msgid "Track header text"
1302
+ msgstr ""
1303
+ "Κείμενο κεφαλίδας παρακολούθησης\n"
1304
 
1305
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1306
+ msgid "Headers font size"
1307
+ msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
1308
 
1309
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1310
+ msgid "Headers font color"
 
 
1311
  msgstr ""
1312
+ "Χρώμα γραμματοσειράς κεφαλίδων\n"
1313
 
1314
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1315
+ msgid "Table Content"
1316
+ msgstr "Περιεχόμενο πίνακα"
 
 
1317
 
1318
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1319
+ msgid "Padding"
 
 
 
 
1320
  msgstr ""
1321
+ "Υλικό παραγεμίσματος\n"
1322
 
1323
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1324
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1325
+ msgid "Background color"
1326
+ msgstr ""
1327
+ "Χρώμα του φόντου\n"
1328
 
1329
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1330
+ msgid "Border color"
1331
+ msgstr ""
1332
+ "Χρώμα πλαισίου\n"
1333
 
1334
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1335
+ msgid "Border size"
1336
+ msgstr ""
1337
+ "Μέγεθος περιθωρίου\n"
 
 
1338
 
1339
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1340
+ msgid "Content Text align"
1341
+ msgstr ""
1342
+ "Ευθυγράμμιση κειμένου περιεχομένου\n"
 
 
 
1343
 
1344
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1345
+ msgid "Content line height"
 
 
1346
  msgstr ""
1347
+ "Το ύψος της γραμμής περιεχομένου\n"
 
1348
 
1349
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1350
+ msgid "Content font weight"
 
1351
  msgstr ""
1352
+ "Βάρος γραμματοσειράς περιεχομένου\n"
 
1353
 
1354
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1355
+ msgid "Tracking Link"
 
 
 
 
1356
  msgstr ""
1357
+ "Σύνδεσμος παρακολούθησης\n"
 
1358
 
1359
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1360
+ msgid "Font Color"
1361
+ msgstr ""
1362
+ "Χρώμα γραμματοσειράς\n"
1363
 
1364
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1365
+ msgid "Border"
1366
+ msgstr "Σύνορο"
1367
 
1368
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1369
+ msgid "Your {site_title} order is now partially shipped"
1370
+ msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
1371
 
1372
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1373
+ msgid ""
1374
+ "Hi there. we thought you'd like to know that your recent order from "
1375
+ "{site_title} has been partially shipped."
1376
+ msgstr ""
1377
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1378
+ "από {site_title} έχει αποσταλεί εν μέρει.\n"
1379
 
1380
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1381
+ msgid "Enable Partially Shipped order status email"
1382
+ msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
 
 
 
1383
 
1384
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1385
+ msgid "Your {site_title} order is now updated tracking"
1386
+ msgstr ""
1387
+ "Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
 
1388
 
1389
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1390
+ msgid ""
1391
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1392
+ "recent order from {site_title} has been updated."
1393
+ msgstr ""
1394
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
1395
+ "για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
1396
 
1397
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1398
+ msgid "Enable Updated Tracking order status email"
1399
+ msgstr ""
1400
+ "Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
1401
 
1402
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1403
+ #: includes/views/admin_status_notifications.php:197
1404
+ msgid "Late shipment for order #{order_number}"
1405
+ msgstr "Τελευταία αποστολή για παραγγελία # {αριθμός_παραγγελίας}"
1406
 
1407
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:29
1408
+ msgid "Late shipment"
1409
+ msgstr "Καθυστερημένη αποστολή"
1410
 
1411
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:30
1412
+ #: includes/views/admin_status_notifications.php:207
1413
+ msgid ""
1414
+ "This order was shipped {shipment_length} days ago, the shipment status is "
1415
+ "{shipment_status} and its est. delivery date is {est_delivery_date}."
1416
  msgstr ""
1417
+ "Αυτή η παραγγελία εστάλη πριν από {shipment_length} ημέρες, η κατάσταση "
1418
+ "αποστολής είναι {shipment_status} και η εκτιμώμενη ημερομηνία παράδοσής της "
1419
+ "είναι {est_delivery_date}."
 
 
 
1420
 
1421
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1422
+ msgid "Your order #{order_number} is on hold"
1423
+ msgstr "Η παραγγελία σας # {order_number} βρίσκεται σε αναμονή"
1424
 
1425
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1426
  msgid ""
1427
+ "Hi there. we thought you'd like to know that your recent order from "
1428
+ "{site_title} is on hold"
1429
  msgstr ""
1430
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να γνωρίζετε ότι η πρόσφατη παραγγελία σας "
1431
+ "από το {site_title} είναι σε αναμονή"
1432
 
1433
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1434
+ msgid "On Hold email"
1435
+ msgstr "Σε αναμονή email"
 
 
 
1436
 
1437
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1438
+ msgid "Enable On Hold email"
1439
+ msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου σε αναμονή"
1440
 
1441
+ #: includes/emails/class-shipment-delivered-email.php:32
1442
+ msgid "Delivered order"
1443
+ msgstr "Παραδοθείσα παραγγελία"
1444
 
1445
+ #: includes/emails/class-shipment-delivered-email.php:33
1446
+ msgid ""
1447
+ "Order delivered emails are sent to customers when their orders are marked "
1448
+ "delivered and usually indicate that their orders have been shipped."
1449
+ msgstr ""
1450
+ "Τα παραδοθέντα ηλεκτρονικά μηνύματα αποστέλλονται στους πελάτες όταν "
1451
+ "παραγγελθούν οι παραγγελίες τους και συνήθως υποδεικνύουν ότι οι παραγγελίες "
1452
+ "τους έχουν αποσταλεί."
1453
 
1454
+ #: includes/emails/class-shipment-delivered-email.php:298
1455
+ msgid "Click Here"
1456
+ msgstr "Κάντε κλικ ΕΔΩ"
1457
+
1458
+ #: includes/emails/class-shipment-delivered-email.php:299
1459
+ msgid "Edit in customizer"
1460
+ msgstr "Επεξεργασία στο customizer"
1461
+
1462
+ #: includes/views/admin_options_bulk_upload.php:12
1463
+ msgid ""
1464
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1465
+ "file"
1466
+ msgstr ""
1467
+ "Χρησιμοποιήστε το εργαλείο εισαγωγής CSV για μαζική εισαγωγή πληροφοριών "
1468
+ "παρακολούθησης σε παραγγελίες από ένα αρχείο CSV"
1469
 
1470
+ #: includes/views/admin_options_bulk_upload.php:26
1471
+ msgid "Upload a CSV file from your computer:"
1472
+ msgstr "Upload a CSV file from your computer:"
 
1473
 
1474
+ #: includes/views/admin_options_bulk_upload.php:34
1475
+ msgid "Choose the Shipped Date format"
1476
+ msgstr "Επιλέξτε τη μορφή αποστολής ημερομηνίας"
1477
+
1478
+ #: includes/views/admin_options_bulk_upload.php:48
1479
+ msgid "Replace tracking information?"
1480
+ msgstr "Replace tracking information?Αντικατάσταση πληροφοριών παρακολούθησης;"
1481
 
1482
+ #: includes/views/admin_options_bulk_upload.php:48
1483
  msgid ""
1484
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1485
+ "info added to the orders."
1486
  msgstr ""
1487
+ "Μην παραλείψετε να ελέγξετε τις πληροφορίες παρακολούθησης που θα προστεθούν "
1488
+ "σε τυχόν υπάρχουσες πληροφορίες παρακολούθησης που έχουν προστεθεί στις "
1489
+ "παραγγελίες."
 
 
 
 
 
1490
 
1491
  #: includes/views/admin_options_bulk_upload.php:57
1492
+ msgid "Continue"
1493
+ msgstr "Να συνεχίσει"
1494
+
1495
+ #: includes/views/admin_options_bulk_upload.php:59
1496
  msgid "Settings Saved."
1497
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1498
 
1499
+ #: includes/views/admin_options_bulk_upload.php:76
1500
+ msgid "Import in Progress"
1501
+ msgstr "Εισαγωγή σε εξέλιξη"
 
 
1502
 
1503
+ #: includes/views/admin_options_bulk_upload.php:108
1504
+ msgid "View Orders"
1505
+ msgstr "Προβολή παραγγελιών"
 
 
1506
 
1507
+ #: includes/views/admin_options_bulk_upload.php:109
1508
+ msgid "Upload again"
1509
+ msgstr "Μεταφόρτωση ξανά"
1510
 
1511
+ #: includes/views/admin_options_settings.php:23
1512
+ #: includes/views/admin_trackship_dashboard.php:45
1513
+ #: includes/views/admin_tracking_page_settings.php:104
1514
+ #: includes/views/admin_status_notifications.php:242
1515
+ msgid "Save Changes"
1516
+ msgstr "Αποθήκευσε τις αλλαγές"
1517
 
1518
+ #: includes/views/admin_options_settings.php:35
1519
+ msgid "Tracking Display Customizer"
1520
+ msgstr ""
 
 
 
 
1521
 
1522
+ #: includes/views/admin_options_settings.php:41
1523
+ msgid ""
1524
+ "Use a customizer with a preview to customize the tracking info display on "
1525
+ "customer order emails and my-account."
1526
  msgstr ""
1527
+ "Χρησιμοποιήστε ένα εργαλείο προσαρμογής με προεπισκόπηση για να προσαρμόσετε "
1528
+ "την εμφάνιση πληροφοριών παρακολούθησης στα ηλεκτρονικά μηνύματα παραγγελίας "
1529
+ "πελατών και στον λογαριασμό μου."
1530
 
1531
+ #: includes/views/admin_options_settings.php:44
1532
+ msgid "Launch Customizer"
1533
+ msgstr "Εκκινήστε το Customizer"
 
1534
 
1535
+ #: includes/views/admin_options_shipping_provider.php:22
1536
+ msgid "Active Providers"
1537
+ msgstr ""
 
 
1538
 
1539
+ #: includes/views/admin_options_shipping_provider.php:23
1540
+ msgid "Browse Providers"
1541
  msgstr ""
 
 
1542
 
1543
+ #: includes/views/admin_options_shipping_provider.php:24
1544
+ msgid "Custom Providers"
1545
+ msgstr ""
1546
 
1547
+ #: includes/views/admin_options_shipping_provider.php:29
1548
+ msgid "Search by provider / country"
1549
+ msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
1550
+
1551
+ #: includes/views/admin_options_shipping_provider.php:51
1552
+ msgid "Add Custom Shipping Provider"
1553
+ msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
1554
 
1555
  #: includes/views/admin_options_shipping_provider.php:58
1556
+ #: includes/views/admin_options_shipping_provider.php:103
1557
  msgid "Shipping Provider"
1558
  msgstr "Πάροχος αποστολών"
1559
 
1560
+ #: includes/views/admin_options_shipping_provider.php:61
1561
+ #: includes/views/admin_options_shipping_provider.php:106
1562
+ msgid "Custom display name"
1563
+ msgstr "Προσαρμοσμένο εμφανιζόμενο όνομα"
1564
 
1565
+ #: includes/views/admin_options_shipping_provider.php:65
1566
+ #: includes/views/admin_options_shipping_provider.php:113
1567
+ msgid "Shipping Country"
1568
+ msgstr "Χώρα αποστολής"
 
1569
 
1570
+ #: includes/views/admin_options_shipping_provider.php:66
1571
+ #: includes/views/admin_options_shipping_provider.php:114
1572
+ msgid "Global"
1573
+ msgstr "Παγκόσμια"
 
1574
 
1575
+ #: includes/views/admin_options_shipping_provider.php:76
1576
+ #: includes/views/admin_options_shipping_provider.php:124
1577
+ msgid "Upload"
1578
+ msgstr "Μεταφόρτωση"
1579
 
1580
+ #: includes/views/admin_options_shipping_provider.php:82
1581
+ #: includes/views/admin_options_shipping_provider.php:130
1582
+ msgid ""
1583
+ "You can use the variables %number%, %postal_code% and %country_code% in the "
1584
+ "URL, for more info, check our "
1585
  msgstr ""
1586
+ "Μπορείτε να χρησιμοποιήσετε τις μεταβλητές% number%,% postal_code% and% "
1587
+ "country_code% στη διεύθυνση URL, για περισσότερες πληροφορίες, ανατρέξτε στο"
1588
 
1589
+ #: includes/views/admin_options_shipping_provider.php:82
1590
+ #: includes/views/admin_options_shipping_provider.php:130
1591
+ #, php-format
1592
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1593
+ msgstr "τεκμηρίωση"
1594
 
1595
+ #: includes/views/admin_options_shipping_provider.php:95
1596
+ msgid "Edit Shipping Provider"
1597
+ msgstr "Επεξεργασία παρόχου αποστολής"
 
1598
 
1599
+ #: includes/views/admin_options_shipping_provider.php:135
1600
+ msgid "Update"
1601
+ msgstr "Update"
1602
 
1603
+ #: includes/views/admin_options_shipping_provider.php:136
1604
+ msgid "Reset"
1605
+ msgstr "Reset"
1606
+
1607
+ #: includes/views/admin_options_shipping_provider.php:146
1608
+ #: includes/views/admin_options_shipping_provider.php:161
1609
  msgid "Sync Shipping Providers"
1610
  msgstr "Sync Shipping Providers"
1611
 
1612
+ #: includes/views/admin_options_shipping_provider.php:151
1613
  msgid ""
1614
  "Syncing the shipping providers list add or updates the pre-set shipping "
1615
  "providers and will not effect custom shipping providers."
1618
  "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
1619
  "προσαρμοσμένους παροχείς αποστολής."
1620
 
1621
+ #: includes/views/admin_options_shipping_provider.php:153
1622
+ msgid "Providers Added"
1623
+ msgstr "Προστέθηκαν παροχείς"
1624
 
1625
+ #: includes/views/admin_options_shipping_provider.php:154
1626
+ msgid "Providers Updated"
1627
+ msgstr "Οι προμηθευτές ενημερώθηκαν"
1628
 
1629
+ #: includes/views/admin_options_shipping_provider.php:155
1630
+ msgid "Providers Deleted"
1631
+ msgstr "Οι πάροχοι έχουν διαγραφεί"
 
1632
 
1633
+ #: includes/views/admin_options_shipping_provider.php:157
1634
+ msgid "Shipping providers database reset successfully."
1635
  msgstr ""
1636
+ "Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
 
 
 
 
 
 
 
 
1637
 
1638
+ #: includes/views/admin_options_shipping_provider.php:159
1639
  msgid ""
1640
+ "Reset providers database, it will reset all your shipping provider database"
 
 
1641
  msgstr ""
1642
+ "Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
1643
+ "δεδομένων παρόχων αποστολής"
 
1644
 
1645
+ #: includes/views/admin_options_trackship_integration.php:16
1646
+ #: includes/views/admin_options_addons.php:130
1647
+ msgid "Watch Video"
1648
+ msgstr "Δες το βίντεο"
1649
 
1650
+ #: includes/views/admin_options_trackship_integration.php:17
1651
+ #: includes/views/admin_options_addons.php:134
1652
+ msgid "Start your free trial"
1653
+ msgstr "Ξεκινήστε την δωρεάν δοκιμή σας"
1654
 
1655
+ #: includes/views/admin_options_addons.php:111
1656
+ msgid "License"
1657
+ msgstr "Αδεια"
 
 
 
 
 
 
 
1658
 
1659
+ #: includes/views/admin_options_addons.php:132
1660
+ #: includes/views/trackship_sidebar.php:14
1661
+ msgid "Account Dashboard"
1662
+ msgstr "Πίνακας ελέγχου λογαριασμού"
1663
 
1664
+ #: includes/views/admin_trackship_dashboard.php:13
1665
+ #, php-format
1666
+ msgid ""
1667
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1668
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1669
+ msgstr ""
1670
+ "Έχετε% s αποσταλείσες παραγγελίες από τις τελευταίες 30 ημέρες που μπορείτε "
1671
+ "να στείλετε μαζικά στη Λήψη κατάστασης αποστολής"
1672
 
1673
+ #: includes/views/admin_trackship_dashboard.php:33
1674
+ msgid "Automation"
1675
+ msgstr "Αυτοματοποίηση"
1676
+
1677
+ #: includes/views/admin_tracking_page_settings.php:10
1678
+ msgid "Enable a tracking page on your store"
1679
+ msgstr "Ενεργοποιήστε μια σελίδα παρακολούθησης στο κατάστημά σας"
1680
+
1681
+ #: includes/views/admin_tracking_page_settings.php:36
1682
+ msgid "Other"
1683
+ msgstr "Αλλα"
1684
+
1685
+ #: includes/views/admin_tracking_page_settings.php:41
1686
+ msgid ""
1687
+ "Note - If you select a different page than the Shipment Tracking page, add "
1688
+ "the [wcast-track-order] shortcode to the selected page content."
1689
  msgstr ""
1690
+ "Σημείωση - Αν επιλέξετε διαφορετική σελίδα από τη σελίδα Tracking Tracking, "
1691
+ "προσθέστε το shortcode [wcast-track-order] στο επιλεγμένο περιεχόμενο "
1692
+ "σελίδας.\n"
1693
 
1694
+ #: includes/views/admin_tracking_page_settings.php:41
1695
+ msgid "more info"
1696
+ msgstr ""
1697
+ "περισσότερες πληροφορίες\n"
1698
 
1699
+ #: includes/views/admin_tracking_page_settings.php:46
1700
+ msgid "Tracking Widget Layout"
1701
+ msgstr ""
 
1702
 
1703
+ #: includes/views/admin_tracking_page_settings.php:65
1704
+ msgid "Tracking Widget Options"
1705
+ msgstr ""
1706
 
1707
+ #: includes/views/admin_tracking_page_settings.php:81
1708
+ msgid "Hide tracking event details"
1709
  msgstr ""
1710
+ "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης\n"
1711
 
1712
+ #: includes/views/admin_tracking_page_settings.php:92
1713
+ msgid "Tracking Widget Border Color"
1714
+ msgstr ""
1715
 
1716
+ #: includes/views/admin_tracking_page_settings.php:105
1717
+ msgid "Preview"
 
 
 
 
 
 
1718
  msgstr ""
1719
+ "Προεπισκόπηση\n"
 
1720
 
1721
+ #: includes/views/admin_tracking_page_settings.php:116
1722
+ msgid "Tracking Widget Preview"
1723
+ msgstr "Προεπισκόπηση Widget παρακολούθησης"
1724
 
1725
+ #: includes/views/admin_status_notifications.php:3
1726
+ msgid "Shipment Status Email Notifications"
1727
+ msgstr "Ειδοποιήσεις μέσω email για την κατάσταση αποστολής"
 
 
 
1728
 
1729
+ #: includes/views/admin_status_notifications.php:37
1730
+ msgid "The shipment was accepted by the shipping provider and its on the way."
1731
+ msgstr ""
1732
+ "Η αποστολή έγινε αποδεκτή από τον πάροχο αποστολών και το κατά τη διάρκεια "
1733
+ "του ταξιδιού."
1734
 
1735
+ #: includes/views/admin_status_notifications.php:52
1736
+ msgid "The shipment is On Hold."
1737
+ msgstr "Η αποστολή είναι σε αναμονή."
 
1738
 
1739
+ #: includes/views/admin_status_notifications.php:67
1740
+ msgid "Shipment is returned to sender."
1741
+ msgstr "Η αποστολή επιστρέφεται στον αποστολέα."
1742
 
1743
+ #: includes/views/admin_status_notifications.php:82
1744
+ msgid "The shipment is ready to by picked up."
1745
+ msgstr "Η αποστολή είναι έτοιμη για παραλαβή."
1746
 
1747
+ #: includes/views/admin_status_notifications.php:97
1748
+ msgid "Carrier is about to deliver the shipment."
1749
+ msgstr "Ο μεταφορέας πρόκειται να παραδώσει την αποστολή."
 
 
 
1750
 
1751
+ #: includes/views/admin_status_notifications.php:97
1752
+ msgid "Out For delivery"
1753
+ msgstr "Έξω για παράδοση"
 
 
 
 
1754
 
1755
+ #: includes/views/admin_status_notifications.php:112
1756
+ msgid "The shipment was delivered successfully."
1757
+ msgstr "Η αποστολή παραδόθηκε με επιτυχία."
1758
 
1759
+ #: includes/views/admin_status_notifications.php:127
1760
+ msgid "Carrier attempted to deliver the package but failed."
1761
+ msgstr ""
1762
+ "Η εταιρεία κινητής τηλεφωνίας προσπάθησε να παραδώσει το πακέτο, αλλά "
1763
+ "απέτυχε."
1764
 
1765
+ #: includes/views/admin_status_notifications.php:152
1766
  msgid ""
1767
+ "If a shipment reached the number of days that you define, and the shipment "
1768
+ "is not \"delivered\" or \"Returned to Sender\" than email will trigger."
1769
  msgstr ""
1770
+ "Εάν μια αποστολή έφτασε τον αριθμό των ημερών που ορίσατε και η αποστολή δεν "
1771
+ "\"παραδοθεί\" ή \"Επιστρέφθηκε στον αποστολέα\" από το email θα "
1772
+ "ενεργοποιηθεί."
1773
 
1774
+ #: includes/views/admin_status_notifications.php:173
1775
+ msgid "Late Shipment Days"
1776
+ msgstr "Καθυστερημένες αποστολές"
1777
 
1778
+ #: includes/views/admin_status_notifications.php:187
1779
+ msgid "E.g. {admin_email}, admin@example.org"
1780
+ msgstr "Π.χ. {admin_email}, admin@example.org"
 
 
 
1781
 
1782
+ #: includes/views/admin_status_notifications.php:222
1783
+ msgid "Trigger Alert"
1784
+ msgstr "Ειδοποίηση ενεργοποίησης"
1785
 
1786
+ #: includes/views/admin_status_notifications.php:227
1787
+ msgid "As it Happens"
1788
+ msgstr "Καθώς συμβαίνει"
1789
+
1790
+ #: includes/views/admin_status_notifications.php:231
1791
+ msgid "Daily Digest on"
1792
+ msgstr "Ημερήσιο Digest στις"
1793
+
1794
+ #: includes/views/admin_options_tools.php:11
1795
+ msgid "Tracking info sent to Trackship for all Orders."
1796
  msgstr ""
1797
+ "Οι πληροφορίες παρακολούθησης εστάλησαν στο Trackship για όλες τις "
1798
+ "παραγγελίες."
1799
 
1800
+ #: includes/views/admin_options_tools.php:14
1801
+ msgid ""
1802
+ "You can send all your orders from the last 30 days to get shipment status "
1803
+ "from TrackShip:"
1804
+ msgstr ""
1805
+ "Μπορείτε να στείλετε όλες τις παραγγελίες σας από τις τελευτα�