Advanced Shipment Tracking for WooCommerce - Version 3.1.1

Version Description

Download this release

Release Info

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

Code changes from version 3.3 to 3.1.1

Files changed (128) 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/woo-UPS-shipping.png +0 -0
  73. assets/images/woo-shipping.png +0 -0
  74. assets/images/zorem-logo.png +0 -0
  75. assets/js/admin.js +0 -486
  76. assets/js/customizer-scripts.js +0 -110
  77. assets/js/customizer.js +0 -608
  78. assets/js/hip.js +0 -341
  79. assets/js/jquery.ajax.queue.js +0 -74
  80. assets/js/preview-scripts.js +0 -236
  81. assets/js/settings.js +0 -99
  82. assets/js/shipping_row.js +0 -956
  83. assets/shipment-provider-img/wahana.png +0 -0
  84. assets/shipment-provider-img/xpressbees.png +0 -0
  85. assets/shipment-provider-img/yamato.png +0 -0
  86. assets/shipment-provider-img/yanwen.png +0 -0
  87. assets/shipment-provider-img/yodel.png +0 -0
  88. assets/shipment-provider-img/yun-express-tracking.png +0 -0
  89. assets/shipment-provider-img/yurtici-kargo.png +0 -0
  90. assets/tracking.csv +0 -4
  91. includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php +0 -479
  92. includes/class-wc-admin-notices.php +0 -111
  93. includes/class-wc-advanced-shipment-tracking-admin-notice.php +0 -163
  94. includes/class-wc-advanced-shipment-tracking-admin.php +0 -2256
  95. includes/class-wc-advanced-shipment-tracking-install.php +0 -419
  96. includes/class-wc-advanced-shipment-tracking-settings.php +0 -704
  97. includes/class-wc-advanced-shipment-tracking.php +0 -1685
  98. includes/customizer/class-wc-partial-shipped-email-customizer.php +0 -375
  99. includes/customizer/class-wc-tracking-info-customizer.php +0 -1163
  100. includes/customizer/class-wc-updated-tracking-email-customizer.php +0 -420
  101. includes/customizer/class-wcast-customizer.php +0 -465
  102. includes/customizer/custom-controls.php +0 -170
  103. includes/customizer/preview/partial_shipped_preview.php +0 -29
  104. includes/customizer/preview/preview.php +0 -29
  105. includes/customizer/preview/updated_tracking_preview.php +0 -29
  106. includes/email-manager.php +0 -116
  107. includes/emails/class-shipment-partial-shipped-email.php +0 -197
  108. includes/emails/class-shipment-updated-tracking-email.php +0 -184
  109. includes/tracking-info.php +0 -82
  110. includes/views/activity_panel.php +0 -70
  111. includes/views/admin_options_addons.php +0 -170
  112. includes/views/admin_options_bulk_upload.php +0 -122
  113. includes/views/admin_options_osm.php +0 -88
  114. includes/views/admin_options_settings.php +0 -79
  115. includes/views/admin_options_shipping_provider.php +0 -130
  116. includes/views/admin_options_trackship_integration.php +0 -28
  117. includes/views/integrations_admin_options.php +0 -25
  118. includes/views/zorem_admin_addons_sidebar.php +30 -0
  119. includes/views/zorem_admin_bulk_upload_sidebar.php +56 -0
  120. includes/views/zorem_admin_sidebar.php +53 -0
  121. lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
  122. lang/woo-advanced-shipment-tracking-bg_BG.po +1580 -882
  123. lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
  124. lang/woo-advanced-shipment-tracking-da_DK.po +1574 -878
  125. lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
  126. lang/woo-advanced-shipment-tracking-de_DE.po +1626 -902
  127. lang/woo-advanced-shipment-tracking-el.mo +0 -0
  128. lang/woo-advanced-shipment-tracking-el.po +1473 -758
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/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
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 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,1698 @@ 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 +1712,191 @@ 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 "зорем"
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-09-01 05:43+0000\n"
6
+ "PO-Revision-Date: 2020-09-01 12:01+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.3; wp-5.5"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
19
+ msgid ""
20
+ "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
+ "Shipment Tracking!"
22
+ msgstr ""
23
+ "Моля, инсталирайте и активирайте% sWooCommerce% s за усъвършенствано "
24
+ "проследяване на пратки в WooCommerce!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:468
27
+ #, php-format
28
+ msgid ""
29
+ "We detected %s orders that use the Delivered order status, You can reassign "
30
+ "these orders to a different status"
31
+ msgstr ""
32
 
33
+ #: woocommerce-advanced-shipment-tracking.php:480
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
 
40
+ #: woocommerce-advanced-shipment-tracking.php:492
41
+ #, php-format
42
+ msgid ""
43
+ "We detected %s orders that use the Updated Tracking order status, You can "
44
+ "reassign these orders to a different status"
45
+ msgstr ""
46
 
47
+ #: woocommerce-advanced-shipment-tracking.php:502
48
+ #: includes/views/admin_options_osm.php:139
49
+ #, php-format
50
  msgid ""
51
+ "<strong>Note:</strong> - If you use the custom order status, when you "
52
+ "deactivate the plugin, you must register the order status, otherwise these "
53
+ "orders will not display on your orders admin. You can find more information "
54
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
55
+ "php here."
56
+ msgstr ""
57
+ "Забележка: - Ако използвате статуса на поръчка по поръчка, когато "
58
+ "деактивирате приставката, трябва да регистрирате състоянието на поръчката, в "
59
+ "противен случай тези поръчки няма да се показват на администратора на вашите "
60
+ "поръчки. Можете да намерите повече информация и фрагмента на кода, който да "
61
+ "използвате в функции.php тук.\n"
62
+
63
+ #: includes/class-wc-advanced-shipment-tracking-front.php:158
64
+ #: includes/class-wc-advanced-shipment-tracking-front.php:360
65
+ #: includes/class-wc-advanced-shipment-tracking-front.php:385
66
+ #: includes/class-wc-advanced-shipment-tracking-front.php:412
67
+ msgid ""
68
+ "To track your order please enter your Order ID in the box below and press "
69
+ "the \"Track\" button. This was given to you on your receipt and in the "
70
+ "confirmation email you should have received."
71
+ msgstr ""
72
+ "За да проследите Вашата поръчка, моля въведете Вашата поръчка ID в полето по-"
73
+ "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
74
+ "в имейла за потвърждение, който трябваше да получите.\n"
75
+
76
+ #: includes/class-wc-advanced-shipment-tracking-front.php:159
77
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
78
+ #: includes/class-wc-advanced-shipment-tracking-front.php:361
79
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
80
+ #: includes/class-wc-advanced-shipment-tracking-front.php:386
81
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
82
+ #: includes/class-wc-advanced-shipment-tracking-front.php:413
83
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
84
+ msgid "Found in your order confirmation email."
85
+ msgstr ""
86
+ "Намерен в имейла за потвърждение на поръчката.\n"
87
+
88
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
89
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
90
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
91
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
92
+ msgid "Order Email"
93
+ msgstr ""
94
+ "Имейл за поръчка\n"
95
+
96
+ #: includes/class-wc-advanced-shipment-tracking-front.php:163
97
+ #: includes/class-wc-advanced-shipment-tracking-front.php:365
98
+ #: includes/class-wc-advanced-shipment-tracking-front.php:390
99
+ #: includes/class-wc-advanced-shipment-tracking-front.php:417
100
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
101
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
102
+ #: templates/emails/tracking-info.php:311
103
+ #: templates/myaccount/tracking-info.php:232
104
+ msgid "Track"
105
+ msgstr "път"
106
+
107
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
108
+ #: includes/class-wc-advanced-shipment-tracking-front.php:268
109
+ #: includes/class-wc-advanced-shipment-tracking-front.php:504
110
+ #: includes/class-wc-advanced-shipment-tracking-front.php:521
111
+ #, php-format
112
+ msgid "Shipment - %s (out of %s)"
113
+ msgstr ""
114
+ "Пратка -% s (от% s)\n"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-front.php:284
117
+ #: includes/class-wc-advanced-shipment-tracking-front.php:537
118
+ msgid "Tracking details not found in TrackShip"
119
+ msgstr "Детайли за проследяване не са открити в TrackShip"
120
+
121
+ #: includes/class-wc-advanced-shipment-tracking-front.php:366
122
+ msgid "Order not found."
123
+ msgstr "Поръчката не е намерена"
124
+
125
+ #: includes/class-wc-advanced-shipment-tracking-front.php:418
126
+ msgid "Tracking details not found."
127
+ msgstr "Детайли за проследяване не са намерени."
128
+
129
+ #: includes/class-wc-advanced-shipment-tracking-front.php:597
130
+ #: includes/class-wc-advanced-shipment-tracking-front.php:627
131
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1205
132
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1223
133
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1358
134
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1376
135
+ msgid "Est. Delivery Date"
136
+ msgstr ""
137
+ "Est. Дата на доставка\n"
138
+
139
+ #: includes/class-wc-advanced-shipment-tracking-front.php:766
140
+ #: includes/class-wc-advanced-shipment-tracking-front.php:945
141
+ msgid "Tracking Details"
142
+ msgstr "Детайли за проследяване"
143
+
144
+ #: includes/class-wc-advanced-shipment-tracking-front.php:772
145
+ #: includes/class-wc-advanced-shipment-tracking-front.php:855
146
+ #: includes/class-wc-advanced-shipment-tracking-front.php:952
147
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1049
148
+ msgid "Destination Details"
149
  msgstr ""
 
 
 
 
150
 
151
+ #: includes/class-wc-advanced-shipment-tracking-front.php:811
152
+ #: includes/class-wc-advanced-shipment-tracking-front.php:896
153
+ #: includes/class-wc-advanced-shipment-tracking-front.php:999
154
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1090
155
+ msgid "Origin Details"
156
+ msgstr ""
157
 
158
+ #: includes/class-wc-advanced-shipment-tracking-front.php:846
159
+ #: includes/class-wc-advanced-shipment-tracking-front.php:933
160
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1042
161
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1127
162
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1347
163
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1461
164
+ msgid "view more"
165
+ msgstr "Виж повече"
166
+
167
+ #: includes/class-wc-advanced-shipment-tracking-front.php:847
168
+ #: includes/class-wc-advanced-shipment-tracking-front.php:934
169
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1043
170
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1128
171
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1348
172
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1462
173
+ msgid "view less"
174
+ msgstr "вижте по-малко"
175
+
176
+ #: includes/class-wc-advanced-shipment-tracking.php:141
177
+ #: includes/class-wc-advanced-shipment-tracking.php:223
178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:252
179
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:303
180
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:197
181
+ msgid "Shipment Tracking"
182
+ msgstr "Проследяване на пратките"
183
 
184
+ #: includes/class-wc-advanced-shipment-tracking.php:246
185
+ #: includes/class-wc-advanced-shipment-tracking.php:410
186
+ msgid "Track Shipment"
187
+ msgstr "Проследяване на пратката"
188
+
189
+ #. 1: shipping date
190
+ #: includes/class-wc-advanced-shipment-tracking.php:256
191
+ #, php-format
192
+ msgid "Shipped on %s"
193
+ msgstr "Изпратено на% s"
194
+
195
+ #: includes/class-wc-advanced-shipment-tracking.php:310
196
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:478
197
+ msgid "Mark as Shipped?"
198
+ msgstr "Да се ​​маркира като изпратен?"
199
 
200
+ #: includes/class-wc-advanced-shipment-tracking.php:313
201
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:481
202
+ msgid "Mark as Completed?"
203
+ msgstr "Да се ​​маркира като завършен?"
204
+
205
+ #: includes/class-wc-advanced-shipment-tracking.php:325
206
  msgid "Add Tracking Info"
207
  msgstr "Добавяне на информация за проследяване"
208
 
209
+ #: includes/class-wc-advanced-shipment-tracking.php:329
210
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:493
211
+ msgid "Tracking number:"
212
+ msgstr "Номер за проследяване:"
213
+
214
+ #: includes/class-wc-advanced-shipment-tracking.php:334
215
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:497
216
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:499
217
+ msgid "Shipping Provider:"
218
+ msgstr "Доставчик:"
219
+
220
+ #: includes/class-wc-advanced-shipment-tracking.php:335
221
+ msgid "Select Provider"
222
+ msgstr "Изберете Доставчик"
223
+
224
+ #: includes/class-wc-advanced-shipment-tracking.php:372
225
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:519
226
+ msgid "Product Code:"
227
+ msgstr "Код на продукта:"
228
+
229
+ #: includes/class-wc-advanced-shipment-tracking.php:380
230
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:523
231
+ msgid "Date shipped:"
232
+ msgstr "Дата на изпращане:"
233
+
234
+ #: includes/class-wc-advanced-shipment-tracking.php:381
235
+ #: includes/class-wc-advanced-shipment-tracking.php:384
236
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
237
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
238
+ msgid "Y-m-d"
239
  msgstr ""
 
 
240
 
241
+ #: includes/class-wc-advanced-shipment-tracking.php:393
242
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:533
243
+ msgid "Mark order as:"
244
+ msgstr "Маркиране на поръчката като:"
245
+
246
+ #: includes/class-wc-advanced-shipment-tracking.php:396
247
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:536
248
+ msgid "Partial Shipped"
249
+ msgstr "Частично изпратено"
250
+
251
+ #: includes/class-wc-advanced-shipment-tracking.php:409
252
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:548
253
+ msgid "Save Tracking"
254
+ msgstr "Запазване на проследяването"
255
+
256
+ #: includes/class-wc-advanced-shipment-tracking.php:410
257
+ msgid "Preview:"
258
+ msgstr "Преглед:"
259
+
260
+ #: includes/class-wc-advanced-shipment-tracking.php:661
261
+ #, php-format
262
  msgid ""
263
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
264
  msgstr ""
265
+ "Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
266
+ "проследяващ номер% s"
267
+
268
+ #: includes/class-wc-advanced-shipment-tracking.php:1008
269
+ #: includes/class-wc-advanced-shipment-tracking.php:1095
270
+ #, php-format
271
+ msgid "Order was shipped with %s and tracking number is: %s"
272
+ msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
273
+
274
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:138
275
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:183
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1494
277
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:710
278
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:784
279
+ #: includes/customizer/class-wcast-customizer.php:187
280
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
281
+ #: includes/views/admin_status_notifications.php:124
282
+ #: includes/views/admin_options_osm.php:23
283
+ msgid "Delivered"
284
+ msgstr "Доставени"
285
+
286
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:143
287
+ #, php-format
288
+ msgid "Delivered <span class=\"count\">(%s)</span>"
289
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
290
+ msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
291
+ msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
292
+
293
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:152
294
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:198
295
+ #: includes/views/admin_options_osm.php:106
296
+ msgid "Updated Tracking"
297
+ msgstr "Актуализирано проследяване"
298
+
299
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:157
300
+ #, php-format
301
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
302
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
303
+ msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
304
+ msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
305
+
306
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:166
307
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:212
308
+ #: includes/views/admin_options_osm.php:65
309
+ msgid "Partially Shipped"
310
+ msgstr "Частично изпратени"
311
+
312
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:171
313
+ #, php-format
314
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
315
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
316
+ msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
317
+ msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
318
+
319
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:331
320
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
321
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:851
322
+ msgid "Shipped"
323
+ msgstr "Доставят"
324
+
325
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:348
326
+ #, php-format
327
+ msgid "Shipped <span class=\"count\">(%s)</span>"
328
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
329
+ msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
330
+ msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
331
+
332
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:362
333
+ msgid "Change status to shipped"
334
+ msgstr "Промяна на състоянието на изпратено"
335
 
336
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:482
337
+ msgid "Completed"
338
+ msgstr "завършен"
339
+
340
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:490
341
+ msgid "Add Tracking Number"
342
+ msgstr "Добавете проследяващ номер"
343
+
344
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:563
345
+ msgid "Resend delivered order notification"
346
+ msgstr "Повторно изпратено известие за поръчка"
347
+
348
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
349
+ msgid "There are some issue with sync, Please Retry."
350
+ msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
351
+
352
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:782
353
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:797
354
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:812
355
+ msgid "view details"
356
+ msgstr "Разгледайте детайлите"
357
+
358
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:783
359
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:798
360
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:813
361
+ msgid "hide details"
362
+ msgstr "скрий подробности"
363
+
364
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:194
365
  msgid ""
366
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
367
+ "100 orders."
368
  msgstr ""
 
 
369
 
370
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:236
371
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:150
372
+ msgid "Data saved successfully."
373
+ msgstr ""
374
 
375
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:237
376
+ msgid "Really delete this entry? This will not be undo."
377
+ msgstr ""
378
 
379
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:238
380
+ msgid "You can upload only csv file."
 
 
381
  msgstr ""
 
 
382
 
383
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:239
384
+ msgid "This browser does not support HTML5."
 
 
385
  msgstr ""
 
 
386
 
387
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:240
388
+ msgid "Please upload a valid CSV file."
 
 
389
  msgstr ""
 
 
390
 
391
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:310
392
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:329
393
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1556
394
+ msgid "Shipping Providers"
395
  msgstr ""
 
 
396
 
397
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:311
398
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:313
399
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
400
+ #: includes/views/admin_options_bulk_upload.php:11
401
+ msgid "CSV Import"
402
  msgstr ""
 
 
403
 
404
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:317
405
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:345
406
+ #: includes/views/admin_options_addons.php:73
407
+ msgid "Add-ons"
408
  msgstr ""
 
 
409
 
410
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
411
+ #: includes/views/admin_options_osm.php:4
412
+ msgid "Order Status Manager"
 
413
  msgstr ""
 
 
414
 
415
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
416
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:209
417
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
418
+ msgid "Documentation"
419
+ msgstr "документация"
420
+
421
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:349
422
+ msgid "How to Video"
423
+ msgstr ""
424
+
425
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:461
426
+ msgid "Custom Statuses"
427
+ msgstr ""
428
+
429
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:572
430
+ #: includes/views/trackship_sidebar.php:13
431
+ msgid "Connected"
432
+ msgstr ""
433
+ "свързан\n"
434
+
435
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:684
436
+ msgid "Custom Order Statuses"
437
  msgstr ""
 
 
438
 
439
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:852
440
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
441
+ msgstr ""
442
+
443
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:853
444
  msgid ""
445
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
446
+ "will be selected by default when adding tracking info to orders."
447
  msgstr ""
 
 
448
 
449
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:856
450
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
451
+ msgstr ""
452
+
453
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:857
454
  msgid ""
455
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
456
+ "will be selected by default when adding tracking info to orders."
457
+ msgstr ""
458
+
459
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
460
+ msgid "Rename the “Completed” Order status to “Shipped”"
461
+ msgstr ""
462
+
463
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:947
464
+ msgid "API Date Format"
465
+ msgstr ""
466
+
467
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:958
468
+ msgid "On which order status email to include the shipment tracking info?"
469
+ msgstr ""
470
+
471
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:965
472
+ msgid "Enable the Tracking Per Item option by default"
473
  msgstr ""
 
 
474
 
475
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:966
476
  msgid ""
477
+ "This will check the option to add tracking per item when adding tracking "
478
+ "info to orders"
479
+ msgstr ""
480
+
481
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:972
482
+ msgid "Display SKU for the Tracking Per Item"
483
+ msgstr ""
484
+
485
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1443
486
+ msgid "Shipped Order"
487
+ msgstr ""
488
+
489
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1467
490
+ msgid "Mark order as delivered"
491
+ msgstr ""
492
+
493
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1477
494
+ msgid "Add Tracking"
495
+ msgstr ""
496
+
497
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1506
498
+ msgid "Change order status to"
499
+ msgstr ""
500
+
501
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
502
+ msgid "Display Name"
503
  msgstr ""
 
 
 
504
 
505
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
506
+ #: includes/views/admin_options_shipping_provider.php:95
507
  msgid ""
508
+ "The custom name will display in the tracking info section on the customer "
509
+ "order emails, my-account, shipment tracking page and shipment status emails."
510
+ msgstr ""
511
+
512
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1558
513
+ #: includes/views/admin_options_shipping_provider.php:104
514
+ msgid "API Name"
515
+ msgstr ""
516
+
517
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1559
518
+ msgid "Country"
519
+ msgstr ""
520
+
521
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
522
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1639
523
+ msgid "Default"
524
+ msgstr ""
525
+
526
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1561
527
+ msgid "TrackShip"
528
+ msgstr "TrackShip"
529
+
530
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1562
531
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1640
532
+ msgid "Actions"
533
+ msgstr ""
534
+
535
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1563
536
+ #: includes/views/admin_options_shipping_provider.php:22
537
+ msgid "Active"
538
+ msgstr "Активен"
539
+
540
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
541
+ msgid "TrackShip supported"
542
+ msgstr ""
543
+
544
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
545
+ msgid "TrackShip not supported"
546
+ msgstr ""
547
+
548
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1638
549
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
550
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
551
+ #: templates/emails/tracking-info.php:276
552
+ #: templates/myaccount/tracking-info.php:202
553
+ msgid "Provider"
554
+ msgstr "доставчик"
555
+
556
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1721
557
+ #, php-format
558
+ msgid "You did not create any %s shipping providers yet."
559
+ msgstr ""
560
+
561
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1722
562
+ msgid "Add Custom Provider"
563
  msgstr ""
 
 
564
 
565
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1724
566
+ #: includes/views/admin_options_shipping_provider.php:47
567
+ #, php-format
568
+ msgid "You don't have any %s shipping providers."
569
+ msgstr "Нямате доставчици за доставки на% s."
570
+
571
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1962
572
+ msgid "Filter by shipping provider"
573
+ msgstr ""
574
+
575
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:206
576
+ #: includes/views/admin_tracking_page_settings.php:8
577
+ #: includes/views/trackship_settings.php:9
578
+ #: includes/views/trackship_settings.php:10
579
+ msgid "Tracking Page"
580
+ msgstr "Страница за проследяване"
581
+
582
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:207
583
+ #: includes/views/trackship_settings.php:12
584
+ #: includes/views/trackship_settings.php:13
585
+ msgid "Notifications"
586
+ msgstr ""
587
+
588
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
589
+ #: includes/views/admin_options_tools.php:13
590
+ #: includes/views/trackship_settings.php:15
591
+ #: includes/views/trackship_settings.php:16
592
+ msgid "Tools"
593
+ msgstr "Инструменти"
594
+
595
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:210
596
+ msgid "TrackShip Account"
597
+ msgstr ""
598
+
599
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:287
600
  msgid ""
601
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
602
+ "for the tracking page to work."
 
603
  msgstr ""
 
 
 
604
 
605
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:295
606
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:303
607
+ #: includes/views/admin_tracking_page_settings.php:24
608
+ msgid "Select Tracking Page"
609
+ msgstr "Изберете страница за проследяване"
610
 
611
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:309
612
+ msgid "Use the tracking page in the customer email/my account tracking link"
613
+ msgstr ""
614
 
615
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:315
616
+ #: includes/views/admin_tracking_page_settings.php:39
617
+ msgid "Tracking Page Layout"
618
+ msgstr ""
619
+ "Оформление на проследяващата страница\n"
620
 
621
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:326
622
+ msgid "Select primary color for tracking page"
623
+ msgstr ""
624
 
625
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:332
626
+ msgid "Select content border color for tracking page"
627
+ msgstr ""
628
 
629
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:338
630
+ #: includes/views/admin_tracking_page_settings.php:72
631
+ msgid "Hide Shipping Provider Image"
632
+ msgstr ""
633
+ "Скриване на изображението на доставчика на доставка\n"
 
 
 
 
 
 
 
 
 
 
634
 
635
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:344
636
+ msgid "Hide tracking events details"
637
+ msgstr ""
638
 
639
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:350
640
+ #: includes/views/admin_tracking_page_settings.php:82
641
+ msgid "Remove TrackShip branding"
642
+ msgstr "Премахване на марката TrackShip"
643
 
644
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:377
645
+ msgid "Enable TrackShip"
646
+ msgstr ""
647
 
648
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:383
649
+ msgid "Display Shipment Status Filter on Orders admin"
650
  msgstr ""
 
651
 
652
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:416
653
+ msgid ""
654
+ "Automatically set the Order Status to Delivered when the shipment is "
655
+ "delivered "
656
+ msgstr ""
657
 
658
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:417
659
+ msgid ""
660
+ "To enable this option, the 'Delivered' order status should be enabled in the "
661
+ "AST settings."
662
+ msgstr ""
663
 
664
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:441
665
+ msgid "Shipment status"
666
+ msgstr ""
667
 
668
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:682
669
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:946
670
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:955
671
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:964
672
+ msgid "Get Shipment Status"
673
+ msgstr "Получете състояние на пратката"
674
 
675
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:704
676
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:802
677
+ msgid "Pending TrackShip"
678
+ msgstr ""
679
 
680
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:705
681
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:799
682
+ msgid "Unknown"
683
+ msgstr ""
684
 
685
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:706
686
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:781
687
+ #: includes/customizer/class-wcast-customizer.php:141
688
+ msgid "Pre Transit"
689
+ msgstr "Предварително преминаване"
690
+
691
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:707
692
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:775
693
+ #: includes/customizer/class-wcast-customizer.php:149
694
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
695
+ #: includes/views/admin_status_notifications.php:39
696
+ msgid "In Transit"
697
+ msgstr "Транзитно"
698
+
699
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:708
700
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:790
701
+ #: includes/customizer/class-wcast-customizer.php:172
702
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
703
+ #: includes/views/admin_status_notifications.php:90
704
+ msgid "Available For Pickup"
705
+ msgstr "Предлага се за пикап"
706
+
707
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:709
708
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:787
709
+ #: includes/customizer/class-wcast-customizer.php:179
710
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
711
+ msgid "Out For Delivery"
712
+ msgstr ""
713
+ "За доставка\n"
714
+
715
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:711
716
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:796
717
+ #: includes/customizer/class-wcast-customizer.php:195
718
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
719
+ #: includes/views/admin_status_notifications.php:141
720
+ msgid "Failed Attempt"
721
+ msgstr "Неуспешен опит"
722
+
723
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:713
724
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:808
725
+ msgid "Carrier Unsupported"
726
+ msgstr ""
727
 
728
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:714
729
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:793
730
+ #: includes/customizer/class-wcast-customizer.php:165
731
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
732
+ #: includes/views/admin_status_notifications.php:73
733
+ msgid "Return To Sender"
734
+ msgstr "Върнете се към подателя"
735
+
736
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:715
737
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:805
738
+ msgid "Invalid Tracking Number"
739
+ msgstr ""
740
 
741
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:720
742
+ msgid "Filter by shipment status"
743
+ msgstr ""
744
 
745
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:778
746
+ #: includes/customizer/class-wcast-customizer.php:157
747
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
748
+ #: includes/views/admin_status_notifications.php:56
749
+ msgid "On Hold"
750
+ msgstr "На изчакване"
751
 
752
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:811
753
+ msgid "Invalid User Key"
 
754
  msgstr ""
 
755
 
756
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:814
757
+ msgid "Wrong Shipping Provider"
 
758
  msgstr ""
 
759
 
760
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:945
761
+ #, php-format
762
+ msgid ""
763
+ "You got %s %s orders with tracking info that were not sent to track on "
764
+ "TrackShip"
765
  msgstr ""
 
766
 
767
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:954
768
+ #, php-format
769
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
770
  msgstr ""
 
771
 
772
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:963
773
+ #, php-format
774
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
775
+ msgstr ""
776
 
777
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1419
778
+ msgid "Shipment Providers"
779
+ msgstr "Доставчици на пратки"
780
 
781
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1422
782
+ #: templates/emails/tracking-info.php:221
783
+ #: templates/emails/tracking-info.php:251
784
+ msgid "Shipment Status"
785
+ msgstr "Състояние на пратката"
786
+
787
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1425
788
+ msgid "Tracking issues"
789
+ msgstr "Проследяване на проблеми"
790
+
791
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1431
792
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1439
793
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1456
794
+ msgid "data not available."
795
+ msgstr "данни не са налични."
796
+
797
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1462
798
+ msgid "View more on TrackShip"
799
+ msgstr "Вижте повече на TrackShip"
800
+
801
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
802
+ msgid "Cannot create existing order shipment tracking."
803
+ msgstr "Cannot create existing order shipment tracking."
804
+
805
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
806
+ msgid "Invalid order ID."
807
+ msgstr "Невалиден идентификационен номер на поръчката."
808
+
809
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
810
+ msgid "Special character not allowd in tracking number"
811
+ msgstr "Специален знак не е разрешен в проследяващия номер"
812
+
813
+ #: includes/customizer/class-wcast-customizer.php:32
814
+ #: includes/customizer/class-wcast-customizer.php:103
815
+ msgid "Tracking info display"
816
+ msgstr ""
817
+ "Показване на информация за проследяване\n"
818
+
819
+ #: includes/customizer/class-wcast-customizer.php:42
820
+ msgid "Order Status Emails"
821
+ msgstr "Имейли със статут на поръчка"
822
+
823
+ #: includes/customizer/class-wcast-customizer.php:51
824
+ msgid "Shipment Status Emails"
825
+ msgstr "Имейли за състоянието на пратката"
826
+
827
+ #: includes/customizer/class-wcast-customizer.php:58
828
+ #: includes/views/admin_status_notifications.php:152
829
+ msgid "Admin Notifications"
830
+ msgstr "Известия за администратори"
831
+
832
+ #: includes/customizer/class-wcast-customizer.php:71
833
+ #: includes/views/admin_options_settings.php:15
834
+ msgid "General Settings"
835
+ msgstr "Основни настройки"
836
 
837
+ #: includes/customizer/class-wcast-customizer.php:79
838
+ msgid "Table layout design"
839
+ msgstr "Дизайн на таблицата на оформлението"
840
 
841
+ #: includes/customizer/class-wcast-customizer.php:87
842
+ msgid "Simple layout design"
843
+ msgstr "Прост дизайн на оформлението"
844
 
845
+ #: includes/customizer/class-wcast-customizer.php:95
846
+ msgid "Tracking Per Item Add-on"
847
+ msgstr ""
848
 
849
+ #: includes/customizer/class-wcast-customizer.php:111
850
+ #: includes/customizer/class-wc-email-customizer.php:163
851
+ msgid "Delivered order status email"
852
+ msgstr "Предоставен е имейл за състоянието на поръчката"
853
 
854
+ #: includes/customizer/class-wcast-customizer.php:118
855
+ msgid "Completed order status email"
856
+ msgstr "Изпълнен имейл за състоянието на поръчката"
857
 
858
+ #: includes/customizer/class-wcast-customizer.php:125
859
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
860
+ msgid "Partially Shipped status email"
861
+ msgstr "Частично изпратен имейл за състояние"
862
 
863
+ #: includes/customizer/class-wcast-customizer.php:133
864
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
865
+ msgid "Updated Tracking status email"
866
  msgstr ""
867
+ "Актуализиран имейл за състоянието на проследяването\n"
 
 
 
 
 
 
 
 
 
868
 
869
+ #: includes/customizer/class-wcast-customizer.php:203
870
+ #: includes/views/admin_status_notifications.php:167
871
+ msgid "Late Shipments"
872
+ msgstr "Късни пратки"
873
 
874
+ #: includes/customizer/class-wcast-customizer.php:516
875
+ msgid "Select order to preview"
876
+ msgstr ""
877
+ "Изберете поръчка за визуализация\n"
878
 
879
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
880
+ msgid "Your order #{order_number} is available for pickup"
881
+ msgstr ""
882
+ "Вашата поръчка # {order_number} е достъпна за приемане\n"
883
 
884
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
885
+ msgid ""
886
+ "Hi there. we thought you'd like to know that your recent order from "
887
+ "{site_title} is available for pickup."
888
  msgstr ""
889
+ "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
890
+ "{site_title} е достъпна за приемане."
891
 
892
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
893
+ msgid "Available For Pickup email"
894
  msgstr ""
 
895
 
896
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
897
+ msgid "Enable Available For Pickup email"
898
+ msgstr ""
899
 
900
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
901
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
902
+ #: includes/customizer/class-wc-email-customizer.php:197
903
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
904
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
905
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
906
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
907
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
908
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
909
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
910
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:176
911
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
912
+ msgid "Preview order"
913
+ msgstr ""
914
+ "Преглед на поръчката\n"
915
+
916
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
917
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
918
+ #: includes/customizer/class-wc-email-customizer.php:226
919
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
920
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
921
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
922
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
923
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
924
+ msgid "E.g. {customer.email}, admin@example.org"
925
+ msgstr "E.g. {customer.email}, admin@example.org"
926
+
927
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
928
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
929
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
930
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
931
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
932
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
933
+ msgid "Email Subject"
934
+ msgstr ""
935
 
936
+ #. %s: list of placeholders
937
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
938
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
939
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
940
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
941
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
942
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
943
+ #: includes/customizer/class-wc-email-customizer.php:243
944
+ #: includes/customizer/class-wc-email-customizer.php:266
945
+ #: includes/customizer/class-wc-email-customizer.php:309
946
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
947
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
948
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
949
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
950
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
951
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
952
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
953
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
954
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
955
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
956
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
957
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
958
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
959
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
960
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
961
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
962
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
963
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
964
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
965
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
966
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
967
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:257
968
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:280
969
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:392
970
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
971
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
972
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
973
+ #: includes/emails/class-shipment-delivered-email.php:274
974
+ #: includes/emails/class-shipment-delivered-email.php:283
975
+ msgid "Available variables:"
976
+ msgstr "Налични променливи:"
977
 
978
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
979
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
980
+ #: includes/customizer/class-wc-email-customizer.php:289
981
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
982
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
983
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
984
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
985
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
986
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
987
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:371
988
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
989
  msgid "Email content"
990
  msgstr "Съдържание на имейла"
991
 
992
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
993
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
994
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
995
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
996
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
997
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
998
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:301
999
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1000
+ msgid "Show tracking details"
1001
+ msgstr ""
1002
+ "Показване на подробности за проследяването\n"
1003
+
1004
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1005
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1006
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1007
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1008
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1009
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1010
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:318
1011
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1012
+ msgid "Show order details"
1013
+ msgstr ""
1014
+ "Показване на подробности за поръчката\n"
1015
+
1016
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1017
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1018
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1019
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1020
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1021
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1022
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:335
1023
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1024
+ msgid "Show billing address"
1025
+ msgstr ""
1026
+ "Показване на адрес за фактуриране\n"
1027
+
1028
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1029
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1030
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1031
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1032
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1033
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1034
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:353
1035
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1036
+ msgid "Show shipping address"
1037
+ msgstr ""
1038
+ "Показване на адреса за доставка\n"
1039
+
1040
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
1041
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
1042
+ #: includes/customizer/class-wc-email-customizer.php:415
1043
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
1044
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
1045
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
1046
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
1047
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
1048
+ msgid "Google Analytics link tracking"
1049
+ msgstr "Проследяване на връзки в Google Analytics"
1050
+
1051
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1052
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1053
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1054
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1055
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1056
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1057
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1058
+ msgid "This will be appended to URL in the email content"
1059
+ msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
1060
+
1061
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
1062
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:452
1063
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
1064
+ #: includes/customizer/class-wc-delivered-email-customizer.php:454
1065
+ #: includes/customizer/class-wc-email-customizer.php:454
1066
+ #: includes/customizer/class-wc-email-customizer.php:462
1067
+ #: includes/customizer/class-wc-failure-email-customizer.php:446
1068
+ #: includes/customizer/class-wc-failure-email-customizer.php:454
1069
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
1070
+ #: includes/customizer/class-wc-intransit-email-customizer.php:458
1071
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
1072
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:456
1073
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:445
1074
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:453
1075
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1076
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1077
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:299
1078
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:307
1079
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:447
1080
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:455
1081
+ #: includes/customizer/class-wc-onhold-email-customizer.php:450
1082
+ #: includes/customizer/class-wc-onhold-email-customizer.php:458
1083
+ msgid "Please select order to preview."
1084
+ msgstr "Моля, изберете поръчка за преглед."
1085
 
1086
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1087
+ msgid "Your order #{order_number} has been delivered"
1088
+ msgstr "Вашата поръчка {order_number} е доставена"
1089
 
1090
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
1091
+ #: includes/customizer/class-wc-email-customizer.php:132
1092
+ msgid ""
1093
+ "Hi there. we thought you'd like to know that your recent order from "
1094
+ "{site_title} has been Delivered."
1095
+ msgstr ""
1096
+ "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
1097
+ "{site_title} е била Доставена."
1098
 
1099
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
1100
+ msgid "Delivered email"
1101
+ msgstr ""
1102
 
1103
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1104
+ msgid "Enable Delivered email"
1105
+ msgstr ""
1106
 
1107
+ #: includes/customizer/class-wc-email-customizer.php:130
1108
+ #: includes/emails/class-shipment-delivered-email.php:94
1109
+ msgid "Your {site_title} order is now delivered"
1110
+ msgstr "Поръчката ви {site_title} вече е доставена"
1111
 
1112
+ #: includes/customizer/class-wc-email-customizer.php:179
1113
+ msgid "Enable Delivered order status email"
1114
+ msgstr "Активиране на имейл съобщението за състоянието на поръчката"
1115
 
1116
+ #: includes/customizer/class-wc-email-customizer.php:201
1117
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1118
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1119
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1120
+ msgid "Please select a order..."
1121
+ msgstr ""
1122
+ "Моля, изберете поръчка ...\n"
1123
 
1124
+ #: includes/customizer/class-wc-email-customizer.php:326
1125
+ msgid "Display tracking details"
1126
+ msgstr "Показване на подробности за проследяване"
1127
 
1128
+ #: includes/customizer/class-wc-email-customizer.php:343
1129
+ msgid "Display order details"
1130
+ msgstr "Показване на подробности за поръчката"
1131
 
1132
+ #: includes/customizer/class-wc-email-customizer.php:361
1133
+ msgid "Display Shipping Address"
1134
+ msgstr "Показване на адрес за доставка"
1135
 
1136
+ #: includes/customizer/class-wc-email-customizer.php:379
1137
+ msgid "Display Billing Address"
1138
+ msgstr "Показване на адрес за фактуриране"
1139
 
1140
+ #: includes/customizer/class-wc-email-customizer.php:397
1141
+ msgid "Enable Google Analytics tracking"
1142
+ msgstr "Активиране на проследяването на Google Analytics"
1143
 
1144
+ #: includes/customizer/class-wc-email-customizer.php:416
1145
+ msgid ""
1146
+ "This will be appended to URL in the email content – e.g. "
1147
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1148
+ msgstr ""
1149
+ "Това ще бъде добавено към URL адреса в съдържанието на имейла - напр. "
1150
+ "utm_source = AST & utm_medium = имейл & utm_campaign = доставени"
1151
 
1152
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1153
+ msgid "Your order #{order_number} is Failed Attempt"
1154
+ msgstr "Вашата поръчка {order_number} е неуспешен опит"
1155
 
1156
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1157
  msgid ""
1158
+ "Hi there. we thought you'd like to know that your recent order from "
1159
+ "{site_title} is Failed Attempt"
1160
  msgstr ""
1161
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1162
+ "{site_title} е неуспешен опит"
1163
 
1164
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1165
+ msgid "Failed Attempt email"
1166
  msgstr ""
 
1167
 
1168
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1169
+ msgid "Enable Failed Attempt email"
1170
  msgstr ""
 
 
 
 
 
1171
 
1172
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1173
+ msgid "Your order #{order_number} is in transit"
1174
+ msgstr ""
1175
+ "Вашата поръчка # {order_number} е в транзит\n"
1176
 
1177
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1178
+ msgid ""
1179
+ "Hi there. we thought you'd like to know that your recent order from "
1180
+ "{site_title} is in transit"
1181
+ msgstr ""
1182
+ "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1183
+ "{site_title} е в транзит"
1184
 
1185
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1186
+ msgid "In Transit email"
1187
+ msgstr ""
1188
 
1189
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1190
+ msgid "Enable In Transit email"
1191
+ msgstr ""
1192
 
1193
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1194
+ msgid "Your order #{order_number} is out for delivery"
1195
+ msgstr ""
1196
+ "Вашата поръчка # {order_number} е за доставка\n"
1197
 
1198
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1199
+ msgid ""
1200
+ "Hi there. we thought you'd like to know that your recent order from "
1201
+ "{site_title} is out for delivery."
1202
  msgstr ""
1203
+ "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1204
+ "{site_title} е за доставка.\n"
1205
 
1206
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1207
+ msgid "Out For Delivery email"
1208
  msgstr ""
 
1209
 
1210
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1211
+ msgid "Enable Out For Delivery email"
1212
+ msgstr ""
1213
 
1214
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1215
+ msgid "Your order #{order_number} has returned to sender"
 
 
1216
  msgstr ""
1217
+ "Вашата поръчка # {order_number} се върна на подателя\n"
 
1218
 
1219
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1220
  msgid ""
1221
  "Hi there. we thought you'd like to know that your recent order from "
1222
+ "{site_title} has been returned to sender."
1223
  msgstr ""
1224
+ "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
1225
+ "{site_title} е върната на подателя.\n"
1226
 
1227
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1228
+ msgid "Return To Sender email"
1229
+ msgstr ""
 
 
1230
 
1231
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1232
+ msgid "Enable Return To Sender email"
1233
  msgstr ""
 
1234
 
1235
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1236
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1237
+ #: templates/emails/tracking-info.php:288
1238
+ #: templates/myaccount/tracking-info.php:212
1239
+ msgid "Tracking Number"
1240
+ msgstr "Номер за проследяване"
1241
+
1242
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1243
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1244
+ msgid "Shipped Date"
1245
+ msgstr ""
1246
+ "Дата на изпращане\n"
1247
+
1248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
1249
+ msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1250
+ msgstr ""
1251
+ "Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
1252
+
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1254
+ msgid "Select an order to preview and design the tracking info display."
1255
+ msgstr ""
1256
+ "Изберете поръчка за визуализация и дизайн на дисплея с информация за "
1257
+ "проследяване.\n"
1258
+
1259
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1260
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1261
+ msgid "Tracking display layout"
1262
+ msgstr "Проследяване на оформлението на дисплея"
1263
+
1264
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1265
+ msgid "Select Template"
1266
+ msgstr ""
1267
+ "Изберете шаблон\n"
1268
+
1269
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1270
+ msgid "Table Layout"
1271
+ msgstr ""
1272
+ "Оформление на таблицата\n"
1273
+
1274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1275
+ msgid "Tracking Display Position"
1276
+ msgstr "Проследяване на позицията на дисплея"
1277
+
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1279
+ msgid "Before Order Details"
1280
+ msgstr "Преди подробности за поръчката"
1281
 
1282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1283
+ msgid "After Order Details"
1284
+ msgstr "След подробности за поръчката"
1285
+
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1287
  msgid "Hide Tracking Header"
1288
  msgstr "Скриване на проследяващия заглавие"
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1291
+ msgid "Tracking Header text"
1292
+ msgstr ""
1293
+ "Проследяване на текста на заглавката\n"
1294
 
1295
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1296
+ msgid "Tracking Information"
1297
+ msgstr "Информация за проследяване"
1298
 
1299
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1300
+ msgid "Additional text after header"
1301
+ msgstr "Допълнителен текст след заглавието"
1302
+
1303
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1304
+ msgid "Hide tracking information from order line items"
1305
+ msgstr "Скриване на проследяваща информация от договорени покупки"
1306
 
1307
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1308
+ msgid "Simple Layout Design"
1309
+ msgstr ""
1310
+ "Прост дизайн на оформлението\n"
1311
 
1312
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1313
+ msgid "Content"
1314
+ msgstr "съдържание"
1315
 
1316
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1317
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1318
+ msgid "Content font size"
1319
+ msgstr ""
1320
+ "Размер на шрифта на съдържанието\n"
1321
 
1322
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1323
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1324
+ msgid "Content font color"
1325
+ msgstr ""
1326
+ "Цвят на шрифта на съдържанието\n"
1327
 
1328
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1329
+ msgid "Show bottom border"
 
 
1330
  msgstr ""
1331
+ "Показване на долната граница\n"
 
1332
 
1333
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1334
+ msgid "Bottom border color"
1335
+ msgstr ""
1336
+ "Цвят на долната граница\n"
1337
 
1338
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1339
+ msgid "Table layout Design"
1340
  msgstr ""
1341
+ "Дизайн на таблицата\n"
1342
 
1343
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1344
+ msgid "Display shipping provider name"
1345
+ msgstr ""
1346
+ "Показване на име на доставчика на доставка\n"
1347
+
1348
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1349
+ msgid "Display shipping provider image"
1350
+ msgstr ""
1351
+ "Покажи изображението на доставчика на доставка\n"
1352
 
1353
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1354
+ msgid "Hide the ship date"
1355
+ msgstr ""
1356
+ "Скриване на датата на кораба\n"
1357
 
1358
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1359
+ msgid "Use tracking number as a link"
1360
+ msgstr "Използвайте проследяващия номер като връзка"
1361
 
1362
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1363
+ msgid "Table Headers"
1364
+ msgstr ""
1365
+ "Заглавки на таблици\n"
1366
 
1367
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1368
+ msgid "Hide Table Headers"
1369
+ msgstr ""
1370
+ "Скриване на заглавките на таблици\n"
1371
 
1372
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1373
+ msgid "Provider header text"
1374
+ msgstr "Текст на заглавката на доставчика"
1375
 
1376
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1377
+ msgid "Tracking Number header text"
1378
+ msgstr "Текст на заглавния номер на проследяващия номер"
1379
+
1380
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1381
+ msgid "Ship date header text"
1382
  msgstr ""
1383
+ "Текст на заглавието на датата на изпращане\n"
1384
 
1385
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1386
+ msgid "Track Label"
1387
+ msgstr "Етикет за проследяване"
1388
 
1389
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1390
+ msgid "Track header text"
1391
+ msgstr ""
1392
+ "Проследяване на заглавния текст\n"
1393
 
1394
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1395
+ msgid "Headers font size"
1396
+ msgstr ""
1397
+ "Размер на шрифта на заглавките\n"
1398
 
1399
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1400
+ msgid "Headers font color"
 
 
1401
  msgstr ""
1402
+ "Цвят на шрифта на заглавките\n"
1403
+
1404
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1405
+ msgid "Table Content"
1406
+ msgstr "Съдържание на таблицата"
1407
 
1408
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1409
+ msgid "Padding"
1410
+ msgstr ""
1411
+ "подложка\n"
 
1412
 
1413
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1414
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1415
+ msgid "Background color"
1416
+ msgstr "Цвят на фона"
 
 
 
1417
 
1418
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1419
+ #: includes/views/admin_tracking_page_settings.php:61
1420
+ msgid "Border color"
1421
+ msgstr "Цвят на границата"
1422
 
1423
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1424
+ msgid "Border size"
1425
+ msgstr "Размер на границата"
1426
 
1427
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1428
+ msgid "Content Text align"
1429
+ msgstr ""
1430
+ "Изравняване на текста на съдържанието\n"
 
 
1431
 
1432
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1433
+ msgid "Content line height"
1434
+ msgstr ""
1435
+ "Височина на линията на съдържанието\n"
 
 
 
1436
 
1437
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1438
+ msgid "Content font weight"
1439
+ msgstr ""
1440
+ "Тегло на шрифта на съдържанието\n"
1441
+
1442
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1443
+ msgid "Tracking Link"
1444
  msgstr ""
1445
+ "Проследяваща връзка\n"
 
1446
 
1447
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1448
+ msgid "Font Color"
 
1449
  msgstr ""
1450
+ "Цвят на шрифта\n"
1451
 
1452
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1453
+ msgid "Border"
1454
+ msgstr ""
1455
+ "граница\n"
1456
+
1457
+ #: includes/customizer/class-wc-tracking-info-customizer.php:1027
1458
  msgid ""
1459
+ "To preview the tracking display, please add tracking information to at least "
1460
+ "one order and choose it in the preview order selection."
1461
  msgstr ""
1462
+ "За да визуализирате проследяващия дисплей, моля, добавете информация за "
1463
+ "проследяване на поне една поръчка и я изберете в избора на поръчка за "
1464
+ "преглед.\n"
1465
 
1466
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1467
+ msgid "Your {site_title} order is now partially shipped"
1468
+ msgstr "Поръчката ви {site_title} вече е частично доставена"
 
1469
 
1470
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1471
+ msgid ""
1472
+ "Hi there. we thought you'd like to know that your recent order from "
1473
+ "{site_title} has been partially shipped."
1474
+ msgstr ""
1475
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1476
+ "{site_title} е частично изпратена.\n"
1477
 
1478
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1479
+ msgid "Enable Partially Shipped order status email"
1480
+ msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
1481
 
1482
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1483
+ msgid "Your {site_title} order is now updated tracking"
1484
+ msgstr ""
1485
+ "Поръчката ви {site_title} вече е актуализирана за проследяване\n"
1486
 
1487
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1488
+ msgid ""
1489
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1490
+ "recent order from {site_title} has been updated."
1491
+ msgstr ""
1492
+ "Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
1493
+ "за скорошната ви поръчка от {site_title} е актуализирано.\n"
1494
 
1495
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1496
+ msgid "Enable Updated Tracking order status email"
1497
+ msgstr ""
1498
+ "Активиране на имейла за актуализирано проследяване на поръчката\n"
 
1499
 
1500
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:126
1501
+ msgid "Late shipment for order #{order_number}"
1502
+ msgstr "Късна пратка за поръчка № {order_number}"
1503
 
1504
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:127
1505
+ msgid "Late shipment"
1506
+ msgstr "Късна доставка"
1507
 
1508
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:128
1509
+ msgid "This shipment exceeded {shipment_length} days."
1510
+ msgstr "Тази пратка надхвърли {shipment_length} дни."
1511
 
1512
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:161
1513
+ msgid "Late Shipments admin email"
1514
+ msgstr "Електронна поща за късни пратки"
1515
 
1516
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:198
1517
+ msgid "Enable Late Shipments admin email"
1518
+ msgstr "Активиране на имейл адреса за късни пратки"
1519
 
1520
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:241
1521
+ msgid "E.g. {admin_email}, admin@example.org"
1522
+ msgstr "Например {admin_email}, admin@example.org"
1523
 
1524
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1525
+ msgid "Your order #{order_number} is on hold"
1526
+ msgstr "Вашата поръчка № {order_number} е задържана"
1527
 
1528
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1529
  msgid ""
1530
+ "Hi there. we thought you'd like to know that your recent order from "
1531
+ "{site_title} is on hold"
1532
  msgstr ""
1533
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1534
+ "{site_title} е в задържане"
1535
 
1536
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1537
+ msgid "On Hold email"
1538
+ msgstr ""
 
 
 
1539
 
1540
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1541
+ msgid "Enable On Hold email"
1542
+ msgstr ""
1543
 
1544
+ #: includes/emails/class-shipment-delivered-email.php:32
1545
+ msgid "Delivered order"
1546
+ msgstr "Доставена поръчка"
1547
 
1548
+ #: includes/emails/class-shipment-delivered-email.php:33
1549
+ msgid ""
1550
+ "Order delivered emails are sent to customers when their orders are marked "
1551
+ "delivered and usually indicate that their orders have been shipped."
1552
+ msgstr ""
1553
+ "Имейлите за доставени поръчки се изпращат на клиентите, когато поръчките им "
1554
+ "са маркирани доставени и обикновено показват, че поръчките им са изпратени."
1555
 
1556
+ #: includes/emails/class-shipment-delivered-email.php:298
1557
+ msgid "Click Here"
1558
+ msgstr "Натисни тук"
1559
 
1560
+ #: includes/emails/class-shipment-delivered-email.php:299
1561
+ msgid "Edit in customizer"
1562
+ msgstr "Редактиране в персонализатора"
1563
+
1564
+ #: includes/views/admin_options_bulk_upload.php:12
1565
+ msgid ""
1566
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1567
+ "file"
1568
  msgstr ""
 
1569
 
1570
+ #: includes/views/admin_options_bulk_upload.php:26
1571
+ msgid "Upload a CSV file from your computer:"
1572
  msgstr ""
 
1573
 
1574
+ #: includes/views/admin_options_bulk_upload.php:34
1575
+ msgid "Choose the Shipped Date format"
 
 
1576
  msgstr ""
 
 
1577
 
1578
+ #: includes/views/admin_options_bulk_upload.php:48
1579
+ msgid "Replace tracking information?"
1580
+ msgstr ""
1581
+
1582
+ #: includes/views/admin_options_bulk_upload.php:48
1583
+ msgid ""
1584
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1585
+ "info added to the orders."
1586
+ msgstr ""
1587
 
1588
  #: includes/views/admin_options_bulk_upload.php:57
1589
+ msgid "Continue"
1590
+ msgstr "продължи"
1591
+
1592
+ #: includes/views/admin_options_bulk_upload.php:59
1593
  msgid "Settings Saved."
1594
  msgstr "Настройките са запазени."
1595
 
1596
+ #: includes/views/admin_options_bulk_upload.php:77
1597
+ msgid "Your tracking information are now being imported..."
1598
+ msgstr "Информацията за проследяването ви вече се импортира ..."
 
 
1599
 
1600
+ #: includes/views/admin_options_bulk_upload.php:83
1601
+ msgid "Upload Progress - "
1602
+ msgstr "Качване на напредъка -"
 
 
1603
 
1604
+ #: includes/views/admin_options_bulk_upload.php:92
1605
+ msgid "Upload again"
1606
+ msgstr "Качете отново"
1607
 
1608
+ #: includes/views/admin_options_bulk_upload.php:93
1609
+ msgid "View Orders"
1610
+ msgstr "Преглед на поръчки"
 
 
 
1611
 
1612
+ #: includes/views/admin_options_settings.php:22
1613
+ #: includes/views/admin_trackship_dashboard.php:45
1614
+ #: includes/views/admin_tracking_page_settings.php:87
1615
+ #: includes/views/admin_tracking_page_settings.php:108
1616
+ msgid "Save Changes"
1617
+ msgstr "Запазите промените"
 
1618
 
1619
+ #: includes/views/admin_options_settings.php:34
1620
+ msgid "Tracking Info Display"
1621
+ msgstr "Информация за проследяване на информация"
1622
+
1623
+ #: includes/views/admin_options_settings.php:43
1624
+ msgid ""
1625
+ "Use a customizer with a preview to customize the tracking info display on "
1626
+ "customer order emails and my-account."
1627
  msgstr ""
1628
+ "Използвайте персонализатор с визуализация, за да персонализирате дисплея с "
1629
+ "информация за проследяване в имейлите за поръчки на клиенти и моя акаунт."
1630
 
1631
+ #: includes/views/admin_options_settings.php:44
1632
+ msgid "Launch Customizer"
1633
+ msgstr "Стартирайте персонализатора"
 
1634
 
1635
+ #: includes/views/admin_options_shipping_provider.php:23
1636
+ msgid "Inactive"
1637
+ msgstr "неактивен"
 
 
1638
 
1639
+ #: includes/views/admin_options_shipping_provider.php:24
1640
+ msgid "Custom"
1641
+ msgstr "Персонализиран"
 
1642
 
1643
+ #: includes/views/admin_options_shipping_provider.php:34
1644
+ msgid "Search by provider / country"
1645
+ msgstr "Търсене по доставчик / държава"
1646
 
1647
+ #: includes/views/admin_options_shipping_provider.php:53
1648
+ msgid "Add Custom Shipping Provider"
1649
+ msgstr "Добавете Потребителски доставчик"
1650
 
1651
+ #: includes/views/admin_options_shipping_provider.php:56
1652
+ #: includes/views/admin_options_shipping_provider.php:98
1653
  msgid "Shipping Provider"
1654
+ msgstr ""
1655
 
1656
+ #: includes/views/admin_options_shipping_provider.php:59
1657
+ #: includes/views/admin_options_shipping_provider.php:101
1658
+ msgid "Custom display name"
1659
+ msgstr ""
1660
 
1661
+ #: includes/views/admin_options_shipping_provider.php:63
1662
+ #: includes/views/admin_options_shipping_provider.php:108
1663
+ msgid "Shipping Country"
1664
+ msgstr "Страна на доставка"
 
1665
 
1666
+ #: includes/views/admin_options_shipping_provider.php:64
1667
+ #: includes/views/admin_options_shipping_provider.php:109
1668
+ msgid "Global"
1669
+ msgstr "в световен мащаб"
 
1670
 
1671
+ #: includes/views/admin_options_shipping_provider.php:74
1672
+ #: includes/views/admin_options_shipping_provider.php:119
1673
+ msgid "Upload"
1674
+ msgstr "Качи"
1675
 
1676
+ #: includes/views/admin_options_shipping_provider.php:80
1677
+ #: includes/views/admin_options_shipping_provider.php:125
1678
+ msgid ""
1679
+ "You can use the variables %number%, %postal_code% and %country_code% in the "
1680
+ "URL, for more info, check our "
1681
+ msgstr ""
1682
 
1683
+ #: includes/views/admin_options_shipping_provider.php:80
1684
+ #: includes/views/admin_options_shipping_provider.php:125
1685
+ #, php-format
1686
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1687
  msgstr ""
 
1688
 
1689
+ #: includes/views/admin_options_shipping_provider.php:94
1690
+ msgid "Edit Shipping Provider"
1691
  msgstr ""
 
1692
 
1693
+ #: includes/views/admin_options_shipping_provider.php:131
1694
+ msgid "Update"
1695
+ msgstr ""
1696
+
1697
+ #: includes/views/admin_options_shipping_provider.php:132
1698
+ msgid "Reset"
1699
+ msgstr ""
1700
 
1701
+ #: includes/views/admin_options_shipping_provider.php:142
1702
+ #: includes/views/admin_options_shipping_provider.php:153
1703
  msgid "Sync Shipping Providers"
1704
  msgstr "Синхронизирайте доставчиците на доставка"
1705
 
1706
+ #: includes/views/admin_options_shipping_provider.php:143
1707
  msgid ""
1708
  "Syncing the shipping providers list add or updates the pre-set shipping "
1709
  "providers and will not effect custom shipping providers."
1712
  "актуализира предварително зададените доставчици за доставка и няма да "
1713
  "повлияе на доставчиците по поръчка."
1714
 
1715
+ #: includes/views/admin_options_shipping_provider.php:145
1716
+ msgid "Providers Added"
1717
+ msgstr "Доставчиците са добавени"
 
 
 
 
 
 
 
 
 
1718
 
1719
+ #: includes/views/admin_options_shipping_provider.php:146
1720
+ msgid "Providers Updated"
1721
+ msgstr "Актуализирани доставчици"
 
1722
 
1723
+ #: includes/views/admin_options_shipping_provider.php:147
1724
+ msgid "Providers Deleted"
1725
+ msgstr "Доставчиците са изтрити"
1726
 
1727
+ #: includes/views/admin_options_shipping_provider.php:149
1728
+ msgid "Shipping providers database reset successfully."
1729
+ msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
1730
 
1731
+ #: includes/views/admin_options_shipping_provider.php:151
1732
  msgid ""
1733
+ "Reset providers database, it will reset all your shipping provider database"
 
 
1734
  msgstr ""
1735
+ "Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
1736
+ "доставчика ви"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1737
 
1738
+ #: includes/views/admin_options_trackship_integration.php:16
1739
+ msgid "Watch Video"
1740
+ msgstr ""
1741
 
1742
+ #: includes/views/admin_options_trackship_integration.php:17
1743
+ msgid "Start your free trial"
1744
  msgstr ""
 
1745
 
1746
+ #: includes/views/admin_options_addons.php:76
1747
+ msgid "License"
1748
+ msgstr ""
 
1749
 
1750
+ #: includes/views/admin_trackship_dashboard.php:13
1751
+ #, php-format
1752
+ msgid ""
1753
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1754
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1755
+ msgstr ""
1756
 
1757
+ #: includes/views/admin_trackship_dashboard.php:33
1758
+ msgid "Automation"
1759
+ msgstr ""
1760
 
1761
+ #: includes/views/admin_tracking_page_settings.php:21
1762
+ msgid "Enable a tracking page on your store"
1763
  msgstr ""
 
1764
 
1765
+ #: includes/views/admin_tracking_page_settings.php:31
1766
+ msgid "Other"
1767
  msgstr ""
 
1768
 
1769
+ #: includes/views/admin_tracking_page_settings.php:36
 
 
 
 
1770
  msgid ""
1771
+ "Note - If you select a different page than the Shipment Tracking page, add "
1772
+ "the [wcast-track-order] shortcode to the selected page content."
1773
  msgstr ""
1774
+ "Забележка - Ако изберете страница, различна от тази за проследяване на "
1775
+ "пратката, добавете краткия код [wcast-track-order] към избраното съдържание "
1776
+ "на страницата.\n"
1777
 
1778
+ #: includes/views/admin_tracking_page_settings.php:36
1779
+ msgid "more info"
1780
+ msgstr ""
1781
+ "повече информация\n"
 
 
 
 
 
 
1782
 
1783
+ #: includes/views/admin_tracking_page_settings.php:55
1784
+ msgid "Text Color"
1785
+ msgstr ""
1786
+ "Цвят на текста\n"
1787
 
1788
+ #: includes/views/admin_tracking_page_settings.php:77
1789
+ msgid "Hide tracking event details"
1790
+ msgstr ""
1791
+ "Скриване на данните за проследяване на проследяването\n"
1792
 
1793
+ #: includes/views/admin_tracking_page_settings.php:97
1794
+ msgid "Preview"
1795
+ msgstr ""
1796
+ "предварителен преглед\n"
1797
 
1798
+ #: includes/views/admin_status_notifications.php:3
1799
+ msgid "Shipment Status Email Notifications"
1800
+ msgstr ""
1801
 
1802
+ #: includes/views/admin_status_notifications.php:107
1803
+ msgid "Out For delivery"
1804
+ msgstr ""
 
 
 
1805
 
1806
+ #: includes/views/admin_options_tools.php:11
1807
+ msgid "Tracking info sent to Trackship for all Orders."
1808
+ msgstr ""
 
 
 
 
1809
 
1810
+ #: includes/views/admin_options_tools.php:14
1811
+ msgid ""
1812
+ "You can send all your orders from the last 30 days to get shipment status "
1813
+ "from TrackShip:"
1814
+ msgstr ""
1815
+ "Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
1816
+ "статус на пратката от TrackShip:"
1817
 
1818
+ #: includes/views/admin_options_osm.php:39
1819
+ #: includes/views/admin_options_osm.php:81
1820
+ #: includes/views/admin_options_osm.php:122
1821
+ msgid "Light Font"
1822
+ msgstr ""
1823
+ "Лек шрифт\n"
1824
 
1825
+ #: includes/views/admin_options_osm.php:40
1826
+ #: includes/views/admin_options_osm.php:82
1827
+ #: includes/views/admin_options_osm.php:123
1828
+ msgid "Dark Font"
1829
  msgstr ""
1830
+ "Тъмен шрифт\n"
 
1831
 
1832
+ #: includes/views/admin_options_osm.php:44
1833
+ #: includes/views/admin_options_osm.php:86
1834
+ #: includes/views/admin_options_osm.php:127
1835
+ msgid "Send Email"
1836
+ msgstr ""
1837
+ "Изпратете имейл\n"
1838
 
1839
+ #: includes/views/trackship_sidebar.php:12
1840
+ msgid "TrackShip Connection Status"
1841
+ msgstr "Състояние на връзката към TrackShip"
 
 
 
1842
 
1843
+ #: includes/views/trackship_sidebar.php:14
1844
+ msgid "Account Dashboard"
1845
+ msgstr ""
1846
 
1847
+ #: includes/views/trackship_sidebar.php:20
1848
+ msgid "Trackers Balance"
 
 
 
 
1849
  msgstr ""
 
 
1850
 
1851
+ #: includes/views/trackship_sidebar.php:24
1852
+ msgid "Subscription Plan"
1853
+ msgstr "Абонаментен план"
1854
 
1855
+ #: includes/views/trackship_sidebar.php:28
1856
+ msgid "Upgrade Now"
1857
+ msgstr ""
 
 
 
1858
 
1859
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
1860
+ msgid "Download sample csv"
1861
+ msgstr "Изтеглете пример csv"
1862
 
1863
+ #: templates/emails/tracking-info.php:281
1864
+ #: templates/myaccount/tracking-info.php:207
1865
+ msgid "Provider Name"
1866
+ msgstr "Provider Name"
 
 
 
 
1867
 
1868
+ #. %s: Order ID.
1869
+ #: templates/emails/wcast-email-order-details.php:48
1870
  #, php-format
1871
+ msgid "Order number: %s"
1872
+ msgstr ""
1873
+ "Номер на поръчката:% s\n"
1874
 
1875
+ #: templates/emails/plain/tracking-info.php:35
 
1876
  #, php-format
1877
+ msgid "Shipment status changed to %s"
1878
+ msgstr "Състоянието на пратката се промени на% s"
1879
 
1880
+ #. Name of the plugin
1881
+ msgid "Advanced Shipment Tracking for WooCommerce"
1882
+ msgstr ""
1883
 
1884
+ #. Description of the plugin
1885
+ msgid ""
1886
+ "Add shipment tracking information to your WooCommerce orders and provide "
1887
+ "customers with an easy way to track their orders. Shipment tracking Info "
1888
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1889
+ "order complete email."
1890
+ msgstr ""
1891
 
1892
+ #. URI of the plugin
1893
+ msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
1894
  msgstr ""
 
1895
 
1896
  #. Author of the plugin
1897
  msgid "zorem"
1898
+ msgstr ""
1899
+
1900
+ #. Author URI of the plugin
1901
+ msgid "https://www.zorem.com"
1902
+ msgstr ""
lang/woo-advanced-shipment-tracking-da_DK.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-da_DK.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 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,1696 @@ 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 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 +1710,187 @@ 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"
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-09-01 05:43+0000\n"
6
+ "PO-Revision-Date: 2020-09-01 12:01+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.3; wp-5.5"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
19
+ msgid ""
20
+ "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
+ "Shipment Tracking!"
22
+ msgstr ""
23
+ "Installer og aktiver venligst% sWooCommerce% s for WooCommerce Advanced "
24
+ "Shipping Tracking!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:468
27
+ #, php-format
28
+ msgid ""
29
+ "We detected %s orders that use the Delivered order status, You can reassign "
30
+ "these orders to a different status"
31
+ msgstr ""
32
 
33
+ #: woocommerce-advanced-shipment-tracking.php:480
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
 
40
+ #: woocommerce-advanced-shipment-tracking.php:492
41
+ #, php-format
42
+ msgid ""
43
+ "We detected %s orders that use the Updated Tracking order status, You can "
44
+ "reassign these orders to a different status"
45
+ msgstr ""
46
 
47
+ #: woocommerce-advanced-shipment-tracking.php:502
48
+ #: includes/views/admin_options_osm.php:139
49
+ #, php-format
50
  msgid ""
51
+ "<strong>Note:</strong> - If you use the custom order status, when you "
52
+ "deactivate the plugin, you must register the order status, otherwise these "
53
+ "orders will not display on your orders admin. You can find more information "
54
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
55
+ "php here."
56
+ msgstr ""
57
+ "Bemærk: - Hvis du bruger den tilpassede ordrestatus, skal du registrere "
58
+ "ordrestatus, når du deaktiverer plugin, ellers vises disse ordrer ikke på "
59
+ "din ordreradministrator. Du kan finde mere information og kodestykket, der "
60
+ "skal bruges i features.php her.\n"
61
+
62
+ #: includes/class-wc-advanced-shipment-tracking-front.php:158
63
+ #: includes/class-wc-advanced-shipment-tracking-front.php:360
64
+ #: includes/class-wc-advanced-shipment-tracking-front.php:385
65
+ #: includes/class-wc-advanced-shipment-tracking-front.php:412
66
+ msgid ""
67
+ "To track your order please enter your Order ID in the box below and press "
68
+ "the \"Track\" button. This was given to you on your receipt and in the "
69
+ "confirmation email you should have received."
70
  msgstr ""
71
+ "For at spore din ordre skal du indtaste dit ordre-id i boksen herunder og "
72
+ "trykke knappen \"Spor\". Dette blev givet til dig din kvittering og i "
73
+ "den bekræftelses e-mail, du skulle have modtaget.\n"
74
+
75
+ #: includes/class-wc-advanced-shipment-tracking-front.php:159
76
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
77
+ #: includes/class-wc-advanced-shipment-tracking-front.php:361
78
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
79
+ #: includes/class-wc-advanced-shipment-tracking-front.php:386
80
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
81
+ #: includes/class-wc-advanced-shipment-tracking-front.php:413
82
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
83
+ msgid "Found in your order confirmation email."
84
+ msgstr ""
85
+ "Findes i din ordrebekræftelses-email.\n"
86
 
87
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
88
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
89
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
90
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
91
+ msgid "Order Email"
92
+ msgstr ""
93
+ "Bestil Email\n"
94
+
95
+ #: includes/class-wc-advanced-shipment-tracking-front.php:163
96
+ #: includes/class-wc-advanced-shipment-tracking-front.php:365
97
+ #: includes/class-wc-advanced-shipment-tracking-front.php:390
98
+ #: includes/class-wc-advanced-shipment-tracking-front.php:417
99
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
100
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
101
+ #: templates/emails/tracking-info.php:311
102
+ #: templates/myaccount/tracking-info.php:232
103
+ msgid "Track"
104
+ msgstr "Spor pakke"
105
 
106
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
107
+ #: includes/class-wc-advanced-shipment-tracking-front.php:268
108
+ #: includes/class-wc-advanced-shipment-tracking-front.php:504
109
+ #: includes/class-wc-advanced-shipment-tracking-front.php:521
110
+ #, php-format
111
+ msgid "Shipment - %s (out of %s)"
112
+ msgstr ""
113
+ "Forsendelse -% s (ud af% s)\n"
114
+
115
+ #: includes/class-wc-advanced-shipment-tracking-front.php:284
116
+ #: includes/class-wc-advanced-shipment-tracking-front.php:537
117
+ msgid "Tracking details not found in TrackShip"
118
+ msgstr "Sporingsdetaljer findes ikke i TrackShip"
119
+
120
+ #: includes/class-wc-advanced-shipment-tracking-front.php:366
121
+ msgid "Order not found."
122
+ msgstr "Bestilling ikke fundet."
123
+
124
+ #: includes/class-wc-advanced-shipment-tracking-front.php:418
125
+ msgid "Tracking details not found."
126
+ msgstr "Sporingsdetaljer blev ikke fundet."
127
+
128
+ #: includes/class-wc-advanced-shipment-tracking-front.php:597
129
+ #: includes/class-wc-advanced-shipment-tracking-front.php:627
130
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1205
131
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1223
132
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1358
133
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1376
134
+ msgid "Est. Delivery Date"
135
+ msgstr ""
136
+ "Est. Leveringsdato\n"
137
+
138
+ #: includes/class-wc-advanced-shipment-tracking-front.php:766
139
+ #: includes/class-wc-advanced-shipment-tracking-front.php:945
140
+ msgid "Tracking Details"
141
+ msgstr "Sporingsdetaljer"
142
+
143
+ #: includes/class-wc-advanced-shipment-tracking-front.php:772
144
+ #: includes/class-wc-advanced-shipment-tracking-front.php:855
145
+ #: includes/class-wc-advanced-shipment-tracking-front.php:952
146
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1049
147
+ msgid "Destination Details"
148
+ msgstr ""
149
+
150
+ #: includes/class-wc-advanced-shipment-tracking-front.php:811
151
+ #: includes/class-wc-advanced-shipment-tracking-front.php:896
152
+ #: includes/class-wc-advanced-shipment-tracking-front.php:999
153
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1090
154
+ msgid "Origin Details"
155
+ msgstr ""
156
 
157
+ #: includes/class-wc-advanced-shipment-tracking-front.php:846
158
+ #: includes/class-wc-advanced-shipment-tracking-front.php:933
159
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1042
160
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1127
161
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1347
162
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1461
163
+ msgid "view more"
164
+ msgstr "Se mere"
165
+
166
+ #: includes/class-wc-advanced-shipment-tracking-front.php:847
167
+ #: includes/class-wc-advanced-shipment-tracking-front.php:934
168
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1043
169
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1128
170
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1348
171
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1462
172
+ msgid "view less"
173
+ msgstr "se mindre"
174
+
175
+ #: includes/class-wc-advanced-shipment-tracking.php:141
176
+ #: includes/class-wc-advanced-shipment-tracking.php:223
177
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:252
178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:303
179
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:197
180
+ msgid "Shipment Tracking"
181
+ msgstr "Forsendelsessporing"
182
 
183
+ #: includes/class-wc-advanced-shipment-tracking.php:246
184
+ #: includes/class-wc-advanced-shipment-tracking.php:410
185
+ msgid "Track Shipment"
186
+ msgstr "Spor forsendelse"
187
+
188
+ #. 1: shipping date
189
+ #: includes/class-wc-advanced-shipment-tracking.php:256
190
+ #, php-format
191
+ msgid "Shipped on %s"
192
+ msgstr "Sendes på% s"
193
+
194
+ #: includes/class-wc-advanced-shipment-tracking.php:310
195
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:478
196
+ msgid "Mark as Shipped?"
197
+ msgstr "Marker som sendt?"
198
+
199
+ #: includes/class-wc-advanced-shipment-tracking.php:313
200
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:481
201
+ msgid "Mark as Completed?"
202
+ msgstr "Marker som afsluttet?"
203
+
204
+ #: includes/class-wc-advanced-shipment-tracking.php:325
205
  msgid "Add Tracking Info"
206
  msgstr "Tilføj sporingsinfo"
207
 
208
+ #: includes/class-wc-advanced-shipment-tracking.php:329
209
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:493
210
+ msgid "Tracking number:"
211
+ msgstr "Tracking nummer:"
212
+
213
+ #: includes/class-wc-advanced-shipment-tracking.php:334
214
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:497
215
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:499
216
+ msgid "Shipping Provider:"
217
+ msgstr "Forsendelse:"
218
+
219
+ #: includes/class-wc-advanced-shipment-tracking.php:335
220
+ msgid "Select Provider"
221
+ msgstr "Vælg Udbyder"
222
+
223
+ #: includes/class-wc-advanced-shipment-tracking.php:372
224
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:519
225
+ msgid "Product Code:"
226
+ msgstr "Produktkode:"
227
+
228
+ #: includes/class-wc-advanced-shipment-tracking.php:380
229
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:523
230
+ msgid "Date shipped:"
231
+ msgstr "Dato afsendt:"
232
+
233
+ #: includes/class-wc-advanced-shipment-tracking.php:381
234
+ #: includes/class-wc-advanced-shipment-tracking.php:384
235
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
236
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
237
+ msgid "Y-m-d"
238
  msgstr ""
 
 
239
 
240
+ #: includes/class-wc-advanced-shipment-tracking.php:393
241
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:533
242
+ msgid "Mark order as:"
243
+ msgstr "Marker ordre som:"
244
+
245
+ #: includes/class-wc-advanced-shipment-tracking.php:396
246
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:536
247
+ msgid "Partial Shipped"
248
+ msgstr "Delvis afsendt"
249
+
250
+ #: includes/class-wc-advanced-shipment-tracking.php:409
251
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:548
252
+ msgid "Save Tracking"
253
+ msgstr "Gem sporing"
254
+
255
+ #: includes/class-wc-advanced-shipment-tracking.php:410
256
+ msgid "Preview:"
257
+ msgstr "Eksempel:"
258
+
259
+ #: includes/class-wc-advanced-shipment-tracking.php:661
260
+ #, php-format
261
  msgid ""
262
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
263
+ msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
264
+
265
+ #: includes/class-wc-advanced-shipment-tracking.php:1008
266
+ #: includes/class-wc-advanced-shipment-tracking.php:1095
267
+ #, php-format
268
+ msgid "Order was shipped with %s and tracking number is: %s"
269
+ msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
270
+
271
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:138
272
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:183
273
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1494
274
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:710
275
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:784
276
+ #: includes/customizer/class-wcast-customizer.php:187
277
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
278
+ #: includes/views/admin_status_notifications.php:124
279
+ #: includes/views/admin_options_osm.php:23
280
+ msgid "Delivered"
281
+ msgstr "leveres"
282
+
283
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:143
284
+ #, php-format
285
+ msgid "Delivered <span class=\"count\">(%s)</span>"
286
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
287
+ msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
288
+ msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
289
+
290
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:152
291
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:198
292
+ #: includes/views/admin_options_osm.php:106
293
+ msgid "Updated Tracking"
294
+ msgstr "Opdateret sporing"
295
+
296
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:157
297
+ #, php-format
298
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
299
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
300
+ msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
301
+ msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
302
+
303
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:166
304
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:212
305
+ #: includes/views/admin_options_osm.php:65
306
+ msgid "Partially Shipped"
307
+ msgstr "Delvist afsendt"
308
+
309
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:171
310
+ #, php-format
311
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
312
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
313
+ msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
314
+ msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
315
+
316
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:331
317
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
318
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:851
319
+ msgid "Shipped"
320
+ msgstr "afsendt"
321
+
322
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:348
323
+ #, php-format
324
+ msgid "Shipped <span class=\"count\">(%s)</span>"
325
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
326
+ msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
327
+ msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
328
+
329
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:362
330
+ msgid "Change status to shipped"
331
+ msgstr "Skift status til afsendt"
332
+
333
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:482
334
+ msgid "Completed"
335
+ msgstr "afsluttet"
336
+
337
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:490
338
+ msgid "Add Tracking Number"
339
+ msgstr "Tilføj sporingsnummer"
340
+
341
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:563
342
+ msgid "Resend delivered order notification"
343
+ msgstr "Send leveret ordreanmeldelse igen"
344
+
345
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
346
+ msgid "There are some issue with sync, Please Retry."
347
+ msgstr "Der er nogle problemer med synkronisering, prøv igen."
348
 
349
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:782
350
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:797
351
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:812
352
+ msgid "view details"
353
+ msgstr "view details"
354
+
355
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:783
356
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:798
357
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:813
358
+ msgid "hide details"
359
+ msgstr "Gem detaljer"
360
+
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:194
362
  msgid ""
363
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
364
+ "100 orders."
365
  msgstr ""
 
 
366
 
367
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:236
368
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:150
369
+ msgid "Data saved successfully."
370
+ msgstr ""
371
 
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:237
373
+ msgid "Really delete this entry? This will not be undo."
374
+ msgstr ""
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:238
377
+ msgid "You can upload only csv file."
 
 
378
  msgstr ""
 
 
379
 
380
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:239
381
+ msgid "This browser does not support HTML5."
 
 
382
  msgstr ""
 
 
383
 
384
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:240
385
+ msgid "Please upload a valid CSV file."
 
 
386
  msgstr ""
 
 
387
 
388
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:310
389
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:329
390
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1556
391
+ msgid "Shipping Providers"
392
  msgstr ""
 
 
393
 
394
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:311
395
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:313
396
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
397
+ #: includes/views/admin_options_bulk_upload.php:11
398
+ msgid "CSV Import"
399
  msgstr ""
 
 
400
 
401
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:317
402
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:345
403
+ #: includes/views/admin_options_addons.php:73
404
+ msgid "Add-ons"
405
  msgstr ""
 
 
406
 
407
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
408
+ #: includes/views/admin_options_osm.php:4
409
+ msgid "Order Status Manager"
 
410
  msgstr ""
 
 
411
 
412
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
413
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:209
414
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
415
+ msgid "Documentation"
416
+ msgstr "Dokumentation"
417
+
418
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:349
419
+ msgid "How to Video"
420
  msgstr ""
 
 
421
 
422
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:461
423
+ msgid "Custom Statuses"
424
+ msgstr ""
425
+
426
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:572
427
+ #: includes/views/trackship_sidebar.php:13
428
+ msgid "Connected"
429
+ msgstr ""
430
+ "forbundet\n"
431
+
432
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:684
433
+ msgid "Custom Order Statuses"
434
+ msgstr ""
435
+
436
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:852
437
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
438
+ msgstr ""
439
+
440
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:853
441
  msgid ""
442
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
443
+ "will be selected by default when adding tracking info to orders."
444
+ msgstr ""
445
+
446
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:856
447
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
448
  msgstr ""
 
 
449
 
450
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:857
451
  msgid ""
452
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
453
+ "will be selected by default when adding tracking info to orders."
454
+ msgstr ""
455
+
456
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
457
+ msgid "Rename the “Completed” Order status to “Shipped”"
458
+ msgstr ""
459
+
460
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:947
461
+ msgid "API Date Format"
462
  msgstr ""
 
 
463
 
464
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:958
465
+ msgid "On which order status email to include the shipment tracking info?"
466
+ msgstr ""
467
+
468
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:965
469
+ msgid "Enable the Tracking Per Item option by default"
470
+ msgstr ""
471
+
472
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:966
473
  msgid ""
474
+ "This will check the option to add tracking per item when adding tracking "
475
+ "info to orders"
476
+ msgstr ""
477
+
478
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:972
479
+ msgid "Display SKU for the Tracking Per Item"
480
  msgstr ""
 
 
 
481
 
482
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1443
483
+ msgid "Shipped Order"
484
+ msgstr ""
485
+
486
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1467
487
+ msgid "Mark order as delivered"
488
+ msgstr ""
489
+
490
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1477
491
+ msgid "Add Tracking"
492
+ msgstr ""
493
+
494
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1506
495
+ msgid "Change order status to"
496
+ msgstr ""
497
+
498
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
499
+ msgid "Display Name"
500
+ msgstr ""
501
+
502
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
503
+ #: includes/views/admin_options_shipping_provider.php:95
504
  msgid ""
505
+ "The custom name will display in the tracking info section on the customer "
506
+ "order emails, my-account, shipment tracking page and shipment status emails."
507
+ msgstr ""
508
+
509
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1558
510
+ #: includes/views/admin_options_shipping_provider.php:104
511
+ msgid "API Name"
512
+ msgstr ""
513
+
514
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1559
515
+ msgid "Country"
516
+ msgstr ""
517
+
518
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
519
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1639
520
+ msgid "Default"
521
  msgstr ""
 
 
522
 
523
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1561
524
+ msgid "TrackShip"
525
+ msgstr "TrackShip"
526
+
527
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1562
528
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1640
529
+ msgid "Actions"
530
+ msgstr ""
531
+
532
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1563
533
+ #: includes/views/admin_options_shipping_provider.php:22
534
+ msgid "Active"
535
+ msgstr "Aktiv"
536
+
537
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
538
+ msgid "TrackShip supported"
539
+ msgstr ""
540
+
541
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
542
+ msgid "TrackShip not supported"
543
+ msgstr ""
544
+
545
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1638
546
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
547
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
548
+ #: templates/emails/tracking-info.php:276
549
+ #: templates/myaccount/tracking-info.php:202
550
+ msgid "Provider"
551
+ msgstr "Fragtfirma"
552
+
553
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1721
554
+ #, php-format
555
+ msgid "You did not create any %s shipping providers yet."
556
+ msgstr ""
557
+
558
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1722
559
+ msgid "Add Custom Provider"
560
+ msgstr ""
561
+
562
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1724
563
+ #: includes/views/admin_options_shipping_provider.php:47
564
+ #, php-format
565
+ msgid "You don't have any %s shipping providers."
566
+ msgstr "Du har ikke% s forsendelsesudbydere."
567
+
568
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1962
569
+ msgid "Filter by shipping provider"
570
+ msgstr ""
571
+
572
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:206
573
+ #: includes/views/admin_tracking_page_settings.php:8
574
+ #: includes/views/trackship_settings.php:9
575
+ #: includes/views/trackship_settings.php:10
576
+ msgid "Tracking Page"
577
+ msgstr "Tracking Page"
578
+
579
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:207
580
+ #: includes/views/trackship_settings.php:12
581
+ #: includes/views/trackship_settings.php:13
582
+ msgid "Notifications"
583
+ msgstr ""
584
+
585
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
586
+ #: includes/views/admin_options_tools.php:13
587
+ #: includes/views/trackship_settings.php:15
588
+ #: includes/views/trackship_settings.php:16
589
+ msgid "Tools"
590
+ msgstr "Værktøj"
591
+
592
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:210
593
+ msgid "TrackShip Account"
594
+ msgstr ""
595
+
596
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:287
597
  msgid ""
598
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
599
+ "for the tracking page to work."
 
600
  msgstr ""
 
 
 
601
 
602
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:295
603
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:303
604
+ #: includes/views/admin_tracking_page_settings.php:24
605
+ msgid "Select Tracking Page"
606
+ msgstr "Vælg sporingsside"
607
 
608
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:309
609
+ msgid "Use the tracking page in the customer email/my account tracking link"
610
+ msgstr ""
611
 
612
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:315
613
+ #: includes/views/admin_tracking_page_settings.php:39
614
+ msgid "Tracking Page Layout"
615
+ msgstr ""
616
+ "Sporing af sidelayout\n"
617
 
618
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:326
619
+ msgid "Select primary color for tracking page"
620
+ msgstr ""
621
 
622
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:332
623
+ msgid "Select content border color for tracking page"
624
+ msgstr ""
625
 
626
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:338
627
+ #: includes/views/admin_tracking_page_settings.php:72
628
+ msgid "Hide Shipping Provider Image"
629
+ msgstr ""
630
+ "Skjul forsendelsesbillede\n"
 
 
 
 
 
 
 
 
 
 
631
 
632
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:344
633
+ msgid "Hide tracking events details"
634
+ msgstr ""
635
 
636
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:350
637
+ #: includes/views/admin_tracking_page_settings.php:82
638
+ msgid "Remove TrackShip branding"
639
+ msgstr "Fjern TrackShip-branding"
640
+
641
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:377
642
+ msgid "Enable TrackShip"
643
  msgstr ""
 
644
 
645
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:383
646
+ msgid "Display Shipment Status Filter on Orders admin"
647
  msgstr ""
 
648
 
649
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:416
650
+ msgid ""
651
+ "Automatically set the Order Status to Delivered when the shipment is "
652
+ "delivered "
653
  msgstr ""
 
654
 
655
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:417
656
+ msgid ""
657
+ "To enable this option, the 'Delivered' order status should be enabled in the "
658
+ "AST settings."
659
+ msgstr ""
660
 
661
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:441
662
+ msgid "Shipment status"
663
+ msgstr ""
664
 
665
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:682
666
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:946
667
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:955
668
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:964
669
+ msgid "Get Shipment Status"
670
+ msgstr "Få forsendelsesstatus"
671
 
672
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:704
673
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:802
674
+ msgid "Pending TrackShip"
675
+ msgstr ""
676
 
677
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:705
678
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:799
679
+ msgid "Unknown"
680
+ msgstr ""
681
 
682
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:706
683
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:781
684
+ #: includes/customizer/class-wcast-customizer.php:141
685
+ msgid "Pre Transit"
686
+ msgstr ""
687
+ "Pre Transit\n"
688
+
689
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:707
690
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:775
691
+ #: includes/customizer/class-wcast-customizer.php:149
692
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
693
+ #: includes/views/admin_status_notifications.php:39
694
+ msgid "In Transit"
695
+ msgstr "Undervejs"
696
+
697
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:708
698
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:790
699
+ #: includes/customizer/class-wcast-customizer.php:172
700
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
701
+ #: includes/views/admin_status_notifications.php:90
702
+ msgid "Available For Pickup"
703
+ msgstr ""
704
+ "Klar til afhentning\n"
705
+
706
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:709
707
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:787
708
+ #: includes/customizer/class-wcast-customizer.php:179
709
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
710
+ msgid "Out For Delivery"
711
+ msgstr "Ud for levering"
712
+
713
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:711
714
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:796
715
+ #: includes/customizer/class-wcast-customizer.php:195
716
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
717
+ #: includes/views/admin_status_notifications.php:141
718
+ msgid "Failed Attempt"
719
+ msgstr "Mislykket forsøg"
720
+
721
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:713
722
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:808
723
+ msgid "Carrier Unsupported"
724
+ msgstr ""
725
 
726
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:714
727
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:793
728
+ #: includes/customizer/class-wcast-customizer.php:165
729
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
730
+ #: includes/views/admin_status_notifications.php:73
731
+ msgid "Return To Sender"
732
+ msgstr ""
733
+ "Retur til Afsender\n"
734
 
735
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:715
736
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:805
737
+ msgid "Invalid Tracking Number"
738
+ msgstr ""
739
 
740
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:720
741
+ msgid "Filter by shipment status"
742
+ msgstr ""
743
 
744
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:778
745
+ #: includes/customizer/class-wcast-customizer.php:157
746
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
747
+ #: includes/views/admin_status_notifications.php:56
748
+ msgid "On Hold"
749
+ msgstr "I venteposition"
750
 
751
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:811
752
+ msgid "Invalid User Key"
 
753
  msgstr ""
 
754
 
755
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:814
756
+ msgid "Wrong Shipping Provider"
 
757
  msgstr ""
 
758
 
759
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:945
760
+ #, php-format
761
+ msgid ""
762
+ "You got %s %s orders with tracking info that were not sent to track on "
763
+ "TrackShip"
764
  msgstr ""
 
765
 
766
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:954
767
+ #, php-format
768
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
769
  msgstr ""
 
770
 
771
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:963
772
+ #, php-format
773
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
774
+ msgstr ""
775
 
776
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1419
777
+ msgid "Shipment Providers"
778
+ msgstr "Forsendelsesleverandører"
779
 
780
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1422
781
+ #: templates/emails/tracking-info.php:221
782
+ #: templates/emails/tracking-info.php:251
783
+ msgid "Shipment Status"
784
+ msgstr "Forsendelsesstatus"
785
+
786
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1425
787
+ msgid "Tracking issues"
788
+ msgstr "Sporingsspørgsmål"
789
+
790
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1431
791
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1439
792
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1456
793
+ msgid "data not available."
794
+ msgstr "data ikke tilgængelige."
795
+
796
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1462
797
+ msgid "View more on TrackShip"
798
+ msgstr "Se mere på TrackShip"
799
+
800
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
801
+ msgid "Cannot create existing order shipment tracking."
802
+ msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
803
+
804
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
805
+ msgid "Invalid order ID."
806
+ msgstr "Ugyldigt ordre-ID."
807
+
808
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
809
+ msgid "Special character not allowd in tracking number"
810
+ msgstr "Specialtegn er ikke tilladt i sporingsnummer"
811
+
812
+ #: includes/customizer/class-wcast-customizer.php:32
813
+ #: includes/customizer/class-wcast-customizer.php:103
814
+ msgid "Tracking info display"
815
+ msgstr ""
816
+ "Tracking info display\n"
817
+
818
+ #: includes/customizer/class-wcast-customizer.php:42
819
+ msgid "Order Status Emails"
820
+ msgstr "E-mails med ordrestatus"
821
 
822
+ #: includes/customizer/class-wcast-customizer.php:51
823
+ msgid "Shipment Status Emails"
824
+ msgstr "Sendingsstatus-e-mails"
825
 
826
+ #: includes/customizer/class-wcast-customizer.php:58
827
+ #: includes/views/admin_status_notifications.php:152
828
+ msgid "Admin Notifications"
829
+ msgstr "Adminmeddelelser"
830
 
831
+ #: includes/customizer/class-wcast-customizer.php:71
832
+ #: includes/views/admin_options_settings.php:15
833
+ msgid "General Settings"
834
+ msgstr "Generelle indstillinger"
835
 
836
+ #: includes/customizer/class-wcast-customizer.php:79
837
+ msgid "Table layout design"
838
+ msgstr "Tabellayoutdesign"
839
 
840
+ #: includes/customizer/class-wcast-customizer.php:87
841
+ msgid "Simple layout design"
842
+ msgstr "Simpelt layoutdesign"
843
 
844
+ #: includes/customizer/class-wcast-customizer.php:95
845
+ msgid "Tracking Per Item Add-on"
846
+ msgstr ""
 
847
 
848
+ #: includes/customizer/class-wcast-customizer.php:111
849
+ #: includes/customizer/class-wc-email-customizer.php:163
850
+ msgid "Delivered order status email"
851
  msgstr ""
852
+ "Leveret ordre status email\n"
853
 
854
+ #: includes/customizer/class-wcast-customizer.php:118
855
+ msgid "Completed order status email"
856
+ msgstr "Fuldført e-mail med ordrestatus"
857
 
858
+ #: includes/customizer/class-wcast-customizer.php:125
859
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
860
+ msgid "Partially Shipped status email"
861
+ msgstr "Delvis afsendt status-e-mail"
862
 
863
+ #: includes/customizer/class-wcast-customizer.php:133
864
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
865
+ msgid "Updated Tracking status email"
866
+ msgstr ""
867
+ "Opdateret e-mail med sporingsstatus\n"
868
 
869
+ #: includes/customizer/class-wcast-customizer.php:203
870
+ #: includes/views/admin_status_notifications.php:167
871
+ msgid "Late Shipments"
872
+ msgstr "Sent forsendelse"
873
 
874
+ #: includes/customizer/class-wcast-customizer.php:516
875
+ msgid "Select order to preview"
876
+ msgstr ""
877
+ "Vælg rækkefølge for at forhåndsvise\n"
878
 
879
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
880
+ msgid "Your order #{order_number} is available for pickup"
881
  msgstr ""
882
+ "Din ordre # {order_number} er tilgængelig til afhentning\n"
883
 
884
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
885
+ msgid ""
886
+ "Hi there. we thought you'd like to know that your recent order from "
887
+ "{site_title} is available for pickup."
888
  msgstr ""
889
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
890
+ "er tilgængelig til afhentning.\n"
891
 
892
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
893
+ msgid "Available For Pickup email"
894
+ msgstr ""
895
+
896
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
897
+ msgid "Enable Available For Pickup email"
898
+ msgstr ""
899
 
900
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
901
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
902
+ #: includes/customizer/class-wc-email-customizer.php:197
903
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
904
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
905
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
906
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
907
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
908
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
909
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
910
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:176
911
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
912
+ msgid "Preview order"
913
+ msgstr ""
914
+ "Forhåndsvis rækkefølge\n"
915
+
916
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
917
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
918
+ #: includes/customizer/class-wc-email-customizer.php:226
919
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
920
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
921
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
922
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
923
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
924
+ msgid "E.g. {customer.email}, admin@example.org"
925
+ msgstr "F.eks {customer.email}, admin@example.org"
926
+
927
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
928
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
929
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
930
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
931
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
932
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
933
+ msgid "Email Subject"
934
+ msgstr ""
935
 
936
+ #. %s: list of placeholders
937
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
938
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
939
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
940
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
941
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
942
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
943
+ #: includes/customizer/class-wc-email-customizer.php:243
944
+ #: includes/customizer/class-wc-email-customizer.php:266
945
+ #: includes/customizer/class-wc-email-customizer.php:309
946
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
947
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
948
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
949
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
950
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
951
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
952
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
953
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
954
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
955
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
956
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
957
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
958
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
959
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
960
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
961
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
962
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
963
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
964
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
965
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
966
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
967
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:257
968
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:280
969
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:392
970
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
971
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
972
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
973
+ #: includes/emails/class-shipment-delivered-email.php:274
974
+ #: includes/emails/class-shipment-delivered-email.php:283
975
+ msgid "Available variables:"
976
+ msgstr "Tilgængelige variabler:"
977
 
978
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
979
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
980
+ #: includes/customizer/class-wc-email-customizer.php:289
981
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
982
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
983
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
984
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
985
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
986
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
987
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:371
988
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
989
  msgid "Email content"
990
  msgstr "Email indhold"
991
 
992
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
993
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
994
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
995
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
996
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
997
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
998
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:301
999
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1000
+ msgid "Show tracking details"
1001
+ msgstr ""
1002
+ "Vis sporingsoplysninger\n"
1003
+
1004
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1005
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1006
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1007
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1008
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1009
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1010
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:318
1011
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1012
+ msgid "Show order details"
1013
+ msgstr ""
1014
+ "Vis bestilling detaljer\n"
1015
+
1016
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1017
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1018
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1019
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1020
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1021
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1022
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:335
1023
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1024
+ msgid "Show billing address"
1025
+ msgstr ""
1026
+ "Vis faktureringsadresse\n"
1027
+
1028
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1029
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1030
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1031
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1032
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1033
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1034
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:353
1035
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1036
+ msgid "Show shipping address"
1037
+ msgstr ""
1038
+ "Vis forsendelsesadresse\n"
1039
+
1040
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
1041
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
1042
+ #: includes/customizer/class-wc-email-customizer.php:415
1043
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
1044
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
1045
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
1046
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
1047
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
1048
+ msgid "Google Analytics link tracking"
1049
+ msgstr "Google Analytics-linksporing"
1050
+
1051
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1052
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1053
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1054
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1055
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1056
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1057
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1058
+ msgid "This will be appended to URL in the email content"
1059
+ msgstr "Dette føjes til URL i e-mail-indholdet"
1060
+
1061
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
1062
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:452
1063
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
1064
+ #: includes/customizer/class-wc-delivered-email-customizer.php:454
1065
+ #: includes/customizer/class-wc-email-customizer.php:454
1066
+ #: includes/customizer/class-wc-email-customizer.php:462
1067
+ #: includes/customizer/class-wc-failure-email-customizer.php:446
1068
+ #: includes/customizer/class-wc-failure-email-customizer.php:454
1069
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
1070
+ #: includes/customizer/class-wc-intransit-email-customizer.php:458
1071
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
1072
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:456
1073
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:445
1074
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:453
1075
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1076
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1077
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:299
1078
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:307
1079
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:447
1080
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:455
1081
+ #: includes/customizer/class-wc-onhold-email-customizer.php:450
1082
+ #: includes/customizer/class-wc-onhold-email-customizer.php:458
1083
+ msgid "Please select order to preview."
1084
+ msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
1085
 
1086
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1087
+ msgid "Your order #{order_number} has been delivered"
1088
+ msgstr "Din ordre nr. {Ordre_nummer} er leveret"
1089
 
1090
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
1091
+ #: includes/customizer/class-wc-email-customizer.php:132
1092
+ msgid ""
1093
+ "Hi there. we thought you'd like to know that your recent order from "
1094
+ "{site_title} has been Delivered."
1095
+ msgstr ""
1096
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1097
+ "er blevet leveret.\n"
1098
 
1099
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
1100
+ msgid "Delivered email"
1101
+ msgstr ""
1102
 
1103
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1104
+ msgid "Enable Delivered email"
1105
+ msgstr ""
1106
 
1107
+ #: includes/customizer/class-wc-email-customizer.php:130
1108
+ #: includes/emails/class-shipment-delivered-email.php:94
1109
+ msgid "Your {site_title} order is now delivered"
1110
+ msgstr ""
1111
+ "Din {site_title} ordre er nu leveret\n"
1112
 
1113
+ #: includes/customizer/class-wc-email-customizer.php:179
1114
+ msgid "Enable Delivered order status email"
1115
+ msgstr ""
1116
+ "Aktivér leveret ordre status email\n"
1117
 
1118
+ #: includes/customizer/class-wc-email-customizer.php:201
1119
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1120
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1121
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1122
+ msgid "Please select a order..."
1123
+ msgstr "Vælg venligst en ordre ..."
1124
 
1125
+ #: includes/customizer/class-wc-email-customizer.php:326
1126
+ msgid "Display tracking details"
1127
+ msgstr "Vis sporingsdetaljer"
1128
 
1129
+ #: includes/customizer/class-wc-email-customizer.php:343
1130
+ msgid "Display order details"
1131
+ msgstr "Vis ordredetaljer"
1132
 
1133
+ #: includes/customizer/class-wc-email-customizer.php:361
1134
+ msgid "Display Shipping Address"
1135
+ msgstr "Vis forsendelsesadresse"
1136
 
1137
+ #: includes/customizer/class-wc-email-customizer.php:379
1138
+ msgid "Display Billing Address"
1139
+ msgstr "Vis faktureringsadresse"
1140
 
1141
+ #: includes/customizer/class-wc-email-customizer.php:397
1142
+ msgid "Enable Google Analytics tracking"
1143
+ msgstr "Aktivér Google Analytics-sporing"
1144
 
1145
+ #: includes/customizer/class-wc-email-customizer.php:416
1146
+ msgid ""
1147
+ "This will be appended to URL in the email content – e.g. "
1148
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1149
+ msgstr ""
1150
+ "Dette føjes til URL i e-mail-indholdet - f.eks. utm_source = ast & "
1151
+ "utm_medium = email & utm_campaign = leveret"
1152
 
1153
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1154
+ msgid "Your order #{order_number} is Failed Attempt"
1155
+ msgstr "Din ordre # {order_nummer} er mislykket"
1156
 
1157
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1158
  msgid ""
1159
+ "Hi there. we thought you'd like to know that your recent order from "
1160
+ "{site_title} is Failed Attempt"
1161
  msgstr ""
1162
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1163
+ "mislykket forsøg"
1164
 
1165
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1166
+ msgid "Failed Attempt email"
1167
+ msgstr ""
1168
 
1169
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1170
+ msgid "Enable Failed Attempt email"
1171
  msgstr ""
 
1172
 
1173
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1174
+ msgid "Your order #{order_number} is in transit"
1175
+ msgstr ""
1176
+ "Din ordre # {order_number} er i transit\n"
1177
 
1178
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1179
+ msgid ""
1180
+ "Hi there. we thought you'd like to know that your recent order from "
1181
+ "{site_title} is in transit"
1182
+ msgstr ""
1183
+ "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1184
+ "er i transit"
1185
 
1186
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1187
+ msgid "In Transit email"
1188
+ msgstr ""
 
1189
 
1190
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1191
+ msgid "Enable In Transit email"
1192
+ msgstr ""
1193
 
1194
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1195
+ msgid "Your order #{order_number} is out for delivery"
1196
+ msgstr "Din ordre # {order_number} er ude for levering"
1197
 
1198
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1199
+ msgid ""
1200
+ "Hi there. we thought you'd like to know that your recent order from "
1201
+ "{site_title} is out for delivery."
1202
+ msgstr ""
1203
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1204
+ "er ude for levering."
1205
 
1206
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1207
+ msgid "Out For Delivery email"
1208
  msgstr ""
 
1209
 
1210
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1211
+ msgid "Enable Out For Delivery email"
1212
  msgstr ""
 
1213
 
1214
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1215
+ msgid "Your order #{order_number} has returned to sender"
1216
+ msgstr "Din ordre # {order_number} er returneret til afsenderen"
1217
 
1218
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1219
  msgid ""
1220
+ "Hi there. we thought you'd like to know that your recent order from "
1221
+ "{site_title} has been returned to sender."
1222
  msgstr ""
1223
+ "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1224
+ "er blevet returneret til afsenderen."
1225
 
1226
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1227
+ msgid "Return To Sender email"
 
 
1228
  msgstr ""
 
 
1229
 
1230
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1231
+ msgid "Enable Return To Sender email"
1232
+ msgstr ""
 
 
1233
 
1234
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1235
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1236
+ #: templates/emails/tracking-info.php:288
1237
+ #: templates/myaccount/tracking-info.php:212
1238
+ msgid "Tracking Number"
1239
+ msgstr "Tracking nummer"
1240
+
1241
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1242
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1243
+ msgid "Shipped Date"
1244
  msgstr ""
1245
+ "Afsendt dato\n"
1246
+
1247
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
1248
+ msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1249
+ msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
1250
+
1251
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1252
+ msgid "Select an order to preview and design the tracking info display."
1253
+ msgstr ""
1254
+ "Vælg en ordre for at få vist og designe visningen af ​​sporingsinfo.\n"
1255
+
1256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1257
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1258
+ msgid "Tracking display layout"
1259
+ msgstr "Sporing af displaylayout"
1260
+
1261
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1262
+ msgid "Select Template"
1263
+ msgstr ""
1264
+ "Vælg skabelon\n"
1265
+
1266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1267
+ msgid "Table Layout"
1268
+ msgstr ""
1269
+ "Tabellayout\n"
1270
+
1271
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1272
+ msgid "Tracking Display Position"
1273
+ msgstr "Sporing af skærmposition"
1274
+
1275
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1276
+ msgid "Before Order Details"
1277
+ msgstr "Før ordredetaljer"
1278
 
1279
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1280
+ msgid "After Order Details"
1281
+ msgstr "Efter ordredetaljer"
 
1282
 
1283
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1284
  msgid "Hide Tracking Header"
1285
  msgstr "Skjul sporingshoved"
1286
 
1287
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1288
+ msgid "Tracking Header text"
1289
+ msgstr ""
1290
+ "Sporing af overskriftstekst\n"
1291
 
1292
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1293
+ msgid "Tracking Information"
1294
+ msgstr "Sporing Oplysninger"
1295
 
1296
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1297
+ msgid "Additional text after header"
1298
+ msgstr "Yderligere tekst efter overskrift"
1299
 
1300
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1301
+ msgid "Hide tracking information from order line items"
1302
+ msgstr "Skjul sporingsoplysninger fra ordrelinjeposter"
1303
 
1304
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1305
+ msgid "Simple Layout Design"
1306
+ msgstr ""
1307
+ "Simpelt layoutdesign\n"
1308
 
1309
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1310
+ msgid "Content"
1311
+ msgstr "Indhold"
 
1312
 
1313
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1314
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1315
+ msgid "Content font size"
1316
+ msgstr ""
1317
+ "Indholdsstørrelse\n"
1318
 
1319
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1320
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1321
+ msgid "Content font color"
 
1322
  msgstr ""
1323
+ "Indhold font farve\n"
 
1324
 
1325
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1326
+ msgid "Show bottom border"
1327
+ msgstr ""
1328
+ "Vis nederste kant\n"
1329
 
1330
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1331
+ msgid "Bottom border color"
1332
  msgstr ""
1333
+ "Nederste kantfarve\n"
1334
 
1335
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1336
+ msgid "Table layout Design"
1337
+ msgstr ""
1338
+ "Tabellayout Design\n"
1339
 
1340
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1341
+ msgid "Display shipping provider name"
1342
+ msgstr ""
1343
+ "Vis forsendelsesudbyderens navn\n"
1344
 
1345
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1346
+ msgid "Display shipping provider image"
1347
+ msgstr ""
1348
+ "Vis forsendelsesudbyders billede\n"
1349
 
1350
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1351
+ msgid "Hide the ship date"
1352
+ msgstr ""
1353
+ "Skjul skibets dato\n"
1354
 
1355
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1356
+ msgid "Use tracking number as a link"
1357
+ msgstr "Brug sporingsnummer som et link"
1358
 
1359
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1360
+ msgid "Table Headers"
1361
+ msgstr ""
1362
+ "Bordoverskrifter\n"
1363
 
1364
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1365
+ msgid "Hide Table Headers"
 
1366
  msgstr ""
1367
+ "Skjul tabeloverskrifter\n"
1368
+
1369
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1370
+ msgid "Provider header text"
1371
+ msgstr ""
1372
+ "Udbyderens hovedtekst\n"
1373
 
1374
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1375
+ msgid "Tracking Number header text"
1376
+ msgstr ""
1377
+ "Sporing af nummeroverskriftstekst\n"
1378
 
1379
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1380
+ msgid "Ship date header text"
1381
+ msgstr ""
1382
+ "Send datoens overskriftstekst\n"
1383
 
1384
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1385
+ msgid "Track Label"
1386
+ msgstr "Sporetiket"
1387
 
1388
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1389
+ msgid "Track header text"
 
 
1390
  msgstr ""
1391
+ "Spor overskriftstekst\n"
1392
 
1393
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1394
+ msgid "Headers font size"
1395
+ msgstr ""
1396
+ "Headers skriftstørrelse\n"
 
1397
 
1398
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1399
+ msgid "Headers font color"
1400
+ msgstr ""
1401
+ "Headers fontfarve\n"
 
 
 
1402
 
1403
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1404
+ msgid "Table Content"
1405
+ msgstr "Table Content"
1406
 
1407
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1408
+ msgid "Padding"
1409
+ msgstr "polstring"
1410
 
1411
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1412
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1413
+ msgid "Background color"
1414
+ msgstr "Baggrundsfarve"
 
 
1415
 
1416
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1417
+ #: includes/views/admin_tracking_page_settings.php:61
1418
+ msgid "Border color"
1419
+ msgstr ""
1420
+ "Border farve\n"
 
 
1421
 
1422
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1423
+ msgid "Border size"
 
 
1424
  msgstr ""
1425
+ "Border størrelse\n"
 
1426
 
1427
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1428
+ msgid "Content Text align"
 
1429
  msgstr ""
1430
+ "Juster indholdstekst\n"
1431
 
1432
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1433
+ msgid "Content line height"
1434
+ msgstr ""
1435
+ "Indholdslinjehøjde\n"
1436
+
1437
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1438
+ msgid "Content font weight"
1439
+ msgstr ""
1440
+ "Indhold skrifttype vægt\n"
1441
+
1442
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1443
+ msgid "Tracking Link"
1444
+ msgstr "Sporingslink"
1445
+
1446
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1447
+ msgid "Font Color"
1448
+ msgstr ""
1449
+ "Skrift farve\n"
1450
+
1451
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1452
+ msgid "Border"
1453
+ msgstr "Grænse"
1454
+
1455
+ #: includes/customizer/class-wc-tracking-info-customizer.php:1027
1456
  msgid ""
1457
+ "To preview the tracking display, please add tracking information to at least "
1458
+ "one order and choose it in the preview order selection."
1459
  msgstr ""
1460
+ "Hvis du vil se en forhåndsvisning af sporingsdisplayet, skal du tilføje "
1461
+ "sporingsoplysninger til mindst en ordre og vælge dem i valg af "
1462
+ "forhåndsvisning af forhåndsvisning.\n"
1463
 
1464
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1465
+ msgid "Your {site_title} order is now partially shipped"
1466
+ msgstr "Din {site_title} ordre er nu delvist sendt"
 
1467
 
1468
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1469
+ msgid ""
1470
+ "Hi there. we thought you'd like to know that your recent order from "
1471
+ "{site_title} has been partially shipped."
1472
+ msgstr ""
1473
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1474
+ "delvist sendt.\n"
1475
 
1476
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1477
+ msgid "Enable Partially Shipped order status email"
1478
+ msgstr "Aktivér delvis afsendt ordre-status-e-mail"
1479
 
1480
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1481
+ msgid "Your {site_title} order is now updated tracking"
1482
+ msgstr ""
1483
+ "Din {site_title} ordre er nu opdateret sporing\n"
1484
 
1485
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1486
+ msgid ""
1487
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1488
+ "recent order from {site_title} has been updated."
1489
+ msgstr ""
1490
+ "Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
1491
+ "ordre fra {site_title} er blevet opdateret.\n"
1492
 
1493
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1494
+ msgid "Enable Updated Tracking order status email"
1495
+ msgstr ""
1496
+ "Aktivér e-mail med opdateret sporingsordrestatus\n"
 
1497
 
1498
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:126
1499
+ msgid "Late shipment for order #{order_number}"
1500
+ msgstr "Sen forsendelse til ordre nr. {Ordre_nummer}"
1501
 
1502
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:127
1503
+ msgid "Late shipment"
1504
+ msgstr "Sen forsendelse"
1505
 
1506
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:128
1507
+ msgid "This shipment exceeded {shipment_length} days."
1508
+ msgstr "Denne forsendelse overskredet {shipment_length} dage."
1509
 
1510
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:161
1511
+ msgid "Late Shipments admin email"
1512
+ msgstr "Sidste forsendelser admin e-mail"
1513
 
1514
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:198
1515
+ msgid "Enable Late Shipments admin email"
1516
+ msgstr "Aktivér e-mail med sent forsendelser"
1517
 
1518
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:241
1519
+ msgid "E.g. {admin_email}, admin@example.org"
1520
+ msgstr "F.eks. {admin_email}, admin@example.org"
1521
 
1522
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1523
+ msgid "Your order #{order_number} is on hold"
1524
+ msgstr "Din ordre # {order_nummer} er på vent"
1525
 
1526
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1527
  msgid ""
1528
+ "Hi there. we thought you'd like to know that your recent order from "
1529
+ "{site_title} is on hold"
1530
+ msgstr ""
1531
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1532
+ "på vent"
1533
+
1534
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1535
+ msgid "On Hold email"
1536
+ msgstr ""
1537
 
1538
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1539
+ msgid "Enable On Hold email"
1540
+ msgstr ""
 
 
 
1541
 
1542
+ #: includes/emails/class-shipment-delivered-email.php:32
1543
+ msgid "Delivered order"
1544
+ msgstr "Leveret ordre"
1545
 
1546
+ #: includes/emails/class-shipment-delivered-email.php:33
1547
+ msgid ""
1548
+ "Order delivered emails are sent to customers when their orders are marked "
1549
+ "delivered and usually indicate that their orders have been shipped."
1550
+ msgstr ""
1551
+ "Ordrer leverede e-mails sendes til kunderne, når deres ordrer er mærket "
1552
+ "leveret og angiver normalt, at deres ordrer er blevet sendt."
1553
 
1554
+ #: includes/emails/class-shipment-delivered-email.php:298
1555
+ msgid "Click Here"
1556
+ msgstr "Klik her"
1557
 
1558
+ #: includes/emails/class-shipment-delivered-email.php:299
1559
+ msgid "Edit in customizer"
1560
+ msgstr "Rediger i brugerdefineret"
1561
 
1562
+ #: includes/views/admin_options_bulk_upload.php:12
1563
+ msgid ""
1564
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1565
+ "file"
1566
  msgstr ""
 
1567
 
1568
+ #: includes/views/admin_options_bulk_upload.php:26
1569
+ msgid "Upload a CSV file from your computer:"
1570
  msgstr ""
 
1571
 
1572
+ #: includes/views/admin_options_bulk_upload.php:34
1573
+ msgid "Choose the Shipped Date format"
1574
+ msgstr ""
1575
+
1576
+ #: includes/views/admin_options_bulk_upload.php:48
1577
+ msgid "Replace tracking information?"
1578
  msgstr ""
 
 
1579
 
1580
+ #: includes/views/admin_options_bulk_upload.php:48
1581
+ msgid ""
1582
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1583
+ "info added to the orders."
1584
+ msgstr ""
1585
 
1586
  #: includes/views/admin_options_bulk_upload.php:57
1587
+ msgid "Continue"
1588
+ msgstr "Blive ved"
1589
+
1590
+ #: includes/views/admin_options_bulk_upload.php:59
1591
  msgid "Settings Saved."
1592
  msgstr "Indstillinger gemt."
1593
 
1594
+ #: includes/views/admin_options_bulk_upload.php:77
1595
+ msgid "Your tracking information are now being imported..."
1596
+ msgstr "Dine sporoplysninger importeres nu ..."
 
 
1597
 
1598
+ #: includes/views/admin_options_bulk_upload.php:83
1599
+ msgid "Upload Progress - "
1600
+ msgstr "Upload Progress -"
 
 
1601
 
1602
+ #: includes/views/admin_options_bulk_upload.php:92
1603
+ msgid "Upload again"
1604
+ msgstr "Upload igen"
1605
 
1606
+ #: includes/views/admin_options_bulk_upload.php:93
1607
+ msgid "View Orders"
1608
+ msgstr "Se ordrer"
 
 
 
1609
 
1610
+ #: includes/views/admin_options_settings.php:22
1611
+ #: includes/views/admin_trackship_dashboard.php:45
1612
+ #: includes/views/admin_tracking_page_settings.php:87
1613
+ #: includes/views/admin_tracking_page_settings.php:108
1614
+ msgid "Save Changes"
1615
+ msgstr "Gem ændringer"
 
1616
 
1617
+ #: includes/views/admin_options_settings.php:34
1618
+ msgid "Tracking Info Display"
1619
+ msgstr "Tracking Info Display"
1620
+
1621
+ #: includes/views/admin_options_settings.php:43
1622
+ msgid ""
1623
+ "Use a customizer with a preview to customize the tracking info display on "
1624
+ "customer order emails and my-account."
1625
  msgstr ""
1626
+ "Brug en customizer med en forhåndsvisning til at tilpasse visningen af "
1627
+ "​​sporingsinfo i e-mails med kundeordrer og min-konto."
1628
 
1629
+ #: includes/views/admin_options_settings.php:44
1630
+ msgid "Launch Customizer"
1631
+ msgstr "Start Customizer"
 
1632
 
1633
+ #: includes/views/admin_options_shipping_provider.php:23
1634
+ msgid "Inactive"
1635
+ msgstr "inaktive"
 
 
1636
 
1637
+ #: includes/views/admin_options_shipping_provider.php:24
1638
+ msgid "Custom"
1639
+ msgstr "Brugerdefinerede"
1640
 
1641
+ #: includes/views/admin_options_shipping_provider.php:34
1642
+ msgid "Search by provider / country"
1643
+ msgstr "Søg efter udbyder / land"
1644
 
1645
+ #: includes/views/admin_options_shipping_provider.php:53
1646
+ msgid "Add Custom Shipping Provider"
1647
+ msgstr "Tilføj Tilpasset forsendelsesleverandør"
1648
 
1649
+ #: includes/views/admin_options_shipping_provider.php:56
1650
+ #: includes/views/admin_options_shipping_provider.php:98
1651
  msgid "Shipping Provider"
1652
+ msgstr ""
1653
 
1654
+ #: includes/views/admin_options_shipping_provider.php:59
1655
+ #: includes/views/admin_options_shipping_provider.php:101
1656
+ msgid "Custom display name"
1657
+ msgstr ""
1658
 
1659
+ #: includes/views/admin_options_shipping_provider.php:63
1660
+ #: includes/views/admin_options_shipping_provider.php:108
1661
+ msgid "Shipping Country"
1662
+ msgstr "Forsendelsesland"
 
1663
 
1664
+ #: includes/views/admin_options_shipping_provider.php:64
1665
+ #: includes/views/admin_options_shipping_provider.php:109
1666
+ msgid "Global"
1667
+ msgstr "Global"
 
1668
 
1669
+ #: includes/views/admin_options_shipping_provider.php:74
1670
+ #: includes/views/admin_options_shipping_provider.php:119
1671
+ msgid "Upload"
1672
+ msgstr "Upload"
1673
 
1674
+ #: includes/views/admin_options_shipping_provider.php:80
1675
+ #: includes/views/admin_options_shipping_provider.php:125
1676
+ msgid ""
1677
+ "You can use the variables %number%, %postal_code% and %country_code% in the "
1678
+ "URL, for more info, check our "
1679
+ msgstr ""
1680
 
1681
+ #: includes/views/admin_options_shipping_provider.php:80
1682
+ #: includes/views/admin_options_shipping_provider.php:125
1683
+ #, php-format
1684
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1685
  msgstr ""
 
1686
 
1687
+ #: includes/views/admin_options_shipping_provider.php:94
1688
+ msgid "Edit Shipping Provider"
1689
  msgstr ""
 
1690
 
1691
+ #: includes/views/admin_options_shipping_provider.php:131
1692
+ msgid "Update"
1693
+ msgstr ""
1694
+
1695
+ #: includes/views/admin_options_shipping_provider.php:132
1696
+ msgid "Reset"
1697
+ msgstr ""
1698
 
1699
+ #: includes/views/admin_options_shipping_provider.php:142
1700
+ #: includes/views/admin_options_shipping_provider.php:153
1701
  msgid "Sync Shipping Providers"
1702
  msgstr "Synkroniseringsforsendelser"
1703
 
1704
+ #: includes/views/admin_options_shipping_provider.php:143
1705
  msgid ""
1706
  "Syncing the shipping providers list add or updates the pre-set shipping "
1707
  "providers and will not effect custom shipping providers."
1710
  "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
1711
  "forsendelsesleverandører."
1712
 
1713
+ #: includes/views/admin_options_shipping_provider.php:145
1714
+ msgid "Providers Added"
1715
+ msgstr "Udbydere tilføjet"
 
 
 
 
 
 
 
 
 
1716
 
1717
+ #: includes/views/admin_options_shipping_provider.php:146
1718
+ msgid "Providers Updated"
1719
+ msgstr "Udbydere opdateret"
 
1720
 
1721
+ #: includes/views/admin_options_shipping_provider.php:147
1722
+ msgid "Providers Deleted"
1723
+ msgstr "Udbydere er slettet"
1724
 
1725
+ #: includes/views/admin_options_shipping_provider.php:149
1726
+ msgid "Shipping providers database reset successfully."
1727
+ msgstr "Forsendelsesdatabase nulstilles med succes."
1728
 
1729
+ #: includes/views/admin_options_shipping_provider.php:151
1730
  msgid ""
1731
+ "Reset providers database, it will reset all your shipping provider database"
1732
+ msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1733
 
1734
+ #: includes/views/admin_options_trackship_integration.php:16
1735
+ msgid "Watch Video"
1736
+ msgstr ""
1737
 
1738
+ #: includes/views/admin_options_trackship_integration.php:17
1739
+ msgid "Start your free trial"
1740
  msgstr ""
 
1741
 
1742
+ #: includes/views/admin_options_addons.php:76
1743
+ msgid "License"
1744
+ msgstr ""
 
1745
 
1746
+ #: includes/views/admin_trackship_dashboard.php:13
1747
+ #, php-format
1748
+ msgid ""
1749
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1750
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1751
+ msgstr ""
1752
 
1753
+ #: includes/views/admin_trackship_dashboard.php:33
1754
+ msgid "Automation"
1755
+ msgstr ""
1756
 
1757
+ #: includes/views/admin_tracking_page_settings.php:21
1758
+ msgid "Enable a tracking page on your store"
1759
  msgstr ""
 
1760
 
1761
+ #: includes/views/admin_tracking_page_settings.php:31
1762
+ msgid "Other"
1763
  msgstr ""
 
1764
 
1765
+ #: includes/views/admin_tracking_page_settings.php:36
 
 
 
 
1766
  msgid ""
1767
+ "Note - If you select a different page than the Shipment Tracking page, add "
1768
+ "the [wcast-track-order] shortcode to the selected page content."
1769
  msgstr ""
1770
+ "Bemærk - Hvis du vælger en anden side end siden med sporing af forsendelse, "
1771
+ "tilføj kortkoden [wcast-track-order] til det valgte sideindhold.\n"
 
 
 
 
1772
 
1773
+ #: includes/views/admin_tracking_page_settings.php:36
1774
+ msgid "more info"
1775
+ msgstr ""
1776
+ "mere info\n"
 
 
1777
 
1778
+ #: includes/views/admin_tracking_page_settings.php:55
1779
+ msgid "Text Color"
1780
+ msgstr ""
1781
+ "Tekstfarve\n"
1782
 
1783
+ #: includes/views/admin_tracking_page_settings.php:77
1784
+ msgid "Hide tracking event details"
1785
+ msgstr ""
1786
+ "Skjul detaljer om sporingsbegivenhed\n"
1787
 
1788
+ #: includes/views/admin_tracking_page_settings.php:97
1789
+ msgid "Preview"
1790
+ msgstr "Eksempel"
1791
 
1792
+ #: includes/views/admin_status_notifications.php:3
1793
+ msgid "Shipment Status Email Notifications"
1794
+ msgstr ""
1795
 
1796
+ #: includes/views/admin_status_notifications.php:107
1797
+ msgid "Out For delivery"
1798
+ msgstr ""
 
 
 
1799
 
1800
+ #: includes/views/admin_options_tools.php:11
1801
+ msgid "Tracking info sent to Trackship for all Orders."
1802
+ msgstr ""
 
 
 
 
1803
 
1804
+ #: includes/views/admin_options_tools.php:14
1805
+ msgid ""
1806
+ "You can send all your orders from the last 30 days to get shipment status "
1807
+ "from TrackShip:"
1808
+ msgstr ""
1809
+ "Du kan sende alle dine ordrer fra de sidste 30 dage for at få "
1810
+ "forsendelsesstatus fra TrackShip:"
1811
 
1812
+ #: includes/views/admin_options_osm.php:39
1813
+ #: includes/views/admin_options_osm.php:81
1814
+ #: includes/views/admin_options_osm.php:122
1815
+ msgid "Light Font"
1816
+ msgstr ""
1817
+ "Let skrift\n"
1818
 
1819
+ #: includes/views/admin_options_osm.php:40
1820
+ #: includes/views/admin_options_osm.php:82
1821
+ #: includes/views/admin_options_osm.php:123
1822
+ msgid "Dark Font"
1823
  msgstr ""
1824
+ "Mørk skrifttype\n"
 
1825
 
1826
+ #: includes/views/admin_options_osm.php:44
1827
+ #: includes/views/admin_options_osm.php:86
1828
+ #: includes/views/admin_options_osm.php:127
1829
+ msgid "Send Email"
1830
+ msgstr ""
1831
+ "Send e-mail\n"
1832
 
1833
+ #: includes/views/trackship_sidebar.php:12
1834
+ msgid "TrackShip Connection Status"
1835
+ msgstr "TrackShip-forbindelsesstatus"
 
 
 
1836
 
1837
+ #: includes/views/trackship_sidebar.php:14
1838
+ msgid "Account Dashboard"
1839
+ msgstr ""
1840
 
1841
+ #: includes/views/trackship_sidebar.php:20
1842
+ msgid "Trackers Balance"
 
 
 
 
1843
  msgstr ""
 
 
1844
 
1845
+ #: includes/views/trackship_sidebar.php:24
1846
+ msgid "Subscription Plan"
1847
+ msgstr "Abonnementsplan"
1848
 
1849
+ #: includes/views/trackship_sidebar.php:28
1850
+ msgid "Upgrade Now"
1851
+ msgstr ""
 
 
 
1852
 
1853
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
1854
+ msgid "Download sample csv"
1855
+ msgstr "Download prøve csv"
1856
 
1857
+ #: templates/emails/tracking-info.php:281
1858
+ #: templates/myaccount/tracking-info.php:207
1859
+ msgid "Provider Name"
1860
+ msgstr "Udbyderens navn"
 
 
 
 
1861
 
1862
+ #. %s: Order ID.
1863
+ #: templates/emails/wcast-email-order-details.php:48
1864
  #, php-format
1865
+ msgid "Order number: %s"
1866
+ msgstr ""
1867
+ "Ordrenummer:% s\n"
1868
 
1869
+ #: templates/emails/plain/tracking-info.php:35
 
1870
  #, php-format
1871
+ msgid "Shipment status changed to %s"
1872
+ msgstr "Forsendelsesstatus ændret til% s"
1873
 
1874
+ #. Name of the plugin
1875
+ msgid "Advanced Shipment Tracking for WooCommerce"
1876
+ msgstr ""
1877
 
1878
+ #. Description of the plugin
1879
+ msgid ""
1880
+ "Add shipment tracking information to your WooCommerce orders and provide "
1881
+ "customers with an easy way to track their orders. Shipment tracking Info "
1882
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1883
+ "order complete email."
1884
+ msgstr ""
1885
 
1886
+ #. URI of the plugin
1887
+ msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
1888
  msgstr ""
 
1889
 
1890
  #. Author of the plugin
1891
  msgid "zorem"
1892
+ msgstr ""
1893
+
1894
+ #. Author URI of the plugin
1895
+ msgid "https://www.zorem.com"
1896
+ msgstr ""
lang/woo-advanced-shipment-tracking-de_DE.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-de_DE.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 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,968 +12,1757 @@ 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."
@@ -982,255 +1771,190 @@ msgstr ""
982
  "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
983
  "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
984
 
985
- #: includes/customizer/class-wc-tracking-info-customizer.php:790
986
- msgid "Table Content"
987
- msgstr ""
988
- "Tabelleninhalt\n"
989
-
990
- #: includes/customizer/class-wc-tracking-info-customizer.php:520
991
- msgid "Table Design Options"
992
- msgstr "Tabellendesign-Optionen"
993
-
994
- #: includes/customizer/class-wc-tracking-info-customizer.php:605
995
- #| msgid "Table Headers"
996
- msgid "Table Header"
997
- msgstr "Tabellenüberschriften"
998
 
999
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1000
- msgid "Table Layout"
1001
- msgstr ""
1002
- "Tabellenlayout\n"
1003
 
1004
- #: includes/customizer/class-wc-tracking-info-customizer.php:427
1005
- msgid "Table Options"
1006
- msgstr "Tabellenoptionen"
1007
 
1008
- #: includes/customizer/class-wc-tracking-info-customizer.php:581
1009
- msgid "Text align"
1010
- msgstr "Textausrichtung"
1011
 
1012
- #: includes/views/admin_options_shipping_provider.php:61
1013
  msgid ""
1014
- "The custom display name will show in the tracking info section on the "
1015
- "customer order emails, my-account, and TrackShip's tracking page and email "
1016
- "notifications"
1017
  msgstr ""
1018
- "Der benutzerdefinierte Anzeigename wird im Abschnitt mit den Tracking-"
1019
- "Informationen in den E-Mails der Kundenbestellungen, in meinem Konto und auf "
1020
- "der Tracking-Seite und den E-Mail-Benachrichtigungen von TrackShip angezeigt "
1021
- "show"
1022
 
1023
- #: includes/class-wc-advanced-shipment-tracking-settings.php:627
1024
- msgid "There are some issue with sync, Please Retry."
1025
  msgstr ""
1026
- "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
1027
- "\n"
1028
-
1029
- #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1030
- msgid "This browser does not support HTML5."
1031
- msgstr "Dieser Browser unterstützt HTML5 nicht."
1032
-
1033
- #: includes/class-wc-advanced-shipment-tracking.php:784
1034
- #: includes/class-wc-advanced-shipment-tracking.php:817
1035
- #: includes/class-wc-advanced-shipment-tracking.php:835
1036
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1037
- #: includes/customizer/class-wc-tracking-info-customizer.php:951
1038
- #: templates/emails/tracking-info.php:264
1039
- #: templates/myaccount/tracking-info.php:244
1040
- #: templates/myaccount/tracking-info.php:246
1041
- msgid "Track"
1042
- msgstr "Verfolgen"
1043
-
1044
- #: includes/customizer/class-wc-tracking-info-customizer.php:908
1045
- msgid "Track Button"
1046
- msgstr "Track-Taste"
1047
-
1048
- #: includes/customizer/class-wc-tracking-info-customizer.php:925
1049
- msgid "Track Header"
1050
- msgstr "Track-Header"
1051
 
1052
- #: includes/customizer/class-wc-tracking-info-customizer.php:944
1053
- msgid "Track header text"
1054
  msgstr ""
1055
- "Verfolgen Sie den Header-Text\n"
1056
 
1057
- #: includes/class-wc-advanced-shipment-tracking.php:242
1058
- #: includes/class-wc-advanced-shipment-tracking.php:387
1059
- msgid "Track Shipment"
1060
  msgstr ""
1061
- "Sendung verfolgen\n"
1062
 
1063
- #: includes/customizer/class-wc-tracking-info-customizer.php:274
1064
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1065
- msgid "Tracking display layout"
1066
- msgstr "Tracking-Display-Layout"
 
 
1067
 
1068
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
1069
- msgid "Tracking Display Position"
1070
- msgstr "Verfolgung der Anzeigeposition"
1071
 
1072
- #: includes/customizer/class-wc-tracking-info-customizer.php:221
1073
- msgid "Tracking Header text"
1074
  msgstr ""
1075
- "Tracking-Header-Text\n"
1076
 
1077
- #: includes/customizer/class-wcast-customizer.php:37
1078
- msgid "Tracking info display"
1079
  msgstr ""
1080
- "Tracking-Info-Anzeige\n"
1081
 
1082
- #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1083
- #: includes/class-wc-advanced-shipment-tracking.php:741
1084
- #, php-format
1085
- #| msgid ""
1086
- #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1087
  msgid ""
1088
- "Tracking info was deleted for tracking provider %1$s with tracking number "
1089
- "%2$s"
1090
  msgstr ""
1091
- "Tracking-Informationen für Tracking-Anbieter %1$s mit Tracking-Nummer %2$s "
1092
- "wurden gelöscht"
1093
-
1094
- #: includes/customizer/class-wc-tracking-info-customizer.php:228
1095
- msgid "Tracking Information"
1096
- msgstr "Tracking-Informationen"
1097
-
1098
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1099
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
1100
- #: templates/emails/tracking-info.php:235
1101
- #: templates/myaccount/tracking-info.php:213
1102
- msgid "Tracking Number"
1103
- msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1104
 
1105
- #: includes/customizer/class-wc-tracking-info-customizer.php:665
1106
- #| msgid "Tracking Number header text"
1107
- msgid "Tracking number header text"
1108
- msgstr "Tracking-Nummer-Header-Text"
1109
 
1110
- #: includes/class-wc-advanced-shipment-tracking.php:317
1111
- #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1112
- msgid "Tracking number:"
1113
- msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
1114
 
1115
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
1116
- msgid "TrackShip"
1117
- msgstr "TrackShip"
 
1118
 
1119
- #: includes/views/admin_options_shipping_provider.php:99
1120
- msgid "Update"
1121
- msgstr "Aktualisieren"
1122
 
1123
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1124
- #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1125
- #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1126
- #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1127
- msgid "Updated Tracking"
1128
  msgstr ""
1129
- "Aktualisiertes Tracking\n"
1130
-
1131
- #. %s: replace with Updated Tracking Count
1132
- #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1133
- #, php-format
1134
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1135
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
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"
1153
  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 "
 
1204
  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"
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-09-01 05:43+0000\n"
6
+ "PO-Revision-Date: 2020-09-01 12:02+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.3; wp-5.5"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
19
+ msgid ""
20
+ "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
+ "Shipment Tracking!"
22
+ msgstr ""
23
+ "Bitte installieren und aktivieren Sie% sWooCommerce% s für WooCommerce "
24
+ "Advanced Shipment Tracking!\n"
 
 
 
 
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:468
27
+ #, php-format
28
  msgid ""
29
+ "We detected %s orders that use the Delivered order status, You can reassign "
30
+ "these orders to a different status"
31
  msgstr ""
 
 
 
32
 
33
+ #: woocommerce-advanced-shipment-tracking.php:480
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
 
40
+ #: woocommerce-advanced-shipment-tracking.php:492
41
+ #, php-format
42
  msgid ""
43
+ "We detected %s orders that use the Updated Tracking order status, You can "
44
+ "reassign these orders to a different status"
 
 
45
  msgstr ""
 
 
 
 
 
46
 
47
+ #: woocommerce-advanced-shipment-tracking.php:502
48
+ #: includes/views/admin_options_osm.php:139
49
+ #, php-format
50
+ msgid ""
51
+ "<strong>Note:</strong> - If you use the custom order status, when you "
52
+ "deactivate the plugin, you must register the order status, otherwise these "
53
+ "orders will not display on your orders admin. You can find more information "
54
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
55
+ "php here."
56
+ msgstr ""
57
+ "Hinweis: - Wenn Sie den benutzerdefinierten Bestellstatus verwenden und das "
58
+ "Plug-in deaktivieren, müssen Sie den Bestellstatus registrieren. Andernfalls "
59
+ "werden diese Bestellungen nicht in Ihrem Bestelladministrator angezeigt. "
60
+ "Weitere Informationen und das Code-Snippet zur Verwendung in functions.php "
61
+ "finden Sie hier.\n"
62
+
63
+ #: includes/class-wc-advanced-shipment-tracking-front.php:158
64
+ #: includes/class-wc-advanced-shipment-tracking-front.php:360
65
+ #: includes/class-wc-advanced-shipment-tracking-front.php:385
66
+ #: includes/class-wc-advanced-shipment-tracking-front.php:412
67
+ msgid ""
68
+ "To track your order please enter your Order ID in the box below and press "
69
+ "the \"Track\" button. This was given to you on your receipt and in the "
70
+ "confirmation email you should have received."
71
+ msgstr ""
72
+ "Um Ihre Bestellung zu verfolgen, geben Sie bitte Ihre Bestellnummer in das "
73
+ "unten stehende Feld ein und klicken Sie auf \"Verfolgen\". Dies wurde Ihnen "
74
+ "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
75
+ "sollen, mitgeteilt.\n"
76
+
77
+ #: includes/class-wc-advanced-shipment-tracking-front.php:159
78
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
79
+ #: includes/class-wc-advanced-shipment-tracking-front.php:361
80
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
81
+ #: includes/class-wc-advanced-shipment-tracking-front.php:386
82
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
83
+ #: includes/class-wc-advanced-shipment-tracking-front.php:413
84
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
85
+ msgid "Found in your order confirmation email."
86
+ msgstr ""
87
+ "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
88
+
89
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
90
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
91
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
92
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
93
+ msgid "Order Email"
94
+ msgstr ""
95
+ "E-Mail bestellen\n"
96
+
97
+ #: includes/class-wc-advanced-shipment-tracking-front.php:163
98
+ #: includes/class-wc-advanced-shipment-tracking-front.php:365
99
+ #: includes/class-wc-advanced-shipment-tracking-front.php:390
100
+ #: includes/class-wc-advanced-shipment-tracking-front.php:417
101
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
102
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
103
+ #: templates/emails/tracking-info.php:311
104
+ #: templates/myaccount/tracking-info.php:232
105
+ msgid "Track"
106
+ msgstr "Verfolgen"
107
+
108
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
109
+ #: includes/class-wc-advanced-shipment-tracking-front.php:268
110
+ #: includes/class-wc-advanced-shipment-tracking-front.php:504
111
+ #: includes/class-wc-advanced-shipment-tracking-front.php:521
112
+ #, php-format
113
+ msgid "Shipment - %s (out of %s)"
114
+ msgstr ""
115
+ "Versand -% s (von% s)\n"
116
+
117
+ #: includes/class-wc-advanced-shipment-tracking-front.php:284
118
+ #: includes/class-wc-advanced-shipment-tracking-front.php:537
119
+ msgid "Tracking details not found in TrackShip"
120
+ msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
121
+
122
+ #: includes/class-wc-advanced-shipment-tracking-front.php:366
123
+ msgid "Order not found."
124
+ msgstr "Bestellung nicht gefunden."
125
+
126
+ #: includes/class-wc-advanced-shipment-tracking-front.php:418
127
+ msgid "Tracking details not found."
128
+ msgstr "Tracking-Details nicht gefunden."
129
+
130
+ #: includes/class-wc-advanced-shipment-tracking-front.php:597
131
+ #: includes/class-wc-advanced-shipment-tracking-front.php:627
132
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1205
133
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1223
134
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1358
135
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1376
136
+ msgid "Est. Delivery Date"
137
+ msgstr ""
138
+ "Europäische Sommerzeit. Lieferdatum\n"
139
+
140
+ #: includes/class-wc-advanced-shipment-tracking-front.php:766
141
+ #: includes/class-wc-advanced-shipment-tracking-front.php:945
142
+ msgid "Tracking Details"
143
+ msgstr "Verfolgungsdetails"
144
+
145
+ #: includes/class-wc-advanced-shipment-tracking-front.php:772
146
+ #: includes/class-wc-advanced-shipment-tracking-front.php:855
147
+ #: includes/class-wc-advanced-shipment-tracking-front.php:952
148
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1049
149
+ msgid "Destination Details"
150
+ msgstr ""
151
+
152
+ #: includes/class-wc-advanced-shipment-tracking-front.php:811
153
+ #: includes/class-wc-advanced-shipment-tracking-front.php:896
154
+ #: includes/class-wc-advanced-shipment-tracking-front.php:999
155
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1090
156
+ msgid "Origin Details"
157
+ msgstr ""
158
+
159
+ #: includes/class-wc-advanced-shipment-tracking-front.php:846
160
+ #: includes/class-wc-advanced-shipment-tracking-front.php:933
161
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1042
162
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1127
163
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1347
164
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1461
165
+ msgid "view more"
166
+ msgstr "mehr sehen"
167
+
168
+ #: includes/class-wc-advanced-shipment-tracking-front.php:847
169
+ #: includes/class-wc-advanced-shipment-tracking-front.php:934
170
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1043
171
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1128
172
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1348
173
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1462
174
+ msgid "view less"
175
+ msgstr "weniger anzeigen"
176
+
177
+ #: includes/class-wc-advanced-shipment-tracking.php:141
178
+ #: includes/class-wc-advanced-shipment-tracking.php:223
179
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:252
180
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:303
181
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:197
182
+ msgid "Shipment Tracking"
183
+ msgstr "Sendungsverfolgung"
184
+
185
+ #: includes/class-wc-advanced-shipment-tracking.php:246
186
+ #: includes/class-wc-advanced-shipment-tracking.php:410
187
+ msgid "Track Shipment"
188
  msgstr ""
189
+ "Sendung verfolgen\n"
190
 
191
+ #. 1: shipping date
192
+ #: includes/class-wc-advanced-shipment-tracking.php:256
193
+ #, php-format
194
+ msgid "Shipped on %s"
195
+ msgstr "Versand auf% s"
196
 
197
+ #: includes/class-wc-advanced-shipment-tracking.php:310
198
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:478
199
+ msgid "Mark as Shipped?"
200
+ msgstr "Als versandt markieren?"
201
 
202
+ #: includes/class-wc-advanced-shipment-tracking.php:313
203
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:481
204
+ msgid "Mark as Completed?"
205
+ msgstr "Als erledigt markieren?"
206
+
207
+ #: includes/class-wc-advanced-shipment-tracking.php:325
208
  msgid "Add Tracking Info"
209
  msgstr "Tracking-Info hinzufügen"
210
 
211
+ #: includes/class-wc-advanced-shipment-tracking.php:329
212
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:493
213
+ msgid "Tracking number:"
214
+ msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
215
+
216
+ #: includes/class-wc-advanced-shipment-tracking.php:334
217
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:497
218
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:499
219
+ msgid "Shipping Provider:"
220
+ msgstr "Versandanbieter:"
221
+
222
+ #: includes/class-wc-advanced-shipment-tracking.php:335
223
+ msgid "Select Provider"
224
+ msgstr "Wählen Sie Provider aus"
225
+
226
+ #: includes/class-wc-advanced-shipment-tracking.php:372
227
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:519
228
+ msgid "Product Code:"
229
+ msgstr "Produktcode:"
230
+
231
+ #: includes/class-wc-advanced-shipment-tracking.php:380
232
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:523
233
+ msgid "Date shipped:"
234
+ msgstr "Lieferdatum:"
235
+
236
+ #: includes/class-wc-advanced-shipment-tracking.php:381
237
+ #: includes/class-wc-advanced-shipment-tracking.php:384
238
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
239
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
240
+ msgid "Y-m-d"
241
  msgstr ""
 
 
242
 
243
+ #: includes/class-wc-advanced-shipment-tracking.php:393
244
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:533
245
+ msgid "Mark order as:"
246
+ msgstr "Bestellung markieren als:"
247
+
248
+ #: includes/class-wc-advanced-shipment-tracking.php:396
249
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:536
250
+ msgid "Partial Shipped"
251
+ msgstr "Teilweise versandt"
252
+
253
+ #: includes/class-wc-advanced-shipment-tracking.php:409
254
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:548
255
+ msgid "Save Tracking"
256
+ msgstr "Tracking speichern"
257
+
258
+ #: includes/class-wc-advanced-shipment-tracking.php:410
259
+ msgid "Preview:"
260
+ msgstr "Vorschau:"
261
+
262
+ #: includes/class-wc-advanced-shipment-tracking.php:661
263
+ #, php-format
264
  msgid ""
265
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
266
  msgstr ""
267
+ "Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
268
+ "Tracking-Nummer% s gelöscht"
 
269
 
270
+ #: includes/class-wc-advanced-shipment-tracking.php:1008
271
+ #: includes/class-wc-advanced-shipment-tracking.php:1095
272
+ #, php-format
273
+ msgid "Order was shipped with %s and tracking number is: %s"
274
+ msgstr ""
275
+ "Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
276
+
277
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:138
278
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:183
279
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1494
280
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:710
281
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:784
282
+ #: includes/customizer/class-wcast-customizer.php:187
283
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
284
+ #: includes/views/admin_status_notifications.php:124
285
+ #: includes/views/admin_options_osm.php:23
286
+ msgid "Delivered"
287
+ msgstr "Geliefert"
288
+
289
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:143
290
+ #, php-format
291
+ msgid "Delivered <span class=\"count\">(%s)</span>"
292
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
293
+ msgstr[0] ""
294
+ "Geliefert <span class=\"count\">(%s)</span>\n"
295
+ msgstr[1] ""
296
+ "Geliefert <span class=\"count\">(%s)</span>\n"
297
+
298
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:152
299
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:198
300
+ #: includes/views/admin_options_osm.php:106
301
+ msgid "Updated Tracking"
302
  msgstr ""
303
+ "Aktualisiertes Tracking\n"
 
304
 
305
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:157
306
+ #, php-format
307
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
308
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
309
+ msgstr[0] ""
310
+ "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
311
+ msgstr[1] ""
312
+ "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
313
 
314
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:166
315
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:212
316
+ #: includes/views/admin_options_osm.php:65
317
+ msgid "Partially Shipped"
318
+ msgstr ""
319
+ "zum Teil versandt\n"
320
 
321
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:171
322
+ #, php-format
323
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
324
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
325
+ msgstr[0] ""
326
+ "Teilweise versandt <span class=\"count\">(%s)</span>\n"
327
+ msgstr[1] ""
328
+ "Teilweise versandt <span class=\"count\">(%s)</span>\n"
329
+
330
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:331
331
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
332
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:851
333
+ msgid "Shipped"
334
+ msgstr "Versendet"
335
+
336
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:348
337
+ #, php-format
338
+ msgid "Shipped <span class=\"count\">(%s)</span>"
339
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
340
+ msgstr[0] ""
341
+ "Versand <span class=\"count\">(%s)</span>\n"
342
+ msgstr[1] ""
343
+ "Versand <span class=\"count\">(%s)</span>\n"
344
+
345
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:362
346
+ msgid "Change status to shipped"
347
  msgstr ""
348
+ "Ändern Sie den Status in \"Versand\"\n"
 
349
 
350
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:482
351
+ msgid "Completed"
352
+ msgstr "vollendet, fertiggestellt"
353
+
354
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:490
355
+ msgid "Add Tracking Number"
356
+ msgstr "Tracking-Nummer hinzufügen"
357
+
358
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:563
359
+ msgid "Resend delivered order notification"
360
  msgstr ""
361
+ "Senden Sie die gelieferte Bestellbenachrichtigung erneut\n"
 
362
 
363
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
364
+ msgid "There are some issue with sync, Please Retry."
 
 
365
  msgstr ""
366
+ "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
367
+ "\n"
368
 
369
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:782
370
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:797
371
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:812
372
+ msgid "view details"
373
  msgstr ""
374
+ "Details anzeigen\n"
 
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:783
377
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:798
378
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:813
379
+ msgid "hide details"
380
  msgstr ""
381
+ "Details ausblenden\n"
 
382
 
383
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:194
384
  msgid ""
385
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
386
+ "100 orders."
387
+ msgstr ""
388
+
389
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:236
390
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:150
391
+ msgid "Data saved successfully."
392
+ msgstr ""
393
+
394
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:237
395
+ msgid "Really delete this entry? This will not be undo."
396
+ msgstr ""
397
+
398
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:238
399
+ msgid "You can upload only csv file."
400
+ msgstr ""
401
+
402
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:239
403
+ msgid "This browser does not support HTML5."
404
+ msgstr ""
405
+
406
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:240
407
+ msgid "Please upload a valid CSV file."
408
+ msgstr ""
409
+
410
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:310
411
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:329
412
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1556
413
+ msgid "Shipping Providers"
414
+ msgstr ""
415
+
416
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:311
417
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:313
418
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
419
+ #: includes/views/admin_options_bulk_upload.php:11
420
+ msgid "CSV Import"
421
+ msgstr ""
422
+
423
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:317
424
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:345
425
+ #: includes/views/admin_options_addons.php:73
426
+ msgid "Add-ons"
427
+ msgstr ""
428
+
429
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
430
+ #: includes/views/admin_options_osm.php:4
431
+ msgid "Order Status Manager"
432
+ msgstr ""
433
+
434
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
435
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:209
436
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
437
+ msgid "Documentation"
438
+ msgstr "Dokumentation"
439
+
440
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:349
441
+ msgid "How to Video"
442
+ msgstr ""
443
+
444
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:461
445
+ msgid "Custom Statuses"
446
+ msgstr ""
447
+
448
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:572
449
+ #: includes/views/trackship_sidebar.php:13
450
+ msgid "Connected"
451
+ msgstr ""
452
+ "In Verbindung gebracht\n"
453
+
454
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:684
455
+ msgid "Custom Order Statuses"
456
+ msgstr ""
457
+
458
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:852
459
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
460
  msgstr ""
 
 
461
 
462
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:853
463
  msgid ""
464
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
465
+ "will be selected by default when adding tracking info to orders."
466
  msgstr ""
 
 
467
 
468
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:856
469
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
470
+ msgstr ""
471
+
472
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:857
473
  msgid ""
474
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
475
+ "will be selected by default when adding tracking info to orders."
476
  msgstr ""
 
 
477
 
478
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
479
+ msgid "Rename the “Completed” Order status to “Shipped”"
480
+ msgstr ""
481
+
482
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:947
483
+ msgid "API Date Format"
484
+ msgstr ""
485
+
486
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:958
487
+ msgid "On which order status email to include the shipment tracking info?"
488
+ msgstr ""
489
+
490
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:965
491
+ msgid "Enable the Tracking Per Item option by default"
492
+ msgstr ""
493
+
494
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:966
495
  msgid ""
496
+ "This will check the option to add tracking per item when adding tracking "
497
+ "info to orders"
498
+ msgstr ""
499
+
500
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:972
501
+ msgid "Display SKU for the Tracking Per Item"
502
+ msgstr ""
503
+
504
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1443
505
+ msgid "Shipped Order"
506
+ msgstr ""
507
+
508
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1467
509
+ msgid "Mark order as delivered"
510
+ msgstr ""
511
+
512
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1477
513
+ msgid "Add Tracking"
514
+ msgstr ""
515
+
516
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1506
517
+ msgid "Change order status to"
518
+ msgstr ""
519
+
520
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
521
+ msgid "Display Name"
522
  msgstr ""
 
 
523
 
524
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
525
+ #: includes/views/admin_options_shipping_provider.php:95
526
  msgid ""
527
+ "The custom name will display in the tracking info section on the customer "
528
+ "order emails, my-account, shipment tracking page and shipment status emails."
529
+ msgstr ""
530
+
531
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1558
532
+ #: includes/views/admin_options_shipping_provider.php:104
533
+ msgid "API Name"
534
+ msgstr ""
535
+
536
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1559
537
+ msgid "Country"
538
+ msgstr ""
539
+
540
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
541
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1639
542
+ msgid "Default"
543
  msgstr ""
 
 
544
 
545
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1561
546
+ msgid "TrackShip"
547
+ msgstr "TrackShip"
548
+
549
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1562
550
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1640
551
+ msgid "Actions"
552
+ msgstr ""
553
+
554
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1563
555
+ #: includes/views/admin_options_shipping_provider.php:22
556
+ msgid "Active"
557
+ msgstr "Aktiv"
558
+
559
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
560
+ msgid "TrackShip supported"
561
+ msgstr ""
562
+
563
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
564
+ msgid "TrackShip not supported"
565
+ msgstr ""
566
+
567
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1638
568
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
569
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
570
+ #: templates/emails/tracking-info.php:276
571
+ #: templates/myaccount/tracking-info.php:202
572
+ msgid "Provider"
573
+ msgstr "Anbieter"
574
+
575
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1721
576
+ #, php-format
577
+ msgid "You did not create any %s shipping providers yet."
578
+ msgstr ""
579
+
580
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1722
581
+ msgid "Add Custom Provider"
582
+ msgstr ""
583
+
584
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1724
585
+ #: includes/views/admin_options_shipping_provider.php:47
586
+ #, php-format
587
+ msgid "You don't have any %s shipping providers."
588
+ msgstr "Sie haben keine% s Versandanbieter."
589
+
590
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1962
591
+ msgid "Filter by shipping provider"
592
+ msgstr ""
593
+
594
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:206
595
+ #: includes/views/admin_tracking_page_settings.php:8
596
+ #: includes/views/trackship_settings.php:9
597
+ #: includes/views/trackship_settings.php:10
598
+ msgid "Tracking Page"
599
+ msgstr "Tracking-Seite"
600
+
601
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:207
602
+ #: includes/views/trackship_settings.php:12
603
+ #: includes/views/trackship_settings.php:13
604
+ msgid "Notifications"
605
+ msgstr ""
606
+
607
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
608
+ #: includes/views/admin_options_tools.php:13
609
+ #: includes/views/trackship_settings.php:15
610
+ #: includes/views/trackship_settings.php:16
611
+ msgid "Tools"
612
+ msgstr "Werkzeuge"
613
+
614
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:210
615
+ msgid "TrackShip Account"
616
+ msgstr ""
617
+
618
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:287
619
  msgid ""
620
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
621
+ "for the tracking page to work."
622
+ msgstr ""
623
+
624
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:295
625
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:303
626
+ #: includes/views/admin_tracking_page_settings.php:24
627
+ msgid "Select Tracking Page"
628
+ msgstr ""
629
+ "Wählen Sie Tracking-Seite\n"
630
+
631
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:309
632
+ msgid "Use the tracking page in the customer email/my account tracking link"
633
+ msgstr ""
634
+
635
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:315
636
+ #: includes/views/admin_tracking_page_settings.php:39
637
+ msgid "Tracking Page Layout"
638
+ msgstr ""
639
+ "Seitenlayout verfolgen\n"
640
+
641
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:326
642
+ msgid "Select primary color for tracking page"
643
+ msgstr ""
644
+
645
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:332
646
+ msgid "Select content border color for tracking page"
647
+ msgstr ""
648
+
649
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:338
650
+ #: includes/views/admin_tracking_page_settings.php:72
651
+ msgid "Hide Shipping Provider Image"
652
+ msgstr ""
653
+ "Bild des Versandanbieters ausblenden\n"
654
+
655
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:344
656
+ msgid "Hide tracking events details"
657
+ msgstr ""
658
+
659
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:350
660
+ #: includes/views/admin_tracking_page_settings.php:82
661
+ msgid "Remove TrackShip branding"
662
+ msgstr ""
663
+ "Entfernen Sie das TrackShip-Branding\n"
664
+
665
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:377
666
+ msgid "Enable TrackShip"
667
+ msgstr ""
668
+
669
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:383
670
+ msgid "Display Shipment Status Filter on Orders admin"
671
  msgstr ""
 
 
 
672
 
673
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:416
674
  msgid ""
675
+ "Automatically set the Order Status to Delivered when the shipment is "
676
+ "delivered "
677
  msgstr ""
 
 
678
 
679
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:417
680
  msgid ""
681
+ "To enable this option, the 'Delivered' order status should be enabled in the "
682
+ "AST settings."
 
683
  msgstr ""
 
 
 
684
 
685
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:441
686
+ msgid "Shipment status"
687
+ msgstr ""
688
 
689
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:682
690
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:946
691
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:955
692
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:964
693
+ msgid "Get Shipment Status"
694
+ msgstr ""
695
+ "Sendungsstatus abrufen\n"
696
 
697
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:704
698
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:802
699
+ msgid "Pending TrackShip"
700
+ msgstr ""
701
 
702
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:705
703
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:799
704
+ msgid "Unknown"
705
+ msgstr ""
706
 
707
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:706
708
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:781
709
+ #: includes/customizer/class-wcast-customizer.php:141
710
+ msgid "Pre Transit"
711
+ msgstr ""
712
+ "Pre Transit\n"
713
 
714
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:707
715
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:775
716
+ #: includes/customizer/class-wcast-customizer.php:149
717
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
718
+ #: includes/views/admin_status_notifications.php:39
719
+ msgid "In Transit"
720
+ msgstr ""
721
+ "Im Transit\n"
 
 
 
 
 
 
 
722
 
723
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:708
724
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:790
725
+ #: includes/customizer/class-wcast-customizer.php:172
726
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
727
+ #: includes/views/admin_status_notifications.php:90
728
+ msgid "Available For Pickup"
729
+ msgstr ""
730
+ "Zur Abholung bereit\n"
731
 
732
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:709
733
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:787
734
+ #: includes/customizer/class-wcast-customizer.php:179
735
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
736
+ msgid "Out For Delivery"
737
+ msgstr ""
738
+ "Raus zur Lieferung\n"
739
 
740
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:711
741
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:796
742
+ #: includes/customizer/class-wcast-customizer.php:195
743
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
744
+ #: includes/views/admin_status_notifications.php:141
745
+ msgid "Failed Attempt"
746
+ msgstr "Misslungener Versuch"
747
+
748
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:713
749
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:808
750
+ msgid "Carrier Unsupported"
751
  msgstr ""
 
752
 
753
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:714
754
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:793
755
+ #: includes/customizer/class-wcast-customizer.php:165
756
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
757
+ #: includes/views/admin_status_notifications.php:73
758
+ msgid "Return To Sender"
759
+ msgstr ""
760
+ "Zurück an den Absender\n"
761
+
762
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:715
763
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:805
764
+ msgid "Invalid Tracking Number"
765
+ msgstr ""
766
+
767
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:720
768
+ msgid "Filter by shipment status"
769
+ msgstr ""
770
+
771
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:778
772
+ #: includes/customizer/class-wcast-customizer.php:157
773
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
774
+ #: includes/views/admin_status_notifications.php:56
775
+ msgid "On Hold"
776
+ msgstr "In Wartestellung"
777
+
778
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:811
779
+ msgid "Invalid User Key"
780
+ msgstr ""
781
+
782
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:814
783
+ msgid "Wrong Shipping Provider"
784
+ msgstr ""
785
+
786
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:945
787
+ #, php-format
788
+ msgid ""
789
+ "You got %s %s orders with tracking info that were not sent to track on "
790
+ "TrackShip"
791
+ msgstr ""
792
+
793
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:954
794
+ #, php-format
795
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
796
  msgstr ""
 
797
 
798
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:963
799
+ #, php-format
800
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
801
+ msgstr ""
802
+
803
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1419
804
+ msgid "Shipment Providers"
805
+ msgstr ""
806
+ "Versandanbieter\n"
807
 
808
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1422
809
+ #: templates/emails/tracking-info.php:221
810
+ #: templates/emails/tracking-info.php:251
811
+ msgid "Shipment Status"
812
+ msgstr ""
813
+ "Versandstatus\n"
814
 
815
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1425
816
+ msgid "Tracking issues"
817
+ msgstr ""
818
+ "Verfolgung von Problemen\n"
819
+
820
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1431
821
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1439
822
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1456
823
+ msgid "data not available."
824
+ msgstr ""
825
+ "keine Daten verfügbar.\n"
826
+
827
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1462
828
+ msgid "View more on TrackShip"
829
+ msgstr ""
830
+ "Erfahren Sie mehr über TrackShip\n"
831
+
832
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
833
  msgid "Cannot create existing order shipment tracking."
834
  msgstr ""
835
  "Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
836
 
837
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
838
+ msgid "Invalid order ID."
839
+ msgstr ""
840
+ "Ungültige Bestellnummer.\n"
841
 
842
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
843
+ msgid "Special character not allowd in tracking number"
844
  msgstr ""
845
+ "Sonderzeichen in Tracking-Nummer nicht zulässig\n"
846
 
847
+ #: includes/customizer/class-wcast-customizer.php:32
848
+ #: includes/customizer/class-wcast-customizer.php:103
849
+ msgid "Tracking info display"
850
+ msgstr ""
851
+ "Tracking-Info-Anzeige\n"
852
 
853
+ #: includes/customizer/class-wcast-customizer.php:42
854
+ msgid "Order Status Emails"
855
+ msgstr "Bestellstatus-E-Mails"
856
 
857
+ #: includes/customizer/class-wcast-customizer.php:51
858
+ msgid "Shipment Status Emails"
859
+ msgstr "Sendungsstatus-E-Mails"
860
 
861
+ #: includes/customizer/class-wcast-customizer.php:58
862
+ #: includes/views/admin_status_notifications.php:152
863
+ msgid "Admin Notifications"
864
+ msgstr "Admin-Benachrichtigungen"
865
 
866
+ #: includes/customizer/class-wcast-customizer.php:71
867
+ #: includes/views/admin_options_settings.php:15
868
+ msgid "General Settings"
869
+ msgstr "Allgemeine Einstellungen"
870
 
871
+ #: includes/customizer/class-wcast-customizer.php:79
872
+ msgid "Table layout design"
873
+ msgstr "Design des Tabellenlayouts"
874
+
875
+ #: includes/customizer/class-wcast-customizer.php:87
876
+ msgid "Simple layout design"
877
+ msgstr "Einfaches Layout-Design"
878
+
879
+ #: includes/customizer/class-wcast-customizer.php:95
880
+ msgid "Tracking Per Item Add-on"
881
  msgstr ""
 
882
 
883
+ #: includes/customizer/class-wcast-customizer.php:111
884
+ #: includes/customizer/class-wc-email-customizer.php:163
885
+ msgid "Delivered order status email"
886
  msgstr ""
887
+ "Bestellstatus per E-Mail zugestellt\n"
888
 
889
+ #: includes/customizer/class-wcast-customizer.php:118
890
+ msgid "Completed order status email"
891
+ msgstr "E-Mail mit dem Status der abgeschlossenen Bestellung"
892
+
893
+ #: includes/customizer/class-wcast-customizer.php:125
894
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
895
+ msgid "Partially Shipped status email"
896
  msgstr ""
897
+ "Teilweise versendete Status-E-Mail\n"
898
 
899
+ #: includes/customizer/class-wcast-customizer.php:133
900
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
901
+ msgid "Updated Tracking status email"
902
+ msgstr ""
903
+ "Aktualisierte Tracking-Status-E-Mail\n"
904
 
905
+ #: includes/customizer/class-wcast-customizer.php:203
906
+ #: includes/views/admin_status_notifications.php:167
907
+ msgid "Late Shipments"
908
+ msgstr "Verspätete Lieferungen"
909
 
910
+ #: includes/customizer/class-wcast-customizer.php:516
911
+ msgid "Select order to preview"
912
+ msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
913
 
914
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
915
+ msgid "Your order #{order_number} is available for pickup"
916
+ msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
917
+
918
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
919
+ msgid ""
920
+ "Hi there. we thought you'd like to know that your recent order from "
921
+ "{site_title} is available for pickup."
922
+ msgstr ""
923
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
924
+ "{site_title} zur Abholung verfügbar ist."
925
+
926
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
927
+ msgid "Available For Pickup email"
928
+ msgstr ""
929
 
930
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
931
+ msgid "Enable Available For Pickup email"
932
+ msgstr ""
933
+
934
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
935
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
936
+ #: includes/customizer/class-wc-email-customizer.php:197
937
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
938
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
939
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
940
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
941
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
942
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
943
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
944
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:176
945
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
946
+ msgid "Preview order"
947
+ msgstr "Vorschau der Bestellung"
948
+
949
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
950
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
951
+ #: includes/customizer/class-wc-email-customizer.php:226
952
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
953
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
954
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
955
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
956
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
957
+ msgid "E.g. {customer.email}, admin@example.org"
958
+ msgstr "Z.B. {customer.email}, admin@example.org"
959
+
960
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
961
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
962
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
963
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
964
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
965
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
966
+ msgid "Email Subject"
967
+ msgstr ""
968
+
969
+ #. %s: list of placeholders
970
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
971
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
972
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
973
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
974
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
975
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
976
+ #: includes/customizer/class-wc-email-customizer.php:243
977
+ #: includes/customizer/class-wc-email-customizer.php:266
978
+ #: includes/customizer/class-wc-email-customizer.php:309
979
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
980
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
981
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
982
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
983
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
984
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
985
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
986
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
987
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
988
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
989
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
990
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
991
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
992
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
993
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
994
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
995
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
996
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
997
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
998
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
999
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
1000
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:257
1001
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:280
1002
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:392
1003
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
1004
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
1005
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
1006
+ #: includes/emails/class-shipment-delivered-email.php:274
1007
+ #: includes/emails/class-shipment-delivered-email.php:283
1008
+ msgid "Available variables:"
1009
+ msgstr "Verfügbare Variablen:"
1010
+
1011
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
1012
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
1013
+ #: includes/customizer/class-wc-email-customizer.php:289
1014
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
1015
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
1016
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
1017
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
1018
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
1019
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
1020
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:371
1021
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
1022
+ msgid "Email content"
1023
+ msgstr "E-Mail-Inhalt"
1024
+
1025
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
1026
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
1027
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
1028
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
1029
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
1030
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
1031
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:301
1032
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1033
+ msgid "Show tracking details"
1034
+ msgstr "Tracking-Details anzeigen"
1035
+
1036
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1037
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1038
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1039
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1040
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1041
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1042
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:318
1043
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1044
+ msgid "Show order details"
1045
+ msgstr ""
1046
+ "Bestelldetails anzeigen\n"
1047
+
1048
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1049
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1050
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1051
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1052
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1053
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1054
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:335
1055
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1056
+ msgid "Show billing address"
1057
+ msgstr ""
1058
+ "Rechnungsadresse anzeigen\n"
1059
+
1060
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1061
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1062
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1063
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1064
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1065
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1066
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:353
1067
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1068
+ msgid "Show shipping address"
1069
+ msgstr ""
1070
+ "Lieferadresse anzeigen\n"
1071
+
1072
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
1073
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
1074
+ #: includes/customizer/class-wc-email-customizer.php:415
1075
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
1076
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
1077
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
1078
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
1079
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
1080
+ msgid "Google Analytics link tracking"
1081
+ msgstr ""
1082
+ "Google Analytics-Linkverfolgung\n"
1083
+
1084
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1085
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1086
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1087
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1088
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1089
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1090
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1091
+ msgid "This will be appended to URL in the email content"
1092
+ msgstr ""
1093
+ "Dies wird an die URL im E-Mail-Inhalt angehängt\n"
1094
+
1095
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
1096
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:452
1097
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
1098
+ #: includes/customizer/class-wc-delivered-email-customizer.php:454
1099
+ #: includes/customizer/class-wc-email-customizer.php:454
1100
+ #: includes/customizer/class-wc-email-customizer.php:462
1101
+ #: includes/customizer/class-wc-failure-email-customizer.php:446
1102
+ #: includes/customizer/class-wc-failure-email-customizer.php:454
1103
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
1104
+ #: includes/customizer/class-wc-intransit-email-customizer.php:458
1105
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
1106
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:456
1107
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:445
1108
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:453
1109
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1110
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1111
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:299
1112
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:307
1113
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:447
1114
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:455
1115
+ #: includes/customizer/class-wc-onhold-email-customizer.php:450
1116
+ #: includes/customizer/class-wc-onhold-email-customizer.php:458
1117
+ msgid "Please select order to preview."
1118
+ msgstr ""
1119
+ "Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
1120
 
1121
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1122
+ msgid "Your order #{order_number} has been delivered"
1123
+ msgstr ""
1124
+ "Ihre Bestellung Nr. {Order_number} wurde geliefert\n"
1125
 
1126
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
1127
+ #: includes/customizer/class-wc-email-customizer.php:132
1128
+ msgid ""
1129
+ "Hi there. we thought you'd like to know that your recent order from "
1130
+ "{site_title} has been Delivered."
1131
+ msgstr ""
1132
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1133
+ "{site_title} geliefert wurde.\n"
1134
 
1135
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
1136
+ msgid "Delivered email"
1137
+ msgstr ""
1138
 
1139
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1140
+ msgid "Enable Delivered email"
1141
+ msgstr ""
1142
 
1143
+ #: includes/customizer/class-wc-email-customizer.php:130
1144
+ #: includes/emails/class-shipment-delivered-email.php:94
1145
+ msgid "Your {site_title} order is now delivered"
1146
+ msgstr ""
1147
+ "Ihre {site_title} Bestellung wird jetzt geliefert\n"
1148
 
1149
+ #: includes/customizer/class-wc-email-customizer.php:179
1150
+ msgid "Enable Delivered order status email"
1151
  msgstr ""
1152
+ "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
1153
 
1154
+ #: includes/customizer/class-wc-email-customizer.php:201
1155
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1156
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1157
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1158
+ msgid "Please select a order..."
1159
+ msgstr ""
1160
+ "Bitte wählen Sie eine Bestellung aus ...\n"
1161
 
1162
+ #: includes/customizer/class-wc-email-customizer.php:326
1163
+ msgid "Display tracking details"
1164
+ msgstr ""
1165
+ "Tracking-Details anzeigen\n"
1166
 
1167
+ #: includes/customizer/class-wc-email-customizer.php:343
1168
+ msgid "Display order details"
1169
+ msgstr ""
1170
+ "Bestelldetails anzeigen\n"
1171
 
1172
+ #: includes/customizer/class-wc-email-customizer.php:361
1173
+ msgid "Display Shipping Address"
1174
+ msgstr ""
1175
+ "Lieferadresse anzeigen\n"
1176
 
1177
+ #: includes/customizer/class-wc-email-customizer.php:379
1178
+ msgid "Display Billing Address"
1179
+ msgstr ""
1180
+ "Rechnungsadresse anzeigen\n"
1181
 
1182
+ #: includes/customizer/class-wc-email-customizer.php:397
1183
+ msgid "Enable Google Analytics tracking"
1184
  msgstr ""
1185
+ "Aktivieren Sie das Google Analytics-Tracking\n"
1186
 
1187
+ #: includes/customizer/class-wc-email-customizer.php:416
1188
+ msgid ""
1189
+ "This will be appended to URL in the email content – e.g. "
1190
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1191
  msgstr ""
1192
+ "Dies wird an die URL im E-Mail-Inhalt angehängt - z. utm_source = ast & "
1193
+ "utm_medium = email & utm_campaign = geliefert\n"
1194
 
1195
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1196
+ msgid "Your order #{order_number} is Failed Attempt"
1197
+ msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
1198
 
1199
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1200
+ msgid ""
1201
+ "Hi there. we thought you'd like to know that your recent order from "
1202
+ "{site_title} is Failed Attempt"
1203
+ msgstr ""
1204
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
1205
+ "{site_title} fehlgeschlagen ist"
1206
 
1207
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1208
+ msgid "Failed Attempt email"
1209
+ msgstr ""
1210
 
1211
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1212
+ msgid "Enable Failed Attempt email"
1213
+ msgstr ""
 
1214
 
1215
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1216
+ msgid "Your order #{order_number} is in transit"
1217
+ msgstr ""
1218
+ "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
1219
 
1220
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1221
+ msgid ""
1222
+ "Hi there. we thought you'd like to know that your recent order from "
1223
+ "{site_title} is in transit"
1224
  msgstr ""
1225
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1226
+ "{site_title} unterwegs ist\n"
1227
 
1228
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1229
+ msgid "In Transit email"
1230
+ msgstr ""
1231
 
1232
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1233
+ msgid "Enable In Transit email"
1234
+ msgstr ""
1235
 
1236
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1237
+ msgid "Your order #{order_number} is out for delivery"
1238
+ msgstr ""
1239
+ "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
1240
 
1241
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1242
+ msgid ""
1243
+ "Hi there. we thought you'd like to know that your recent order from "
1244
+ "{site_title} is out for delivery."
1245
+ msgstr ""
1246
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1247
+ "{site_title} nicht lieferbar ist.\n"
1248
 
1249
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1250
+ msgid "Out For Delivery email"
1251
+ msgstr ""
1252
 
1253
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1254
+ msgid "Enable Out For Delivery email"
1255
+ msgstr ""
1256
 
1257
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1258
+ msgid "Your order #{order_number} has returned to sender"
1259
+ msgstr ""
1260
+ "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
1261
 
1262
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1263
+ msgid ""
1264
+ "Hi there. we thought you'd like to know that your recent order from "
1265
+ "{site_title} has been returned to sender."
1266
+ msgstr ""
1267
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1268
+ "{site_title} an den Absender zurückgeschickt wurde.\n"
1269
 
1270
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1271
+ msgid "Return To Sender email"
1272
  msgstr ""
 
1273
 
1274
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1275
+ msgid "Enable Return To Sender email"
1276
+ msgstr ""
1277
 
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1279
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1280
+ #: templates/emails/tracking-info.php:288
1281
+ #: templates/myaccount/tracking-info.php:212
1282
+ msgid "Tracking Number"
1283
+ msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1284
 
1285
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1287
+ msgid "Shipped Date"
1288
+ msgstr "Versanddatum"
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
1291
+ msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1292
+ msgstr ""
1293
+ "Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
1294
 
1295
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1296
+ msgid "Select an order to preview and design the tracking info display."
 
 
1297
  msgstr ""
1298
+ "Wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen und die Anzeige "
1299
+ "der Tracking-Informationen zu gestalten.\n"
1300
 
1301
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1302
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1303
+ msgid "Tracking display layout"
1304
+ msgstr "Tracking-Display-Layout"
1305
 
1306
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1307
+ msgid "Select Template"
1308
  msgstr ""
1309
+ "Vorlage auswählen\n"
 
 
 
 
 
1310
 
1311
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1312
+ msgid "Table Layout"
1313
+ msgstr ""
1314
+ "Tabellenlayout\n"
1315
 
1316
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1317
+ msgid "Tracking Display Position"
1318
+ msgstr "Verfolgung der Anzeigeposition"
 
1319
 
1320
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1321
+ msgid "Before Order Details"
1322
+ msgstr "Vor der Bestellung Details"
1323
 
1324
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1325
+ msgid "After Order Details"
1326
+ msgstr "Nach Auftragsdetails"
1327
 
1328
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1329
+ msgid "Hide Tracking Header"
1330
+ msgstr "Tracking-Header ausblenden"
1331
 
1332
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1333
+ msgid "Tracking Header text"
1334
  msgstr ""
1335
+ "Tracking-Header-Text\n"
1336
 
1337
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1338
+ msgid "Tracking Information"
1339
+ msgstr "Tracking-Informationen"
1340
+
1341
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1342
+ msgid "Additional text after header"
1343
+ msgstr "Zusätzlicher Text nach Kopfzeile"
1344
+
1345
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1346
+ msgid "Hide tracking information from order line items"
1347
+ msgstr "Verfolgen Sie Tracking-Informationen aus Auftragspositionen"
1348
+
1349
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1350
+ msgid "Simple Layout Design"
1351
  msgstr ""
1352
+ "Einfaches Layout Design\n"
1353
 
1354
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1355
+ msgid "Content"
1356
+ msgstr "Inhalt"
1357
 
1358
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1359
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1360
+ msgid "Content font size"
 
1361
  msgstr ""
1362
+ "Schriftgröße des Inhalts\n"
 
1363
 
1364
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1365
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1366
+ msgid "Content font color"
 
1367
  msgstr ""
1368
+ "Schriftfarbe des Inhalts\n"
 
1369
 
1370
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1371
+ msgid "Show bottom border"
 
 
1372
  msgstr ""
1373
+ "Zeige unteren Rand\n"
1374
 
1375
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1376
+ msgid "Bottom border color"
1377
  msgstr ""
1378
+ "Farbe des unteren Randes\n"
1379
 
1380
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1381
+ msgid "Table layout Design"
1382
+ msgstr ""
1383
+ "Tabellenlayout Design\n"
1384
 
1385
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1386
+ msgid "Display shipping provider name"
1387
+ msgstr ""
1388
+ "Name des Versandanbieters anzeigen\n"
1389
 
1390
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1391
+ msgid "Display shipping provider image"
1392
+ msgstr ""
1393
+ "Bild des Versandanbieters anzeigen\n"
1394
 
1395
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1396
+ msgid "Hide the ship date"
1397
+ msgstr ""
1398
+ "Verstecken Sie das Versanddatum\n"
1399
 
1400
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1401
+ msgid "Use tracking number as a link"
1402
+ msgstr ""
1403
+ "Verwenden Sie die Tracking-Nummer als Link\n"
1404
 
1405
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1406
+ msgid "Table Headers"
1407
+ msgstr ""
1408
+ "Tabellenüberschriften\n"
1409
 
1410
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1411
+ msgid "Hide Table Headers"
1412
+ msgstr ""
1413
+ "Tabellenüberschriften ausblenden\n"
1414
 
1415
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1416
+ msgid "Provider header text"
1417
+ msgstr ""
1418
+ "Provider-Header-Text\n"
1419
 
1420
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1421
+ msgid "Tracking Number header text"
1422
  msgstr ""
1423
+ "Tracking-Nummer-Header-Text\n"
1424
 
1425
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1426
+ msgid "Ship date header text"
 
 
1427
  msgstr ""
1428
+ "Versanddatum Kopfzeilentext\n"
 
 
1429
 
1430
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1431
+ msgid "Track Label"
1432
+ msgstr "Track Label"
1433
 
1434
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1435
+ msgid "Track header text"
1436
  msgstr ""
1437
+ "Verfolgen Sie den Header-Text\n"
1438
 
1439
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1440
+ msgid "Headers font size"
1441
+ msgstr ""
1442
+ "Schriftgröße der Überschriften\n"
1443
 
1444
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1445
+ msgid "Headers font color"
1446
+ msgstr ""
1447
+ "Schriftfarbe der Überschriften\n"
1448
 
1449
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1450
+ msgid "Table Content"
1451
+ msgstr ""
1452
+ "Tabelleninhalt\n"
1453
 
1454
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1455
+ msgid "Padding"
1456
+ msgstr "Polsterung"
1457
 
1458
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1459
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1460
+ msgid "Background color"
1461
+ msgstr ""
1462
+ "Hintergrundfarbe\n"
1463
 
1464
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1465
+ #: includes/views/admin_tracking_page_settings.php:61
1466
+ msgid "Border color"
1467
+ msgstr "Randfarbe"
1468
 
1469
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1470
+ msgid "Border size"
 
1471
  msgstr ""
1472
+ "Rahmengrösse\n"
 
 
 
 
1473
 
1474
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1475
+ msgid "Content Text align"
1476
+ msgstr ""
1477
+ "Inhalt Text ausrichten\n"
1478
 
1479
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1480
+ msgid "Content line height"
1481
+ msgstr "Höhe der Inhaltszeile"
1482
 
1483
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1484
+ msgid "Content font weight"
 
 
1485
  msgstr ""
1486
+ "Schriftgröße des Inhalts\n"
 
 
 
 
 
 
1487
 
1488
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1489
+ msgid "Tracking Link"
 
 
 
 
1490
  msgstr ""
1491
+ "Tracking-Link\n"
 
1492
 
1493
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1494
+ msgid "Font Color"
1495
+ msgstr ""
1496
+ "Schriftfarbe\n"
1497
 
1498
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1499
+ msgid "Border"
1500
+ msgstr "Rand"
1501
 
1502
+ #: includes/customizer/class-wc-tracking-info-customizer.php:1027
1503
+ msgid ""
1504
+ "To preview the tracking display, please add tracking information to at least "
1505
+ "one order and choose it in the preview order selection."
 
1506
  msgstr ""
1507
+ "Um eine Vorschau der Tracking-Anzeige anzuzeigen, fügen Sie mindestens einer "
1508
+ "Bestellung Tracking-Informationen hinzu und wählen Sie diese in der Auswahl "
1509
+ "der Vorschau-Bestellung aus.\n"
1510
 
1511
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1512
+ msgid "Your {site_title} order is now partially shipped"
1513
+ msgstr ""
1514
+ "Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
 
 
 
 
 
1515
 
1516
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1517
  msgid ""
1518
+ "Hi there. we thought you'd like to know that your recent order from "
1519
+ "{site_title} has been partially shipped."
1520
  msgstr ""
1521
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1522
+ "{site_title} teilweise versendet wurde.\n"
1523
 
1524
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1525
+ msgid "Enable Partially Shipped order status email"
 
1526
  msgstr ""
1527
+ "Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
 
1528
 
1529
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1530
+ msgid "Your {site_title} order is now updated tracking"
 
 
 
 
1531
  msgstr ""
1532
+ "Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
 
1533
 
1534
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1535
+ msgid ""
1536
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1537
+ "recent order from {site_title} has been updated."
1538
  msgstr ""
1539
+ "Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
1540
+ "letzte Bestellung von {site_title} aktualisiert wurde.\n"
1541
 
1542
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1543
+ msgid "Enable Updated Tracking order status email"
1544
+ msgstr ""
1545
+ "Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
1546
+ "Sendungsverfolgung\n"
1547
 
1548
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:126
1549
+ msgid "Late shipment for order #{order_number}"
1550
+ msgstr "Verspäteter Versand für Bestellnummer {Bestellnummer}"
1551
 
1552
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:127
1553
+ msgid "Late shipment"
1554
+ msgstr "Verspäteter Versand"
 
1555
 
1556
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:128
1557
+ msgid "This shipment exceeded {shipment_length} days."
1558
+ msgstr "Diese Sendung hat die {Sendungslänge} Tage überschritten."
 
 
 
1559
 
1560
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:161
1561
+ msgid "Late Shipments admin email"
1562
+ msgstr "Administrator-E-Mail für verspätete Sendungen"
 
 
1563
 
1564
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:198
1565
+ msgid "Enable Late Shipments admin email"
1566
+ msgstr "Aktivieren Sie die Administrator-E-Mail für verspätete Sendungen"
1567
 
1568
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:241
1569
+ msgid "E.g. {admin_email}, admin@example.org"
1570
+ msgstr "Z.B. {admin_email}, admin@example.org"
1571
 
1572
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1573
+ msgid "Your order #{order_number} is on hold"
1574
+ msgstr "Ihre Bestellnummer {Bestellnummer} wird gehalten"
1575
 
1576
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1577
+ msgid ""
1578
+ "Hi there. we thought you'd like to know that your recent order from "
1579
+ "{site_title} is on hold"
1580
+ msgstr ""
1581
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1582
+ "{site_title} zurückgestellt wurde"
1583
 
1584
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1585
+ msgid "On Hold email"
1586
+ msgstr ""
1587
 
1588
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1589
+ msgid "Enable On Hold email"
1590
+ msgstr ""
1591
 
1592
+ #: includes/emails/class-shipment-delivered-email.php:32
1593
+ msgid "Delivered order"
1594
+ msgstr ""
1595
+ "Gelieferte Bestellung\n"
1596
 
1597
+ #: includes/emails/class-shipment-delivered-email.php:33
1598
  msgid ""
1599
+ "Order delivered emails are sent to customers when their orders are marked "
1600
+ "delivered and usually indicate that their orders have been shipped."
1601
  msgstr ""
1602
+ "Von der Bestellung zugestellte E-Mails werden an Kunden gesendet, wenn ihre "
1603
+ "Bestellungen als zugestellt markiert sind und in der Regel angeben, dass "
1604
+ "ihre Bestellungen versandt wurden.\n"
1605
 
1606
+ #: includes/emails/class-shipment-delivered-email.php:298
1607
+ msgid "Click Here"
1608
+ msgstr ""
1609
+ "Klick hier\n"
 
 
 
 
 
 
1610
 
1611
+ #: includes/emails/class-shipment-delivered-email.php:299
1612
+ msgid "Edit in customizer"
1613
  msgstr ""
1614
+ "Bearbeiten Sie im Customizer\n"
1615
 
1616
+ #: includes/views/admin_options_bulk_upload.php:12
1617
+ msgid ""
1618
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1619
+ "file"
1620
+ msgstr ""
1621
 
1622
+ #: includes/views/admin_options_bulk_upload.php:26
1623
+ msgid "Upload a CSV file from your computer:"
1624
+ msgstr ""
1625
 
1626
+ #: includes/views/admin_options_bulk_upload.php:34
1627
+ msgid "Choose the Shipped Date format"
1628
  msgstr ""
 
1629
 
1630
+ #: includes/views/admin_options_bulk_upload.php:48
1631
+ msgid "Replace tracking information?"
1632
  msgstr ""
 
1633
 
1634
+ #: includes/views/admin_options_bulk_upload.php:48
1635
  msgid ""
1636
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1637
+ "info added to the orders."
1638
  msgstr ""
 
 
 
 
 
 
 
 
1639
 
1640
  #: includes/views/admin_options_bulk_upload.php:57
1641
+ msgid "Continue"
1642
+ msgstr "Fortsetzen"
1643
+
1644
+ #: includes/views/admin_options_bulk_upload.php:59
1645
  msgid "Settings Saved."
1646
  msgstr "Einstellungen gespeichert."
1647
 
1648
+ #: includes/views/admin_options_bulk_upload.php:77
1649
+ msgid "Your tracking information are now being imported..."
1650
+ msgstr "Ihre Tracking-Informationen werden jetzt importiert ..."
 
 
 
 
 
 
 
 
1651
 
1652
+ #: includes/views/admin_options_bulk_upload.php:83
1653
+ msgid "Upload Progress - "
1654
+ msgstr "Upload-Fortschritt -"
1655
 
1656
+ #: includes/views/admin_options_bulk_upload.php:92
1657
+ msgid "Upload again"
1658
+ msgstr "Erneut hochladen"
 
 
 
1659
 
1660
+ #: includes/views/admin_options_bulk_upload.php:93
1661
+ msgid "View Orders"
1662
+ msgstr "Bestellungen anzeigen"
 
 
 
 
 
 
1663
 
1664
+ #: includes/views/admin_options_settings.php:22
1665
+ #: includes/views/admin_trackship_dashboard.php:45
1666
+ #: includes/views/admin_tracking_page_settings.php:87
1667
+ #: includes/views/admin_tracking_page_settings.php:108
1668
+ msgid "Save Changes"
1669
+ msgstr ""
1670
+ "Änderungen speichern\n"
1671
 
1672
+ #: includes/views/admin_options_settings.php:34
1673
+ msgid "Tracking Info Display"
1674
+ msgstr ""
1675
+ "Tracking-Info-Anzeige\n"
1676
 
1677
+ #: includes/views/admin_options_settings.php:43
1678
+ msgid ""
1679
+ "Use a customizer with a preview to customize the tracking info display on "
1680
+ "customer order emails and my-account."
1681
+ msgstr ""
1682
+ "Verwenden Sie einen Customizer mit einer Vorschau, um die Anzeige der "
1683
+ "Tracking-Informationen in Kundenbestellungs-E-Mails und in meinem Konto "
1684
+ "anzupassen."
1685
 
1686
+ #: includes/views/admin_options_settings.php:44
1687
+ msgid "Launch Customizer"
1688
  msgstr ""
1689
+ "Starten Sie den Customizer\n"
1690
 
1691
+ #: includes/views/admin_options_shipping_provider.php:23
1692
+ msgid "Inactive"
1693
+ msgstr "Inaktiv"
1694
 
1695
+ #: includes/views/admin_options_shipping_provider.php:24
1696
+ msgid "Custom"
1697
+ msgstr "Benutzerdefiniert"
1698
+
1699
+ #: includes/views/admin_options_shipping_provider.php:34
1700
+ msgid "Search by provider / country"
1701
  msgstr ""
1702
+ "Suche nach Anbieter / Land\n"
1703
 
1704
+ #: includes/views/admin_options_shipping_provider.php:53
1705
+ msgid "Add Custom Shipping Provider"
1706
+ msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
1707
+
1708
+ #: includes/views/admin_options_shipping_provider.php:56
1709
+ #: includes/views/admin_options_shipping_provider.php:98
1710
  msgid "Shipping Provider"
1711
+ msgstr ""
1712
 
1713
+ #: includes/views/admin_options_shipping_provider.php:59
1714
+ #: includes/views/admin_options_shipping_provider.php:101
1715
+ msgid "Custom display name"
1716
+ msgstr ""
1717
 
1718
+ #: includes/views/admin_options_shipping_provider.php:63
1719
+ #: includes/views/admin_options_shipping_provider.php:108
1720
+ msgid "Shipping Country"
1721
+ msgstr ""
1722
+ "Lieferungsland\n"
1723
 
1724
+ #: includes/views/admin_options_shipping_provider.php:64
1725
+ #: includes/views/admin_options_shipping_provider.php:109
1726
+ msgid "Global"
1727
+ msgstr "Global"
 
1728
 
1729
+ #: includes/views/admin_options_shipping_provider.php:74
1730
+ #: includes/views/admin_options_shipping_provider.php:119
1731
+ msgid "Upload"
1732
+ msgstr "Hochladen"
1733
 
1734
+ #: includes/views/admin_options_shipping_provider.php:80
1735
+ #: includes/views/admin_options_shipping_provider.php:125
1736
+ msgid ""
1737
+ "You can use the variables %number%, %postal_code% and %country_code% in the "
1738
+ "URL, for more info, check our "
1739
+ msgstr ""
1740
 
1741
+ #: includes/views/admin_options_shipping_provider.php:80
1742
+ #: includes/views/admin_options_shipping_provider.php:125
1743
+ #, php-format
1744
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1745
  msgstr ""
 
1746
 
1747
+ #: includes/views/admin_options_shipping_provider.php:94
1748
+ msgid "Edit Shipping Provider"
1749
  msgstr ""
 
1750
 
1751
+ #: includes/views/admin_options_shipping_provider.php:131
1752
+ msgid "Update"
1753
+ msgstr ""
1754
+
1755
+ #: includes/views/admin_options_shipping_provider.php:132
1756
+ msgid "Reset"
1757
  msgstr ""
 
1758
 
1759
+ #: includes/views/admin_options_shipping_provider.php:142
1760
+ #: includes/views/admin_options_shipping_provider.php:153
1761
  msgid "Sync Shipping Providers"
1762
  msgstr ""
1763
  "Versandanbieter synchronisieren\n"
1764
 
1765
+ #: includes/views/admin_options_shipping_provider.php:143
1766
  msgid ""
1767
  "Syncing the shipping providers list add or updates the pre-set shipping "
1768
  "providers and will not effect custom shipping providers."
1771
  "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
1772
  "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
1773
 
1774
+ #: includes/views/admin_options_shipping_provider.php:145
1775
+ msgid "Providers Added"
1776
+ msgstr "Anbieter hinzugefügt"
 
 
 
 
 
 
 
 
 
 
1777
 
1778
+ #: includes/views/admin_options_shipping_provider.php:146
1779
+ msgid "Providers Updated"
1780
+ msgstr "Anbieter aktualisiert"
 
1781
 
1782
+ #: includes/views/admin_options_shipping_provider.php:147
1783
+ msgid "Providers Deleted"
1784
+ msgstr "Anbieter gelöscht"
1785
 
1786
+ #: includes/views/admin_options_shipping_provider.php:149
1787
+ msgid "Shipping providers database reset successfully."
1788
+ msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
1789
 
1790
+ #: includes/views/admin_options_shipping_provider.php:151
1791
  msgid ""
1792
+ "Reset providers database, it will reset all your shipping provider database"
 
 
1793
  msgstr ""
1794
+ "Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
1795
+ "Datenbank zurück"
 
 
1796
 
1797
+ #: includes/views/admin_options_trackship_integration.php:16
1798
+ msgid "Watch Video"
1799
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1800
 
1801
+ #: includes/views/admin_options_trackship_integration.php:17
1802
+ msgid "Start your free trial"
1803
  msgstr ""
 
1804
 
1805
+ #: includes/views/admin_options_addons.php:76
1806
+ msgid "License"
 
1807
  msgstr ""
 
1808
 
1809
+ #: includes/views/admin_trackship_dashboard.php:13
1810
+ #, php-format
1811
+ msgid ""
1812
+ "You have %s Shipped Orders from the last 30 days that you can bulk send to "
1813
+ "<a href=\"javascript:void(0);\" class=\"tool_link\">Get Shipment Status</a>"
1814
+ msgstr ""
1815
 
1816
+ #: includes/views/admin_trackship_dashboard.php:33
1817
+ msgid "Automation"
1818
+ msgstr ""
1819
 
1820
+ #: includes/views/admin_tracking_page_settings.php:21
1821
+ msgid "Enable a tracking page on your store"
1822
  msgstr ""
 
1823
 
1824
+ #: includes/views/admin_tracking_page_settings.php:31
1825
+ msgid "Other"
1826
  msgstr ""
 
1827
 
1828
+ #: includes/views/admin_tracking_page_settings.php:36
 
 
 
 
1829
  msgid ""
1830
+ "Note - If you select a different page than the Shipment Tracking page, add "
1831
+ "the [wcast-track-order] shortcode to the selected page content."
1832
  msgstr ""
1833
+ "Hinweis - Wenn Sie eine andere Seite als die Seite \"Sendungsverfolgung\" "
1834
+ "auswählen, fügen Sie dem ausgewählten Seiteninhalt den Shortcode [wcast-"
1835
+ "track-order] hinzu.\n"
 
 
 
 
 
 
 
 
 
 
1836
 
1837
+ #: includes/views/admin_tracking_page_settings.php:36
1838
+ msgid "more info"
1839
+ msgstr ""
1840
+ "Mehr Info\n"
1841
 
1842
+ #: includes/views/admin_tracking_page_settings.php:55
1843
+ msgid "Text Color"
1844
+ msgstr ""
1845
+ "Textfarbe\n"
1846
 
1847
+ #: includes/views/admin_tracking_page_settings.php:77
1848
+ msgid "Hide tracking event details"
1849
+ msgstr ""
1850
+ "Tracking-Ereignisdetails ausblenden\n"
1851
 
1852
+ #: includes/views/admin_tracking_page_settings.php:97
1853
+ msgid "Preview"
1854
+ msgstr "Vorschau"
1855
 
1856
+ #: includes/views/admin_status_notifications.php:3
1857
+ msgid "Shipment Status Email Notifications"
 
 
 
1858
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
1859
 
1860
+ #: includes/views/admin_status_notifications.php:107
1861
+ msgid "Out For delivery"
1862
+ msgstr ""
1863
 
1864
+ #: includes/views/admin_options_tools.php:11
1865
+ msgid "Tracking info sent to Trackship for all Orders."
1866
+ msgstr ""
1867
 
1868
+ #: includes/views/admin_options_tools.php:14
1869
  msgid ""
1870
+ "You can send all your orders from the last 30 days to get shipment status "
1871
+ "from TrackShip:"
1872
  msgstr ""
1873
+ "Sie können alle Ihre Bestellungen der letzten 30 Tage senden, um den "
1874
+ "Sendungsstatus von TrackShip zu erhalten:\n"
1875
 
1876
+ #: includes/views/admin_options_osm.php:39
1877
+ #: includes/views/admin_options_osm.php:81
1878
+ #: includes/views/admin_options_osm.php:122
1879
+ msgid "Light Font"
1880
  msgstr ""
1881
+ "Leichte Schrift\n"
1882
 
1883
+ #: includes/views/admin_options_osm.php:40
1884
+ #: includes/views/admin_options_osm.php:82
1885
+ #: includes/views/admin_options_osm.php:123
1886
+ msgid "Dark Font"
 
1887
  msgstr ""
1888
+ "Dunkle Schrift\n"
 
 
 
 
1889
 
1890
+ #: includes/views/admin_options_osm.php:44
1891
+ #: includes/views/admin_options_osm.php:86
1892
+ #: includes/views/admin_options_osm.php:127
1893
+ msgid "Send Email"
 
 
1894
  msgstr ""
1895
+ "E-Mail senden\n"
 
1896
 
1897
+ #: includes/views/trackship_sidebar.php:12
1898
+ msgid "TrackShip Connection Status"
1899
+ msgstr "TrackShip-Verbindungsstatus"
1900
 
1901
+ #: includes/views/trackship_sidebar.php:14
1902
+ msgid "Account Dashboard"
1903
+ msgstr ""
 
 
 
1904
 
1905
+ #: includes/views/trackship_sidebar.php:20
1906
+ msgid "Trackers Balance"
1907
+ msgstr ""
1908
 
1909
+ #: includes/views/trackship_sidebar.php:24
1910
+ msgid "Subscription Plan"
1911
+ msgstr "Abonnementplan"
1912
+
1913
+ #: includes/views/trackship_sidebar.php:28
1914
+ msgid "Upgrade Now"
1915
  msgstr ""
 
 
1916
 
1917
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:13
1918
+ msgid "Download sample csv"
1919
+ msgstr "Beispiel-CSV herunterladen"
1920
+
1921
+ #: templates/emails/tracking-info.php:281
1922
+ #: templates/myaccount/tracking-info.php:207
1923
+ msgid "Provider Name"
1924
+ msgstr "Anbietername"
1925
+
1926
+ #. %s: Order ID.
1927
+ #: templates/emails/wcast-email-order-details.php:48
1928
  #, php-format
1929
+ msgid "Order number: %s"
1930
+ msgstr ""
1931
+ "Bestellnummer:% s\n"
1932
 
1933
+ #: templates/emails/plain/tracking-info.php:35
 
1934
  #, php-format
1935
+ msgid "Shipment status changed to %s"
1936
+ msgstr "Der Sendungsstatus wurde in% s geändert"
1937
 
1938
+ #. Name of the plugin
1939
+ msgid "Advanced Shipment Tracking for WooCommerce"
1940
+ msgstr ""
1941
 
1942
+ #. Description of the plugin
1943
+ msgid ""
1944
+ "Add shipment tracking information to your WooCommerce orders and provide "
1945
+ "customers with an easy way to track their orders. Shipment tracking Info "
1946
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1947
+ "order complete email."
1948
  msgstr ""
 
1949
 
1950
+ #. URI of the plugin
1951
+ msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
1952
  msgstr ""
 
1953
 
1954
  #. Author of the plugin
1955
  msgid "zorem"
1956
+ msgstr ""
1957
+
1958
+ #. Author URI of the plugin
1959
+ msgid "https://www.zorem.com"
1960
+ msgstr ""
lang/woo-advanced-shipment-tracking-el.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-el.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 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,1706 @@ 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 +1720,191 @@ 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 "Παρακολούθηση αποστολής"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-09-01 05:43+0000\n"
6
+ "PO-Revision-Date: 2020-09-01 12:02+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.3; wp-5.5"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:122
 
18
  #, php-format
19
+ msgid ""
20
+ "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
+ "Shipment Tracking!"
22
+ msgstr ""
23
+ "Παρακαλούμε εγκαταστήστε και ενεργοποιήστε %sWooCommerce%s for WooCommerce "
24
+ "Advanced Shipment Tracking!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:468
27
+ #, php-format
28
+ msgid ""
29
+ "We detected %s orders that use the Delivered order status, You can reassign "
30
+ "these orders to a different status"
31
+ msgstr ""
32
 
33
+ #: woocommerce-advanced-shipment-tracking.php:480
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
 
40
+ #: woocommerce-advanced-shipment-tracking.php:492
41
+ #, php-format
42
+ msgid ""
43
+ "We detected %s orders that use the Updated Tracking order status, You can "
44
+ "reassign these orders to a different status"
45
+ msgstr ""
46
 
47
+ #: woocommerce-advanced-shipment-tracking.php:502
48
+ #: includes/views/admin_options_osm.php:139
49
+ #, php-format
50
  msgid ""
51
+ "<strong>Note:</strong> - If you use the custom order status, when you "
52
+ "deactivate the plugin, you must register the order status, otherwise these "
53
+ "orders will not display on your orders admin. You can find more information "
54
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
55
+ "php here."
56
+ msgstr ""
57
+ "Σημείωση: - Εάν χρησιμοποιείτε την κατάσταση της προσαρμοσμένης παραγγελίας, "
58
+ "όταν απενεργοποιείτε την προσθήκη, πρέπει να καταχωρήσετε την κατάσταση της "
59
+ "παραγγελίας, διαφορετικά αυτές οι εντολές δε θα εμφανιστούν στις εντολές σας "
60
+ "admin. Μπορείτε να βρείτε περισσότερες πληροφορίες και το απόσπασμα κώδικα "
61
+ "για χρήση στις λειτουργίες.php εδώ.\n"
62
+
63
+ #: includes/class-wc-advanced-shipment-tracking-front.php:158
64
+ #: includes/class-wc-advanced-shipment-tracking-front.php:360
65
+ #: includes/class-wc-advanced-shipment-tracking-front.php:385
66
+ #: includes/class-wc-advanced-shipment-tracking-front.php:412
67
+ msgid ""
68
+ "To track your order please enter your Order ID in the box below and press "
69
+ "the \"Track\" button. This was given to you on your receipt and in the "
70
+ "confirmation email you should have received."
71
+ msgstr ""
72
+ "Για να παρακολουθήσετε την παραγγελία σας, εισαγάγετε το αναγνωριστικό "
73
+ "παραγγελίας σας στο παρακάτω πλαίσιο και πατήστε το κουμπί \"Παρακολούθηση\"."
74
+ " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
75
+ "να έχετε λάβει.\n"
76
+
77
+ #: includes/class-wc-advanced-shipment-tracking-front.php:159
78
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
79
+ #: includes/class-wc-advanced-shipment-tracking-front.php:361
80
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
81
+ #: includes/class-wc-advanced-shipment-tracking-front.php:386
82
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
83
+ #: includes/class-wc-advanced-shipment-tracking-front.php:413
84
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
85
+ msgid "Found in your order confirmation email."
86
  msgstr ""
87
+ "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
 
 
 
 
88
 
89
+ #: includes/class-wc-advanced-shipment-tracking-front.php:160
90
+ #: includes/class-wc-advanced-shipment-tracking-front.php:362
91
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
92
+ #: includes/class-wc-advanced-shipment-tracking-front.php:414
93
+ msgid "Order Email"
94
  msgstr ""
95
+ "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
96
+
97
+ #: includes/class-wc-advanced-shipment-tracking-front.php:163
98
+ #: includes/class-wc-advanced-shipment-tracking-front.php:365
99
+ #: includes/class-wc-advanced-shipment-tracking-front.php:390
100
+ #: includes/class-wc-advanced-shipment-tracking-front.php:417
101
+ #: includes/customizer/class-wc-tracking-info-customizer.php:149
102
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
103
+ #: templates/emails/tracking-info.php:311
104
+ #: templates/myaccount/tracking-info.php:232
105
+ msgid "Track"
106
+ msgstr "Παρακολούθηση"
107
 
108
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
109
+ #: includes/class-wc-advanced-shipment-tracking-front.php:268
110
+ #: includes/class-wc-advanced-shipment-tracking-front.php:504
111
+ #: includes/class-wc-advanced-shipment-tracking-front.php:521
112
+ #, php-format
113
+ msgid "Shipment - %s (out of %s)"
114
+ msgstr ""
115
+ "Αποστολή -% s (από% s)\n"
116
+
117
+ #: includes/class-wc-advanced-shipment-tracking-front.php:284
118
+ #: includes/class-wc-advanced-shipment-tracking-front.php:537
119
+ msgid "Tracking details not found in TrackShip"
120
+ msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
121
+
122
+ #: includes/class-wc-advanced-shipment-tracking-front.php:366
123
+ msgid "Order not found."
124
+ msgstr "Η παραγγελία δεν βρέθηκε."
125
+
126
+ #: includes/class-wc-advanced-shipment-tracking-front.php:418
127
+ msgid "Tracking details not found."
128
+ msgstr "Δεν βρέθηκαν λεπτομέρειες παρακολούθησης."
129
+
130
+ #: includes/class-wc-advanced-shipment-tracking-front.php:597
131
+ #: includes/class-wc-advanced-shipment-tracking-front.php:627
132
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1205
133
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1223
134
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1358
135
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1376
136
+ msgid "Est. Delivery Date"
137
+ msgstr ""
138
+ "Est. Ημερομηνία παράδοσης\n"
139
+
140
+ #: includes/class-wc-advanced-shipment-tracking-front.php:766
141
+ #: includes/class-wc-advanced-shipment-tracking-front.php:945
142
+ msgid "Tracking Details"
143
+ msgstr "Στοιχεία παρακολούθησης"
144
+
145
+ #: includes/class-wc-advanced-shipment-tracking-front.php:772
146
+ #: includes/class-wc-advanced-shipment-tracking-front.php:855
147
+ #: includes/class-wc-advanced-shipment-tracking-front.php:952
148
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1049
149
+ msgid "Destination Details"
150
+ msgstr ""
151
+
152
+ #: includes/class-wc-advanced-shipment-tracking-front.php:811
153
+ #: includes/class-wc-advanced-shipment-tracking-front.php:896
154
+ #: includes/class-wc-advanced-shipment-tracking-front.php:999
155
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1090
156
+ msgid "Origin Details"
157
+ msgstr ""
158
+
159
+ #: includes/class-wc-advanced-shipment-tracking-front.php:846
160
+ #: includes/class-wc-advanced-shipment-tracking-front.php:933
161
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1042
162
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1127
163
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1347
164
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1461
165
+ msgid "view more"
166
+ msgstr "Δείτε περισσότερα"
167
+
168
+ #: includes/class-wc-advanced-shipment-tracking-front.php:847
169
+ #: includes/class-wc-advanced-shipment-tracking-front.php:934
170
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1043
171
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1128
172
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1348
173
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1462
174
+ msgid "view less"
175
+ msgstr "δείτε λιγότερο"
176
+
177
+ #: includes/class-wc-advanced-shipment-tracking.php:141
178
+ #: includes/class-wc-advanced-shipment-tracking.php:223
179
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:252
180
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:303
181
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:197
182
+ msgid "Shipment Tracking"
183
+ msgstr "Παρακολούθηση Αποστολής"
184
 
185
+ #: includes/class-wc-advanced-shipment-tracking.php:246
186
+ #: includes/class-wc-advanced-shipment-tracking.php:410
187
+ msgid "Track Shipment"
188
+ msgstr "Παρακολούθηση αποστολής"
189
 
190
+ #. 1: shipping date
191
+ #: includes/class-wc-advanced-shipment-tracking.php:256
192
+ #, php-format
193
+ msgid "Shipped on %s"
194
+ msgstr "Στάλθηκε στις %s"
195
+
196
+ #: includes/class-wc-advanced-shipment-tracking.php:310
197
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:478
198
+ msgid "Mark as Shipped?"
199
+ msgstr "Ορίστε ως αποστολέα;"
200
+
201
+ #: includes/class-wc-advanced-shipment-tracking.php:313
202
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:481
203
+ msgid "Mark as Completed?"
204
+ msgstr "Σημειώστε ως ολοκληρωμένο;"
205
+
206
+ #: includes/class-wc-advanced-shipment-tracking.php:325
207
  msgid "Add Tracking Info"
208
  msgstr "Προσθήκη Παρακολούθησης"
209
 
210
+ #: includes/class-wc-advanced-shipment-tracking.php:329
211
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:493
212
+ msgid "Tracking number:"
213
+ msgstr "Αριθμός Παρακολούθησης:"
214
+
215
+ #: includes/class-wc-advanced-shipment-tracking.php:334
216
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:497
217
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:499
218
+ msgid "Shipping Provider:"
219
+ msgstr "Πάροχος υπηρεσιών:"
220
+
221
+ #: includes/class-wc-advanced-shipment-tracking.php:335
222
+ msgid "Select Provider"
223
+ msgstr "Επιλογή Παροχέα"
224
+
225
+ #: includes/class-wc-advanced-shipment-tracking.php:372
226
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:519
227
+ msgid "Product Code:"
228
+ msgstr "Κωδικός προϊόντος:"
229
+
230
+ #: includes/class-wc-advanced-shipment-tracking.php:380
231
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:523
232
+ msgid "Date shipped:"
233
+ msgstr "Ημερομηνία αποστολής:"
234
+
235
+ #: includes/class-wc-advanced-shipment-tracking.php:381
236
+ #: includes/class-wc-advanced-shipment-tracking.php:384
237
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
238
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:524
239
+ msgid "Y-m-d"
240
  msgstr ""
 
 
241
 
242
+ #: includes/class-wc-advanced-shipment-tracking.php:393
243
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:533
244
+ msgid "Mark order as:"
245
+ msgstr "Σημειώστε την τάξη ως:"
246
+
247
+ #: includes/class-wc-advanced-shipment-tracking.php:396
248
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:536
249
+ msgid "Partial Shipped"
250
+ msgstr "Μερική αποστολή"
251
+
252
+ #: includes/class-wc-advanced-shipment-tracking.php:409
253
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:548
254
+ msgid "Save Tracking"
255
+ msgstr "Αποθήκευση Παρακολούθησης"
256
+
257
+ #: includes/class-wc-advanced-shipment-tracking.php:410
258
+ msgid "Preview:"
259
+ msgstr "Επισκόπηση:"
260
+
261
+ #: includes/class-wc-advanced-shipment-tracking.php:661
262
+ #, php-format
263
  msgid ""
264
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
265
  msgstr ""
266
+ "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
267
+ "με τον αριθμό παρακολούθησης% s"
268
+
269
+ #: includes/class-wc-advanced-shipment-tracking.php:1008
270
+ #: includes/class-wc-advanced-shipment-tracking.php:1095
271
+ #, php-format
272
+ msgid "Order was shipped with %s and tracking number is: %s"
273
+ msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
274
+
275
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:138
276
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:183
277
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1494
278
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:710
279
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:784
280
+ #: includes/customizer/class-wcast-customizer.php:187
281
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
282
+ #: includes/views/admin_status_notifications.php:124
283
+ #: includes/views/admin_options_osm.php:23
284
+ msgid "Delivered"
285
+ msgstr "Παραδόθηκε"
286
+
287
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:143
288
+ #, php-format
289
+ msgid "Delivered <span class=\"count\">(%s)</span>"
290
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
291
+ msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
292
+ msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
293
+
294
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:152
295
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:198
296
+ #: includes/views/admin_options_osm.php:106
297
+ msgid "Updated Tracking"
298
+ msgstr "Ενημερωμένη παρακολούθηση"
299
+
300
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:157
301
+ #, php-format
302
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
303
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
304
+ msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
305
+ msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
306
+
307
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:166
308
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:212
309
+ #: includes/views/admin_options_osm.php:65
310
+ msgid "Partially Shipped"
311
+ msgstr "Μερικώς αποστέλλονται"
312
+
313
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:171
314
+ #, php-format
315
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
316
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
317
+ msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
318
+ msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
319
+
320
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:331
321
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
322
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:851
323
+ msgid "Shipped"
324
+ msgstr "Αποστέλλονται"
325
+
326
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:348
327
+ #, php-format
328
+ msgid "Shipped <span class=\"count\">(%s)</span>"
329
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
330
+ msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
331
+ msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
332
+
333
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:362
334
+ msgid "Change status to shipped"
335
+ msgstr "Αλλάξτε την κατάσταση αποστολής"
336
+
337
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:482
338
+ msgid "Completed"
339
+ msgstr "Ολοκληρώθηκε το"
340
 
341
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:490
342
+ msgid "Add Tracking Number"
343
+ msgstr "Προσθέστε τον αριθμό παρακολούθησης"
344
+
345
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:563
346
+ msgid "Resend delivered order notification"
347
+ msgstr "Επαναλάβετε την ειδοποίηση παραγγελίας"
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
350
+ msgid "There are some issue with sync, Please Retry."
351
+ msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
352
+
353
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:782
354
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:797
355
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:812
356
+ msgid "view details"
357
+ msgstr "δείτε λεπτομέρειες"
358
+
359
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:783
360
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:798
361
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:813
362
+ msgid "hide details"
363
+ msgstr "Κρύψε τις λεπτομέρειες"
364
+
365
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:194
366
  msgid ""
367
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
368
+ "100 orders."
369
  msgstr ""
 
 
370
 
371
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:236
372
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:150
373
+ msgid "Data saved successfully."
374
+ msgstr ""
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:237
377
+ msgid "Really delete this entry? This will not be undo."
378
+ msgstr ""
379
 
380
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:238
381
+ msgid "You can upload only csv file."
 
 
382
  msgstr ""
 
 
383
 
384
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:239
385
+ msgid "This browser does not support HTML5."
 
 
386
  msgstr ""
 
 
387
 
388
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:240
389
+ msgid "Please upload a valid CSV file."
 
 
390
  msgstr ""
 
 
391
 
392
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:310
393
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:329
394
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1556
395
+ msgid "Shipping Providers"
396
  msgstr ""
 
 
397
 
398
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:311
399
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:313
400
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:331
401
+ #: includes/views/admin_options_bulk_upload.php:11
402
+ msgid "CSV Import"
403
  msgstr ""
 
 
404
 
405
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:317
406
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:345
407
+ #: includes/views/admin_options_addons.php:73
408
+ msgid "Add-ons"
409
+ msgstr ""
410
+
411
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:334
412
+ #: includes/views/admin_options_osm.php:4
413
+ msgid "Order Status Manager"
414
+ msgstr ""
415
+
416
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:348
417
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:209
418
+ #: includes/views/zorem_admin_bulk_upload_sidebar.php:14
419
+ msgid "Documentation"
420
+ msgstr "Απόδειξη με έγγραφα"
421
+
422
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:349
423
+ msgid "How to Video"
424
+ msgstr ""
425
+
426
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:461
427
+ msgid "Custom Statuses"
428
+ msgstr ""
429
+
430
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:572
431
+ #: includes/views/trackship_sidebar.php:13
432
+ msgid "Connected"
433
  msgstr ""
434
+ "Συνδεδεμένος\n"
 
435
 
436
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:684
437
+ msgid "Custom Order Statuses"
438
+ msgstr ""
439
+
440
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:852
441
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
442
+ msgstr ""
443
+
444
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:853
445
  msgid ""
446
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
447
+ "will be selected by default when adding tracking info to orders."
448
+ msgstr ""
449
+
450
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:856
451
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
452
  msgstr ""
 
 
 
453
 
454
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:857
455
  msgid ""
456
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
457
+ "will be selected by default when adding tracking info to orders."
458
+ msgstr ""
459
+
460
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:934
461
+ msgid "Rename the “Completed” Order status to “Shipped”"
462
+ msgstr ""
463
+
464
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:947
465
+ msgid "API Date Format"
466
  msgstr ""
 
 
467
 
468
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:958
469
+ msgid "On which order status email to include the shipment tracking info?"
470
+ msgstr ""
471
+
472
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:965
473
+ msgid "Enable the Tracking Per Item option by default"
474
+ msgstr ""
475
+
476
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:966
477
  msgid ""
478
+ "This will check the option to add tracking per item when adding tracking "
479
+ "info to orders"
480
+ msgstr ""
481
+
482
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:972
483
+ msgid "Display SKU for the Tracking Per Item"
484
+ msgstr ""
485
+
486
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1443
487
+ msgid "Shipped Order"
488
+ msgstr ""
489
+
490
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1467
491
+ msgid "Mark order as delivered"
492
+ msgstr ""
493
+
494
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1477
495
+ msgid "Add Tracking"
496
  msgstr ""
 
 
 
497
 
498
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1506
499
+ msgid "Change order status to"
500
+ msgstr ""
501
+
502
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
503
+ msgid "Display Name"
504
+ msgstr ""
505
+
506
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1557
507
+ #: includes/views/admin_options_shipping_provider.php:95
508
  msgid ""
509
+ "The custom name will display in the tracking info section on the customer "
510
+ "order emails, my-account, shipment tracking page and shipment status emails."
511
+ msgstr ""
512
+
513
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1558
514
+ #: includes/views/admin_options_shipping_provider.php:104
515
+ msgid "API Name"
516
+ msgstr ""
517
+
518
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1559
519
+ msgid "Country"
520
+ msgstr ""
521
+
522
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
523
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1639
524
+ msgid "Default"
525
+ msgstr ""
526
+
527
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1561
528
+ msgid "TrackShip"
529
+ msgstr "TrackShip"
530
+
531
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1562
532
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1640
533
+ msgid "Actions"
534
  msgstr ""
 
 
535
 
536
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1563
537
+ #: includes/views/admin_options_shipping_provider.php:22
538
+ msgid "Active"
539
+ msgstr "Ενεργός"
540
+
541
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
542
+ msgid "TrackShip supported"
543
+ msgstr ""
544
+
545
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
546
+ msgid "TrackShip not supported"
547
+ msgstr ""
548
+
549
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1638
550
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
551
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
552
+ #: templates/emails/tracking-info.php:276
553
+ #: templates/myaccount/tracking-info.php:202
554
+ msgid "Provider"
555
+ msgstr "Μεταφορέας"
556
+
557
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1721
558
+ #, php-format
559
+ msgid "You did not create any %s shipping providers yet."
560
+ msgstr ""
561
+
562
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1722
563
+ msgid "Add Custom Provider"
564
+ msgstr ""
565
+
566
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1724
567
+ #: includes/views/admin_options_shipping_provider.php:47
568
+ #, php-format
569
+ msgid "You don't have any %s shipping providers."
570
+ msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
571
+
572
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1962
573
+ msgid "Filter by shipping provider"
574
+ msgstr ""
575
+
576
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:206
577
+ #: includes/views/admin_tracking_page_settings.php:8
578
+ #: includes/views/trackship_settings.php:9
579
+ #: includes/views/trackship_settings.php:10
580
+ msgid "Tracking Page"
581
+ msgstr "Σελίδα Παρακολούθησης"
582
+
583
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:207
584
+ #: includes/views/trackship_settings.php:12
585
+ #: includes/views/trackship_settings.php:13
586
+ msgid "Notifications"
587
+ msgstr ""
588
+
589
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:208
590
+ #: includes/views/admin_options_tools.php:13
591
+ #: includes/views/trackship_settings.php:15
592
+ #: includes/views/trackship_settings.php:16
593
+ msgid "Tools"
594
+ msgstr "Εργαλεία"
595
+
596
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:210
597
+ msgid "TrackShip Account"
598
+ msgstr ""
599
+
600
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:287
601
  msgid ""
602
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
603
+ "for the tracking page to work."
604
+ msgstr ""
605
+
606
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:295
607
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:303
608
+ #: includes/views/admin_tracking_page_settings.php:24
609
+ msgid "Select Tracking Page"
610
+ msgstr "Επιλέξτε Σελίδα παρακολούθησης"
611
+
612
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:309
613
+ msgid "Use the tracking page in the customer email/my account tracking link"
614
+ msgstr ""
615
+
616
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:315
617
+ #: includes/views/admin_tracking_page_settings.php:39
618
+ msgid "Tracking Page Layout"
619
+ msgstr ""
620
+ "Παρακολούθηση διάταξης σελίδας\n"
621
+
622
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:326
623
+ msgid "Select primary color for tracking page"
624
  msgstr ""
 
 
 
625
 
626
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:332
627
+ msgid "Select content border color for tracking page"
628
+ msgstr ""
629
+
630
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:338
631
+ #: includes/views/admin_tracking_page_settings.php:72
632
+ msgid "Hide Shipping Provider Image"
633
+ msgstr ""
634
+ "Απόκρυψη εικόνας παροχέα αποστολής\n"
635
+
636
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:344
637
+ msgid "Hide tracking events details"
638
+ msgstr ""
639
+
640
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:350
641
+ #: includes/views/admin_tracking_page_settings.php:82
642
+ msgid "Remove TrackShip branding"
643
+ msgstr "Αφαιρέστε το branding του TrackShip"
644
+
645
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:377
646
+ msgid "Enable TrackShip"
647
+ msgstr ""
648
+
649
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:383
650
+ msgid "Display Shipment Status Filter on Orders admin"
651
+ msgstr ""
652
+
653
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:416
654
  msgid ""
655
+ "Automatically set the Order Status to Delivered when the shipment is "
656
+ "delivered "
657
  msgstr ""
 
 
658
 
659
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:417
660
  msgid ""
661
+ "To enable this option, the 'Delivered' order status should be enabled in the "
662
+ "AST settings."
 
663
  msgstr ""
 
 
 
664
 
665
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:441
666
+ msgid "Shipment status"
667
+ msgstr ""
668
 
669
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:682
670
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:946
671
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:955
672
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:964
673
+ msgid "Get Shipment Status"
674
+ msgstr "Λήψη κατάστασης αποστολής"
675
 
676
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:704
677
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:802
678
+ msgid "Pending TrackShip"
679
+ msgstr ""
680
 
681
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:705
682
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:799
683
+ msgid "Unknown"
684
+ msgstr ""
685
 
686
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:706
687
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:781
688
+ #: includes/customizer/class-wcast-customizer.php:141
689
+ msgid "Pre Transit"
690
+ msgstr ""
691
+ "Pre Transit\n"
692
+
693
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:707
694
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:775
695
+ #: includes/customizer/class-wcast-customizer.php:149
696
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
697
+ #: includes/views/admin_status_notifications.php:39
698
+ msgid "In Transit"
699
+ msgstr ""
700
+ "Στη διαμετακόμιση\n"
701
+
702
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:708
703
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:790
704
+ #: includes/customizer/class-wcast-customizer.php:172
705
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
706
+ #: includes/views/admin_status_notifications.php:90
707
+ msgid "Available For Pickup"
708
+ msgstr ""
709
+ "Διαθέσιμο για παραλαβή\n"
710
 
711
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:709
712
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:787
713
+ #: includes/customizer/class-wcast-customizer.php:179
714
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
715
+ msgid "Out For Delivery"
716
+ msgstr ""
717
+ "Out για παράδοση\n"
718
+
719
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:711
720
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:796
721
+ #: includes/customizer/class-wcast-customizer.php:195
722
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
723
+ #: includes/views/admin_status_notifications.php:141
724
+ msgid "Failed Attempt"
725
+ msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
726
+
727
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:713
728
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:808
729
+ msgid "Carrier Unsupported"
730
+ msgstr ""
731
 
732
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:714
733
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:793
734
+ #: includes/customizer/class-wcast-customizer.php:165
735
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
736
+ #: includes/views/admin_status_notifications.php:73
737
+ msgid "Return To Sender"
738
+ msgstr ""
739
+ "Επιστροφή στον αποστολέα\n"
740
 
741
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:715
742
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:805
743
+ msgid "Invalid Tracking Number"
744
  msgstr ""
 
745
 
746
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:720
747
+ msgid "Filter by shipment status"
748
  msgstr ""
 
749
 
750
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:778
751
+ #: includes/customizer/class-wcast-customizer.php:157
752
+ #: includes/customizer/class-wc-onhold-email-customizer.php:127
753
+ #: includes/views/admin_status_notifications.php:56
754
+ msgid "On Hold"
755
+ msgstr "Σε κράτηση"
756
+
757
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:811
758
+ msgid "Invalid User Key"
759
+ msgstr ""
760
+
761
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:814
762
+ msgid "Wrong Shipping Provider"
763
+ msgstr ""
764
+
765
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:945
766
+ #, php-format
767
+ msgid ""
768
+ "You got %s %s orders with tracking info that were not sent to track on "
769
+ "TrackShip"
770
+ msgstr ""
771
+
772
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:954
773
+ #, php-format
774
+ msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
775
+ msgstr ""
776
+
777
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:963
778
+ #, php-format
779
+ msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
780
+ msgstr ""
781
+
782
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1419
783
+ msgid "Shipment Providers"
784
+ msgstr "Παροχείς αποστολής"
785
 
786
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1422
787
+ #: templates/emails/tracking-info.php:221
788
+ #: templates/emails/tracking-info.php:251
789
+ msgid "Shipment Status"
790
+ msgstr "Κατάσταση αποστολής"
791
 
792
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1425
793
+ msgid "Tracking issues"
794
+ msgstr "Παρακολούθηση ζητημάτων"
795
 
796
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1431
797
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1439
798
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1456
799
+ msgid "data not available."
800
+ msgstr "τα δεδομένα δεν είναι διαθέσιμα."
801
+
802
+ #: includes/class-wc-advanced-shipment-tracking-trackship.php:1462
803
+ msgid "View more on TrackShip"
804
+ msgstr "Δείτε περισσότερα στο TrackShip"
805
+
806
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:388
807
  msgid "Cannot create existing order shipment tracking."
808
  msgstr ""
809
  "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
810
  "παραγγελιών."
811
 
812
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:397
813
+ msgid "Invalid order ID."
814
+ msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
 
 
 
 
815
 
816
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:401
817
+ msgid "Special character not allowd in tracking number"
818
+ msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
819
 
820
+ #: includes/customizer/class-wcast-customizer.php:32
821
+ #: includes/customizer/class-wcast-customizer.php:103
822
+ msgid "Tracking info display"
823
+ msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
824
 
825
+ #: includes/customizer/class-wcast-customizer.php:42
826
+ msgid "Order Status Emails"
827
+ msgstr "Κατάσταση παραγγελίας μέσω ηλεκτρονικού ταχυδρομείου"
828
 
829
+ #: includes/customizer/class-wcast-customizer.php:51
830
+ msgid "Shipment Status Emails"
831
+ msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
832
 
833
+ #: includes/customizer/class-wcast-customizer.php:58
834
+ #: includes/views/admin_status_notifications.php:152
835
+ msgid "Admin Notifications"
836
+ msgstr "Ειδοποιήσεις διαχειριστή"
837
 
838
+ #: includes/customizer/class-wcast-customizer.php:71
839
+ #: includes/views/admin_options_settings.php:15
840
+ msgid "General Settings"
841
+ msgstr "Γενικές Ρυθμίσεις"
842
 
843
+ #: includes/customizer/class-wcast-customizer.php:79
844
+ msgid "Table layout design"
845
+ msgstr "Σχεδιασμός διάταξης πίνακα"
 
846
 
847
+ #: includes/customizer/class-wcast-customizer.php:87
848
+ msgid "Simple layout design"
849
+ msgstr "Απλό σχέδιο σχεδίασης"
 
850
 
851
+ #: includes/customizer/class-wcast-customizer.php:95
852
+ msgid "Tracking Per Item Add-on"
853
  msgstr ""
 
854
 
855
+ #: includes/customizer/class-wcast-customizer.php:111
856
+ #: includes/customizer/class-wc-email-customizer.php:163
857
+ msgid "Delivered order status email"
858
+ msgstr ""
859
+ "Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
860
 
861
+ #: includes/customizer/class-wcast-customizer.php:118
862
+ msgid "Completed order status email"
863
+ msgstr "Ολοκληρωμένο email κατάστασης παραγγελίας"
864
 
865
+ #: includes/customizer/class-wcast-customizer.php:125
866
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
867
+ msgid "Partially Shipped status email"
868
+ msgstr "Μερική αποστολή μηνύματος κατάστασης κατάστασης"
 
869
 
870
+ #: includes/customizer/class-wcast-customizer.php:133
871
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
872
+ msgid "Updated Tracking status email"
873
+ msgstr ""
874
+ "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παρακολούθησης\n"
875
 
876
+ #: includes/customizer/class-wcast-customizer.php:203
877
+ #: includes/views/admin_status_notifications.php:167
878
+ msgid "Late Shipments"
879
+ msgstr "Μεταγενέστερες αποστολές"
880
 
881
+ #: includes/customizer/class-wcast-customizer.php:516
882
+ msgid "Select order to preview"
883
+ msgstr ""
884
+ "Επιλέξτε παραγγελία για προεπισκόπηση\n"
885
 
886
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
887
+ msgid "Your order #{order_number} is available for pickup"
888
+ msgstr ""
889
+ "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
890
 
891
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
892
+ msgid ""
893
+ "Hi there. we thought you'd like to know that your recent order from "
894
+ "{site_title} is available for pickup."
895
+ msgstr ""
896
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
897
+ "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
898
 
899
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
900
+ msgid "Available For Pickup email"
901
+ msgstr ""
 
902
 
903
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:173
904
+ msgid "Enable Available For Pickup email"
905
  msgstr ""
 
906
 
907
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:189
908
+ #: includes/customizer/class-wc-delivered-email-customizer.php:190
909
+ #: includes/customizer/class-wc-email-customizer.php:197
910
+ #: includes/customizer/class-wc-failure-email-customizer.php:189
911
+ #: includes/customizer/class-wc-intransit-email-customizer.php:193
912
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:191
913
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:189
914
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
915
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
916
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
917
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:176
918
+ #: includes/customizer/class-wc-onhold-email-customizer.php:193
919
+ msgid "Preview order"
920
+ msgstr ""
921
+ "Προεπισκόπηση σειράς\n"
922
+
923
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:218
924
+ #: includes/customizer/class-wc-delivered-email-customizer.php:219
925
+ #: includes/customizer/class-wc-email-customizer.php:226
926
+ #: includes/customizer/class-wc-failure-email-customizer.php:218
927
+ #: includes/customizer/class-wc-intransit-email-customizer.php:222
928
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:220
929
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:218
930
+ #: includes/customizer/class-wc-onhold-email-customizer.php:222
931
+ msgid "E.g. {customer.email}, admin@example.org"
932
+ msgstr "Πχ: {customer.email}, admin@example.org"
933
+
934
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:234
935
+ #: includes/customizer/class-wc-delivered-email-customizer.php:235
936
+ #: includes/customizer/class-wc-failure-email-customizer.php:234
937
+ #: includes/customizer/class-wc-intransit-email-customizer.php:238
938
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:236
939
+ #: includes/customizer/class-wc-onhold-email-customizer.php:238
940
+ msgid "Email Subject"
941
+ msgstr ""
942
 
943
+ #. %s: list of placeholders
944
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:235
945
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:258
946
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:301
947
+ #: includes/customizer/class-wc-delivered-email-customizer.php:236
948
+ #: includes/customizer/class-wc-delivered-email-customizer.php:259
949
+ #: includes/customizer/class-wc-delivered-email-customizer.php:302
950
+ #: includes/customizer/class-wc-email-customizer.php:243
951
+ #: includes/customizer/class-wc-email-customizer.php:266
952
+ #: includes/customizer/class-wc-email-customizer.php:309
953
+ #: includes/customizer/class-wc-failure-email-customizer.php:235
954
+ #: includes/customizer/class-wc-failure-email-customizer.php:258
955
+ #: includes/customizer/class-wc-failure-email-customizer.php:301
956
+ #: includes/customizer/class-wc-intransit-email-customizer.php:239
957
+ #: includes/customizer/class-wc-intransit-email-customizer.php:262
958
+ #: includes/customizer/class-wc-intransit-email-customizer.php:305
959
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
960
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:260
961
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:303
962
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:235
963
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:258
964
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:300
965
+ #: includes/customizer/class-wc-tracking-info-customizer.php:373
966
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
967
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
968
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:247
969
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:266
970
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
971
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
972
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:247
973
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
974
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:257
975
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:280
976
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:392
977
+ #: includes/customizer/class-wc-onhold-email-customizer.php:239
978
+ #: includes/customizer/class-wc-onhold-email-customizer.php:262
979
+ #: includes/customizer/class-wc-onhold-email-customizer.php:305
980
+ #: includes/emails/class-shipment-delivered-email.php:274
981
+ #: includes/emails/class-shipment-delivered-email.php:283
982
+ msgid "Available variables:"
983
+ msgstr "Διαθέσιμες μεταβλητές:"
984
 
985
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:280
986
+ #: includes/customizer/class-wc-delivered-email-customizer.php:281
987
+ #: includes/customizer/class-wc-email-customizer.php:289
988
+ #: includes/customizer/class-wc-failure-email-customizer.php:280
989
+ #: includes/customizer/class-wc-intransit-email-customizer.php:284
990
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:282
991
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:280
992
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
993
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
994
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:371
995
+ #: includes/customizer/class-wc-onhold-email-customizer.php:284
996
+ msgid "Email content"
997
+ msgstr "Περιεχόμενο email"
998
 
999
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:317
1000
+ #: includes/customizer/class-wc-delivered-email-customizer.php:319
1001
+ #: includes/customizer/class-wc-failure-email-customizer.php:318
1002
+ #: includes/customizer/class-wc-intransit-email-customizer.php:322
1003
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:320
1004
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:317
1005
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:301
1006
+ #: includes/customizer/class-wc-onhold-email-customizer.php:322
1007
+ msgid "Show tracking details"
1008
+ msgstr ""
1009
+ "Εμφάνιση λεπτομερειών παρακολούθησης\n"
1010
+
1011
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:334
1012
+ #: includes/customizer/class-wc-delivered-email-customizer.php:336
1013
+ #: includes/customizer/class-wc-failure-email-customizer.php:335
1014
+ #: includes/customizer/class-wc-intransit-email-customizer.php:339
1015
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:337
1016
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:334
1017
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:318
1018
+ #: includes/customizer/class-wc-onhold-email-customizer.php:339
1019
+ msgid "Show order details"
1020
+ msgstr ""
1021
+ "Εμφάνιση λεπτομερειών παραγγελίας\n"
1022
+
1023
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:351
1024
+ #: includes/customizer/class-wc-delivered-email-customizer.php:353
1025
+ #: includes/customizer/class-wc-failure-email-customizer.php:352
1026
+ #: includes/customizer/class-wc-intransit-email-customizer.php:356
1027
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:354
1028
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:351
1029
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:335
1030
+ #: includes/customizer/class-wc-onhold-email-customizer.php:356
1031
+ msgid "Show billing address"
1032
+ msgstr ""
1033
+ "Εμφάνιση διεύθυνσης χρέωσης\n"
1034
+
1035
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:369
1036
+ #: includes/customizer/class-wc-delivered-email-customizer.php:371
1037
+ #: includes/customizer/class-wc-failure-email-customizer.php:370
1038
+ #: includes/customizer/class-wc-intransit-email-customizer.php:374
1039
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
1040
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:369
1041
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:353
1042
+ #: includes/customizer/class-wc-onhold-email-customizer.php:374
1043
+ msgid "Show shipping address"
1044
+ msgstr ""
1045
+ "Εμφάνιση της διεύθυνσης αποστολής\n"
1046
+
1047
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:386
1048
+ #: includes/customizer/class-wc-delivered-email-customizer.php:388
1049
+ #: includes/customizer/class-wc-email-customizer.php:415
1050
+ #: includes/customizer/class-wc-failure-email-customizer.php:387
1051
+ #: includes/customizer/class-wc-intransit-email-customizer.php:391
1052
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:389
1053
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:386
1054
+ #: includes/customizer/class-wc-onhold-email-customizer.php:391
1055
+ msgid "Google Analytics link tracking"
1056
+ msgstr "Παρακολούθηση συνδέσμου Google Analytics"
1057
+
1058
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:387
1059
+ #: includes/customizer/class-wc-delivered-email-customizer.php:389
1060
+ #: includes/customizer/class-wc-failure-email-customizer.php:388
1061
+ #: includes/customizer/class-wc-intransit-email-customizer.php:392
1062
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:390
1063
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:387
1064
+ #: includes/customizer/class-wc-onhold-email-customizer.php:392
1065
+ msgid "This will be appended to URL in the email content"
1066
+ msgstr ""
1067
+ "Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
1068
+
1069
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
1070
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:452
1071
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
1072
+ #: includes/customizer/class-wc-delivered-email-customizer.php:454
1073
+ #: includes/customizer/class-wc-email-customizer.php:454
1074
+ #: includes/customizer/class-wc-email-customizer.php:462
1075
+ #: includes/customizer/class-wc-failure-email-customizer.php:446
1076
+ #: includes/customizer/class-wc-failure-email-customizer.php:454
1077
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
1078
+ #: includes/customizer/class-wc-intransit-email-customizer.php:458
1079
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
1080
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:456
1081
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:445
1082
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:453
1083
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:299
1084
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:307
1085
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:299
1086
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:307
1087
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:447
1088
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:455
1089
+ #: includes/customizer/class-wc-onhold-email-customizer.php:450
1090
+ #: includes/customizer/class-wc-onhold-email-customizer.php:458
1091
+ msgid "Please select order to preview."
1092
+ msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
1093
 
1094
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
1095
+ msgid "Your order #{order_number} has been delivered"
1096
+ msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
1097
 
1098
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
1099
+ #: includes/customizer/class-wc-email-customizer.php:132
1100
+ msgid ""
1101
+ "Hi there. we thought you'd like to know that your recent order from "
1102
+ "{site_title} has been Delivered."
1103
+ msgstr ""
1104
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1105
+ "από {site_title} έχει παραδοθεί.\n"
1106
 
1107
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
1108
+ msgid "Delivered email"
1109
+ msgstr ""
1110
 
1111
+ #: includes/customizer/class-wc-delivered-email-customizer.php:174
1112
+ msgid "Enable Delivered email"
1113
+ msgstr ""
1114
 
1115
+ #: includes/customizer/class-wc-email-customizer.php:130
1116
+ #: includes/emails/class-shipment-delivered-email.php:94
1117
+ msgid "Your {site_title} order is now delivered"
1118
+ msgstr ""
1119
+ "Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
1120
 
1121
+ #: includes/customizer/class-wc-email-customizer.php:179
1122
+ msgid "Enable Delivered order status email"
1123
+ msgstr ""
1124
+ "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
1125
 
1126
+ #: includes/customizer/class-wc-email-customizer.php:201
1127
+ #: includes/customizer/class-wc-tracking-info-customizer.php:190
1128
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1129
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1130
+ msgid "Please select a order..."
1131
+ msgstr ""
1132
+ "Παρακαλώ επιλέξτε παραγγελία ...\n"
1133
 
1134
+ #: includes/customizer/class-wc-email-customizer.php:326
1135
+ msgid "Display tracking details"
1136
+ msgstr "Προβολή λεπτομερειών παρακολούθησης"
1137
 
1138
+ #: includes/customizer/class-wc-email-customizer.php:343
1139
+ msgid "Display order details"
1140
+ msgstr "Εμφάνιση λεπτομερειών παραγγελίας"
1141
 
1142
+ #: includes/customizer/class-wc-email-customizer.php:361
1143
+ msgid "Display Shipping Address"
1144
+ msgstr "Εμφάνιση της διεύθυνσης αποστολής"
1145
 
1146
+ #: includes/customizer/class-wc-email-customizer.php:379
1147
+ msgid "Display Billing Address"
1148
+ msgstr "Εμφάνιση της διεύθυνσης χρέωσης"
1149
 
1150
+ #: includes/customizer/class-wc-email-customizer.php:397
1151
+ msgid "Enable Google Analytics tracking"
1152
+ msgstr "Ενεργοποιήστε την παρακολούθηση του Google Analytics"
1153
 
1154
+ #: includes/customizer/class-wc-email-customizer.php:416
1155
+ msgid ""
1156
+ "This will be appended to URL in the email content – e.g. "
1157
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1158
+ msgstr ""
1159
+ "Αυτό θα προσαρτηθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού "
1160
+ "ταχυδρομείου - π.χ. utm_source = ast & utm_medium = email & utm_campaign = "
1161
+ "παραδόθηκε"
1162
 
1163
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1164
+ msgid "Your order #{order_number} is Failed Attempt"
1165
+ msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1166
 
1167
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1168
+ msgid ""
1169
+ "Hi there. we thought you'd like to know that your recent order from "
1170
+ "{site_title} is Failed Attempt"
1171
+ msgstr ""
1172
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1173
+ "από το {site_title} απέτυχε"
1174
 
1175
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
1176
+ msgid "Failed Attempt email"
1177
+ msgstr ""
1178
 
1179
+ #: includes/customizer/class-wc-failure-email-customizer.php:173
1180
+ msgid "Enable Failed Attempt email"
1181
+ msgstr ""
1182
 
1183
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1184
+ msgid "Your order #{order_number} is in transit"
1185
+ msgstr ""
1186
+ "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1187
 
1188
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1189
+ msgid ""
1190
+ "Hi there. we thought you'd like to know that your recent order from "
1191
+ "{site_title} is in transit"
1192
+ msgstr ""
1193
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1194
+ "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
1195
 
1196
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
1197
+ msgid "In Transit email"
1198
+ msgstr ""
1199
 
1200
+ #: includes/customizer/class-wc-intransit-email-customizer.php:176
1201
+ msgid "Enable In Transit email"
1202
+ msgstr ""
1203
 
1204
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1205
+ msgid "Your order #{order_number} is out for delivery"
1206
+ msgstr ""
1207
+ "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1208
 
1209
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1210
  msgid ""
1211
+ "Hi there. we thought you'd like to know that your recent order from "
1212
+ "{site_title} is out for delivery."
1213
  msgstr ""
1214
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1215
+ "από το {site_title} είναι έξω για παράδοση.\n"
1216
 
1217
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
1218
+ msgid "Out For Delivery email"
1219
  msgstr ""
 
1220
 
1221
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:175
1222
+ msgid "Enable Out For Delivery email"
1223
  msgstr ""
 
1224
 
1225
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1226
+ msgid "Your order #{order_number} has returned to sender"
1227
+ msgstr ""
1228
+ "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1229
 
1230
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1231
+ msgid ""
1232
+ "Hi there. we thought you'd like to know that your recent order from "
1233
+ "{site_title} has been returned to sender."
1234
+ msgstr ""
1235
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1236
+ "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
1237
 
1238
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
1239
+ msgid "Return To Sender email"
1240
+ msgstr ""
 
1241
 
1242
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:173
1243
+ msgid "Enable Return To Sender email"
1244
+ msgstr ""
1245
 
1246
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
1247
+ #: includes/customizer/class-wc-tracking-info-customizer.php:614
1248
+ #: templates/emails/tracking-info.php:288
1249
+ #: templates/myaccount/tracking-info.php:212
1250
+ msgid "Tracking Number"
1251
+ msgstr "Αριθμός"
1252
 
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:148
1254
+ #: includes/customizer/class-wc-tracking-info-customizer.php:636
1255
+ msgid "Shipped Date"
1256
+ msgstr ""
1257
+ "Ημερομηνία αποστολής\n"
1258
 
1259
+ #: includes/customizer/class-wc-tracking-info-customizer.php:156
1260
+ msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1261
  msgstr ""
1262
+ "Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
1263
+ "{tracking_number_link}"
1264
 
1265
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1266
+ msgid "Select an order to preview and design the tracking info display."
1267
+ msgstr ""
1268
+ "Επιλέξτε μια παραγγελία για να κάνετε προεπισκόπηση και να σχεδιάσετε την "
1269
+ "οθόνη πληροφοριών παρακολούθησης.\n"
1270
 
1271
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1272
+ #: includes/customizer/class-wc-tracking-info-customizer.php:211
1273
+ msgid "Tracking display layout"
1274
+ msgstr "Παρακολούθηση της διάταξης προβολής"
1275
 
1276
+ #: includes/customizer/class-wc-tracking-info-customizer.php:215
1277
+ msgid "Select Template"
 
 
1278
  msgstr ""
1279
+ "Επιλέξτε Πρότυπο\n"
 
1280
 
1281
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1282
+ msgid "Table Layout"
 
 
1283
  msgstr ""
1284
+ "Διάταξη πίνακα\n"
 
1285
 
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1287
+ msgid "Tracking Display Position"
1288
+ msgstr "Παρακολούθηση θέσης προβολής"
 
 
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:237
1291
+ msgid "Before Order Details"
1292
+ msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
1293
 
1294
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1295
+ msgid "After Order Details"
1296
+ msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
 
1297
 
1298
+ #: includes/customizer/class-wc-tracking-info-customizer.php:254
1299
  msgid "Hide Tracking Header"
1300
  msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
1301
 
1302
+ #: includes/customizer/class-wc-tracking-info-customizer.php:272
1303
+ msgid "Tracking Header text"
1304
+ msgstr ""
1305
+ "Κείμενο κεφαλίδας εντοπισμού\n"
1306
 
1307
+ #: includes/customizer/class-wc-tracking-info-customizer.php:279
1308
+ msgid "Tracking Information"
1309
+ msgstr "Πληροφορίες Παρακολούθησης"
1310
 
1311
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
1312
+ msgid "Additional text after header"
1313
+ msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
1314
 
1315
+ #: includes/customizer/class-wc-tracking-info-customizer.php:319
1316
+ msgid "Hide tracking information from order line items"
1317
+ msgstr "Απόκρυψη πληροφοριών παρακολούθησης από στοιχεία γραμμής παραγγελίας"
1318
 
1319
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1320
+ msgid "Simple Layout Design"
1321
+ msgstr ""
1322
+ "Απλό σχέδιο διάταξης\n"
1323
 
1324
+ #: includes/customizer/class-wc-tracking-info-customizer.php:353
1325
+ msgid "Content"
1326
+ msgstr "Περιεχόμενο"
 
1327
 
1328
+ #: includes/customizer/class-wc-tracking-info-customizer.php:390
1329
+ #: includes/customizer/class-wc-tracking-info-customizer.php:864
1330
+ msgid "Content font size"
1331
+ msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
1332
 
1333
+ #: includes/customizer/class-wc-tracking-info-customizer.php:408
1334
+ #: includes/customizer/class-wc-tracking-info-customizer.php:847
1335
+ msgid "Content font color"
1336
+ msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
 
 
 
 
1337
 
1338
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1339
+ msgid "Show bottom border"
1340
+ msgstr "Εμφάνιση περιθωρίου κάτω"
1341
 
1342
+ #: includes/customizer/class-wc-tracking-info-customizer.php:443
1343
+ msgid "Bottom border color"
1344
+ msgstr "Το χρώμα του κάτω ορίου"
1345
 
1346
+ #: includes/customizer/class-wc-tracking-info-customizer.php:462
1347
+ msgid "Table layout Design"
1348
+ msgstr "Σχέδιο διάταξης πίνακα"
1349
+
1350
+ #: includes/customizer/class-wc-tracking-info-customizer.php:478
1351
+ msgid "Display shipping provider name"
1352
+ msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
1353
 
1354
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1355
+ msgid "Display shipping provider image"
1356
+ msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
1357
 
1358
+ #: includes/customizer/class-wc-tracking-info-customizer.php:514
1359
+ msgid "Hide the ship date"
1360
+ msgstr ""
1361
+ "Απόκρυψη της ημερομηνίας του πλοίου\n"
1362
 
1363
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1364
+ msgid "Use tracking number as a link"
1365
+ msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1366
 
1367
+ #: includes/customizer/class-wc-tracking-info-customizer.php:550
1368
+ msgid "Table Headers"
1369
+ msgstr "Κεφαλίδες στον πίνακα"
1370
 
1371
+ #: includes/customizer/class-wc-tracking-info-customizer.php:566
1372
+ msgid "Hide Table Headers"
1373
+ msgstr "Απόκρυψη κεφαλίδων πίνακα"
1374
 
1375
+ #: includes/customizer/class-wc-tracking-info-customizer.php:584
1376
+ msgid "Provider header text"
1377
+ msgstr "Κείμενο κεφαλίδας παροχέα"
1378
+
1379
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1380
+ msgid "Tracking Number header text"
1381
  msgstr ""
1382
+ "Κείμενο κεφαλίδας αριθμού παρακολούθησης\n"
1383
 
1384
+ #: includes/customizer/class-wc-tracking-info-customizer.php:629
1385
+ msgid "Ship date header text"
1386
  msgstr ""
1387
+ "Κείμενο κεφαλίδας ημερομηνίας πλοίου\n"
1388
 
1389
+ #: includes/customizer/class-wc-tracking-info-customizer.php:652
1390
+ msgid "Track Label"
1391
+ msgstr "Ετικέτα διαδρομής"
1392
 
1393
+ #: includes/customizer/class-wc-tracking-info-customizer.php:670
1394
+ msgid "Track header text"
1395
+ msgstr ""
1396
+ "Κείμενο κεφαλίδας παρακολούθησης\n"
1397
 
1398
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1399
+ msgid "Headers font size"
1400
+ msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
1401
+
1402
+ #: includes/customizer/class-wc-tracking-info-customizer.php:711
1403
+ msgid "Headers font color"
1404
  msgstr ""
1405
+ "Χρώμα γραμματοσειράς κεφαλίδων\n"
1406
+
1407
+ #: includes/customizer/class-wc-tracking-info-customizer.php:728
1408
+ msgid "Table Content"
1409
+ msgstr "Περιεχόμενο πίνακα"
1410
 
1411
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1412
+ msgid "Padding"
1413
+ msgstr ""
1414
+ "Υλικό παραγεμίσματος\n"
 
1415
 
1416
+ #: includes/customizer/class-wc-tracking-info-customizer.php:765
1417
+ #: includes/customizer/class-wc-tracking-info-customizer.php:959
1418
+ msgid "Background color"
 
 
 
1419
  msgstr ""
1420
+ "Χρώμα του φόντου\n"
1421
 
1422
+ #: includes/customizer/class-wc-tracking-info-customizer.php:782
1423
+ #: includes/views/admin_tracking_page_settings.php:61
1424
+ msgid "Border color"
1425
+ msgstr ""
1426
+ "Χρώμα πλαισίου\n"
1427
 
1428
+ #: includes/customizer/class-wc-tracking-info-customizer.php:799
1429
+ msgid "Border size"
1430
+ msgstr ""
1431
+ "Μέγεθος περιθωρίου\n"
1432
 
1433
+ #: includes/customizer/class-wc-tracking-info-customizer.php:824
1434
+ msgid "Content Text align"
1435
+ msgstr ""
1436
+ "Ευθυγράμμιση κειμένου περιεχομένου\n"
 
 
1437
 
1438
+ #: includes/customizer/class-wc-tracking-info-customizer.php:882
1439
+ msgid "Content line height"
1440
+ msgstr ""
1441
+ "Το ύψος της γραμμής περιεχομένου\n"
 
 
 
1442
 
1443
+ #: includes/customizer/class-wc-tracking-info-customizer.php:904
1444
+ msgid "Content font weight"
 
 
1445
  msgstr ""
1446
+ "Βάρος γραμματοσειράς περιεχομένου\n"
 
1447
 
1448
+ #: includes/customizer/class-wc-tracking-info-customizer.php:927
1449
+ msgid "Tracking Link"
 
1450
  msgstr ""
1451
+ "Σύνδεσμος παρακολούθησης\n"
 
1452
 
1453
+ #: includes/customizer/class-wc-tracking-info-customizer.php:942
1454
+ msgid "Font Color"
1455
+ msgstr ""
1456
+ "Χρώμα γραμματοσειράς\n"
1457
+
1458
+ #: includes/customizer/class-wc-tracking-info-customizer.php:975
1459
+ msgid "Border"
1460
+ msgstr "Σύνορο"
1461
+
1462
+ #: includes/customizer/class-wc-tracking-info-customizer.php:1027
1463
  msgid ""
1464
+ "To preview the tracking display, please add tracking information to at least "
1465
+ "one order and choose it in the preview order selection."
1466
  msgstr ""
1467
+ "Για να κάνετε προεπισκόπηση της οθόνης παρακολούθησης, προσθέστε πληροφορίες "
1468
+ "παρακολούθησης σε τουλάχιστον μία παραγγελία και επιλέξτε την στην επιλογή "
1469
+ "σειράς προεπισκόπησης.\n"
1470
 
1471
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1472
+ msgid "Your {site_title} order is now partially shipped"
1473
+ msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
 
1474
 
1475
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1476
+ msgid ""
1477
+ "Hi there. we thought you'd like to know that your recent order from "
1478
+ "{site_title} has been partially shipped."
1479
+ msgstr ""
1480
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1481
+ "από {site_title} έχει αποσταλεί εν μέρει.\n"
1482
 
1483
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1484
+ msgid "Enable Partially Shipped order status email"
1485
+ msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
1486
 
1487
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1488
+ msgid "Your {site_title} order is now updated tracking"
1489
+ msgstr ""
1490
+ "Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
1491
 
1492
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1493
+ msgid ""
1494
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1495
+ "recent order from {site_title} has been updated."
1496
+ msgstr ""
1497
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
1498
+ "για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
1499
 
1500
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1501
+ msgid "Enable Updated Tracking order status email"
1502
+ msgstr ""
1503
+ "Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
 
1504
 
1505
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:126
1506
+ msgid "Late shipment for order #{order_number}"
1507
+ msgstr "Τελευταία αποστολή για παραγγελία # {αριθμός_παραγγελίας}"
1508
 
1509
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:127
1510
+ msgid "Late shipment"
1511
+ msgstr "Καθυστερημένη αποστολή"
1512
 
1513
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:128
1514
+ msgid "This shipment exceeded {shipment_length} days."
1515
+ msgstr "Αυτή η αποστολή υπερέβη τις {shipment_length} ημέρες."
1516
 
1517
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:161
1518
+ msgid "Late Shipments admin email"
1519
+ msgstr "Τελευταίες αποστολές admin email"
1520
 
1521
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:198
1522
+ msgid "Enable Late Shipments admin email"
1523
  msgstr ""
1524
+ "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου διαχειριστή αργών αποστολών"
 
1525
 
1526
+ #: includes/customizer/class-wc-late-shipments-email-customizer.php:241
1527
+ msgid "E.g. {admin_email}, admin@example.org"
1528
+ msgstr "Π.χ. {admin_email}, admin@example.org"
1529
 
1530
+ #: includes/customizer/class-wc-onhold-email-customizer.php:126
1531
+ msgid "Your order #{order_number} is on hold"
1532
+ msgstr "Η παραγγελία σας # {order_number} βρίσκεται σε αναμονή"
1533
 
1534
+ #: includes/customizer/class-wc-onhold-email-customizer.php:128
1535
  msgid ""
1536
+ "Hi there. we thought you'd like to know that your recent order from "
1537
+ "{site_title} is on hold"
1538
  msgstr ""
1539
+ "Γεια σου. πιστεύαμε ότι θα θέλατε να γνωρίζετε ότι η πρόσφατη παραγγελία σας "
1540
+ "από το {site_title} είναι σε αναμονή"
1541
 
1542
+ #: includes/customizer/class-wc-onhold-email-customizer.php:160
1543
+ msgid "On Hold email"
1544
+ msgstr ""
 
 
 
1545
 
1546
+ #: includes/customizer/class-wc-onhold-email-customizer.php:176
1547
+ msgid "Enable On Hold email"
1548
+ msgstr ""
1549
 
1550
+ #: includes/emails/class-shipment-delivered-email.php:32
1551
+ msgid "Delivered order"
1552
+ msgstr "Παραδοθείσα παραγγελία"
1553
 
1554
+ #: includes/emails/class-shipment-delivered-email.php:33
1555
+ msgid ""
1556
+ "Order delivered emails are sent to customers when their orders are marked "
1557
+ "delivered and usually indicate that their orders have been shipped."
1558
+ msgstr ""
1559
+ "Τα παραδοθέντα ηλεκτρονικά μηνύματα αποστέλλονται στους πελάτες όταν "
1560
+ "παραγγελθούν οι παραγγελίες τους και συνήθως υποδεικνύουν ότι οι παραγγελίες "
1561
+ "τους έχουν αποσταλεί."
1562
 
1563
+ #: includes/emails/class-shipment-delivered-email.php:298
1564
+ msgid "Click Here"
1565
+ msgstr "Κάντε κλικ ΕΔΩ"
1566
 
1567
+ #: includes/emails/class-shipment-delivered-email.php:299
1568
+ msgid "Edit in customizer"
1569
+ msgstr "Επεξεργασία στο customizer"
1570
+
1571
+ #: includes/views/admin_options_bulk_upload.php:12
1572
+ msgid ""
1573
+ "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1574
+ "file"
1575
  msgstr ""
 
1576
 
1577
+ #: includes/views/admin_options_bulk_upload.php:26
1578
+ msgid "Upload a CSV file from your computer:"
1579
  msgstr ""
 
1580
 
1581
+ #: includes/views/admin_options_bulk_upload.php:34
1582
+ msgid "Choose the Shipped Date format"
 
 
1583
  msgstr ""
 
 
1584
 
1585
+ #: includes/views/admin_options_bulk_upload.php:48
1586
+ msgid "Replace tracking information?"
1587
+ msgstr ""
1588
+
1589
+ #: includes/views/admin_options_bulk_upload.php:48
1590
+ msgid ""
1591
+ "Keep unchecked for the tracking info to be added to any existing tracking "
1592
+ "info added to the orders."
1593
+ msgstr ""
1594
 
1595
  #: includes/views/admin_options_bulk_upload.php:57
1596
+ msgid "Continue"
1597
+ msgstr "Να συνεχίσει"
1598
+
1599
+ #: includes/views/admin_options_bulk_upload.php:59
1600
  msgid "Settings Saved."
1601
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1602
 
1603
+ #: includes/views/admin_options_bulk_upload.php:77
1604
+ msgid "Your tracking information are now being imported..."
1605
+ msgstr "Οι πληροφορίες παρακολούθησης εισάγονται τώρα ..."
 
 
1606
 
1607
+ #: includes/views/admin_options_bulk_upload.php:83
1608
+ msgid "Upload Progress - "
1609
+ msgstr "Πρόοδος Μεταφόρτωσης - "
 
 
1610
 
1611
+ #: includes/views/admin_options_bulk_upload.php:92
1612
+ msgid "Upload again"
1613
+ msgstr "Μεταφόρτωση ξανά"
1614
 
1615
+ #: includes/views/admin_options_bulk_upload.php:93
1616
+ msgid "View Orders"
1617
+ msgstr "Προβολή παραγγελιών"
 
 
 
1618
 
1619
+ #: includes/views/admin_options_settings.php:22
1620
+ #: includes/views/admin_trackship_dashboard.php:45
1621
+ #: includes/views/admin_tracking_page_settings.php:87
1622
+ #: includes/views/admin_tracking_page_settings.php:108
1623
+ msgid "Save Changes"
1624
+ msgstr "Αποθήκευσε τις αλλαγές"
 
1625
 
1626
+ #: includes/views/admin_options_settings.php:34
1627
+ msgid "Tracking Info Display"
1628
+ msgstr "Παρακολούθηση πληροφοριών προβολής"
1629
+
1630
+ #: includes/views/admin_options_settings.php:43
1631
+ msgid ""
1632
+ "Use a customizer with a preview to customize the tracking info display on "
1633
+ "customer order emails and my-account."
1634
  msgstr ""
1635
+ "Χρησιμοποιήστε ένα εργαλείο προσαρμογής με προεπισκόπηση για να προσαρμόσετε "
1636
+ "την εμφάνιση πληροφοριών παρακολούθησης στα ηλεκτρονικά μηνύματα παραγγελίας "
1637
+ "πελατών και στον λογαριασμό μου."
1638
 
1639
+ #: includes/views/admin_options_settings.php:44
1640
+ msgid "Launch Customizer"
1641
+ msgstr "Εκκινήστε το Customizer"
 
1642
 
1643
+ #: includes/views/admin_options_shipping_provider.php:23
1644
+ msgid "Inactive"
1645
+ msgstr "Αδρανής"
 
 
1646
 
1647
+ #: includes/views/admin_options_shipping_provider.php:24
1648
+ msgid "Custom"
1649
+ msgstr "Εθιμο"
 
 
1650
 
1651
+ #: includes/views/admin_options_shipping_provider.php:34
1652
+ msgid "Search by provider / country"
1653
+ msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
1654
 
1655
+ #: includes/views/admin_options_shipping_provider.php:53
1656
+ msgid "Add Custom Shipping Provider"
1657
+ msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
1658
 
1659
+ #: includes/views/admin_options_shipping_provider.php:56
1660
+ #: includes/views/admin_options_shipping_provider.php:98
1661
  msgid "Shipping Provider"
1662
+ msgstr ""
1663
 
1664
+ #: includes/views/admin_options_shipping_provider.php:59
1665
+ #: includes/views/admin_options_shipping_provider.php:101
1666
+ msgid "Custom display name"
1667
+ msgstr ""
1668
 
1669
+ #: includes/views/admin_options_shipping_provider.php:63
1670
+ #: includes/views/admin_options_shipping_provider.php:108
1671
+ msgid "Shipping Country"
1672
+ msgstr "Χώρα αποστολής"
 
1673
 
1674
+ #: includes/views/admin_options_shipping_provider.php:64
1675
+ #: includes/views/admin_options_shipping_provider.php:109
1676
+ msgid "Global"
1677
+ msgstr "Παγκόσμια"
 
1678
 
1679
+ #: includes/views/admin_options_shipping_provider.php:74
1680
+ #: includes/views/admin_options_shipping_provider.php:119
1681
+ msgid "Upload"
1682
+ msgstr "Μεταφόρτωση"
1683
 
1684
+ #: includes/views/admin_options_shipping_provider.php:80
1685
+ #: includes/views/admin_options_shipping_provider.php:125
1686
+ msgid ""
1687
+ "You can use the variables %number%, %postal_code% and %country_code% in the "
1688
+ "URL, for more info, check our "
1689
  msgstr ""
 
1690
 
1691
+ #: includes/views/admin_options_shipping_provider.php:80
1692
+ #: includes/views/admin_options_shipping_provider.php:125
1693
+ #, php-format
1694
+ msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
1695
+ msgstr ""
1696
 
1697
+ #: includes/views/admin_options_shipping_provider.php:94
1698
+ msgid "Edit Shipping Provider"
1699
  msgstr ""
 
1700
 
1701
+ #: includes/views/admin_options_shipping_provider.php:131
1702
+ msgid "Update"
1703
+ msgstr ""
1704
+
1705
+ #: includes/views/admin_options_shipping_provider.php:132
1706
+ msgid "Reset"
1707
+ msgstr ""
1708
 
1709
+ #: includes/views/admin_options_shipping_provider.php:142
1710
+ #: includes/views/admin_options_shipping_provider.php:153
1711
  msgid "Sync Shipping Providers"
1712
  msgstr "Sync Shipping Providers"
1713
 
1714
+ #: includes/views/admin_options_shipping_provider.php:143
1715
  msgid ""
1716
  "Syncing the shipping providers list add or updates the pre-set shipping "
1717
  "providers and will not effect custom shipping providers."
1720
  "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
1721
  "προσαρμοσμένους παροχείς αποστολής."
1722
 
1723
+ #: includes/views/admin_options_shipping_provider.php:145
1724
+ msgid "Providers Added"
1725
+ msgstr "Προστέθηκαν παροχείς"
1726
 
1727
+ #: includes/views/admin_options_shipping_provider.php:146
1728
+ msgid "Providers Updated"
1729
+ msgstr "Οι προμηθευτές ενημερώθηκαν"
1730
 
1731
+ #: includes/views/admin_options_shipping_provider.php:147
1732
+ msgid "Providers Deleted"
1733
+ msgstr "Οι πάροχοι έχουν διαγραφεί"
 
1734
 
1735
+ #: includes/views/admin_options_shipping_provider.php:149
1736
+ msgid "Shipping providers database reset successfully."
1737
  msgstr ""
1738
+ "Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
 
 
 
 
 
 
 
 
1739
 
1740
+ #: includes/views/admin_options_shipping_provider.php:151
1741
  msgid ""
1742
+ "Reset providers database, it will reset all your shipping provider database"
 
 
1743
  msgstr ""
1744
+ "Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
1745
+ "δεδομένων παρόχων αποστολής"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1746
 
1747
+ #: includes/views/admin_options_trackship_integration.php:16
1748
+ msgid "Watch Video"
1749
+ msgstr ""
1750
 
1751
+ #: includes/views/admin_options_trackship_integration.php:17
1752
+ msgid "Start your free trial"
1753
  msgstr ""
 
1754
 
1755
+ #: includes/views/admin_options_addons.php:76
1756
+ ms