Advanced Shipment Tracking for WooCommerce - Version 2.5

Version Description

  • Added validation in tracking number for special character when add new tracking info in order and also in bulk upload
  • Added filter in Trackship tracking page text
  • Added functionality for add tracking info in custom order status emails
  • Added compatibility with - "WC APG SMS Notifications" plugin
  • Added option for Hide tracking events details for TracksShip users
  • Updated Advanced Shipment Tracking settings page design
Download this release

Release Info

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

Code changes from version 2.4.5 to 2.5

Files changed (36) hide show
  1. assets/css/admin.css +461 -99
  2. assets/css/customizer-styles.css +5 -1
  3. assets/images/ast-logo.png +0 -0
  4. assets/images/trackship-400.png +0 -0
  5. assets/images/ts_bg.png +0 -0
  6. assets/js/admin.js +15 -3
  7. assets/js/shipping_row.js +15 -0
  8. assets/shipment-provider-img/4px.png +0 -0
  9. assets/shipment-provider-img/acs-courier.png +0 -0
  10. assets/shipment-provider-img/aramex.png +0 -0
  11. assets/shipment-provider-img/purolator.png +0 -0
  12. assets/shipment-provider-img/the-professional-couriers.png +0 -0
  13. assets/shipment-provider-img/turkey-post.png +0 -0
  14. includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php +21 -0
  15. includes/class-wc-advanced-shipment-tracking-admin.php +170 -101
  16. includes/class-wc-advanced-shipment-tracking-front.php +59 -42
  17. includes/class-wc-advanced-shipment-tracking-install.php +22 -16
  18. includes/class-wc-advanced-shipment-tracking.php +61 -21
  19. includes/customizer/class-wc-tracking-info-customizer.php +19 -5
  20. includes/customizer/class-wcast-customizer.php +1 -1
  21. includes/views/admin_options_bulk_upload.php +33 -17
  22. includes/views/admin_options_settings.php +72 -25
  23. includes/views/admin_options_shipping_provider.php +58 -56
  24. includes/views/admin_options_trackship_integration.php +128 -176
  25. includes/views/zorem_admin_sidebar.php +22 -11
  26. includes/views/zorem_admin_ts_sidebar.php +1 -1
  27. lang/woo-advanced-shipment-tracking-he_IL.mo +0 -0
  28. lang/woo-advanced-shipment-tracking-he_IL.po +28 -28
  29. lang/woo-advanced-shipment-tracking-sv_SE.mo +0 -0
  30. lang/woo-advanced-shipment-tracking-sv_SE.po +411 -129
  31. lang/woo-advanced-shipment-tracking.pot +401 -275
  32. readme.txt +26 -1
  33. templates/emails/wcast-billing-email-addresses.php +1 -1
  34. templates/emails/wcast-email-order-details.php +96 -41
  35. templates/emails/wcast-shipping-email-addresses.php +1 -1
  36. woocommerce-advanced-shipment-tracking.php +25 -3
assets/css/admin.css CHANGED
@@ -79,9 +79,9 @@
79
  }
80
  section.tab_section {
81
  display: none;
82
- padding: 10px 0;
83
  border-top: 1px solid #ddd;
84
- background: #f9f9f9;
85
  }
86
  section.tpage_section{
87
  display: none;
@@ -90,16 +90,18 @@ input.tab_input {
90
  display: none;
91
  }
92
  label.tab_label {
93
- display: inline-block;
94
- font-weight: 600;
95
- border: 1px solid #ccc;
96
- border-bottom: none;
97
- margin-left: .5em;
98
- padding: 5px 10px;
99
- font-size: 14px;
100
- line-height: 24px;
101
- background: #efefef;
102
- color: #071d57;
 
 
103
  }
104
  label.tab_label:before {
105
  font-family: fontawesome;
@@ -107,13 +109,12 @@ label.tab_label:before {
107
  margin-right: 10px;
108
  }
109
  label.tab_label:hover {
110
- color: #83bd31;
111
  cursor: pointer;
112
  }
113
- input.tab_input:checked + label {
114
- background: #f9f9f9;
115
- color: #83bd31;
116
- border-bottom: 1px solid #f9f9f9;
117
  margin-bottom: -1px;
118
  }
119
  input.tab_input_1 {
@@ -131,8 +132,7 @@ input.tab_input_1:checked + label{
131
  .tab_inner_container {
132
  padding: 0;
133
  display: table-cell;
134
- vertical-align: top;
135
- padding-right: 20px;
136
  }
137
  #content1 .tab_inner_container{
138
  display: block;
@@ -151,15 +151,24 @@ input.tab_input_1:checked + label{
151
  }
152
  .ast_admin_content {
153
  width: 100%;
154
- vertical-align: top;
155
- padding-right: 20px;
156
  }
157
  .zorem_admin_sidebar {
158
- width: 260px;
159
- padding-right: 20px;
160
- display: table-cell;
161
- vertical-align: top;
162
- padding-left: 20px;
 
 
 
 
 
 
 
 
 
163
  }
164
  .zorem-sidebar-title {
165
  padding: 10px 0;
@@ -168,8 +177,10 @@ input.tab_input_1:checked + label{
168
  line-height: 15px;
169
  }
170
  .zorem-sidebar__section {
171
- padding: 20px 0;
172
- border-bottom: 1px solid #1ead94;
 
 
173
  }
174
  ..zorem-sidebar__section li:before {
175
  position: absolute;
@@ -178,6 +189,7 @@ input.tab_input_1:checked + label{
178
  }
179
  .zorem-sidebar__section ul {
180
  position: relative;
 
181
  }
182
  .zorem-sidebar__section li {
183
  list-style: none;
@@ -191,6 +203,7 @@ input.tab_input_1:checked + label{
191
  vertical-align: middle;
192
  display: inline-block;
193
  margin-left: 10px;
 
194
  line-height: 20px;
195
  }
196
  .zorem-sidebar__section div a {
@@ -427,10 +440,9 @@ td.column-columnname.url-column {
427
  padding: 0px 0px;
428
  }
429
  #demo-toast-example.mdl-snackbar {
430
- background: #4BB543;
431
- min-width: 100%;
432
- max-width: 100%;
433
  z-index: 100000;
 
434
  }
435
  #demo-toast-example .mdl-snackbar__text {
436
  float: unset;
@@ -451,13 +463,14 @@ td.column-columnname.url-column {
451
  color: #83bd31;
452
  }
453
  .wp-core-ui .btn_green {
454
- background: #071d57;
455
  text-shadow: none;
456
- border-color: #071d57;
457
  box-shadow: none;
458
  font-size: 14px;
459
  line-height: 30px;
460
- height: 32px;
 
461
  }
462
  .wp-core-ui .btn_green2 {
463
  background: #83bd31;
@@ -465,8 +478,29 @@ td.column-columnname.url-column {
465
  border-color: #83bd31;
466
  box-shadow: none;
467
  font-size: 14px;
468
- line-height: 30px;
469
- height: 32px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
470
  }
471
  .wp-core-ui .btn_red {
472
  background: red;
@@ -474,9 +508,19 @@ td.column-columnname.url-column {
474
  border-color: red;
475
  box-shadow: none;
476
  font-size: 14px;
477
- line-height: 30px;
478
  height: 32px;
479
  }
 
 
 
 
 
 
 
 
 
 
480
  .wp-core-ui .btn_red:hover, .wp-core-ui .btn_red:focus {
481
  background: red;
482
  border-color: rgba(0,0,0,0.05);
@@ -491,6 +535,20 @@ td.column-columnname.url-column {
491
  text-shadow: none;
492
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
493
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
494
  .wp-core-ui .btn_green2:hover, .wp-core-ui .btn_green2:focus {
495
  background: rgba(131, 189, 49, 0.8);
496
  border-color: rgba(131, 189, 49, 0.8);
@@ -516,6 +574,7 @@ td.column-columnname.url-column {
516
  }
517
  #wc_ast_upload_csv_form .mdl-progress {
518
  width: 100%;
 
519
  }
520
  .csv_upload_status {
521
  margin-left: 1em;
@@ -547,21 +606,21 @@ span.api_connected .dashicons.dashicons-yes {
547
  line-height: 33px;
548
  }
549
  .ac-container {
550
- margin: 10px auto 30px auto;
551
  text-align: left;
 
552
  }
553
  .ac-container .headig_label {
554
- padding: 15px 20px 15px 55px;
555
- margin-bottom: 10px;
556
  position: relative;
557
  z-index: 20;
558
  display: block;
559
  cursor: default;
560
  color: #777;
561
  text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
562
- font-size: 14px;
563
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=0 );
564
- box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3), 1px 0px 0px 0px rgba(255,255,255,0.9) inset, 0px 2px 2px rgba(0,0,0,0.1);
565
  }
566
  .email_heading{
567
  font-size: 14px!important;
@@ -726,13 +785,13 @@ form#add_new_status_email_form:after {
726
  height: 200px !important;
727
  }
728
  .mdl-switch.is-checked .mdl-switch__track {
729
- background: rgba(131, 189, 49, 0.5) !important;
730
  }
731
  .mdl-switch__ripple-container .mdl-ripple {
732
- background: #83bd31 !important;
733
  }
734
  .mdl-switch.is-checked .mdl-switch__thumb {
735
- background: #83bd31 !important;
736
  }
737
  span.email_status_span i {
738
  vertical-align: middle;
@@ -1089,14 +1148,15 @@ a.cancel_edit {
1089
  .ac-container .headig_label:hover .edit_customizer_a{
1090
  display:inline-block;
1091
  }
1092
- .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent, .woocommerce_page_woocommerce-advanced-shipment-tracking#wpfooter{
1093
- background: #f9f9f9;
 
1094
  }
1095
- .ast_admin_content{
1096
- background: #f9f9f9;
1097
  }
1098
- #wc_ast_settings_form,#wc_ast_trackship_form,#wc_ast_upload_csv_form {
1099
- padding: 10px;
1100
  }
1101
  .trackship_logo{
1102
  width: 200px;
@@ -1278,43 +1338,60 @@ a.cancel_edit {
1278
  .widefat .column-wc_actions a.delivered_icon.button::after { font-family: woocommerce; content: "\e01a"; }
1279
  .widefat .column-wc_actions a.add_inline_tracking.button::after { content: "\f230"; }
1280
 
 
 
 
 
 
1281
  .provider {
1282
- padding: 10px 5px 10px 10px;
1283
- border: 1px solid #ccc;
1284
- display: inline-block;
1285
- width: 16%;
1286
- margin-bottom: 10px;
1287
- margin-right: 7px;
1288
- vertical-align: top;
1289
- min-height: 110px;
1290
- box-sizing: border-box;
1291
- background: #eee;
 
 
1292
  }
1293
  .provider_list {
1294
  }
1295
  .provider-thumb{
1296
- height: 50px;
1297
  }
1298
- .left-div {
1299
- display: inline-block;
1300
- vertical-align: middle;
1301
- width: 30%;
1302
  }
1303
- .right-div {
1304
- display: inline-block;
1305
- vertical-align: middle;
1306
- margin-left: 8px;
1307
- width: 62%;
1308
  }
1309
  span.provider_name {
1310
  font-weight: 500;
1311
  font-size: 14px;
1312
  }
1313
  .row-1 {
1314
- margin-bottom: 5px;
 
 
 
 
 
 
 
1315
  }
1316
  .row-2 {
1317
- margin-top: 10px;
 
 
 
 
 
1318
  }
1319
  .default-provider {
1320
  float: left;
@@ -1333,8 +1410,8 @@ span.provider_name {
1333
  clear:both;
1334
  display: block;
1335
  }
1336
- .active_provider {
1337
- border: 1px solid rgba(131, 189, 49, 0.5);
1338
  background: #fff;
1339
  }
1340
  .status_filter {
@@ -1345,8 +1422,12 @@ span.provider_name {
1345
  padding: 0 5px;
1346
  text-decoration: none;
1347
  }
 
 
 
 
1348
  a.active{
1349
- color:#83bd31;
1350
  }
1351
  .search_section {
1352
  display: inline-block;
@@ -1377,7 +1458,7 @@ a.active{
1377
  }
1378
  .provider_top {
1379
  position: relative;
1380
- margin-bottom: 10px;
1381
  }
1382
  .dropdown {
1383
  position: relative;
@@ -1491,6 +1572,10 @@ a.active{
1491
  max-height: 90%;
1492
  overflow-y: overlay;
1493
  }
 
 
 
 
1494
  .trackingpopup_row {
1495
  display: inline-block;
1496
  vertical-align: middle;
@@ -1560,10 +1645,14 @@ a.active{
1560
  color: #444;
1561
  }
1562
  h1.plugin-title {
1563
- padding: 20px 10px 10px 10px;
1564
  font-size: 1.7em;
1565
  color: #071d57;
1566
  }
 
 
 
 
1567
  .disable_label span {
1568
  color: #999;
1569
  }
@@ -1582,8 +1671,9 @@ h1.plugin-title {
1582
  .sync_provider_popup .spinner{
1583
  display:none;
1584
  height: 25px;
 
1585
  }
1586
- .spinner.active{
1587
  display: inline-block;
1588
  }
1589
  .shipment_about{
@@ -1607,22 +1697,58 @@ p.delivered_message {
1607
  }
1608
  .email-icon{
1609
  position: absolute;
1610
- left: 10px;
1611
  top: 17px;
1612
  width: 35px;
1613
  }
1614
  .woocommerce.zorem_admin_layout table.form-table{
1615
  background: #fff;
1616
- border: 2px solid #eee;
1617
- margin-top: 20px;
1618
- margin-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1619
  }
1620
  .ast_admin_content div.submit{
1621
- padding: 0;
1622
  }
1623
  .woocommerce.zorem_admin_layout table.form-table th{
1624
  padding: 20px 24px 20px 15px;
1625
  }
 
 
 
 
 
 
 
1626
  .woocommerce.zorem_admin_layout table.form-table p.description{
1627
  font-size: 0.9em;
1628
  }
@@ -1643,14 +1769,15 @@ p.tracking-preview-desc {
1643
  display: inline-block;
1644
  border-bottom: 0;
1645
  padding-bottom: 0;
1646
- background: #071d57;
1647
  color: #fff;
1648
  padding: 5px;
1649
  border-radius: 3px;
1650
  }
1651
  .woocommerce.zorem_admin_layout table.form-table select{
1652
- width: 100%;
1653
- max-width: 400px;
 
1654
  }
1655
  .trackship-icon{
1656
  width: 70px;
@@ -1676,6 +1803,237 @@ p.tracking-preview-desc {
1676
  width: 80%;
1677
  margin: 1em auto;
1678
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1679
 
1680
  /*** Dashboard Widget CSS ***/
1681
  .ast-dashborad-widget.row{
@@ -1698,22 +2056,26 @@ p.tracking-preview-desc {
1698
  color:#83bd31;
1699
  margin-top:10px;
1700
  }
1701
- @media screen and (min-width: 1850px) {
1702
- .provider{
1703
- padding:10px;
1704
- }
1705
- .right-div{
1706
- margin-left:10px;
1707
- }
 
 
 
 
1708
  }
1709
  @media screen and (min-width: 1215px) and (max-width: 1465px) {
1710
  .provider {
1711
- width: 19%;
1712
  }
1713
  }
1714
  @media screen and (min-width: 768px) and (max-width: 1214px) {
1715
  .provider{
1716
- width: 23%;
1717
  }
1718
  #search_provider{
1719
  width: 200px;
@@ -1733,7 +2095,7 @@ p.tracking-preview-desc {
1733
  }
1734
  @media screen and (max-width: 767px) {
1735
  .provider{
1736
- width: 30.8%;
1737
  }
1738
  .search_section .search-icon{
1739
  padding: 8px 5px;
@@ -1744,7 +2106,7 @@ p.tracking-preview-desc {
1744
  }
1745
  @media screen and (max-width: 500px) {
1746
  .provider{
1747
- width: 47%;
1748
  }
1749
  .search_section{
1750
  display: block;
79
  }
80
  section.tab_section {
81
  display: none;
82
+ padding: 0 30px 30px;
83
  border-top: 1px solid #ddd;
84
+ background: rgb(245, 248, 250);
85
  }
86
  section.tpage_section{
87
  display: none;
90
  display: none;
91
  }
92
  label.tab_label {
93
+ text-decoration: none;
94
+ padding: 17px 0 15px;
95
+ border-bottom: 2px solid #fff;
96
+ font-size: 14px;
97
+ color: #393f4c;
98
+ display: inline-block;
99
+ margin-right: 25px;
100
+ line-height: 1;
101
+ outline: none;
102
+ }
103
+ label.tab_label.first_label {
104
+ margin-left: 30px;
105
  }
106
  label.tab_label:before {
107
  font-family: fontawesome;
109
  margin-right: 10px;
110
  }
111
  label.tab_label:hover {
112
+ color: #74C2E1;
113
  cursor: pointer;
114
  }
115
+ input.tab_input:checked + label {
116
+ color: #74C2E1;
117
+ border-bottom-color: #74C2E1;
 
118
  margin-bottom: -1px;
119
  }
120
  input.tab_input_1 {
132
  .tab_inner_container {
133
  padding: 0;
134
  display: table-cell;
135
+ vertical-align: top;
 
136
  }
137
  #content1 .tab_inner_container{
138
  display: block;
151
  }
152
  .ast_admin_content {
153
  width: 100%;
154
+ vertical-align: top;
155
+ border-top: 1px solid #ddd;
156
  }
157
  .zorem_admin_sidebar {
158
+ width: 280px;
159
+ display: table-cell;
160
+ vertical-align: top;
161
+ padding: 25px 0px 25px 30px;
162
+ }
163
+ .zorem_admin_layout .zorem_admin_sidebar h3{
164
+ margin: 0 0 1em 0;
165
+ background: #fff;
166
+ color: #005B9A;
167
+ border-bottom: 1px solid #eee;
168
+ padding: 15px 15px;
169
+ }
170
+ .zorem_admin_layout .zorem_admin_sidebar p,.zorem_admin_layout .zorem_admin_sidebar a{
171
+ margin: 10px 10px 10px 15px;
172
  }
173
  .zorem-sidebar-title {
174
  padding: 10px 0;
177
  line-height: 15px;
178
  }
179
  .zorem-sidebar__section {
180
+ padding: 0;
181
+ background: #fff;
182
+ border: 1px solid #eee;
183
+ margin-bottom: 10px;
184
  }
185
  ..zorem-sidebar__section li:before {
186
  position: absolute;
189
  }
190
  .zorem-sidebar__section ul {
191
  position: relative;
192
+ margin: 10px 10px 10px 15px;
193
  }
194
  .zorem-sidebar__section li {
195
  list-style: none;
203
  vertical-align: middle;
204
  display: inline-block;
205
  margin-left: 10px;
206
+ margin-right: 0;
207
  line-height: 20px;
208
  }
209
  .zorem-sidebar__section div a {
440
  padding: 0px 0px;
441
  }
442
  #demo-toast-example.mdl-snackbar {
443
+ background: #83bd31;
 
 
444
  z-index: 100000;
445
+ bottom: 10px;
446
  }
447
  #demo-toast-example .mdl-snackbar__text {
448
  float: unset;
463
  color: #83bd31;
464
  }
465
  .wp-core-ui .btn_green {
466
+ background: rgb(35, 54, 152);
467
  text-shadow: none;
468
+ border-color: rgb(35, 54, 152);
469
  box-shadow: none;
470
  font-size: 14px;
471
  line-height: 30px;
472
+ height: 35px;
473
+ padding: 0 20px;
474
  }
475
  .wp-core-ui .btn_green2 {
476
  background: #83bd31;
478
  border-color: #83bd31;
479
  box-shadow: none;
480
  font-size: 14px;
481
+ line-height: 32px;
482
+ height: 35px;
483
+ padding: 0 20px;
484
+ }
485
+ .wp-core-ui .btn_ast1{
486
+ background: #74C2E1;
487
+ text-shadow: none;
488
+ border-color: #74C2E1;
489
+ box-shadow: none;
490
+ font-size: 14px;
491
+ line-height: 32px;
492
+ height: 35px;
493
+ padding: 0 20px;
494
+ }
495
+ .wp-core-ui .btn_ast2{
496
+ background: #005B9A;
497
+ text-shadow: none;
498
+ border-color: #005B9A;
499
+ box-shadow: none;
500
+ font-size: 14px;
501
+ line-height: 32px;
502
+ height: 35px;
503
+ padding: 0 20px;
504
  }
505
  .wp-core-ui .btn_red {
506
  background: red;
508
  border-color: red;
509
  box-shadow: none;
510
  font-size: 14px;
511
+ line-height: 32px;
512
  height: 32px;
513
  }
514
+ .wp-core-ui .btn_large {
515
+ line-height: 36px;
516
+ height: 40px;
517
+ padding: 0 20px;
518
+ font-size: 15px;
519
+ }
520
+ .wp-core-ui .btn_large .dashicons{
521
+ vertical-align: middle;
522
+ margin-left: 5px;
523
+ }
524
  .wp-core-ui .btn_red:hover, .wp-core-ui .btn_red:focus {
525
  background: red;
526
  border-color: rgba(0,0,0,0.05);
535
  text-shadow: none;
536
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
537
  }
538
+ .wp-core-ui .btn_ast1:hover, .wp-core-ui .btn_ast1:focus {
539
+ background: #74C2E1;
540
+ border-color: rgba(0,0,0,0.05);
541
+ color: #fff;
542
+ text-shadow: none;
543
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
544
+ }
545
+ .wp-core-ui .btn_ast2:hover, .wp-core-ui .btn_ast2:focus {
546
+ background: #005B9A;
547
+ border-color: rgba(0,0,0,0.05);
548
+ color: #fff;
549
+ text-shadow: none;
550
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
551
+ }
552
  .wp-core-ui .btn_green2:hover, .wp-core-ui .btn_green2:focus {
553
  background: rgba(131, 189, 49, 0.8);
554
  border-color: rgba(131, 189, 49, 0.8);
574
  }
575
  #wc_ast_upload_csv_form .mdl-progress {
576
  width: 100%;
577
+ margin-top: 10px;
578
  }
579
  .csv_upload_status {
580
  margin-left: 1em;
606
  line-height: 33px;
607
  }
608
  .ac-container {
609
+ margin: 0 auto 30px auto;
610
  text-align: left;
611
+ border: 1px solid #eee;
612
  }
613
  .ac-container .headig_label {
614
+ padding: 15px 20px 15px 60px;
615
+ margin-bottom: 0;
616
  position: relative;
617
  z-index: 20;
618
  display: block;
619
  cursor: default;
620
  color: #777;
621
  text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
622
+ font-size: 14px;
623
+ border-bottom: 1px solid #eee;
 
624
  }
625
  .email_heading{
626
  font-size: 14px!important;
785
  height: 200px !important;
786
  }
787
  .mdl-switch.is-checked .mdl-switch__track {
788
+ background: #74C2E1 !important;
789
  }
790
  .mdl-switch__ripple-container .mdl-ripple {
791
+ background: #005B9A !important;
792
  }
793
  .mdl-switch.is-checked .mdl-switch__thumb {
794
+ background: #005B9A !important;
795
  }
796
  span.email_status_span i {
797
  vertical-align: middle;
1148
  .ac-container .headig_label:hover .edit_customizer_a{
1149
  display:inline-block;
1150
  }
1151
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
1152
+ background: #fff;
1153
+ padding-left: 0;
1154
  }
1155
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
1156
+ padding-bottom: 40px;
1157
  }
1158
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #wpfooter{
1159
+ background: rgb(245, 248, 250);
1160
  }
1161
  .trackship_logo{
1162
  width: 200px;
1338
  .widefat .column-wc_actions a.delivered_icon.button::after { font-family: woocommerce; content: "\e01a"; }
1339
  .widefat .column-wc_actions a.add_inline_tracking.button::after { content: "\f230"; }
1340
 
1341
+ .provider_list:after {
1342
+ clear: both;
1343
+ content: '';
1344
+ display: block;
1345
+ }
1346
  .provider {
1347
+ padding: 0 5px;
1348
+ width: 16.66%;
1349
+ margin-bottom: 10px;
1350
+ vertical-align: top;
1351
+ box-sizing: border-box;
1352
+ float: left;
1353
+ }
1354
+ .provider_inner {
1355
+ border: 1px solid #ccc;
1356
+ background: #eee;
1357
+ min-height: 105px;
1358
+ padding: 10px 5px 0px 10px;
1359
  }
1360
  .provider_list {
1361
  }
1362
  .provider-thumb{
1363
+ height: 50px;
1364
  }
1365
+ .left-div {
1366
+ box-sizing: border-box;
1367
+ display: block;
 
1368
  }
1369
+ .right-div {
1370
+ margin-left: 15px;
1371
+ width: 100%;
1372
+ display: block;
 
1373
  }
1374
  span.provider_name {
1375
  font-weight: 500;
1376
  font-size: 14px;
1377
  }
1378
  .row-1 {
1379
+ margin-bottom: 0;
1380
+ display: flex;
1381
+ align-items: start;
1382
+ }
1383
+ .row-1:after {
1384
+ content: '';
1385
+ clear: both;
1386
+ display: block;
1387
  }
1388
  .row-2 {
1389
+ margin-top: 15px;
1390
+ border-top: 1px solid #ccc;
1391
+ padding-top: 10px;
1392
+ }
1393
+ .active_provider .row-2{
1394
+ border-top: 1px solid #eee;
1395
  }
1396
  .default-provider {
1397
  float: left;
1410
  clear:both;
1411
  display: block;
1412
  }
1413
+ .active_provider .provider_inner{
1414
+ border: 1px solid rgba(116, 194, 225, 0.5);
1415
  background: #fff;
1416
  }
1417
  .status_filter {
1422
  padding: 0 5px;
1423
  text-decoration: none;
1424
  }
1425
+ .status_filter a:focus{
1426
+ outline: none;
1427
+ box-shadow: none;
1428
+ }
1429
  a.active{
1430
+ color:#74C2E1;
1431
  }
1432
  .search_section {
1433
  display: inline-block;
1458
  }
1459
  .provider_top {
1460
  position: relative;
1461
+ margin: 10px 0;
1462
  }
1463
  .dropdown {
1464
  position: relative;
1572
  max-height: 90%;
1573
  overflow-y: overlay;
1574
  }
1575
+ .how_to_video_popup .popuprow{
1576
+ max-width: 700px;
1577
+ padding: 0;
1578
+ }
1579
  .trackingpopup_row {
1580
  display: inline-block;
1581
  vertical-align: middle;
1645
  color: #444;
1646
  }
1647
  h1.plugin-title {
1648
+ padding: 20px 30px 10px 30px;
1649
  font-size: 1.7em;
1650
  color: #071d57;
1651
  }
1652
+ .plugin-logo{
1653
+ max-width: 400px;
1654
+ padding: 15px 0px 15px 30px;
1655
+ }
1656
  .disable_label span {
1657
  color: #999;
1658
  }
1671
  .sync_provider_popup .spinner{
1672
  display:none;
1673
  height: 25px;
1674
+ float: none;
1675
  }
1676
+ .sync_provider_popup .spinner.active{
1677
  display: inline-block;
1678
  }
1679
  .shipment_about{
1697
  }
1698
  .email-icon{
1699
  position: absolute;
1700
+ left: 15px;
1701
  top: 17px;
1702
  width: 35px;
1703
  }
1704
  .woocommerce.zorem_admin_layout table.form-table{
1705
  background: #fff;
1706
+ border: 1px solid #eee;
1707
+ margin-top: 0;
1708
+ margin-bottom: 0px;
1709
+ }
1710
+ .woocommerce.zorem_admin_layout table.form-table.heading-table{
1711
+ margin: 25px 0 0;
1712
+ border-bottom: 0;
1713
+ }
1714
+ #wc_ast_settings_form table.form-table.heading-table tr,#wc_ast_trackship_form table.form-table.heading-table tr,#wc_ast_upload_csv_form table.form-table.heading-table tr{
1715
+ border-bottom: 0;
1716
+ }
1717
+ .woocommerce.zorem_admin_layout table.form-table.heading-table td{
1718
+ padding: 12px 15px;
1719
+ }
1720
+ .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1721
+ margin: 0;
1722
+ color:#005B9A;
1723
+ }
1724
+ .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1725
+ text-align:right;
1726
+ }
1727
+ .zorem_admin_layout h3.table-heading{
1728
+ background: #fff;
1729
+ color: #005B9A;
1730
+ border: 1px solid #eee;
1731
+ margin: 25px 0 0;
1732
+ border-bottom: 0;
1733
+ padding: 15px;
1734
+ }
1735
+ .zorem_admin_layout h3.table-heading:after{
1736
+ content:'';
1737
+ clear:both;
1738
  }
1739
  .ast_admin_content div.submit{
1740
+ padding: 0;
1741
  }
1742
  .woocommerce.zorem_admin_layout table.form-table th{
1743
  padding: 20px 24px 20px 15px;
1744
  }
1745
+ .woocommerce.zorem_admin_layout table.form-table td{
1746
+ padding: 15px 15px;
1747
+ }
1748
+ .woocommerce.zorem_admin_layout table.form-table th label{
1749
+ font-weight: 400;
1750
+ color: #444;
1751
+ }
1752
  .woocommerce.zorem_admin_layout table.form-table p.description{
1753
  font-size: 0.9em;
1754
  }
1769
  display: inline-block;
1770
  border-bottom: 0;
1771
  padding-bottom: 0;
1772
+ background: #74C2E1;
1773
  color: #fff;
1774
  padding: 5px;
1775
  border-radius: 3px;
1776
  }
1777
  .woocommerce.zorem_admin_layout table.form-table select{
1778
+ width: auto;
1779
+ max-width: 400px;
1780
+ min-width: 90px;
1781
  }
1782
  .trackship-icon{
1783
  width: 70px;
1803
  width: 80%;
1804
  margin: 1em auto;
1805
  }
1806
+ .description-below-table{
1807
+ background: #fff;
1808
+ border: 1px solid #eee;
1809
+ margin-top: 0;
1810
+ margin-bottom: 0;
1811
+ padding: 20px 24px 20px 15px;
1812
+ border-top: 0;
1813
+ }
1814
+ .ast_admin_content div.submit .spinner{
1815
+ display: none;
1816
+ float: none;
1817
+ margin: 0px 10px 0;
1818
+ }
1819
+ .ast_admin_content div.submit .spinner.active{
1820
+ display: inline-block;
1821
+ }
1822
+
1823
+ /*** AST Notice CSS ***/
1824
+ .ast-notice {
1825
+ position: relative;
1826
+ color: #444;
1827
+ }
1828
+ .ast-notice .ast-notice-inner {
1829
+ margin-top: 25px;
1830
+ padding: 20px;
1831
+ background: #fff;
1832
+ border-left: 3px solid;
1833
+ line-height: 1.5;
1834
+ font-size: 14px;
1835
+ border-left-color: #83bd31;
1836
+ }
1837
+ .ast-notice .dismiss-notice {
1838
+ border: none;
1839
+ background: none;
1840
+ padding: 0;
1841
+ margin: 0;
1842
+ display: inline-block;
1843
+ cursor: pointer;
1844
+ color: #acbdc9;
1845
+ position: relative;
1846
+ float: right;
1847
+ }
1848
+ .ast-notice .ast-notice-inner .notice-title {
1849
+ color: #061c58;
1850
+ font-weight: 700;
1851
+ display: block;
1852
+ margin: 0 0 6px;
1853
+ padding: 0;
1854
+ }
1855
+ .ast-notice .notice-content {
1856
+ margin-right: 20px;
1857
+ margin-bottom: 20px;
1858
+ }
1859
+
1860
+ .notice.ast-admin-notice {
1861
+ padding: 20px;
1862
+ background: rgb(245, 248, 250);
1863
+ border: 1px solid #eee;
1864
+ border-left: 4px solid #83bd31 !important;
1865
+ }
1866
+ .rtl .notice.ast-admin-notice {
1867
+ border-right-color: #83bd31 !important;
1868
+ }
1869
+ .notice.ast-admin-notice .ast-admin-notice-inner {
1870
+ display: table;
1871
+ width: 100%;
1872
+ }
1873
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1874
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-content,
1875
+ .notice.ast-admin-notice .ast-admin-notice-inner .trackship-install-now {
1876
+ display: table-cell;
1877
+ vertical-align: middle;
1878
+ }
1879
+ .notice.ast-admin-notice .ast-admin-notice-icon {
1880
+ color: #83bd31;
1881
+ }
1882
+ .notice.ast-admin-notice .ast-admin-notice-icon .notice-logo{
1883
+ width: 200px;
1884
+ }
1885
+ .notice.ast-admin-notice .ast-admin-notice-content {
1886
+ padding: 0 20px;
1887
+ }
1888
+ .notice.ast-admin-notice p {
1889
+ padding: 0;
1890
+ margin: 0;
1891
+ }
1892
+ .notice.ast-admin-notice h3 {
1893
+ margin: 0 0 5px;
1894
+ color: #061c58;
1895
+ }
1896
+ .notice.ast-admin-notice .trackship-install-now {
1897
+ text-align: center;
1898
+ }
1899
+ .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button {
1900
+ padding: 5px 30px;
1901
+ height: auto;
1902
+ line-height: 20px;
1903
+ text-transform: capitalize;
1904
+ }
1905
+ .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button i {
1906
+ padding-right: 5px;
1907
+ }
1908
+ .rtl .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button i {
1909
+ padding-right: 0;
1910
+ padding-left: 5px;
1911
+ }
1912
+ .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button:active {
1913
+ transform: translateY(1px);
1914
+ }
1915
+ .ast-admin-notice .notice-dismiss:before{
1916
+ color: #061c58;
1917
+ font: normal 20px/20px dashicons;
1918
+ }
1919
+ .nav_doc_section {
1920
+ float: right;
1921
+ padding: 15px 0 15px;
1922
+ margin-right: 30px;
1923
+ }
1924
+
1925
+ .nav_doc_section a {
1926
+ color: #393f4c;
1927
+ text-decoration: none;
1928
+ font-size: 14px;
1929
+ }
1930
+ .nav_doc_section a:hover{
1931
+ color: #74C2E1;
1932
+ }
1933
+ .nav_doc_section a:focus{
1934
+ outline: none;
1935
+ box-shadow: none;
1936
+ }
1937
+ .nav_doc_section a.open_video_popup:after {
1938
+ content: "\f236";
1939
+ font-family: dashicons;
1940
+ font-size: 18px;
1941
+ vertical-align: bottom;
1942
+ margin-left: 5px;
1943
+ clear: both;
1944
+ }
1945
+ .videoWrapper {
1946
+ position: relative;
1947
+ padding-bottom: 56.25%; /* 16:9 */
1948
+ padding-top: 25px;
1949
+ height: 0;
1950
+ }
1951
+ .videoWrapper iframe {
1952
+ position: absolute;
1953
+ top: 0;
1954
+ left: 0;
1955
+ width: 100%;
1956
+ height: 100%;
1957
+ }
1958
+ @media (max-width: 767px) {
1959
+ .notice.ast-admin-notice {
1960
+ padding: 10px;
1961
+ }
1962
+ .notice.ast-admin-notice .ast-admin-notice-inner {
1963
+ display: block;
1964
+ }
1965
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-content {
1966
+ display: block;
1967
+ padding: 0;
1968
+ }
1969
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1970
+ .notice.ast-admin-notice .ast-admin-notice-inner .trackship-install-now {
1971
+ display: none;
1972
+ }
1973
+ }
1974
+
1975
+ /*** Trackship Upsell CSS ***/
1976
+ .trackship-upsell-overlay {
1977
+ width: 750px;
1978
+ max-width: 100%;
1979
+ -webkit-box-shadow: 0 5px 25px 0 rgba(0,0,0,.15);
1980
+ box-shadow: 0 5px 25px 0 rgba(0,0,0,.15);
1981
+ background-color: #fff;
1982
+ border: 1px solid #eee;
1983
+ margin: 70px auto 50px;
1984
+ }
1985
+ .trackship-upsell-overlay .trackship-upsell-top {
1986
+ padding: 0 40px;
1987
+ }
1988
+ .trackship-upsell-overlay h3 {
1989
+ text-align: center;
1990
+ color: #393f4c;
1991
+ font-size: 20px;
1992
+ margin: 32px 0 20px;
1993
+ line-height: 1.4;
1994
+ }
1995
+ .trackship-upsell-overlay .trackship-upsell-subtitle {
1996
+ color: #071d57;
1997
+ font-size: 16px;
1998
+ text-align: center;
1999
+ }
2000
+ .trackship-upsell-overlay .trackship-upsell-content {
2001
+ border-top: 1px solid #eee;
2002
+ background: #f9fbff;
2003
+ padding: 40px;
2004
+ }
2005
+ .trackship-upsell-overlay .trackship-upsell-content ul {
2006
+ margin: 0 auto;
2007
+ max-width: 520px;
2008
+ }
2009
+ .trackship-upsell-overlay .trackship-upsell-content ul li {
2010
+ color: #071d57;
2011
+ font-size: 16px;
2012
+ margin: 0 0 20px;
2013
+ padding-left: 40px;
2014
+ position: relative;
2015
+ line-height: 1.5;
2016
+ }
2017
+ .trackship-upsell-overlay .trackship-upsell-content ul li:before {
2018
+ position: absolute;
2019
+ content: "\f147";
2020
+ width: 20px;
2021
+ height: 20px;
2022
+ background: #83bd31;
2023
+ left: 0;
2024
+ border-radius: 50%;
2025
+ display: inline-block;
2026
+ font-family: dashicons;
2027
+ font-style: normal;
2028
+ font-weight: 400;
2029
+ -webkit-font-smoothing: antialiased;
2030
+ -moz-osx-font-smoothing: grayscale;
2031
+ color: #f9fbff;
2032
+ font-size: 14px;
2033
+ text-align: center;
2034
+ line-height: 20px;
2035
+ top: 4px;
2036
+ }
2037
 
2038
  /*** Dashboard Widget CSS ***/
2039
  .ast-dashborad-widget.row{
2056
  color:#83bd31;
2057
  margin-top:10px;
2058
  }
2059
+ .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip{
2060
+ color: #005B9A;
2061
+ }
2062
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_content{
2063
+ background:#005B9A;
2064
+ padding: 15px;
2065
+ font-size: 12px;
2066
+ }
2067
+ .trackship_section{
2068
+ background-image: url(../images/ts_bg.png);
2069
+ min-height: 100vh;
2070
  }
2071
  @media screen and (min-width: 1215px) and (max-width: 1465px) {
2072
  .provider {
2073
+ width: 20%;
2074
  }
2075
  }
2076
  @media screen and (min-width: 768px) and (max-width: 1214px) {
2077
  .provider{
2078
+ width: 25%;
2079
  }
2080
  #search_provider{
2081
  width: 200px;
2095
  }
2096
  @media screen and (max-width: 767px) {
2097
  .provider{
2098
+ width: 33.3%;
2099
  }
2100
  .search_section .search-icon{
2101
  padding: 8px 5px;
2106
  }
2107
  @media screen and (max-width: 500px) {
2108
  .provider{
2109
+ width: 50%;
2110
  }
2111
  .search_section{
2112
  display: block;
assets/css/customizer-styles.css CHANGED
@@ -161,5 +161,9 @@
161
  color: #505050;
162
  }
163
  #customize-controls li.customize-control h3{
164
- margin-top: 4px;
 
 
 
 
165
  }
161
  color: #505050;
162
  }
163
  #customize-controls li.customize-control h3{
164
+ margin-top: 0px;
165
+ margin-bottom: 0;
166
+ }
167
+ .customize-control-description{
168
+ font-size: 12px;
169
  }
assets/images/ast-logo.png ADDED
Binary file
assets/images/trackship-400.png ADDED
Binary file
assets/images/ts_bg.png ADDED
Binary file
assets/js/admin.js CHANGED
@@ -12,14 +12,20 @@ jQuery( function( $ ) {
12
  },
13
 
14
  // When a user enters a new tracking item
15
- save_form: function () {
16
  var error;
17
  var tracking_number = jQuery("#tracking_number");
18
  var tracking_provider = jQuery("#tracking_provider");
19
  if( tracking_number.val() === '' ){
20
  showerror( tracking_number );error = true;
21
  } else{
22
- hideerror(tracking_number);
 
 
 
 
 
 
23
  }
24
  if( tracking_provider.val() === '' ){
25
  jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','red');
@@ -244,7 +250,13 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
244
  showerror(tracking_number);
245
  error = true;
246
  } else{
247
- hideerror(tracking_number);
 
 
 
 
 
 
248
  }
249
 
250
  if( date_shipped.val() === '' ){
12
  },
13
 
14
  // When a user enters a new tracking item
15
+ save_form: function () {
16
  var error;
17
  var tracking_number = jQuery("#tracking_number");
18
  var tracking_provider = jQuery("#tracking_provider");
19
  if( tracking_number.val() === '' ){
20
  showerror( tracking_number );error = true;
21
  } else{
22
+ var pattern = /^[0-9a-zA-Z \b]+$/;
23
+ if(!pattern.test(tracking_number.val())){
24
+ showerror( tracking_number );
25
+ error = true;
26
+ } else{
27
+ hideerror(tracking_number);
28
+ }
29
  }
30
  if( tracking_provider.val() === '' ){
31
  jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','red');
250
  showerror(tracking_number);
251
  error = true;
252
  } else{
253
+ var pattern = /^[0-9a-zA-Z \b]+$/;
254
+ if(!pattern.test(tracking_number.val())){
255
+ showerror(tracking_number);
256
+ error = true;
257
+ } else{
258
+ hideerror(tracking_number);
259
+ }
260
  }
261
 
262
  if( date_shipped.val() === '' ){
assets/js/shipping_row.js CHANGED
@@ -499,6 +499,7 @@ jQuery(document).on("click", ".popupclose", function(){
499
  jQuery('.add_provider_popup').hide();
500
  jQuery('.edit_provider_popup').hide();
501
  jQuery('.sync_provider_popup').hide();
 
502
  });
503
  jQuery(document).on("click", ".close_synch_popup", function(){
504
  jQuery('.sync_provider_popup').hide();
@@ -932,4 +933,18 @@ jQuery(document).on("click", ".bulk_shipment_status_button", function(){
932
  }
933
  });
934
  return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
935
  });
499
  jQuery('.add_provider_popup').hide();
500
  jQuery('.edit_provider_popup').hide();
501
  jQuery('.sync_provider_popup').hide();
502
+ jQuery('.how_to_video_popup').hide();
503
  });
504
  jQuery(document).on("click", ".close_synch_popup", function(){
505
  jQuery('.sync_provider_popup').hide();
933
  }
934
  });
935
  return false;
936
+ });
937
+ jQuery(document).on("click", ".tab_input", function(){
938
+ var tab = jQuery(this).data('tab');
939
+ var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
940
+ window.history.pushState({path:url},'',url);
941
+ });
942
+ jQuery(document).on("click", ".open_video_popup", function(){
943
+ jQuery('.how_to_video_popup').show();
944
+ });
945
+ jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
946
+ jQuery('#how_to_video').each(function(index) {
947
+ jQuery(this).attr('src', jQuery(this).attr('src'));
948
+ return false;
949
+ });
950
  });
assets/shipment-provider-img/4px.png ADDED
Binary file
assets/shipment-provider-img/acs-courier.png ADDED
Binary file
assets/shipment-provider-img/aramex.png ADDED
Binary file
assets/shipment-provider-img/purolator.png ADDED
Binary file
assets/shipment-provider-img/the-professional-couriers.png ADDED
Binary file
assets/shipment-provider-img/turkey-post.png ADDED
Binary file
includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php CHANGED
@@ -130,9 +130,30 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
130
  ),
131
  'schema' => array( $this, 'get_public_item_schema' ),
132
  ) );
 
 
 
 
 
 
 
 
 
 
133
  }
134
 
135
  /*
 
 
 
 
 
 
 
 
 
 
 
136
  * check_wcast_installed
137
  */
138
  public function check_wcast_installed( $request ){
130
  ),
131
  'schema' => array( $this, 'get_public_item_schema' ),
132
  ) );
133
+
134
+ //check_wcast_installed_from_third_party_tool
135
+ register_rest_route( $this->namespace, '/check_wcast_installed_from_third_party_tool', array(
136
+ array(
137
+ 'methods' => 'GET',
138
+ 'callback' => array( $this, 'check_wcast_installed_from_third_party_tool' ),
139
+ 'permission_callback' => array( $this, 'get_item_permissions_check' ),
140
+ ),
141
+ 'schema' => array( $this, 'get_public_item_schema' ),
142
+ ) );
143
  }
144
 
145
  /*
146
+ * check_wcast_installed_from_third_party_tool
147
+ */
148
+ public function check_wcast_installed_from_third_party_tool( $request ){
149
+
150
+ $data = array(
151
+ 'status' => 'installed'
152
+ );
153
+ return rest_ensure_response( $data );
154
+ }
155
+
156
+ /*
157
  * check_wcast_installed
158
  */
159
  public function check_wcast_installed( $request ){
includes/class-wc-advanced-shipment-tracking-admin.php CHANGED
@@ -728,21 +728,27 @@ class WC_Advanced_Shipment_Tracking_Admin {
728
  }
729
  wp_enqueue_script( 'shipment_tracking_table_rows' );
730
  ?>
731
- <h1 class="plugin-title"><?php _e('Advanced Shipment Tracking', 'woo-advanced-shipment-tracking'); ?></h1>
732
- <div class="wrap woocommerce zorem_admin_layout">
 
733
  <div class="ast_admin_content" >
734
 
735
- <input id="tab1" type="radio" name="tabs" class="tab_input" <?php if(!isset($_GET['tab'])){ echo 'checked'; } ?> >
736
- <label for="tab1" class="tab_label"><?php _e('Shipping Providers', 'woo-advanced-shipment-tracking'); ?></label>
737
-
738
- <input id="tab2" type="radio" name="tabs" class="tab_input" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'settings' || $_GET['tab'] == 'delivered-order-status')){ echo 'checked'; } ?>>
739
- <label for="tab2" class="tab_label"><?php _e('Settings', 'woo-advanced-shipment-tracking'); ?></label>
740
 
741
- <input id="tab4" type="radio" name="tabs" class="tab_input" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'bulk-upload'){ echo 'checked'; } ?>>
742
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
743
 
744
- <input id="tab3" type="radio" name="tabs" class="tab_input" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'trackship' || $_GET['tab'] == 'tracking-page' || $_GET['tab'] == 'shipment-status-notifications')){ echo 'checked'; } ?>>
745
  <label for="tab3" class="tab_label"><?php _e('TrackShip', 'woo-advanced-shipment-tracking'); ?></label>
 
 
 
 
 
746
 
747
  <?php require_once( 'views/admin_options_shipping_provider.php' );?>
748
  <?php require_once( 'views/admin_options_settings.php' );?>
@@ -754,7 +760,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
754
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
755
  <div class="mdl-snackbar__text"></div>
756
  <button class="mdl-snackbar__action" type="button"></button>
757
- </div>
 
 
 
 
 
 
 
 
758
  <?php
759
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
760
  <script>
@@ -950,7 +964,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
950
 
951
  // Get orders completed.
952
  $args = array(
953
- 'status' => 'wc-completed',
 
 
954
  );
955
  $orders = wc_get_orders( $args );
956
  $completed_order_with_tracking = 0;
@@ -982,14 +998,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
982
  $completed_order_label = '<span class="shipped_label">completed</span>';
983
  }
984
  //echo '<pre>';print_r($completed_order_with_tracking);echo '</pre>';
985
- $form_data = array(
986
- 'wc_ast_trackship_connection_status' => array(
987
- 'type' => 'key_field',
988
- 'title' => __( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ),
989
- 'connected' => $connected,
990
- 'show' => $show_trackship_field,
991
- 'class' => '',
992
- ),
993
  'wc_ast_api_enabled' => array(
994
  'type' => 'checkbox',
995
  'title' => __( 'Enable/Disable', 'woo-advanced-shipment-tracking' ),
@@ -1002,10 +1011,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
1002
  'show' => $show_trackship_field,
1003
  'class' => '',
1004
  'disabled' => $disabled_change_to_delivered,
1005
- ),
1006
  'wc_ast_bulk_shipment_status' => array(
1007
  'type' => 'button',
1008
- 'title' => sprintf(__('You have %s %s orders that you can track with TrackShip, you can send these shipments to TrackShip in Bulk.', 'woo-advanced-shipment-tracking'), $completed_order_with_tracking , $completed_order_label),
1009
  'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
1010
  'show' => $show_bulk_sync,
1011
  'button_class' => 'bulk_shipment_status_button',
@@ -1058,12 +1067,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
1058
  'desc' => $page_desc,
1059
  'class' => '',
1060
  ),
1061
- 'wc_ast_remove_trackship_branding' => array(
1062
- 'type' => 'checkbox',
1063
- 'title' => __( 'Remove Trackship branding from tracking page', 'woo-advanced-shipment-tracking' ),
1064
- 'show' => $show_trackship_field,
1065
- 'class' => '',
1066
- ),
1067
  'wc_ast_use_tracking_page' => array(
1068
  'type' => 'checkbox',
1069
  'title' => __( 'Use the tracking page in the customer email/my account tracking link', 'woo-advanced-shipment-tracking' ),
@@ -1081,7 +1084,19 @@ class WC_Advanced_Shipment_Tracking_Admin {
1081
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1082
  'class' => 'color_field',
1083
  'show' => $show_trackship_field,
1084
- ),
 
 
 
 
 
 
 
 
 
 
 
 
1085
  );
1086
  return $form_data;
1087
 
@@ -1133,23 +1148,56 @@ class WC_Advanced_Shipment_Tracking_Admin {
1133
  * return array
1134
  */
1135
  function get_settings_data(){
1136
- if ( is_plugin_active( 'woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php' ) ) {
1137
- $show_invoice_field = true;
1138
- } else{
1139
- $show_invoice_field = false;
1140
- }
1141
-
1142
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
1143
  if($wc_ast_status_shipped == 1){
1144
  $completed_order_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
1145
- $mark_as_shipped_label = __( 'Default "mark as <span class="shipped_label">shipped</span>" checkbox state', 'woo-advanced-shipment-tracking' );
1146
  $mark_as_shipped_tooltip = __( "This means that the 'mark as <span class='shipped_label'>shipped</span>' will be selected by default when adding tracking info to orders.", 'woo-advanced-shipment-tracking' );
1147
  } else{
1148
  $completed_order_label = __( 'Completed', 'woo-advanced-shipment-tracking' );
1149
- $mark_as_shipped_label = __( 'Default "mark as <span class="shipped_label">completed</span>" checkbox state', 'woo-advanced-shipment-tracking' );
1150
  $mark_as_shipped_tooltip = __( "This means that the 'mark as <span class='shipped_label'>completed</span>' will be selected by default when adding tracking info to orders.", 'woo-advanced-shipment-tracking' );
1151
  }
1152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1153
  $form_data = array(
1154
  'wc_ast_status_shipped' => array(
1155
  'type' => 'checkbox',
@@ -1166,14 +1214,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1166
  ),
1167
  'wc_ast_unclude_tracking_info' => array(
1168
  'type' => 'multiple_checkbox',
1169
- 'title' => __( 'On which customer order status email to include tracking info?', 'woo-advanced-shipment-tracking' ),'options' => array(
1170
- "show_in_cancelled" =>__( 'Cancelled', 'woo-advanced-shipment-tracking' ),
1171
- "show_in_customer_invoice" =>__( 'Customer Invoice', 'woo-advanced-shipment-tracking' ),
1172
- "show_in_refunded" =>__( 'Refunded', 'woo-advanced-shipment-tracking' ),
1173
- "show_in_processing" =>__( 'Processing', 'woo-advanced-shipment-tracking' ),
1174
- "show_in_failed" =>__( 'Failed', 'woo-advanced-shipment-tracking' ),
1175
- "show_in_completed" =>__( $completed_order_label, 'woo-advanced-shipment-tracking' ),
1176
- ),
1177
  'show' => true,
1178
  'class' => '',
1179
  ),
@@ -1202,20 +1243,31 @@ class WC_Advanced_Shipment_Tracking_Admin {
1202
  $form_data = array(
1203
  'wc_ast_status_delivered' => array(
1204
  'type' => 'checkbox',
1205
- 'title' => __( 'Enable a New Custom order status - “Delivered', 'woo-advanced-shipment-tracking' ),
1206
  'tooltip' => __( 'if you enable the delivered item, you will have the option to send delivered email notifications.', 'woo-advanced-shipment-tracking' ),
1207
  'show' => true,
1208
  'class' => '',
1209
  ),
1210
  'wc_ast_status_label_color' => array(
1211
  'type' => 'color',
1212
- 'title' => __( 'Delivered Status Label color', 'woo-advanced-shipment-tracking' ),
1213
  'class' => 'status_label_color_th',
1214
  'show' => true,
1215
  ),
 
 
 
 
 
 
 
 
 
 
 
1216
  'wcast_enable_delivered_email' => array(
1217
  'type' => 'checkbox',
1218
- 'title' => __( 'Delivered order status email', 'woo-advanced-shipment-tracking' ),
1219
  'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email')."'>".__( 'Edit', 'woo-advanced-shipment-tracking' )."</a>",
1220
  'class' => 'status_label_color_th',
1221
  'show' => true,
@@ -1288,11 +1340,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
1288
 
1289
 
1290
  function footer_function(){
1291
- $color = get_option('wc_ast_status_label_color');
 
1292
  ?>
1293
  <style>
1294
  .order-status.status-delivered{
1295
- background: <?php echo $color; ?>;
 
1296
  }
1297
  </style>
1298
  <?php
@@ -1418,6 +1472,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
1418
  if(empty($tracking_number)){
1419
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1420
  }
 
 
 
1421
  if(empty($date_shipped)){
1422
  echo '<li class="error">Failed - Empty Date Shipped for Order Id - '.$_POST['order_id'].'</li>';exit;
1423
  }
@@ -1526,8 +1583,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
1526
  public static function bulk_shipment_status_from_settings_fun(){
1527
  $args = array(
1528
  'status' => 'wc-completed',
1529
- );
1530
-
 
1531
  $orders = wc_get_orders( $args );
1532
  foreach($orders as $order){
1533
  $order_id = $order->get_id();
@@ -1620,6 +1678,12 @@ class WC_Advanced_Shipment_Tracking_Admin {
1620
  case "invalid_user_key":
1621
  $status = __( 'Invalid User Key', 'woo-advanced-shipment-tracking' );
1622
  break;
 
 
 
 
 
 
1623
 
1624
  }
1625
  return $status;
@@ -1660,6 +1724,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
1660
  case "INVALID_TRACKING_NUM":
1661
  $html = '<i class="fa fa-question-circle icon-'.$status.'" aria-hidden="true"></i>';
1662
  break;
 
 
 
1663
  case "invalid_user_key":
1664
  $html = '<span class="icon-'.$status.'">';
1665
  break;
@@ -1831,58 +1898,60 @@ class WC_Advanced_Shipment_Tracking_Admin {
1831
  if($default_shippment_providers){
1832
  foreach($default_shippment_providers as $d_s_p){ ?>
1833
  <div class="provider <?php if($d_s_p->display_in_order == 1) { echo 'active_provider'; } ?>">
1834
- <div class="row-1">
1835
- <div class="left-div">
1836
- <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
1837
- <?php if( $d_s_p->shipping_default == 1 ){ ?>
1838
- <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($d_s_p->provider_name);?>.png?v=<?php echo wc_advanced_shipment_tracking()->version;?>">
1839
- <?php } else{
1840
- $custom_thumb_id = $d_s_p->custom_thumb_id;
1841
- $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array('60','60') );
1842
- //echo '<pre>';print_r($custom_thumb_id);echo '</pre>';exit;
1843
- if($custom_thumb_id != 0){ ?>
1844
- <img class="provider-thumb" src="<?php echo $image_attributes[0]; ?>">
1845
- <?php } else{
1846
- ?>
1847
- <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/icon-default.png">
1848
- <?php } ?>
1849
- <?php } ?>
1850
- </a>
1851
- </div>
1852
- <div class="right-div">
1853
- <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
1854
- <span class="provider_name"><?php echo $d_s_p->provider_name; ?></span>
1855
- </a>
1856
- <br>
1857
- <span class="provider_country"><?php
1858
- $search = array('(US)', '(UK)');
1859
- $replace = array('', '');
1860
- if($d_s_p->shipping_country && $d_s_p->shipping_country != 'Global'){
1861
- echo str_replace($search, $replace, $WC_Countries->countries[$d_s_p->shipping_country]);
1862
- } elseif($d_s_p->shipping_country && $d_s_p->shipping_country == 'Global'){
1863
- echo 'Global';
1864
- }
1865
- ?></span>
1866
- </div>
1867
- </div>
1868
- <div class="row-2">
1869
- <div class="default-provider">
1870
- <?php $default_provider = get_option("wc_ast_default_provider" );?>
1871
- <label for="make_default_<?php echo $d_s_p->id; ?>" id="default_label_<?php echo $d_s_p->id; ?>" class="<?php if($d_s_p->display_in_order != 1) { echo 'disable_label'; } ?>">
1872
- <input type="checkbox" id="make_default_<?php echo $d_s_p->id; ?>" name="make_provider_default" data-id="<?php echo $d_s_p->id; ?>" class="make_provider_default" value="<?php echo sanitize_title( $d_s_p->provider_name )?>" <?php if( $default_provider == sanitize_title( $d_s_p->provider_name ) )echo 'checked';?> <?php if($d_s_p->display_in_order != 1) { echo 'disabled'; } ?>>
1873
- <span>default</span>
1874
- </label>
1875
  </div>
1876
- <div class="provider-status">
1877
- <?php if( $d_s_p->shipping_default == 0 ){ ?>
1878
- <span class="dashicons dashicons-edit edit_provider" data-pid="<?php echo $d_s_p->id; ?>"></span>
1879
- <span class="dashicons dashicons-trash remove" data-pid="<?php echo $d_s_p->id; ?>"></span>
1880
- <?php } ?>
1881
- <span class="mdl-list__item-secondary-action">
1882
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-<?php echo $d_s_p->id; ?>">
1883
- <input type="checkbox" name="select_custom_provider[]" id="list-switch-<?php echo $d_s_p->id; ?>" class="mdl-switch__input status_slide" value="<?php echo $d_s_p->id; ?>" <?php if($d_s_p->display_in_order == 1) { echo 'checked'; } ?> />
1884
  </label>
1885
- </span>
 
 
 
 
 
 
 
 
 
 
 
1886
  </div>
1887
  </div>
1888
  </div>
728
  }
729
  wp_enqueue_script( 'shipment_tracking_table_rows' );
730
  ?>
731
+ <!--h1 class="plugin-title"><?php _e('Advanced Shipment Tracking', 'woo-advanced-shipment-tracking'); ?></h1-->
732
+ <img class="plugin-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ast-logo.png">
733
+ <div class="woocommerce zorem_admin_layout">
734
  <div class="ast_admin_content" >
735
 
736
+ <input id="tab2" type="radio" name="tabs" class="tab_input" data-tab="settings" checked>
737
+ <label for="tab2" class="tab_label first_label"><?php _e('Settings', 'woo-advanced-shipment-tracking'); ?></label>
738
+
739
+ <input id="tab1" type="radio" name="tabs" class="tab_input" data-tab="shipping-providers" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'shipping-providers'){ echo 'checked'; } ?>>
740
+ <label for="tab1" class="tab_label"><?php _e('Shipping Providers', 'woo-advanced-shipment-tracking'); ?></label>
741
 
742
+ <input id="tab4" type="radio" name="tabs" class="tab_input" data-tab="bulk-upload" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'bulk-upload'){ echo 'checked'; } ?>>
743
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
744
 
745
+ <input id="tab3" type="radio" name="tabs" class="tab_input" data-tab="trackship" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'trackship' || $_GET['tab'] == 'tracking-page' || $_GET['tab'] == 'shipment-status-notifications')){ echo 'checked'; } ?>>
746
  <label for="tab3" class="tab_label"><?php _e('TrackShip', 'woo-advanced-shipment-tracking'); ?></label>
747
+
748
+ <div class="nav_doc_section">
749
+ <a target="blank" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/" style="margin-right: 25px;"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
750
+ <a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
751
+ </div>
752
 
753
  <?php require_once( 'views/admin_options_shipping_provider.php' );?>
754
  <?php require_once( 'views/admin_options_settings.php' );?>
760
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
761
  <div class="mdl-snackbar__text"></div>
762
  <button class="mdl-snackbar__action" type="button"></button>
763
+ </div>
764
+ <div id="" class="popupwrapper how_to_video_popup" style="display:none;">
765
+ <div class="popuprow">
766
+ <div class="videoWrapper">
767
+ <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
768
+ </div>
769
+ </div>
770
+ <div class="popupclose"></div>
771
+ </div>
772
  <?php
773
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
774
  <script>
964
 
965
  // Get orders completed.
966
  $args = array(
967
+ 'status' => 'wc-completed',
968
+ 'limit' => -1,
969
+ 'date_created' => '>' . ( time() - 2592000 ),
970
  );
971
  $orders = wc_get_orders( $args );
972
  $completed_order_with_tracking = 0;
998
  $completed_order_label = '<span class="shipped_label">completed</span>';
999
  }
1000
  //echo '<pre>';print_r($completed_order_with_tracking);echo '</pre>';
1001
+ $form_data = array(
 
 
 
 
 
 
 
1002
  'wc_ast_api_enabled' => array(
1003
  'type' => 'checkbox',
1004
  'title' => __( 'Enable/Disable', 'woo-advanced-shipment-tracking' ),
1011
  'show' => $show_trackship_field,
1012
  'class' => '',
1013
  'disabled' => $disabled_change_to_delivered,
1014
+ ),
1015
  'wc_ast_bulk_shipment_status' => array(
1016
  'type' => 'button',
1017
+ 'title' => sprintf(__('You have %s %s orders from the last 30 days, would you like to bulk send all these orders to TrackShip?', 'woo-advanced-shipment-tracking'), $completed_order_with_tracking , $completed_order_label),
1018
  'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
1019
  'show' => $show_bulk_sync,
1020
  'button_class' => 'bulk_shipment_status_button',
1067
  'desc' => $page_desc,
1068
  'class' => '',
1069
  ),
 
 
 
 
 
 
1070
  'wc_ast_use_tracking_page' => array(
1071
  'type' => 'checkbox',
1072
  'title' => __( 'Use the tracking page in the customer email/my account tracking link', 'woo-advanced-shipment-tracking' ),
1084
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1085
  'class' => 'color_field',
1086
  'show' => $show_trackship_field,
1087
+ ),
1088
+ 'wc_ast_hide_tracking_events' => array(
1089
+ 'type' => 'checkbox',
1090
+ 'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
1091
+ 'show' => $show_trackship_field,
1092
+ 'class' => '',
1093
+ ),
1094
+ 'wc_ast_remove_trackship_branding' => array(
1095
+ 'type' => 'checkbox',
1096
+ 'title' => __( 'Remove TrackShip branding', 'woo-advanced-shipment-tracking' ),
1097
+ 'show' => $show_trackship_field,
1098
+ 'class' => '',
1099
+ ),
1100
  );
1101
  return $form_data;
1102
 
1148
  * return array
1149
  */
1150
  function get_settings_data(){
1151
+
 
 
 
 
 
1152
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
1153
  if($wc_ast_status_shipped == 1){
1154
  $completed_order_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
1155
+ $mark_as_shipped_label = __( 'Default "mark as <span class="shipped_label">shipped</span>"', 'woo-advanced-shipment-tracking' );
1156
  $mark_as_shipped_tooltip = __( "This means that the 'mark as <span class='shipped_label'>shipped</span>' will be selected by default when adding tracking info to orders.", 'woo-advanced-shipment-tracking' );
1157
  } else{
1158
  $completed_order_label = __( 'Completed', 'woo-advanced-shipment-tracking' );
1159
+ $mark_as_shipped_label = __( 'Default "mark as <span class="shipped_label">completed</span>"', 'woo-advanced-shipment-tracking' );
1160
  $mark_as_shipped_tooltip = __( "This means that the 'mark as <span class='shipped_label'>completed</span>' will be selected by default when adding tracking info to orders.", 'woo-advanced-shipment-tracking' );
1161
  }
1162
 
1163
+ $all_order_status = wc_get_order_statuses();
1164
+
1165
+ $default_order_status = array(
1166
+ 'wc-pending' => 'Pending payment',
1167
+ 'wc-processing' => 'Processing',
1168
+ 'wc-on-hold' => 'On hold',
1169
+ 'wc-completed' => 'Completed',
1170
+ 'wc-delivered' => 'Delivered',
1171
+ 'wc-cancelled' => 'Cancelled',
1172
+ 'wc-refunded' => 'Refunded',
1173
+ 'wc-failed' => 'Failed'
1174
+ );
1175
+ foreach($default_order_status as $key=>$value){
1176
+ unset($all_order_status[$key]);
1177
+ }
1178
+ $custom_order_status = $all_order_status;
1179
+ foreach($custom_order_status as $key=>$value){
1180
+ unset($custom_order_status[$key]);
1181
+ $key = str_replace("wc-", "", $key);
1182
+ $custom_order_status[$key] = $value;
1183
+ }
1184
+
1185
+ $order_status = array(
1186
+ "cancelled" =>__( 'Cancelled', 'woo-advanced-shipment-tracking' ),
1187
+ "show_in_customer_invoice" =>__( 'Customer Invoice', 'woo-advanced-shipment-tracking' ),
1188
+ "refunded" =>__( 'Refunded', 'woo-advanced-shipment-tracking' ),
1189
+ "processing" =>__( 'Processing', 'woo-advanced-shipment-tracking' ),
1190
+ "failed" =>__( 'Failed', 'woo-advanced-shipment-tracking' ),
1191
+ "completed" =>__( $completed_order_label, 'woo-advanced-shipment-tracking' ),
1192
+ );
1193
+ $order_status_array = array_merge($order_status,$custom_order_status);
1194
+
1195
+ if ( is_plugin_active( 'woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php' ) ) {
1196
+ $show_invoice_field = true;
1197
+ } else{
1198
+ $show_invoice_field = false;
1199
+ }
1200
+
1201
  $form_data = array(
1202
  'wc_ast_status_shipped' => array(
1203
  'type' => 'checkbox',
1214
  ),
1215
  'wc_ast_unclude_tracking_info' => array(
1216
  'type' => 'multiple_checkbox',
1217
+ 'title' => __( 'On which order status email to include the shipment tracking info?', 'woo-advanced-shipment-tracking' ),'options' => $order_status_array,
 
 
 
 
 
 
 
1218
  'show' => true,
1219
  'class' => '',
1220
  ),
1243
  $form_data = array(
1244
  'wc_ast_status_delivered' => array(
1245
  'type' => 'checkbox',
1246
+ 'title' => __( 'Enable custom order status “Delivered"', 'woo-advanced-shipment-tracking' ),
1247
  'tooltip' => __( 'if you enable the delivered item, you will have the option to send delivered email notifications.', 'woo-advanced-shipment-tracking' ),
1248
  'show' => true,
1249
  'class' => '',
1250
  ),
1251
  'wc_ast_status_label_color' => array(
1252
  'type' => 'color',
1253
+ 'title' => __( 'Delivered Label color', 'woo-advanced-shipment-tracking' ),
1254
  'class' => 'status_label_color_th',
1255
  'show' => true,
1256
  ),
1257
+ 'wc_ast_status_label_font_color' => array(
1258
+ 'type' => 'dropdown',
1259
+ 'title' => __( 'Delivered Label font color', 'woo-advanced-shipment-tracking' ),
1260
+ 'options' => array(
1261
+ "" =>__( 'Select', 'woo-advanced-shipment-tracking' ),
1262
+ "#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
1263
+ "#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
1264
+ ),
1265
+ 'class' => 'status_label_color_th',
1266
+ 'show' => true,
1267
+ ),
1268
  'wcast_enable_delivered_email' => array(
1269
  'type' => 'checkbox',
1270
+ 'title' => __( 'Enable the Delivered order status email', 'woo-advanced-shipment-tracking' ),
1271
  'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email')."'>".__( 'Edit', 'woo-advanced-shipment-tracking' )."</a>",
1272
  'class' => 'status_label_color_th',
1273
  'show' => true,
1340
 
1341
 
1342
  function footer_function(){
1343
+ $bg_color = get_option('wc_ast_status_label_color');
1344
+ $color = get_option('wc_ast_status_label_font_color','#fff');
1345
  ?>
1346
  <style>
1347
  .order-status.status-delivered{
1348
+ background: <?php echo $bg_color; ?>;
1349
+ color: <?php echo $color; ?>;
1350
  }
1351
  </style>
1352
  <?php
1472
  if(empty($tracking_number)){
1473
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1474
  }
1475
+ if(preg_match('/[^a-z0-9 \b]+/i', $tracking_number)){
1476
+ echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1477
+ }
1478
  if(empty($date_shipped)){
1479
  echo '<li class="error">Failed - Empty Date Shipped for Order Id - '.$_POST['order_id'].'</li>';exit;
1480
  }
1583
  public static function bulk_shipment_status_from_settings_fun(){
1584
  $args = array(
1585
  'status' => 'wc-completed',
1586
+ 'limit' => -1,
1587
+ 'date_created' => '>' . ( time() - 2592000 ),
1588
+ );
1589
  $orders = wc_get_orders( $args );
1590
  foreach($orders as $order){
1591
  $order_id = $order->get_id();
1678
  case "invalid_user_key":
1679
  $status = __( 'Invalid User Key', 'woo-advanced-shipment-tracking' );
1680
  break;
1681
+ case "wrong_shipping_provider":
1682
+ $status = __( 'Wrong Shipping Provider', 'woo-advanced-shipment-tracking' );
1683
+ break;
1684
+ case "deleted":
1685
+ $status = __( 'Deleted', 'woo-advanced-shipment-tracking' );
1686
+ break;
1687
 
1688
  }
1689
  return $status;
1724
  case "INVALID_TRACKING_NUM":
1725
  $html = '<i class="fa fa-question-circle icon-'.$status.'" aria-hidden="true"></i>';
1726
  break;
1727
+ case "wrong_shipping_provider":
1728
+ $html = '<i class="fa fa-question-circle icon-'.$status.'" aria-hidden="true"></i>';
1729
+ break;
1730
  case "invalid_user_key":
1731
  $html = '<span class="icon-'.$status.'">';
1732
  break;
1898
  if($default_shippment_providers){
1899
  foreach($default_shippment_providers as $d_s_p){ ?>
1900
  <div class="provider <?php if($d_s_p->display_in_order == 1) { echo 'active_provider'; } ?>">
1901
+ <div class="provider_inner">
1902
+ <div class="row-1">
1903
+ <div class="left-div">
1904
+ <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
1905
+ <?php if( $d_s_p->shipping_default == 1 ){ ?>
1906
+ <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($d_s_p->provider_name);?>.png?v=<?php echo wc_advanced_shipment_tracking()->version;?>">
1907
+ <?php } else{
1908
+ $custom_thumb_id = $d_s_p->custom_thumb_id;
1909
+ $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array('60','60') );
1910
+ //echo '<pre>';print_r($custom_thumb_id);echo '</pre>';exit;
1911
+ if($custom_thumb_id != 0){ ?>
1912
+ <img class="provider-thumb" src="<?php echo $image_attributes[0]; ?>">
1913
+ <?php } else{
1914
+ ?>
1915
+ <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/icon-default.png">
1916
+ <?php } ?>
1917
+ <?php } ?>
1918
+ </a>
1919
+ </div>
1920
+ <div class="right-div">
1921
+ <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
1922
+ <span class="provider_name"><?php echo $d_s_p->provider_name; ?></span>
1923
+ </a>
1924
+ <br>
1925
+ <span class="provider_country"><?php
1926
+ $search = array('(US)', '(UK)');
1927
+ $replace = array('', '');
1928
+ if($d_s_p->shipping_country && $d_s_p->shipping_country != 'Global'){
1929
+ echo str_replace($search, $replace, $WC_Countries->countries[$d_s_p->shipping_country]);
1930
+ } elseif($d_s_p->shipping_country && $d_s_p->shipping_country == 'Global'){
1931
+ echo 'Global';
1932
+ }
1933
+ ?></span>
1934
+ </div>
 
 
 
 
 
 
 
1935
  </div>
1936
+ <div class="row-2">
1937
+ <div class="default-provider">
1938
+ <?php $default_provider = get_option("wc_ast_default_provider" );?>
1939
+ <label for="make_default_<?php echo $d_s_p->id; ?>" id="default_label_<?php echo $d_s_p->id; ?>" class="<?php if($d_s_p->display_in_order != 1) { echo 'disable_label'; } ?>">
1940
+ <input type="checkbox" id="make_default_<?php echo $d_s_p->id; ?>" name="make_provider_default" data-id="<?php echo $d_s_p->id; ?>" class="make_provider_default" value="<?php echo sanitize_title( $d_s_p->provider_name )?>" <?php if( $default_provider == sanitize_title( $d_s_p->provider_name ) )echo 'checked';?> <?php if($d_s_p->display_in_order != 1) { echo 'disabled'; } ?>>
1941
+ <span>default</span>
 
 
1942
  </label>
1943
+ </div>
1944
+ <div class="provider-status">
1945
+ <?php if( $d_s_p->shipping_default == 0 ){ ?>
1946
+ <span class="dashicons dashicons-edit edit_provider" data-pid="<?php echo $d_s_p->id; ?>"></span>
1947
+ <span class="dashicons dashicons-trash remove" data-pid="<?php echo $d_s_p->id; ?>"></span>
1948
+ <?php } ?>
1949
+ <span class="mdl-list__item-secondary-action">
1950
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-<?php echo $d_s_p->id; ?>">
1951
+ <input type="checkbox" name="select_custom_provider[]" id="list-switch-<?php echo $d_s_p->id; ?>" class="mdl-switch__input status_slide" value="<?php echo $d_s_p->id; ?>" <?php if($d_s_p->display_in_order == 1) { echo 'checked'; } ?> />
1952
+ </label>
1953
+ </span>
1954
+ </div>
1955
  </div>
1956
  </div>
1957
  </div>
includes/class-wc-advanced-shipment-tracking-front.php CHANGED
@@ -56,6 +56,7 @@ class WC_Advanced_Shipment_Tracking_Front {
56
 
57
  add_action( 'wp_ajax_nopriv_get_tracking_info', array( $this, 'get_tracking_info_fun') );
58
  add_action( 'wp_ajax_get_tracking_info', array( $this, 'get_tracking_info_fun') );
 
59
  }
60
 
61
  public function front_styles(){
@@ -70,7 +71,8 @@ class WC_Advanced_Shipment_Tracking_Front {
70
  $primary_color = get_option('wc_ast_select_primary_color');
71
  $success_color = get_option('wc_ast_select_success_color');
72
  $warning_color = get_option('wc_ast_select_warning_color');
73
- $border_color = get_option('wc_ast_select_border_color');
 
74
  ?>
75
  <style>
76
 
@@ -130,22 +132,25 @@ class WC_Advanced_Shipment_Tracking_Front {
130
  ?>
131
 
132
  <?php
133
- if(!isset($order_id)){
 
134
  ?>
135
  <div class="track-order-section">
136
- <form method="post" class="order_track_form">
137
-
138
- <p><?php _e( 'To track your order please enter your Order ID in the box below and press the "Track" button. This was given to you on your receipt and in the confirmation email you should have received.', 'woo-advanced-shipment-tracking' ); ?></p>
139
- <p class="form-row form-row-first"><label for="order_id"><?php _e( 'Order ID', 'woo-advanced-shipment-tracking' ); ?></label> <input class="input-text" type="text" name="order_id" id="order_id" value="" placeholder="<?php _e( 'Found in your order confirmation email.', 'woo-advanced-shipment-tracking' ); ?>"></p>
140
- <p class="form-row form-row-last"><label for="order_email"><?php _e( 'Order Email', 'woo-advanced-shipment-tracking' ); ?></label> <input class="input-text" type="text" name="order_email" id="order_email" value="" placeholder="<?php _e( 'Found in your order confirmation email.', 'woo-advanced-shipment-tracking' ); ?>"></p>
141
  <div class="clear"></div>
142
  <input type="hidden" name="action" value="get_tracking_info">
143
- <p class="form-row"><button type="submit" class="button" name="track" value="Track"><?php _e( 'Track', 'woo-advanced-shipment-tracking' ); ?></button></p>
144
  <div class="track_fail_msg" style="display:none;color: red;"></div>
145
  </form>
146
  </div>
147
  <?php
 
 
148
  } else{
 
149
  if ( is_plugin_active( 'custom-order-numbers-for-woocommerce/custom-order-numbers-for-woocommerce.php' ) ) {
150
  $alg_wc_custom_order_numbers_enabled = get_option('alg_wc_custom_order_numbers_enabled');
151
  if($alg_wc_custom_order_numbers_enabled == 'yes'){
@@ -298,7 +303,8 @@ class WC_Advanced_Shipment_Tracking_Front {
298
  } else{
299
  $state2_class = 'out_for_delivery';
300
  }
301
-
 
302
  ?>
303
 
304
  <div class="tracking-detail col">
@@ -326,7 +332,11 @@ class WC_Advanced_Shipment_Tracking_Front {
326
  <?php } ?>
327
  </div>
328
  </div>
329
- <?php if(isset($tracker->ep_status)){ ?>
 
 
 
 
330
  <div class="status-section desktop-section">
331
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
332
  <div class="progress">
@@ -422,8 +432,8 @@ class WC_Advanced_Shipment_Tracking_Front {
422
  </div>
423
  </div>
424
  </div>
425
- <?php } ?>
426
- <?php if( !empty($trackind_detail_by_status_rev) ){ ?>
427
  <div class="shipment_progress_div">
428
  <div class="shipment_progress_heading_div">
429
  <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
@@ -465,11 +475,15 @@ class WC_Advanced_Shipment_Tracking_Front {
465
  <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
466
  </div>
467
  <?php } ?>
468
- <?php } }
 
 
 
469
 
470
  public function get_tracking_info_fun(){
471
  global $wpdb;
472
- $wc_ast_api_key = get_option('wc_ast_api_key');
 
473
  if(!$wc_ast_api_key){
474
  return;
475
  }
@@ -779,7 +793,7 @@ class WC_Advanced_Shipment_Tracking_Front {
779
  </div>
780
  </div>
781
  <?php } ?>
782
- <?php if( !empty($trackind_detail_by_status_rev) ){ ?>
783
  <div class="shipment_progress_div">
784
  <div class="shipment_progress_heading_div">
785
  <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
@@ -847,9 +861,10 @@ class WC_Advanced_Shipment_Tracking_Front {
847
  function preview_tracking_page(){
848
  get_header();
849
 
850
- $wc_ast_api_key = get_option('wc_ast_api_key');
851
  $primary_color = get_option('wc_ast_select_primary_color');
852
- $border_color = get_option('wc_ast_select_border_color');
 
853
  ?>
854
  <style>
855
  <?php if($primary_color){ ?>
@@ -947,32 +962,34 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
947
  </div>
948
  </div>
949
  </div>
950
- <div class="shipment_progress_div">
951
- <div class="shipment_progress_heading_div">
952
- <h4 class="tracking-number h4-heading">Tracking Details</h4>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
953
  </div>
954
- <table class="tracking-table">
955
- <tbody>
956
- <tr>
957
- <td>June 28, 2019 1:46 pm</td>
958
- <td>Delivered</td>
959
- <td>Delivered, Garage or Other Location at Address</td>
960
- </tr>
961
- <tr>
962
- <td>June 28, 2019 8:31 am</td>
963
- <td>Out for delivery</td>
964
- <td>Out for Delivery</td>
965
- </tr>
966
- <tr style="display: none;">
967
- <td>June 28, 2019 8:21 am</td>
968
- <td>In Transit</td>
969
- <td>Sorting Complete</td>
970
- </tr>
971
- </tbody>
972
- </table>
973
- <a class="view_table_rows" href="javaScript:void(0);" style="display: inline;">view more</a>
974
- <a class="hide_table_rows" href="javaScript:void(0);" style="display: none;">view less</a>
975
- </div>
976
  </div>
977
  <?php
978
  $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
56
 
57
  add_action( 'wp_ajax_nopriv_get_tracking_info', array( $this, 'get_tracking_info_fun') );
58
  add_action( 'wp_ajax_get_tracking_info', array( $this, 'get_tracking_info_fun') );
59
+
60
  }
61
 
62
  public function front_styles(){
71
  $primary_color = get_option('wc_ast_select_primary_color');
72
  $success_color = get_option('wc_ast_select_success_color');
73
  $warning_color = get_option('wc_ast_select_warning_color');
74
+ $border_color = get_option('wc_ast_select_border_color');
75
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
76
  ?>
77
  <style>
78
 
132
  ?>
133
 
134
  <?php
135
+ if(!isset($order_id)){
136
+ ob_start();
137
  ?>
138
  <div class="track-order-section">
139
+ <form method="post" class="order_track_form">
140
+ <p><?php echo apply_filters( 'ast_tracking_page_front_text', __( 'To track your order please enter your Order ID in the box below and press the "Track" button. This was given to you on your receipt and in the confirmation email you should have received.', 'woo-advanced-shipment-tracking' ) ); ?></p>
141
+ <p class="form-row form-row-first"><label for="order_id"><?php echo apply_filters( 'ast_tracking_page_front_order_label', __( 'Order ID', 'woo-advanced-shipment-tracking' ) ); ?></label> <input class="input-text" type="text" name="order_id" id="order_id" value="" placeholder="<?php _e( 'Found in your order confirmation email.', 'woo-advanced-shipment-tracking' ); ?>"></p>
142
+ <p class="form-row form-row-last"><label for="order_email"><?php echo apply_filters( 'ast_tracking_page_front_order_email_label', __( 'Order Email', 'woo-advanced-shipment-tracking' ) ); ?></label> <input class="input-text" type="text" name="order_email" id="order_email" value="" placeholder="<?php _e( 'Found in your order confirmation email.', 'woo-advanced-shipment-tracking' ); ?>"></p>
 
143
  <div class="clear"></div>
144
  <input type="hidden" name="action" value="get_tracking_info">
145
+ <p class="form-row"><button type="submit" class="button" name="track" value="Track"><?php echo apply_filters( 'ast_tracking_page_front_track_label', __( 'Track', 'woo-advanced-shipment-tracking' ) ); ?></button></p>
146
  <div class="track_fail_msg" style="display:none;color: red;"></div>
147
  </form>
148
  </div>
149
  <?php
150
+ $form = ob_get_clean();
151
+ return $form;
152
  } else{
153
+ ob_start();
154
  if ( is_plugin_active( 'custom-order-numbers-for-woocommerce/custom-order-numbers-for-woocommerce.php' ) ) {
155
  $alg_wc_custom_order_numbers_enabled = get_option('alg_wc_custom_order_numbers_enabled');
156
  if($alg_wc_custom_order_numbers_enabled == 'yes'){
303
  } else{
304
  $state2_class = 'out_for_delivery';
305
  }
306
+
307
+
308
  ?>
309
 
310
  <div class="tracking-detail col">
332
  <?php } ?>
333
  </div>
334
  </div>
335
+ <?php
336
+ if($tracker->ep_status == 'pending_trackship' || $tracker->ep_status == 'INVALID_TRACKING_NUM' || $tracker->ep_status == 'carrier_unsupported' || $tracker->ep_status == 'invalid_user_key' || $tracker->ep_status == 'wrong_shipping_provider' || $tracker->ep_status == 'deleted'){
337
+
338
+ }
339
+ elseif(isset($tracker->ep_status)){ ?>
340
  <div class="status-section desktop-section">
341
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
342
  <div class="progress">
432
  </div>
433
  </div>
434
  </div>
435
+ <?php } ?>
436
+ <?php if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
437
  <div class="shipment_progress_div">
438
  <div class="shipment_progress_heading_div">
439
  <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
475
  <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
476
  </div>
477
  <?php } ?>
478
+ <?php
479
+ $form = ob_get_clean();
480
+ return $form;
481
+ } }
482
 
483
  public function get_tracking_info_fun(){
484
  global $wpdb;
485
+ $wc_ast_api_key = get_option('wc_ast_api_key');
486
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
487
  if(!$wc_ast_api_key){
488
  return;
489
  }
793
  </div>
794
  </div>
795
  <?php } ?>
796
+ <?php if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
797
  <div class="shipment_progress_div">
798
  <div class="shipment_progress_heading_div">
799
  <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
861
  function preview_tracking_page(){
862
  get_header();
863
 
864
+ $wc_ast_api_key = get_option('wc_ast_api_key');
865
  $primary_color = get_option('wc_ast_select_primary_color');
866
+ $border_color = get_option('wc_ast_select_border_color');
867
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
868
  ?>
869
  <style>
870
  <?php if($primary_color){ ?>
962
  </div>
963
  </div>
964
  </div>
965
+ <?php if($hide_tracking_events != 1){ ?>
966
+ <div class="shipment_progress_div">
967
+ <div class="shipment_progress_heading_div">
968
+ <h4 class="tracking-number h4-heading">Tracking Details</h4>
969
+ </div>
970
+ <table class="tracking-table">
971
+ <tbody>
972
+ <tr>
973
+ <td>June 28, 2019 1:46 pm</td>
974
+ <td>Delivered</td>
975
+ <td>Delivered, Garage or Other Location at Address</td>
976
+ </tr>
977
+ <tr>
978
+ <td>June 28, 2019 8:31 am</td>
979
+ <td>Out for delivery</td>
980
+ <td>Out for Delivery</td>
981
+ </tr>
982
+ <tr style="display: none;">
983
+ <td>June 28, 2019 8:21 am</td>
984
+ <td>In Transit</td>
985
+ <td>Sorting Complete</td>
986
+ </tr>
987
+ </tbody>
988
+ </table>
989
+ <a class="view_table_rows" href="javaScript:void(0);" style="display: inline;">view more</a>
990
+ <a class="hide_table_rows" href="javaScript:void(0);" style="display: none;">view less</a>
991
  </div>
992
+ <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
993
  </div>
994
  <?php
995
  $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
includes/class-wc-advanced-shipment-tracking-install.php CHANGED
@@ -1572,25 +1572,31 @@ class WC_Advanced_Shipment_Tracking_Install {
1572
  * Display admin notice on plugin install or update
1573
  */
1574
  public function admin_notice_after_update(){
1575
- if ( ! PAnD::is_admin_notice_active( 'disable-ts-notice-forever' ) ) {
1576
  return;
1577
  }
1578
- ?>
1579
- <div data-dismissible="disable-ts-notice-forever" class="updated notice notice-success is-dismissible">
1580
- <p>
1581
- <?php
1582
- printf(
1583
- //esc_html__( '%1$s %2$s.' ),
1584
- esc_html__( 'Thanks for using the Advanced Shipment Tracking! add TrackShip integration and automate your post shipping operations! %1$s', 'woo-advanced-shipment-tracking' ),
1585
- sprintf(
1586
- '<a href="%s" target="blank">%s</a>',
1587
- esc_url( 'https://trackship.info/' ),
1588
- esc_html__( 'Try trackship with 50 free trackers >>', 'woo-advanced-shipment-tracking' )
1589
- )
1590
- );
1591
- ?>
1592
- </p>
 
 
 
 
 
1593
  </div>
 
1594
  <?php
1595
  }
1596
  }
1572
  * Display admin notice on plugin install or update
1573
  */
1574
  public function admin_notice_after_update(){
1575
+ if ( ! PAnD::is_admin_notice_active( 'disable-ts-notice-new-forever' ) ) {
1576
  return;
1577
  }
1578
+ ?>
1579
+ <style>
1580
+ </style>
1581
+ <div data-dismissible="disable-ts-notice-new-forever" class="notice updated is-dismissible ast-admin-notice">
1582
+ <div class="ast-admin-notice-inner">
1583
+ <div class="ast-admin-notice-icon">
1584
+ <img class="notice-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url().'/assets/images/trackship-400.png'; ?>" alt="Trackship Logo" />
1585
+ </div>
1586
+
1587
+ <div class="ast-admin-notice-content">
1588
+ <h3><?php esc_html_e( 'Thanks for using the Advanced Shipment Tracking!', 'woo-advanced-shipment-tracking' ); ?></h3>
1589
+ <p>
1590
+ <p><?php esc_html_e( 'Add TrackShip integration and automate your post shipping operations!', 'woo-advanced-shipment-tracking' ); ?></p>
1591
+ <a href="https://trackship.info/" target="_blank"><?php esc_html_e( 'Try trackship with 50 free trackers >>', 'woo-advanced-shipment-tracking' ); ?></a>
1592
+ </p>
1593
+ </div>
1594
+
1595
+ <div class="trackship-install-now">
1596
+ <a class="button button-primary btn_green2 btn_large" href="https://trackship.info/" target="_blank"><?php esc_html_e( 'SIGNUP NOW', 'woo-advanced-shipment-tracking' ); ?></a>
1597
+ </div>
1598
  </div>
1599
+ </div>
1600
  <?php
1601
  }
1602
  }
includes/class-wc-advanced-shipment-tracking.php CHANGED
@@ -597,10 +597,11 @@ class WC_Advanced_Shipment_Tracking_Actions {
597
 
598
  $order_id = wc_clean( $_POST['order_id'] );
599
  $tracking_id = wc_clean( $_POST['tracking_id'] );
600
-
 
601
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
602
  if( $api_enabled ){
603
- $tracking_items = $this->get_tracking_items( $order_id, true );
604
  foreach($tracking_items as $tracking_item){
605
 
606
  if($tracking_item['tracking_id'] == $_POST['tracking_id']){
@@ -614,7 +615,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
614
  }
615
 
616
  }
617
- $this->delete_tracking_item( $order_id, $tracking_id );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
618
  }
619
 
620
  /**
@@ -652,24 +668,20 @@ class WC_Advanced_Shipment_Tracking_Actions {
652
  */
653
  public function email_display( $order, $sent_to_admin, $plain_text = null, $email = null ) {
654
 
655
- $wc_ast_unclude_tracking_info = get_option('wc_ast_unclude_tracking_info');
656
- if ( is_a( $email, 'WC_Email_Customer_Completed_Order' ) && !isset($wc_ast_unclude_tracking_info['show_in_completed'])){
657
- return;
658
- }
659
- if ( is_a( $email, 'WC_Email_Customer_Processing_Order' ) && !isset($wc_ast_unclude_tracking_info['show_in_processing'])){
660
- return;
661
- }
 
662
  if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && !isset($wc_ast_unclude_tracking_info['show_in_customer_invoice'])){
663
  return;
 
 
664
  }
665
- if ( is_a( $email, 'WC_Email_Customer_Refunded_Order' ) && !isset($wc_ast_unclude_tracking_info['show_in_refunded'])){
666
- return;
667
- }
668
- if ( is_a( $email, 'WC_Email_Failed_Order' ) && !isset($wc_ast_unclude_tracking_info['show_in_failed'])){
669
- return;
670
- }
671
-
672
- $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
673
  $tracking_items = $this->get_tracking_items( $order_id, true );
674
 
675
  if ( true === $plain_text ) {
@@ -902,6 +914,13 @@ class WC_Advanced_Shipment_Tracking_Actions {
902
  if($args['tracking_provider']){
903
  $tracking_item['tracking_provider'] = $args['tracking_provider'];
904
  }
 
 
 
 
 
 
 
905
 
906
  if($args['tracking_number']){
907
  $tracking_item['tracking_number'] = wc_clean( $args['tracking_number'] );
@@ -922,7 +941,11 @@ class WC_Advanced_Shipment_Tracking_Actions {
922
  $tracking_item['date_shipped'] = time();
923
  }
924
 
925
- $tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
 
 
 
 
926
 
927
  $tracking_items = $this->get_tracking_items( $order_id );
928
  $tracking_items[] = $tracking_item;
@@ -933,6 +956,17 @@ class WC_Advanced_Shipment_Tracking_Actions {
933
  $order = new WC_Order( $order_id );
934
  $order->update_status('completed');
935
  }
 
 
 
 
 
 
 
 
 
 
 
936
  return $tracking_item;
937
  }
938
 
@@ -1103,7 +1137,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
1103
  }
1104
  public function custom_validation_js(){ ?>
1105
  <script>
1106
- jQuery(document).on("click",".button-save-form",function(e){
1107
  var error;
1108
  var tracking_provider = jQuery("#tracking_provider");
1109
  var tracking_number = jQuery("#tracking_number");
@@ -1118,7 +1152,13 @@ class WC_Advanced_Shipment_Tracking_Actions {
1118
  tracking_number.css( "border-color", "red" );
1119
  error = true;
1120
  } else {
1121
- tracking_number.css( "border-color", "" );
 
 
 
 
 
 
1122
  }
1123
 
1124
  if(error == true){
597
 
598
  $order_id = wc_clean( $_POST['order_id'] );
599
  $tracking_id = wc_clean( $_POST['tracking_id'] );
600
+ $tracking_items = $this->get_tracking_items( $order_id, true );
601
+
602
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
603
  if( $api_enabled ){
604
+
605
  foreach($tracking_items as $tracking_item){
606
 
607
  if($tracking_item['tracking_id'] == $_POST['tracking_id']){
615
  }
616
 
617
  }
618
+
619
+ foreach($tracking_items as $tracking_item){
620
+ if($tracking_item['tracking_id'] == $_POST['tracking_id']){
621
+ $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
622
+
623
+ $tracking_number = $tracking_item['tracking_number'];
624
+ $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
625
+ $order = wc_get_order( $order_id );
626
+ // The text for the note
627
+ $note = sprintf(__("Tracking info was deleted for tracking provider %s with tracking number %s", 'woo-advanced-shipment-tracking'), $tracking_provider, $tracking_number );
628
+
629
+ // Add the note
630
+ $order->add_order_note( $note );
631
+ }
632
+ }
633
+ $this->delete_tracking_item( $order_id, $tracking_id );
634
  }
635
 
636
  /**
668
  */
669
  public function email_display( $order, $sent_to_admin, $plain_text = null, $email = null ) {
670
 
671
+
672
+ $wc_ast_unclude_tracking_info = get_option('wc_ast_unclude_tracking_info');
673
+
674
+ $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
675
+ $order = wc_get_order( $order_id );
676
+ $order_status = $order->get_status();
677
+ //echo '<pre>';print_r($wc_ast_unclude_tracking_info);echo '</pre>';exit;
678
+
679
  if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && !isset($wc_ast_unclude_tracking_info['show_in_customer_invoice'])){
680
  return;
681
+ } elseif(!isset($wc_ast_unclude_tracking_info[$order_status])){
682
+ return;
683
  }
684
+
 
 
 
 
 
 
 
685
  $tracking_items = $this->get_tracking_items( $order_id, true );
686
 
687
  if ( true === $plain_text ) {
914
  if($args['tracking_provider']){
915
  $tracking_item['tracking_provider'] = $args['tracking_provider'];
916
  }
917
+
918
+ if($args['custom_tracking_provider']){
919
+ $tracking_item['custom_tracking_provider'] = wc_clean( $args['custom_tracking_provider'] );
920
+ }
921
+ if($args['custom_tracking_link']){
922
+ $tracking_item['custom_tracking_link'] = wc_clean( $args['custom_tracking_link'] );
923
+ }
924
 
925
  if($args['tracking_number']){
926
  $tracking_item['tracking_number'] = wc_clean( $args['tracking_number'] );
941
  $tracking_item['date_shipped'] = time();
942
  }
943
 
944
+ if ( $tracking_item['custom_tracking_provider'] ) {
945
+ $tracking_item['tracking_id'] = md5( "{$tracking_item['custom_tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
946
+ } else {
947
+ $tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
948
+ }
949
 
950
  $tracking_items = $this->get_tracking_items( $order_id );
951
  $tracking_items[] = $tracking_item;
956
  $order = new WC_Order( $order_id );
957
  $order->update_status('completed');
958
  }
959
+
960
+ $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
961
+ $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
962
+
963
+ $order = wc_get_order( $order_id );
964
+ // The text for the note
965
+ $note = sprintf(__("Order was shipped with %s and tracking number is: %s", 'woo-advanced-shipment-tracking'), $tracking_provider, $tracking_item['tracking_number'] );
966
+
967
+ // Add the note
968
+ $order->add_order_note( $note );
969
+
970
  return $tracking_item;
971
  }
972
 
1137
  }
1138
  public function custom_validation_js(){ ?>
1139
  <script>
1140
+ jQuery(document).on("click",".button-save-form",function(e){
1141
  var error;
1142
  var tracking_provider = jQuery("#tracking_provider");
1143
  var tracking_number = jQuery("#tracking_number");
1152
  tracking_number.css( "border-color", "red" );
1153
  error = true;
1154
  } else {
1155
+ var pattern = /^[A-Za-z0-9]+$/;
1156
+ if(!pattern.test(tracking_number.val())){
1157
+ tracking_number.css( "border-color", "red" );
1158
+ error = true;
1159
+ } else{
1160
+ tracking_number.css( "border-color", "" );
1161
+ }
1162
  }
1163
 
1164
  if(error == true){
includes/customizer/class-wc-tracking-info-customizer.php CHANGED
@@ -168,7 +168,21 @@ class wcast_initialise_customizer_settings {
168
  'choices' => wcast_customizer()->get_order_ids(),
169
  )
170
  ) );
171
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  // Tracking Display Position
173
  $wp_customize->add_setting( 'display_tracking_info_at',
174
  array(
@@ -233,16 +247,16 @@ class wcast_initialise_customizer_settings {
233
  );
234
 
235
  // Test of Toggle Switch Custom Control
236
- $wp_customize->add_setting( 'table_header',
237
  array(
238
  'default' => '',
239
  'transport' => 'postMessage',
240
  'sanitize_callback' => ''
241
  )
242
  );
243
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
244
  array(
245
- 'label' => __( 'Table Layout', 'woo-advanced-shipment-tracking' ),
246
  'section' => 'default_controls_section'
247
  )
248
  ) );
@@ -633,7 +647,7 @@ class wcast_initialise_customizer_settings {
633
 
634
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
635
  array(
636
- 'label' => __( 'Track Link', 'woo-advanced-shipment-tracking' ),
637
  'section' => 'default_controls_section'
638
  )
639
  ) );
168
  'choices' => wcast_customizer()->get_order_ids(),
169
  )
170
  ) );
171
+
172
+ $wp_customize->add_setting( 'general_settings_header',
173
+ array(
174
+ 'default' => '',
175
+ 'transport' => 'postMessage',
176
+ 'sanitize_callback' => ''
177
+ )
178
+ );
179
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'general_settings_header',
180
+ array(
181
+ 'label' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
182
+ 'section' => 'default_controls_section'
183
+ )
184
+ ) );
185
+
186
  // Tracking Display Position
187
  $wp_customize->add_setting( 'display_tracking_info_at',
188
  array(
247
  );
248
 
249
  // Test of Toggle Switch Custom Control
250
+ $wp_customize->add_setting( 'table_content_header',
251
  array(
252
  'default' => '',
253
  'transport' => 'postMessage',
254
  'sanitize_callback' => ''
255
  )
256
  );
257
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_content_header',
258
  array(
259
+ 'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
260
  'section' => 'default_controls_section'
261
  )
262
  ) );
647
 
648
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
649
  array(
650
+ 'label' => __( 'Track Button Design', 'woo-advanced-shipment-tracking' ),
651
  'section' => 'default_controls_section'
652
  )
653
  ) );
includes/customizer/class-wcast-customizer.php CHANGED
@@ -48,7 +48,7 @@ class WC_Advanced_Shipment_Tracking_Customizer {
48
  $wp_customize->add_section( 'default_controls_section',
49
  array(
50
  'title' => __( 'Tracking info display', 'woo-advanced-shipment-tracking' ),
51
- 'description' => esc_html__( 'This section lets you customize the Tracking Info display design.', 'woo-advanced-shipment-tracking' ),
52
  'panel' => 'wcast_naviation_panel'
53
  )
54
  );
48
  $wp_customize->add_section( 'default_controls_section',
49
  array(
50
  'title' => __( 'Tracking info display', 'woo-advanced-shipment-tracking' ),
51
+ 'description' => '',
52
  'panel' => 'wcast_naviation_panel'
53
  )
54
  );
includes/views/admin_options_bulk_upload.php CHANGED
@@ -2,7 +2,7 @@
2
  <div class="tab_inner_container">
3
  <form method="post" id="wc_ast_upload_csv_form" action="" enctype="multipart/form-data">
4
  <section id="" class="tpage_section" style="display:block;">
5
- <h3><?php _e('Upload CSV', 'woo-advanced-shipment-tracking'); ?></h3>
6
  <table class="form-table upload_csv_table">
7
  <tbody>
8
  <tr valign="top" class="">
@@ -17,28 +17,44 @@
17
  <td scope="row" class="th_20">
18
  <input type="checkbox" id="replace_tracking_info" name="replace_tracking_info" class="" value="1"/>
19
  </td>
20
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
21
  </tbody>
22
- </table>
23
-
24
- <div class="submit">
25
- <button name="save" class="button-primary woocommerce-upload-csv-save-button btn_green" type="submit" value="Save"><?php _e('Upload', 'woo-advanced-shipment-tracking'); ?></button>
26
-
27
- <div class="spinner" style="float:none"></div>
28
- <div class="success_msg" style="display:none;"><?php _e('Settings Saved.', 'woo-advanced-shipment-tracking'); ?></div>
29
- <div class="error_msg" style="display:none;"></div>
30
- <?php wp_nonce_field( 'wc_ast_upload_csv_form', 'wc_ast_upload_csv_form' );?>
31
- <input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
32
- </div>
33
- <hr>
34
- <p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
35
- <a class="button-primary btn_green2" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv file', 'woo-advanced-shipment-tracking'); ?></a>
36
- <p><?php _e('For detailed instructions on how to upload tracking info in bulk, see our', 'woo-advanced-shipment-tracking'); ?> <a class="" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/bulk-import-shipment-tracking/" target="blank"><?php _e('documentation', 'woo-advanced-shipment-tracking'); ?></a>.</p>
37
  <div id="p1" class="mdl-progress mdl-js-progress" style="display:none;"></div>
38
  <h3 class="progress_title" style="display:none;"><?php _e('Upload Progress - ', 'woo-advanced-shipment-tracking'); ?><span class="progress_number"></span></h3>
39
  <ol class="csv_upload_status">
40
 
41
  </ol>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  </section>
43
  </form>
44
  </div>
2
  <div class="tab_inner_container">
3
  <form method="post" id="wc_ast_upload_csv_form" action="" enctype="multipart/form-data">
4
  <section id="" class="tpage_section" style="display:block;">
5
+ <h3 class="table-heading"><?php _e('Upload CSV', 'woo-advanced-shipment-tracking'); ?></h3>
6
  <table class="form-table upload_csv_table">
7
  <tbody>
8
  <tr valign="top" class="">
17
  <td scope="row" class="th_20">
18
  <input type="checkbox" id="replace_tracking_info" name="replace_tracking_info" class="" value="1"/>
19
  </td>
20
+ </tr>
21
+ <tr valign="top" class="">
22
+ <th scope="row" colspan="2">
23
+ <div class="submit">
24
+ <button name="save" class="button-primary woocommerce-upload-csv-save-button btn_ast2 btn_large" type="submit" value="Save"><?php _e('Upload', 'woo-advanced-shipment-tracking'); ?></button>
25
+ <div class="spinner" style="float:none"></div>
26
+ <div class="success_msg" style="display:none;"><?php _e('Settings Saved.', 'woo-advanced-shipment-tracking'); ?></div>
27
+ <div class="error_msg" style="display:none;"></div>
28
+ <?php wp_nonce_field( 'wc_ast_upload_csv_form', 'wc_ast_upload_csv_form' );?>
29
+ <input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
30
+ </div>
31
+ </th>
32
+ </tr>
33
  </tbody>
34
+ </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  <div id="p1" class="mdl-progress mdl-js-progress" style="display:none;"></div>
36
  <h3 class="progress_title" style="display:none;"><?php _e('Upload Progress - ', 'woo-advanced-shipment-tracking'); ?><span class="progress_number"></span></h3>
37
  <ol class="csv_upload_status">
38
 
39
  </ol>
40
+ <h3 class="table-heading"><?php _e('Sample CSV', 'woo-advanced-shipment-tracking'); ?></h3>
41
+ <table class="form-table">
42
+ <tbody>
43
+ <tr valign="top" style="border-bottom: 0;">
44
+ <td>
45
+ <p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
46
+ </td>
47
+ <td>
48
+ <a class="button-primary btn_ast2 btn_large" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv file', 'woo-advanced-shipment-tracking'); ?></a>
49
+ </td>
50
+ </tr>
51
+ <tr valign="top">
52
+ <td style="padding-top: 0;" colspan="2">
53
+ <p><?php _e('For detailed instructions on how to upload tracking info in bulk, see our', 'woo-advanced-shipment-tracking'); ?> <a class="" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/bulk-import-shipment-tracking/" target="blank"><?php _e('documentation', 'woo-advanced-shipment-tracking'); ?></a>.</p>
54
+ </td>
55
+ </tr>
56
+ </tbody>
57
+ </table>
58
  </section>
59
  </form>
60
  </div>
includes/views/admin_options_settings.php CHANGED
@@ -2,32 +2,79 @@
2
  <div class="tab_inner_container">
3
  <form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
4
  <?php #nonce?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
- <input id="tab9" type="radio" name="pagetabs" class="tab_input_1" checked>
7
- <label for="tab9"><?php _e( 'General', 'woo-advanced-shipment-tracking' ); ?></label>
8
- <span style="margin: 0 3px;">|</span>
9
- <input id="tab10" type="radio" class="tab_input_1" name="pagetabs" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'delivered-order-status'){ echo 'checked'; } ?>>
10
- <label for="tab10"><?php _e( 'Delivered Order Status', 'woo-advanced-shipment-tracking' ); ?></label>
11
- <span style="margin: 0 3px;">|</span>
12
- <label style="vertical-align: top;"><a style="text-decoration: none;" href="<?php echo wcast_initialise_customizer_settings::get_customizer_url('default_controls_section','settings') ?>" class=""><?php _e( 'Tracking Info Display Designer', 'woo-advanced-shipment-tracking' ); ?> <span class="dashicons dashicons-welcome-view-site"></span> </a></label>
13
- <br class="clear">
14
- <section id="content9" class="tpage_section">
15
- <h3><?php _e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
16
- <?php $this->get_html( $this->get_settings_data() );?>
17
- </section>
18
- <section id="content10" class="tpage_section">
19
- <h3><?php _e( 'Delivered Order Status', 'woo-advanced-shipment-tracking' ); ?></h3>
20
- <?php $this->get_html( $this->get_delivered_data() );?>
21
- <p><?php echo sprintf(__('<strong>PLEASE NOTE</strong> - If you use the custom order status "Delivered", when you deactivate the plugin, you must register this order status in function.php in order to see these orders in the orders admin. You can find the <a href="%s" target="blank">snippet</a> to use in functions.php here or you can manually change all your "delivered" order to "completed" before deactivating the plugin.', 'woo-advanced-shipment-tracking'), 'https://gist.github.com/zorem/6f09162fe91eab180a76a621ce523441'); ?></p>
22
- </section>
23
- <div class="submit">
24
- <button name="save" class="button-primary woocommerce-save-button btn_green" type="submit" value="Save changes"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></button>
25
- <div class="spinner" style="float:none"></div>
26
- <div class="success_msg" style="display:none;"><?php _e( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ); ?></div>
27
- <div class="error_msg" style="display:none;"></div>
28
- <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
29
- <input type="hidden" name="action" value="wc_ast_settings_form_update">
30
- </div>
31
  </form>
32
  </div>
33
  <?php include 'zorem_admin_sidebar.php';?>
2
  <div class="tab_inner_container">
3
  <form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
4
  <?php #nonce?>
5
+
6
+ <table class="form-table heading-table">
7
+ <tbody>
8
+ <tr valign="top">
9
+ <td>
10
+ <h3 style=""><?php _e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
11
+ </td>
12
+ </tr>
13
+ </tbody>
14
+ </table>
15
+ <?php $this->get_html( $this->get_settings_data() );?>
16
+ <table class="form-table">
17
+ <tbody>
18
+ <tr valign="top">
19
+ <td class="button-column">
20
+ <div class="submit">
21
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
22
+ <div class="spinner"></div>
23
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
24
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
25
+ </div>
26
+ </td>
27
+ </tr>
28
+ </tbody>
29
+ </table>
30
+
31
+ <table class="form-table heading-table">
32
+ <tbody>
33
+ <tr valign="top">
34
+ <td>
35
+ <h3 style=""><?php _e( 'Tracking Info Display', 'woo-advanced-shipment-tracking' ); ?></h3>
36
+ </td>
37
+ </tr>
38
+ </tbody>
39
+ </table>
40
+ <table class="form-table">
41
+ <tbody>
42
+ <tr valign="top">
43
+ <td>
44
+ <p style=""><?php _e( 'You can customize the tracking info display on emails and my account', 'woo-advanced-shipment-tracking' ); ?></p>
45
+ </td>
46
+ <td>
47
+ <a href="<?php echo wcast_initialise_customizer_settings::get_customizer_url('default_controls_section','settings') ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Launch Customizer', 'woo-advanced-shipment-tracking' ); ?> <span class="dashicons dashicons-welcome-view-site"></span></a>
48
+ </td>
49
+ </tr>
50
+ </tbody>
51
+ </table>
52
 
53
+ <table class="form-table heading-table">
54
+ <tbody>
55
+ <tr valign="top">
56
+ <td>
57
+ <h3 style=""><?php _e( 'Delivered Order Status', 'woo-advanced-shipment-tracking' ); ?></h3>
58
+ </td>
59
+ </tr>
60
+ </tbody>
61
+ </table>
62
+ <?php $this->get_html( $this->get_delivered_data() );?>
63
+ <p class="description-below-table"><?php echo sprintf(__('<strong>PLEASE NOTE</strong> - If you use the custom order status "Delivered", when you deactivate the plugin, you must register this order status in function.php in order to see these orders in the orders admin. You can find the <a href="%s" target="blank">snippet</a> to use in functions.php here or you can manually change all your "delivered" order to "completed" before deactivating the plugin.', 'woo-advanced-shipment-tracking'), 'https://gist.github.com/zorem/6f09162fe91eab180a76a621ce523441'); ?></p>
64
+ <table class="form-table">
65
+ <tbody>
66
+ <tr valign="top">
67
+ <td class="button-column">
68
+ <div class="submit">
69
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
70
+ <div class="spinner"></div>
71
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
72
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
73
+ </div>
74
+ </td>
75
+ </tr>
76
+ </tbody>
77
+ </table>
78
  </form>
79
  </div>
80
  <?php include 'zorem_admin_sidebar.php';?>
includes/views/admin_options_shipping_provider.php CHANGED
@@ -27,59 +27,61 @@
27
  if($default_shippment_providers){
28
  foreach($default_shippment_providers as $d_s_p){ ?>
29
  <div class="provider <?php if($d_s_p->display_in_order == 1) { echo 'active_provider'; } ?>">
30
- <div class="row-1">
31
- <div class="left-div">
32
- <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
33
- <?php if( $d_s_p->shipping_default == 1 ){ ?>
34
- <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($d_s_p->provider_name);?>.png?v=<?php echo wc_advanced_shipment_tracking()->version;?>">
35
- <?php } else{
36
- $custom_thumb_id = $d_s_p->custom_thumb_id;
37
- $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array('60','60') );
38
- //echo '<pre>';print_r($custom_thumb_id);echo '</pre>';exit;
39
- if($custom_thumb_id != 0){ ?>
40
- <img class="provider-thumb" src="<?php echo $image_attributes[0]; ?>">
41
- <?php } else{
42
- ?>
43
- <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/icon-default.png">
44
- <?php } ?>
45
- <?php } ?>
46
- </a>
47
- </div>
48
- <div class="right-div">
49
- <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
50
- <span class="provider_name"><?php echo $d_s_p->provider_name; ?></span>
51
- </a>
52
- <br>
53
- <span class="provider_country"><?php
54
- $search = array('(US)', '(UK)');
55
- $replace = array('', '');
56
- if($d_s_p->shipping_country && $d_s_p->shipping_country != 'Global'){
57
- echo str_replace($search, $replace, $WC_Countries->countries[$d_s_p->shipping_country]);
58
- } elseif($d_s_p->shipping_country && $d_s_p->shipping_country == 'Global'){
59
- echo 'Global';
60
- }
61
- ?></span>
62
- </div>
63
- </div>
64
- <div class="row-2">
65
- <div class="default-provider">
66
- <?php $default_provider = get_option("wc_ast_default_provider" );?>
67
- <label for="make_default_<?php echo $d_s_p->id; ?>" id="default_label_<?php echo $d_s_p->id; ?>" class="<?php if($d_s_p->display_in_order != 1) { echo 'disable_label'; } ?>">
68
- <input type="checkbox" id="make_default_<?php echo $d_s_p->id; ?>" name="make_provider_default" data-id="<?php echo $d_s_p->id; ?>" class="make_provider_default" value="<?php echo sanitize_title( $d_s_p->provider_name )?>" <?php if( $default_provider == sanitize_title( $d_s_p->provider_name ) )echo 'checked';?> <?php if($d_s_p->display_in_order != 1) { echo 'disabled'; } ?>>
69
- <span>default</span>
70
- </label>
71
  </div>
72
- <div class="provider-status">
73
- <?php if( $d_s_p->shipping_default == 0 ){ ?>
74
- <span class="dashicons dashicons-edit edit_provider" data-pid="<?php echo $d_s_p->id; ?>"></span>
75
- <span class="dashicons dashicons-trash remove" data-pid="<?php echo $d_s_p->id; ?>"></span>
76
- <?php } ?>
77
- <span class="mdl-list__item-secondary-action">
78
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-<?php echo $d_s_p->id; ?>">
79
- <input type="checkbox" name="select_custom_provider[]" id="list-switch-<?php echo $d_s_p->id; ?>" class="mdl-switch__input status_slide" value="<?php echo $d_s_p->id; ?>" <?php if($d_s_p->display_in_order == 1) { echo 'checked'; } ?> />
80
  </label>
81
- </span>
82
- </div>
 
 
 
 
 
 
 
 
 
 
 
83
  </div>
84
  </div>
85
  <?php } } else{
@@ -116,7 +118,7 @@
116
  </div>
117
  <div>
118
  <input type="hidden" name="action" value="add_custom_shipment_provider">
119
- <input type="submit" name="Submit" value="Submit" class="button-primary btn_green">
120
  </div>
121
  </form>
122
  </div>
@@ -151,7 +153,7 @@
151
  <div>
152
  <input type="hidden" name="action" value="update_custom_shipment_provider">
153
  <input type="hidden" name="provider_id" id="provider_id" value="">
154
- <input type="submit" name="Submit" value="Update" class="button-primary btn_green">
155
  </div>
156
  </form>
157
  </div>
@@ -167,9 +169,9 @@
167
  <li class="providers_updated"><?php _e( 'Providers Updated', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
168
  <li class="providers_deleted"><?php _e( 'Providers Deleted', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
169
  </ul>
170
- <button class="sync_providers_btn button-primary btn_green"><?php _e( 'Sync Providers', 'woo-advanced-shipment-tracking'); ?></button>
171
- <button class="close_synch_popup button-primary btn_green"><?php _e( 'Close', 'woo-advanced-shipment-tracking'); ?></button>
172
- <div class="spinner" style="float:none"></div>
173
  </div>
174
  <div class="popupclose"></div>
175
  </div>
27
  if($default_shippment_providers){
28
  foreach($default_shippment_providers as $d_s_p){ ?>
29
  <div class="provider <?php if($d_s_p->display_in_order == 1) { echo 'active_provider'; } ?>">
30
+ <div class="provider_inner">
31
+ <div class="row-1">
32
+ <div class="left-div">
33
+ <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
34
+ <?php if( $d_s_p->shipping_default == 1 ){ ?>
35
+ <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($d_s_p->provider_name);?>.png?v=<?php echo wc_advanced_shipment_tracking()->version;?>">
36
+ <?php } else{
37
+ $custom_thumb_id = $d_s_p->custom_thumb_id;
38
+ $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array('60','60') );
39
+ //echo '<pre>';print_r($custom_thumb_id);echo '</pre>';exit;
40
+ if($custom_thumb_id != 0){ ?>
41
+ <img class="provider-thumb" src="<?php echo $image_attributes[0]; ?>">
42
+ <?php } else{
43
+ ?>
44
+ <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/icon-default.png">
45
+ <?php } ?>
46
+ <?php } ?>
47
+ </a>
48
+ </div>
49
+ <div class="right-div">
50
+ <a href="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" title="<?php echo str_replace("%number%","",$d_s_p->provider_url ); ?>" target="_blank">
51
+ <span class="provider_name"><?php echo $d_s_p->provider_name; ?></span>
52
+ </a>
53
+ <br>
54
+ <span class="provider_country"><?php
55
+ $search = array('(US)', '(UK)');
56
+ $replace = array('', '');
57
+ if($d_s_p->shipping_country && $d_s_p->shipping_country != 'Global'){
58
+ echo str_replace($search, $replace, $WC_Countries->countries[$d_s_p->shipping_country]);
59
+ } elseif($d_s_p->shipping_country && $d_s_p->shipping_country == 'Global'){
60
+ echo 'Global';
61
+ }
62
+ ?></span>
63
+ </div>
 
 
 
 
 
 
 
64
  </div>
65
+ <div class="row-2">
66
+ <div class="default-provider">
67
+ <?php $default_provider = get_option("wc_ast_default_provider" );?>
68
+ <label for="make_default_<?php echo $d_s_p->id; ?>" id="default_label_<?php echo $d_s_p->id; ?>" class="<?php if($d_s_p->display_in_order != 1) { echo 'disable_label'; } ?>">
69
+ <input type="checkbox" id="make_default_<?php echo $d_s_p->id; ?>" name="make_provider_default" data-id="<?php echo $d_s_p->id; ?>" class="make_provider_default" value="<?php echo sanitize_title( $d_s_p->provider_name )?>" <?php if( $default_provider == sanitize_title( $d_s_p->provider_name ) )echo 'checked';?> <?php if($d_s_p->display_in_order != 1) { echo 'disabled'; } ?>>
70
+ <span>default</span>
 
 
71
  </label>
72
+ </div>
73
+ <div class="provider-status">
74
+ <?php if( $d_s_p->shipping_default == 0 ){ ?>
75
+ <span class="dashicons dashicons-edit edit_provider" data-pid="<?php echo $d_s_p->id; ?>"></span>
76
+ <span class="dashicons dashicons-trash remove" data-pid="<?php echo $d_s_p->id; ?>"></span>
77
+ <?php } ?>
78
+ <span class="mdl-list__item-secondary-action">
79
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-<?php echo $d_s_p->id; ?>">
80
+ <input type="checkbox" name="select_custom_provider[]" id="list-switch-<?php echo $d_s_p->id; ?>" class="mdl-switch__input status_slide" value="<?php echo $d_s_p->id; ?>" <?php if($d_s_p->display_in_order == 1) { echo 'checked'; } ?> />
81
+ </label>
82
+ </span>
83
+ </div>
84
+ </div>
85
  </div>
86
  </div>
87
  <?php } } else{
118
  </div>
119
  <div>
120
  <input type="hidden" name="action" value="add_custom_shipment_provider">
121
+ <input type="submit" name="Submit" value="Submit" class="button-primary btn_ast2 btn_large">
122
  </div>
123
  </form>
124
  </div>
153
  <div>
154
  <input type="hidden" name="action" value="update_custom_shipment_provider">
155
  <input type="hidden" name="provider_id" id="provider_id" value="">
156
+ <input type="submit" name="Submit" value="Update" class="button-primary btn_ast2 btn_large">
157
  </div>
158
  </form>
159
  </div>
169
  <li class="providers_updated"><?php _e( 'Providers Updated', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
170
  <li class="providers_deleted"><?php _e( 'Providers Deleted', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
171
  </ul>
172
+ <button class="sync_providers_btn button-primary btn_ast2 btn_large"><?php _e( 'Sync Providers', 'woo-advanced-shipment-tracking'); ?></button>
173
+ <button class="close_synch_popup button-primary btn_ast2 btn_large"><?php _e( 'Close', 'woo-advanced-shipment-tracking'); ?></button>
174
+ <div class="spinner" style=""></div>
175
  </div>
176
  <div class="popupclose"></div>
177
  </div>
includes/views/admin_options_trackship_integration.php CHANGED
@@ -1,69 +1,118 @@
1
  <section id="content3" class="tab_section">
2
  <div class="d_table" style="">
3
  <div class="tab_inner_container">
4
- <form method="post" id="wc_ast_trackship_form" action="" enctype="multipart/form-data">
5
- <?php #nonce?>
6
  <?php
7
  $wc_ast_api_key = get_option('wc_ast_api_key');
8
- if($wc_ast_api_key){ ?>
9
- <input id="tab6" type="radio" name="pagetabs" class="tab_input_1" checked>
10
- <label for="tab6"><?php _e( 'General', 'woo-advanced-shipment-tracking' ); ?></label>
11
- <span style="margin: 0 3px;">|</span>
12
- <input id="tab7" type="radio" class="tab_input_1" name="pagetabs" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'tracking-page'){ echo 'checked'; } ?>>
13
- <label for="tab7"><?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?></label>
14
- <span style="margin: 0 3px;">|</span>
15
- <input id="tab8" type="radio" class="tab_input_1" name="pagetabs" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'shipment-status-notifications'){ echo 'checked'; } ?>>
16
- <label for="tab8"><?php _e( 'Shipment Status Notifications', 'woo-advanced-shipment-tracking' ); ?></label>
17
- <br class="clear">
18
- <section id="content6" class="tpage_section">
19
- <h3><?php _e('General Settings', 'woo-advanced-shipment-tracking'); ?></h3>
20
- <?php
21
- $this->get_html( $this->get_trackship_general_data() );
22
- if($wc_ast_api_key){
23
- ?>
24
- <div class="submit">
25
- <button name="save" class="button-primary woocommerce-save-button btn_green" type="submit" value="Save changes"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></button>
26
- <div class="spinner" style="float:none"></div>
27
- <div class="success_msg" style="display:none;"><?php _e( 'Settings Saved.', 'woo-advanced-shipment-tracking' ); ?></div>
28
- <div class="error_msg" style="display:none;"></div>
29
- <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
30
- <input type="hidden" name="action" value="wc_ast_trackship_form_update">
31
- </div>
32
- <?php } ?>
33
- </section>
34
- <section id="content7" class="tpage_section">
35
- <h3><?php _e('Tracking Page', 'woo-advanced-shipment-tracking'); ?></h3>
36
- <?php
37
- $this->get_html( $this->get_trackship_page_data() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  if($wc_ast_api_key){
39
- ?>
40
- <a href="<?php echo admin_url('admin-ajax.php')?>?action=preview_tracking_page" class="tracking-preview-link" target="_blank"><?php _e('Click to preview the tracking page', 'woo-advanced-shipment-tracking'); ?></a>
41
- <p class="tracking-preview-desc"><?php _e('PLEASE NOTE - make sure to save your settings before preview.', 'woo-advanced-shipment-tracking'); ?></p>
42
- <div class="submit">
43
- <button name="save" class="button-primary woocommerce-save-button btn_green" type="submit" value="Save changes"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></button>
44
- <div class="spinner" style="float:none"></div>
45
- <div class="success_msg" style="display:none;"><?php _e( 'Settings Saved.', 'woo-advanced-shipment-tracking' ); ?></div>
46
- <div class="error_msg" style="display:none;"></div>
47
- <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
48
- <input type="hidden" name="action" value="wc_ast_trackship_form_update">
49
- </div>
50
- <?php } ?>
51
- </section>
52
- <section id="content8" class="tpage_section">
53
- <h3><?php _e('Shipment Status Notifications ', 'woo-advanced-shipment-tracking'); ?></h3>
54
  <?php
55
- $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
56
- $wcast_enable_pretransit_email = get_theme_mod('wcast_enable_pretransit_email');
57
- $wcast_enable_intransit_email = get_theme_mod('wcast_enable_intransit_email');
58
- $wcast_enable_outfordelivery_email = get_theme_mod('wcast_enable_outfordelivery_email');
59
- $wcast_enable_failure_email = get_theme_mod('wcast_enable_failure_email');
60
- $wcast_enable_delivered_status_email = get_theme_mod('wcast_enable_delivered_status_email');
61
- $wcast_enable_returntosender_email = get_theme_mod('wcast_enable_returntosender_email');
62
- $wcast_enable_availableforpickup_email = get_theme_mod('wcast_enable_availableforpickup_email');
63
- $wc_ast_api_key = get_option('wc_ast_api_key');
64
- //echo '<pre>';print_r($wcast_enable_delivered_email['enabled']);echo '</pre>';
65
- ?>
66
- <section class="ac-container">
67
  <?php
68
  if($wc_ast_api_key){
69
  ?>
@@ -151,133 +200,36 @@
151
  <p class="shipment_about"><?php _e('Carrier attempted to deliver but failed, and usually leaves a notice and will try to deliver the package again.', 'woo-advanced-shipment-tracking'); ?></p>
152
  </div>
153
  <?php } ?>
154
- </section>
155
- </section>
156
  <?php } else{ ?>
157
  <div class="section-content trackship_section">
158
- <div class="" id="">
159
- <div class="text-center">
160
- <img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="trackship_logo">
161
- </div>
162
- <div class="text-center">
163
- <h3 class="heading">Automate your Shipment Tracking &amp; Delivery Operations</h3>
164
- <p class="lead ts_description">TrackShip pro actively sends shipment status updates to your WooCommerce store and streamlines your order management process and provide improved post-purchase experience to your customers.</p>
165
- <a href="https://trackship.info?utm_source=wp_admin&utm_medium=referral&utm_campaign=coming_soon" target="_self" class="trackship_button"><span>SIGNUP NOW</span></a>
166
- </div>
167
- <div class="col small-12 large-12">
168
- <div class="col-inner text-center">
169
- <div class="container section-title-container">
170
- <h3 class="section-title section-title-center"><b></b><span class="section-title-main">included Features</span><b></b></h3>
171
- </div>
172
- <div class="row row-box-shadow-1" id="row-582581561">
173
- <div class="col-4">
174
- <div class="col-inner">
175
- <div class="icon-box featured-box icon-box-center text-center">
176
- <div class="icon-box-img" style="width: 60px">
177
- <div class="icon">
178
- <div class="icon-inner"></div>
179
- </div>
180
- </div>
181
- <div class="icon-box-text last-reset">
182
- <img class="trackship-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Multi-Carrier-Support.png">
183
- <h4>Multi-Carrier </br>Support</h4>
184
- <p>TrackShip’s Tracking API auto-tracks all your shipments with <a href="https://trackship.info/shipping-providers/" target="blak">100+ shipping providers</a> across the globe, so you and your customers can see exactly where their package is 24×7.</p>
185
- </div>
186
- </div>
187
- </div>
188
- </div>
189
- <div class="col-4">
190
- <div class="col-inner">
191
- <div class="icon-box featured-box icon-box-center text-center">
192
- <div class="icon-box-img" style="width: 60px">
193
- <div class="icon">
194
- <div class="icon-inner"></div>
195
- </div>
196
- </div>
197
- <div class="icon-box-text last-reset">
198
- <img class="trackship-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/woo-inegration.png">
199
- <h4>WooCommerce </br>Integration</h4>
200
- <p>Trackship fully integrates with WooCommerce with the <a href="https://wordpress.org/plugins/woo-advanced-shipment-tracking/">Advanced Shipment Tracking</a> plugin, and most of its features can be easily managed directly from your WooCommerce admin panel.</p>
201
- </div>
202
- </div>
203
- </div>
204
- </div>
205
- <div class="col-4">
206
- <div class="col-inner">
207
- <div class="icon-box featured-box icon-box-center text-center">
208
- <div class="icon-box-img" style="width: 60px">
209
- <div class="icon">
210
- <div class="icon-inner"></div>
211
- </div>
212
- </div>
213
- <div class="icon-box-text last-reset">
214
- <img class="trackship-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/customer-support.png">
215
- <h4>Better Customer </br>Support</h4>
216
- <p>The most frequent question shoppers ask is, “Where's my order?” with TrackShip, you and your customers will know where the package is at all time. tracking information will display on WooCommerce orders panel.</p>
217
- </div>
218
- </div>
219
- </div>
220
- </div>
221
- <div class="col-4">
222
- <div class="col-inner">
223
- <div class="icon-box featured-box icon-box-center text-center">
224
- <div class="icon-box-img" style="width: 60px">
225
- <div class="icon">
226
- <div class="icon-inner"></div>
227
- </div>
228
- </div>
229
- <div class="icon-box-text last-reset">
230
- <img class="trackship-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/delivery-email-2.png">
231
- <h4>Shipment Status </br>Notifications</h4>
232
- <p>Engage your Customer with personalized shipment status email notifications triggered by shipment status changes; In Transit, Out For Delivery, Delivered or have an Exception.</p>
233
- </div>
234
- </div>
235
- </div>
236
- </div>
237
- <div class="col-4">
238
- <div class="col-inner">
239
- <div class="icon-box featured-box icon-box-center text-center">
240
- <div class="icon-box-img" style="width: 60px">
241
- <div class="icon">
242
- <div class="icon-inner"></div>
243
- </div>
244
- </div>
245
- <div class="icon-box-text last-reset">
246
- <img class="trackship-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Branded-Tracking-Page.png">
247
- <h4>Branded Tracking </br>Page</h4>
248
- <p>Direct customers to a tracking page on your website and further engage customers after sales. Instead of sending your customers to track their order at a carrier page, you can direct customers to a detailed tracking page on your store.</p>
249
- </div>
250
- </div>
251
- </div>
252
- </div>
253
- <div class="col-4">
254
- <div class="col-inner">
255
- <div class="icon-box featured-box icon-box-center text-center">
256
- <div class="icon-box-img" style="width: 60px">
257
- <div class="icon">
258
- <div class="icon-inner"></div>
259
- </div>
260
- </div>
261
- <div class="icon-box-text last-reset">
262
- <img class="trackship-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/shiping-and-delivery-analytics.png">
263
- <h4>Shipping & Delivery </br>Analytics</h4>
264
- <p>Analyse delivery performance using tracking data. Find out exception for your past shipments and get an overview of your historic shipments data, find shipments by provider, delivery status,, ship date and more.</p>
265
- </div>
266
- </div>
267
- </div>
268
- </div>
269
- </div>
270
- </div>
271
  </div>
272
  </div>
273
- </div>
274
  <?php }
275
  ?>
276
  </form>
277
  </div>
278
  <?php
279
  if($wc_ast_api_key){
280
- include 'zorem_admin_ts_sidebar.php';
281
  }
282
  ?>
283
  </div>
1
  <section id="content3" class="tab_section">
2
  <div class="d_table" style="">
3
  <div class="tab_inner_container">
4
+ <form method="post" id="wc_ast_trackship_form" action="" enctype="multipart/form-data">
 
5
  <?php
6
  $wc_ast_api_key = get_option('wc_ast_api_key');
7
+ if($wc_ast_api_key){ ?>
8
+
9
+ <table class="form-table heading-table">
10
+ <tbody>
11
+ <tr valign="top">
12
+ <td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
13
+ </tr>
14
+ </tbody>
15
+ </table>
16
+ <table class="form-table">
17
+ <tbody>
18
+ <tr valign="top">
19
+ <td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
20
+ <td class="forminp">
21
+ <fieldset>
22
+ <a href="https://my.trackship.info/" target="_blank">
23
+ <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
24
+ </a>
25
+ </fieldset>
26
+ </td>
27
+ </tr>
28
+ <tr valign="top">
29
+ <td colspan="2">
30
+ <?php _e( 'You are now connected with TrackShip! TrackShip makes it effortless to automate your post shipping operations and get tracking and delivery status updates directly in the WooCommerce admin.', 'woo-advanced-shipment-tracking' ); ?>
31
+ </td>
32
+ </tr>
33
+ <tr valign="top">
34
+ <td colspan="2">
35
+ <a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
36
+ <a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
37
+ </td>
38
+ </tr>
39
+ </tbody>
40
+ </table>
41
+
42
+
43
+ <table class="form-table heading-table">
44
+ <tbody>
45
+ <tr valign="top">
46
+ <td>
47
+ <h3 style=""><?php _e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
48
+ </td>
49
+ </tr>
50
+ </tbody>
51
+ </table>
52
+ <?php $this->get_html( $this->get_trackship_general_data() ); ?>
53
+ <table class="form-table">
54
+ <tbody>
55
+ <tr valign="top">
56
+ <td class="button-column">
57
+ <div class="submit">
58
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
59
+ <div class="spinner"></div>
60
+ <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
61
+ <input type="hidden" name="action" value="wc_ast_trackship_form_update">
62
+ </div>
63
+ </td>
64
+ </tr>
65
+ </tbody>
66
+ </table>
67
+
68
+ <table class="form-table heading-table">
69
+ <tbody>
70
+ <tr valign="top">
71
+ <td>
72
+ <h3 style=""><?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?></h3>
73
+ </td>
74
+ </tr>
75
+ </tbody>
76
+ </table>
77
+ <?php $this->get_html( $this->get_trackship_page_data() ); ?>
78
+ <table class="form-table">
79
+ <tbody>
80
+ <tr valign="top">
81
+ <td>
82
+ <a href="<?php echo admin_url('admin-ajax.php')?>?action=preview_tracking_page" class="tracking-preview-link" target="_blank" style="line-height: 30px;"><?php _e('Click to preview the tracking page', 'woo-advanced-shipment-tracking'); ?></a>
83
+ <p class="tracking-preview-desc"><?php _e('PLEASE NOTE - make sure to save your settings before preview.', 'woo-advanced-shipment-tracking'); ?></p>
84
+ </td>
85
+ </tr>
86
+ <tr valign="top">
87
+ <td class="button-column">
88
+ <div class="submit">
89
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
90
+ <div class="spinner"></div>
91
+ <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
92
+ <input type="hidden" name="action" value="wc_ast_trackship_form_update">
93
+ </div>
94
+ </td>
95
+ </tr>
96
+ </tbody>
97
+ </table>
98
+ <?php
99
  if($wc_ast_api_key){
100
+ ?>
101
+ <?php } ?>
102
+ <h3 class="table-heading"><?php _e('Shipment Status Notifications ', 'woo-advanced-shipment-tracking'); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
103
  <?php
104
+ $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
105
+ $wcast_enable_pretransit_email = get_theme_mod('wcast_enable_pretransit_email');
106
+ $wcast_enable_intransit_email = get_theme_mod('wcast_enable_intransit_email');
107
+ $wcast_enable_outfordelivery_email = get_theme_mod('wcast_enable_outfordelivery_email');
108
+ $wcast_enable_failure_email = get_theme_mod('wcast_enable_failure_email');
109
+ $wcast_enable_delivered_status_email = get_theme_mod('wcast_enable_delivered_status_email');
110
+ $wcast_enable_returntosender_email = get_theme_mod('wcast_enable_returntosender_email');
111
+ $wcast_enable_availableforpickup_email = get_theme_mod('wcast_enable_availableforpickup_email');
112
+ $wc_ast_api_key = get_option('wc_ast_api_key');
113
+ //echo '<pre>';print_r($wcast_enable_delivered_email['enabled']);echo '</pre>';
114
+ ?>
115
+ <section class="ac-container">
116
  <?php
117
  if($wc_ast_api_key){
118
  ?>
200
  <p class="shipment_about"><?php _e('Carrier attempted to deliver but failed, and usually leaves a notice and will try to deliver the package again.', 'woo-advanced-shipment-tracking'); ?></p>
201
  </div>
202
  <?php } ?>
203
+ </section>
 
204
  <?php } else{ ?>
205
  <div class="section-content trackship_section">
206
+ <div class="trackship-upsell-overlay">
207
+ <div class="trackship-upsell-top">
208
+ <h3><img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="trackship_logo"></h3>
209
+ <p class="trackship-upsell-subtitle"><?php _e('TracksShip is a premium shipment tracking API flatform that fully integrates with WooCommerce with the Advanced Shipment Tracking. TrackShip automates the order management workflows, reduces customer inquiries, reduces time spent on customer service, and improves the post-purchase experience and satisfaction of your customers.', 'woo-advanced-shipment-tracking'); ?></p>
210
+ <p class="trackship-upsell-subtitle"><?php _e('You must have account TracksShip and connect your store in order to activate these advanced features:', 'woo-advanced-shipment-tracking'); ?></p>
211
+ </div>
212
+ <div class="trackship-upsell-content">
213
+ <ul>
214
+ <li><?php _e('Automatically track your shipments with 100+ shipping providers.', 'woo-advanced-shipment-tracking'); ?></li>
215
+ <li><?php _e('Display Shipment Status and latest shipment status, update date and est. delivery date on WooCommerce orders admin.', 'woo-advanced-shipment-tracking'); ?></li>
216
+ <li><?php _e('Option to manually get shipment tracking updates for orders.', 'woo-advanced-shipment-tracking'); ?></li>
217
+ <li><?php _e('Automatically change order status to Delivered once the shipment is delivered to your customers.', 'woo-advanced-shipment-tracking'); ?></li>
218
+ <li><?php _e('Option to filter orders with invalid tracking numbers or by shipment status event in orders admin', 'woo-advanced-shipment-tracking'); ?></li>
219
+ <li><?php _e('Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.', 'woo-advanced-shipment-tracking'); ?></li>
220
+ <li><?php _e('Direct customers to a Tracking page on your store.', 'woo-advanced-shipment-tracking'); ?></li>
221
+ </ul>
222
+ <div class="text-center"><a href="https://trackship.info/" target="_blank" class="button-primary woocommerce-upload-csv-save-button btn_green2 btn_large"><?php _e('SIGNUP NOW', 'woo-advanced-shipment-tracking'); ?></a></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  </div>
224
  </div>
225
+ </div>
226
  <?php }
227
  ?>
228
  </form>
229
  </div>
230
  <?php
231
  if($wc_ast_api_key){
232
+ include 'zorem_admin_sidebar.php';
233
  }
234
  ?>
235
  </div>
includes/views/zorem_admin_sidebar.php CHANGED
@@ -1,13 +1,24 @@
1
  <div class="zorem_admin_sidebar">
2
- <div class="ts_launch">
3
- <h3>Advanced Shipment Tracking</h3>
4
- <p>Hey, your opinion matters to us. If you like the advanced shipment tracking plugin, please take 1 minute to leave us review on WordPress.org</br>
5
  <span>Thanks :)</span>
6
- </p>
7
-
8
- <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" target="_self" class="button button-primary btn_green" target="_blank"><span><?php _e('Leave your review', 'woo-advanced-shipment-tracking'); ?></span><i class="icon-angle-right"></i></a>
9
  </div>
10
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  <!--<div class="zorem-sidebar-title"></div>-->
12
  <div class="zorem-sidebar__section">
13
  <h3>More plugins by zorem</h3>
@@ -23,16 +34,16 @@
23
  'url' => 'https://wordpress.org/plugins/woo-ajax-loginregister/',
24
  'img' => 'WooCommerce-Ajax-Login-Register-thumbnail.jpg',
25
  ),
 
 
 
 
 
26
  /*0 => array(
27
  'name' => 'Country Based Restrictions for WooCommerce',
28
  'url' => 'https://wordpress.org/plugins/woo-product-country-base-restrictions/',
29
  'img' => 'WooCommerce-Country-Based-Restrictions-thumbnail.jpg',
30
  ),
31
- 2 => array(
32
- 'name' => 'Sales Report Email for WooCommerce',
33
- 'url' => 'https://wordpress.org/plugins/woo-advanced-sales-report-email/',
34
- 'img' => 'woocommerce-advanced-sales-report-email-thumbnail.jpg',
35
- ),
36
  4 => array(
37
  'name' => 'Sales Report By Country for WooCommerce',
38
  'url' => 'https://wordpress.org/plugins/woo-sales-by-country-reports/',
1
  <div class="zorem_admin_sidebar">
2
+ <div class="ts_launch zorem-sidebar__section">
3
+ <h3>Your opinion matters to us!</h3>
4
+ <p>If you enjoy using advanced shipment tracking plugin, please take a minute to review the plugin</br>
5
  <span>Thanks :)</span>
6
+ </p>
7
+ <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" class="button button-primary btn_ast1 btn_large" target="_blank"><span>Share your review >></span><i class="icon-angle-right"></i></a>
 
8
  </div>
9
 
10
+ <?php
11
+ $wc_ast_api_key = get_option('wc_ast_api_key');
12
+ if(!$wc_ast_api_key){
13
+ ?>
14
+ <div class="ts_launch zorem-sidebar__section">
15
+ <h3 style="padding: 12px 15px 7px;"><img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="sidebar_ts_logo" style="max-width: 60%;"></h3>
16
+ <p>TrackShip supports 100+ carriers and seamlessly integrates with WooCommerce to automate your post shipping operations.</br>
17
+ </p>
18
+ <a href="https://trackship.info/" class="button button-primary btn_green2 btn_large" target="_blank"><span>Try TrackShip for free!</span><i class="icon-angle-right"></i></a>
19
+ </div>
20
+ <?php } ?>
21
+
22
  <!--<div class="zorem-sidebar-title"></div>-->
23
  <div class="zorem-sidebar__section">
24
  <h3>More plugins by zorem</h3>
34
  'url' => 'https://wordpress.org/plugins/woo-ajax-loginregister/',
35
  'img' => 'WooCommerce-Ajax-Login-Register-thumbnail.jpg',
36
  ),
37
+ array(
38
+ 'name' => 'Sales Report Email for WooCommerce',
39
+ 'url' => 'https://wordpress.org/plugins/woo-advanced-sales-report-email/',
40
+ 'img' => 'woocommerce-advanced-sales-report-email-thumbnail.jpg',
41
+ ),
42
  /*0 => array(
43
  'name' => 'Country Based Restrictions for WooCommerce',
44
  'url' => 'https://wordpress.org/plugins/woo-product-country-base-restrictions/',
45
  'img' => 'WooCommerce-Country-Based-Restrictions-thumbnail.jpg',
46
  ),
 
 
 
 
 
47
  4 => array(
48
  'name' => 'Sales Report By Country for WooCommerce',
49
  'url' => 'https://wordpress.org/plugins/woo-sales-by-country-reports/',
includes/views/zorem_admin_ts_sidebar.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="zorem_admin_sidebar">
2
- <div class="ts_launch">
3
  <img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" alt="" style="max-width: 60%;">
4
 
5
  <p><a href="https://my.trackship.info" target="_blank" class="button button-primary btn_green" target="_blank"><span><?php _e( 'Dashboard', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a></p>
1
  <div class="zorem_admin_sidebar">
2
+ <div class="ts_launch zorem-sidebar__section">
3
  <img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" alt="" style="max-width: 60%;">
4
 
5
  <p><a href="https://my.trackship.info" target="_blank" class="button button-primary btn_green" target="_blank"><span><?php _e( 'Dashboard', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a></p>
lang/woo-advanced-shipment-tracking-he_IL.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-he_IL.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:46+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Hebrew\n"
9
  "Language: he_IL\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -144,7 +144,7 @@ msgstr "העלה קובץ CSV חוקי."
144
 
145
  #: includes/class-wc-advanced-shipment-tracking-admin.php:736
146
  msgid "Shipping Providers"
147
- msgstr ""
148
 
149
  #: includes/class-wc-advanced-shipment-tracking-admin.php:739
150
  msgid "Settings"
@@ -221,7 +221,7 @@ msgstr ""
221
 
222
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
223
  msgid "Use the tracking page in the customer email/my account tracking link"
224
- msgstr ""
225
 
226
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
227
  msgid "Select primary color for tracking page"
@@ -394,7 +394,7 @@ msgstr ""
394
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
395
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
396
  msgid "Unknown"
397
- msgstr ""
398
 
399
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
400
  msgid "Pending TrackShip"
@@ -418,7 +418,7 @@ msgstr "שלח שוב את הודעת ההזמנה שנשלחו"
418
 
419
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
420
  msgid "Shipped Order"
421
- msgstr ""
422
 
423
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
424
  msgid "Mark order as delivered"
@@ -436,13 +436,13 @@ msgstr ""
436
  #: includes/views/admin_options_shipping_provider.php:88
437
  #, php-format
438
  msgid "You don't have any %s shipping providers."
439
- msgstr ""
440
 
441
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
442
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
443
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
444
  msgid "view details"
445
- msgstr ""
446
 
447
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
448
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
@@ -537,12 +537,12 @@ msgstr ""
537
  #: includes/class-wc-advanced-shipment-tracking-front.php:448
538
  #: includes/class-wc-advanced-shipment-tracking-front.php:804
539
  msgid "view more"
540
- msgstr ""
541
 
542
  #: includes/class-wc-advanced-shipment-tracking-front.php:449
543
  #: includes/class-wc-advanced-shipment-tracking-front.php:805
544
  msgid "view less"
545
- msgstr ""
546
 
547
  #. esc_html__( '%1$s %2$s.' ),
548
  #: includes/class-wc-advanced-shipment-tracking-install.php:1583
@@ -625,7 +625,7 @@ msgstr "לחץ כאן כדי לעקוב אחר המשלוח"
625
 
626
  #: includes/customizer/class-wcast-customizer.php:39
627
  msgid "Shipment Status Emails"
628
- msgstr ""
629
 
630
  #: includes/customizer/class-wcast-customizer.php:50
631
  msgid "Tracking info display"
@@ -643,7 +643,7 @@ msgstr ""
643
 
644
  #: includes/customizer/class-wcast-customizer.php:352
645
  msgid "Select order to preview"
646
- msgstr ""
647
 
648
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
649
  msgid "Your order #{order_number} is available for pickup"
@@ -788,7 +788,7 @@ msgstr ""
788
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
789
  #: includes/customizer/class-wc-returntosender-email-customizer.php:282
790
  msgid "Show order details"
791
- msgstr ""
792
 
793
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
794
  #: includes/customizer/class-wc-delivered-email-customizer.php:297
@@ -797,7 +797,7 @@ msgstr ""
797
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
798
  #: includes/customizer/class-wc-returntosender-email-customizer.php:298
799
  msgid "Show billing address"
800
- msgstr ""
801
 
802
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
803
  #: includes/customizer/class-wc-delivered-email-customizer.php:314
@@ -806,7 +806,7 @@ msgstr ""
806
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
807
  #: includes/customizer/class-wc-returntosender-email-customizer.php:315
808
  msgid "Show shipping address"
809
- msgstr ""
810
 
811
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
812
  #: includes/customizer/class-wc-delivered-email-customizer.php:330
@@ -1036,7 +1036,7 @@ msgstr "מספר מעקב"
1036
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
1037
  #: includes/customizer/class-wc-tracking-info-customizer.php:344
1038
  msgid "Shipped Date"
1039
- msgstr ""
1040
 
1041
  #: includes/customizer/class-wc-tracking-info-customizer.php:162
1042
  msgid ""
@@ -1071,7 +1071,7 @@ msgstr "טקסט נוסף אחרי כותרת"
1071
 
1072
  #: includes/customizer/class-wc-tracking-info-customizer.php:245
1073
  msgid "Table Layout"
1074
- msgstr ""
1075
 
1076
  #: includes/customizer/class-wc-tracking-info-customizer.php:260
1077
  msgid "Display Shipment Provider image"
@@ -1091,19 +1091,19 @@ msgstr ""
1091
 
1092
  #: includes/customizer/class-wc-tracking-info-customizer.php:337
1093
  msgid "Shipped Date Header Text"
1094
- msgstr ""
1095
 
1096
  #: includes/customizer/class-wc-tracking-info-customizer.php:358
1097
  msgid "Track Label"
1098
- msgstr ""
1099
 
1100
  #: includes/customizer/class-wc-tracking-info-customizer.php:374
1101
  msgid "Track Header Text"
1102
- msgstr ""
1103
 
1104
  #: includes/customizer/class-wc-tracking-info-customizer.php:396
1105
  msgid "Table Design"
1106
- msgstr ""
1107
 
1108
  #: includes/customizer/class-wc-tracking-info-customizer.php:411
1109
  msgid "Padding"
@@ -1129,7 +1129,7 @@ msgstr "בחר"
1129
 
1130
  #: includes/customizer/class-wc-tracking-info-customizer.php:499
1131
  msgid "Table text align"
1132
- msgstr ""
1133
 
1134
  #: includes/customizer/class-wc-tracking-info-customizer.php:504
1135
  msgid "Left"
@@ -1169,7 +1169,7 @@ msgstr ""
1169
 
1170
  #: includes/customizer/class-wc-tracking-info-customizer.php:636
1171
  msgid "Track Link"
1172
- msgstr ""
1173
 
1174
  #: includes/customizer/class-wc-tracking-info-customizer.php:650
1175
  msgid "Track Link Font Color"
@@ -1294,7 +1294,7 @@ msgstr "הגדרות נשמרו."
1294
 
1295
  #: includes/views/admin_options_bulk_upload.php:34
1296
  msgid "You can download an example of the csv file:"
1297
- msgstr ""
1298
 
1299
  #: includes/views/admin_options_bulk_upload.php:35
1300
  msgid "Download sample csv file"
@@ -1359,7 +1359,7 @@ msgstr ""
1359
  #: includes/views/admin_options_shipping_provider.php:163
1360
  #: includes/views/admin_options_shipping_provider.php:170
1361
  msgid "Sync Providers"
1362
- msgstr ""
1363
 
1364
  #: includes/views/admin_options_shipping_provider.php:164
1365
  msgid "Do you really want to sync all providers?"
@@ -1400,7 +1400,7 @@ msgstr ""
1400
 
1401
  #: includes/views/admin_options_trackship_integration.php:53
1402
  msgid "Shipment Status Notifications "
1403
- msgstr ""
1404
 
1405
  #: includes/views/admin_options_trackship_integration.php:81
1406
  msgid ""
@@ -1414,7 +1414,7 @@ msgstr ""
1414
 
1415
  #: includes/views/admin_options_trackship_integration.php:109
1416
  msgid "The shipment is ready to pickup."
1417
- msgstr ""
1418
 
1419
  #: includes/views/admin_options_trackship_integration.php:122
1420
  msgid "Carrier is about to deliver the shipment"
@@ -1422,7 +1422,7 @@ msgstr ""
1422
 
1423
  #: includes/views/admin_options_trackship_integration.php:136
1424
  msgid "The shipment was delivered successfully"
1425
- msgstr ""
1426
 
1427
  #: includes/views/admin_options_trackship_integration.php:137
1428
  msgid ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
+ "PO-Revision-Date: 2019-09-18 16:15+0000\n"
7
+ "Last-Translator: inearuco_admin <info@zorem.com>\n"
8
  "Language-Team: Hebrew\n"
9
  "Language: he_IL\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
144
 
145
  #: includes/class-wc-advanced-shipment-tracking-admin.php:736
146
  msgid "Shipping Providers"
147
+ msgstr "ספקי שילוח"
148
 
149
  #: includes/class-wc-advanced-shipment-tracking-admin.php:739
150
  msgid "Settings"
221
 
222
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
223
  msgid "Use the tracking page in the customer email/my account tracking link"
224
+ msgstr "הפנה לקוחות לעמוד המעקב באתר שלך (באימייל אישור הזמנה ובחשבון לקוח)"
225
 
226
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
227
  msgid "Select primary color for tracking page"
394
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
395
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
396
  msgid "Unknown"
397
+ msgstr "לא ידוע"
398
 
399
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
400
  msgid "Pending TrackShip"
418
 
419
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
420
  msgid "Shipped Order"
421
+ msgstr "ההזמנה נשלחה"
422
 
423
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
424
  msgid "Mark order as delivered"
436
  #: includes/views/admin_options_shipping_provider.php:88
437
  #, php-format
438
  msgid "You don't have any %s shipping providers."
439
+ msgstr "לא הופעלו ספקי שילוח"
440
 
441
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
442
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
443
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
444
  msgid "view details"
445
+ msgstr "הצג פרטים"
446
 
447
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
448
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
537
  #: includes/class-wc-advanced-shipment-tracking-front.php:448
538
  #: includes/class-wc-advanced-shipment-tracking-front.php:804
539
  msgid "view more"
540
+ msgstr "הצג עוד"
541
 
542
  #: includes/class-wc-advanced-shipment-tracking-front.php:449
543
  #: includes/class-wc-advanced-shipment-tracking-front.php:805
544
  msgid "view less"
545
+ msgstr "הצג פחות"
546
 
547
  #. esc_html__( '%1$s %2$s.' ),
548
  #: includes/class-wc-advanced-shipment-tracking-install.php:1583
625
 
626
  #: includes/customizer/class-wcast-customizer.php:39
627
  msgid "Shipment Status Emails"
628
+ msgstr "התראות אימייל על שינוי סטטוס משלוח"
629
 
630
  #: includes/customizer/class-wcast-customizer.php:50
631
  msgid "Tracking info display"
643
 
644
  #: includes/customizer/class-wcast-customizer.php:352
645
  msgid "Select order to preview"
646
+ msgstr "בחר הזמנה לצפייה"
647
 
648
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
649
  msgid "Your order #{order_number} is available for pickup"
788
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
789
  #: includes/customizer/class-wc-returntosender-email-customizer.php:282
790
  msgid "Show order details"
791
+ msgstr "הצג פרטי הזמנה"
792
 
793
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
794
  #: includes/customizer/class-wc-delivered-email-customizer.php:297
797
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
798
  #: includes/customizer/class-wc-returntosender-email-customizer.php:298
799
  msgid "Show billing address"
800
+ msgstr "הצג כתובת למשלוח"
801
 
802
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
803
  #: includes/customizer/class-wc-delivered-email-customizer.php:314
806
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
807
  #: includes/customizer/class-wc-returntosender-email-customizer.php:315
808
  msgid "Show shipping address"
809
+ msgstr "הצג כתובת למשלוח"
810
 
811
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
812
  #: includes/customizer/class-wc-delivered-email-customizer.php:330
1036
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
1037
  #: includes/customizer/class-wc-tracking-info-customizer.php:344
1038
  msgid "Shipped Date"
1039
+ msgstr "תאריך משלוח"
1040
 
1041
  #: includes/customizer/class-wc-tracking-info-customizer.php:162
1042
  msgid ""
1071
 
1072
  #: includes/customizer/class-wc-tracking-info-customizer.php:245
1073
  msgid "Table Layout"
1074
+ msgstr "עימוד טבלה"
1075
 
1076
  #: includes/customizer/class-wc-tracking-info-customizer.php:260
1077
  msgid "Display Shipment Provider image"
1091
 
1092
  #: includes/customizer/class-wc-tracking-info-customizer.php:337
1093
  msgid "Shipped Date Header Text"
1094
+ msgstr "טקסט כותרת לעמודת תאריך משלוח"
1095
 
1096
  #: includes/customizer/class-wc-tracking-info-customizer.php:358
1097
  msgid "Track Label"
1098
+ msgstr "טקסט של כפתור מעקב משלוח"
1099
 
1100
  #: includes/customizer/class-wc-tracking-info-customizer.php:374
1101
  msgid "Track Header Text"
1102
+ msgstr "כותרת של כפתור מעקב משלוח"
1103
 
1104
  #: includes/customizer/class-wc-tracking-info-customizer.php:396
1105
  msgid "Table Design"
1106
+ msgstr "עיצוב טבלה"
1107
 
1108
  #: includes/customizer/class-wc-tracking-info-customizer.php:411
1109
  msgid "Padding"
1129
 
1130
  #: includes/customizer/class-wc-tracking-info-customizer.php:499
1131
  msgid "Table text align"
1132
+ msgstr "יישור טקסט טבלה"
1133
 
1134
  #: includes/customizer/class-wc-tracking-info-customizer.php:504
1135
  msgid "Left"
1169
 
1170
  #: includes/customizer/class-wc-tracking-info-customizer.php:636
1171
  msgid "Track Link"
1172
+ msgstr "לינק של כפתור מעקב משלוח"
1173
 
1174
  #: includes/customizer/class-wc-tracking-info-customizer.php:650
1175
  msgid "Track Link Font Color"
1294
 
1295
  #: includes/views/admin_options_bulk_upload.php:34
1296
  msgid "You can download an example of the csv file:"
1297
+ msgstr "ניתן להוריד דוגמא של קובץ ה-CSV:"
1298
 
1299
  #: includes/views/admin_options_bulk_upload.php:35
1300
  msgid "Download sample csv file"
1359
  #: includes/views/admin_options_shipping_provider.php:163
1360
  #: includes/views/admin_options_shipping_provider.php:170
1361
  msgid "Sync Providers"
1362
+ msgstr "סנכרן רשימת ספקי שילוח"
1363
 
1364
  #: includes/views/admin_options_shipping_provider.php:164
1365
  msgid "Do you really want to sync all providers?"
1400
 
1401
  #: includes/views/admin_options_trackship_integration.php:53
1402
  msgid "Shipment Status Notifications "
1403
+ msgstr "התראות סטטוס משלוח"
1404
 
1405
  #: includes/views/admin_options_trackship_integration.php:81
1406
  msgid ""
1414
 
1415
  #: includes/views/admin_options_trackship_integration.php:109
1416
  msgid "The shipment is ready to pickup."
1417
+ msgstr "המשלוח מוכן לאיסוף"
1418
 
1419
  #: includes/views/admin_options_trackship_integration.php:122
1420
  msgid "Carrier is about to deliver the shipment"
1422
 
1423
  #: includes/views/admin_options_trackship_integration.php:136
1424
  msgid "The shipment was delivered successfully"
1425
+ msgstr "המשלוח נמסר ללקוח"
1426
 
1427
  #: includes/views/admin_options_trackship_integration.php:137
1428
  msgid ""
lang/woo-advanced-shipment-tracking-sv_SE.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-sv_SE.po CHANGED
@@ -3,16 +3,16 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:47+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Swedish\n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.3.0; wp-5.2.3"
16
 
17
  #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
@@ -20,19 +20,19 @@ msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
  "Shipment Tracking!"
22
  msgstr ""
23
- "Vänligen installera och aktivera% sWooCommerce% s för att kunna använda "
24
  "WooCommerce Advanced Shipping Tracking!"
25
 
26
  #: woocommerce-advanced-shipment-tracking.php:390
27
  #: includes/views/admin_options_settings.php:21
28
  #, php-format
29
  msgid ""
30
- "<strong>PLEASE NOTE</strong> - If you use the custom order status "
31
- "\"Delivered\", when you deactivate the plugin, you must register this order "
32
- "status in function.php in order to see these orders in the orders admin. You "
33
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
34
- "php here or you can manually change all your \"delivered\" order to "
35
- "\"completed\" before deactivating the plugin."
36
  msgstr ""
37
 
38
  #: includes/class-wc-advanced-shipment-tracking-admin.php:209
@@ -72,14 +72,14 @@ msgstr[1] "Skickades <span class = \"count\"> (% s) </ span>"
72
  #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
  #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
  msgid "Updated Tracking"
75
- msgstr "Uppdaterad spårning"
76
 
77
  #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
  #, php-format
79
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Uppdaterad spårning <span class = \"count\"> (% s) </ span>"
82
- msgstr[1] "Uppdaterad spårning <span class = \"count\"> (% s) </ span>"
83
 
84
  #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
  msgid "Change status to delivered"
@@ -94,6 +94,8 @@ msgid ""
94
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
  "100 orders."
96
  msgstr ""
 
 
97
 
98
  #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
  msgid "Order"
@@ -158,7 +160,7 @@ msgstr "Massuppladdning"
158
 
159
  #: includes/class-wc-advanced-shipment-tracking-admin.php:745
160
  msgid "TrackShip"
161
- msgstr ""
162
 
163
  #: includes/class-wc-advanced-shipment-tracking-admin.php:880
164
  msgid "Connected"
@@ -188,7 +190,7 @@ msgstr "50 spårningar gratis för varje nytt konto! Skapa ditt %s konto nu>>"
188
 
189
  #: includes/class-wc-advanced-shipment-tracking-admin.php:988
190
  msgid "TrackShip Connection Status"
191
- msgstr "TrackShip-anslutningsstatus"
192
 
193
  #: includes/class-wc-advanced-shipment-tracking-admin.php:995
194
  #: includes/emails/class-shipment-delivered-email.php:226
@@ -205,16 +207,20 @@ msgid ""
205
  "You have %s %s orders that you can track with TrackShip, you can send these "
206
  "shipments to TrackShip in Bulk."
207
  msgstr ""
 
 
208
 
209
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
210
  msgid "Get Shipment Status"
211
- msgstr ""
212
 
213
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
214
  msgid ""
215
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
216
  "for the tracking page to work."
217
  msgstr ""
 
 
218
 
219
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
220
  msgid "Select Tracking Page"
@@ -242,28 +248,38 @@ msgid ""
242
  "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
243
  "state"
244
  msgstr ""
 
 
245
 
246
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
247
  msgid ""
248
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
249
  "will be selected by default when adding tracking info to orders."
250
  msgstr ""
 
 
 
251
 
252
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
253
  msgid "Completed"
254
- msgstr "Avslutad"
255
 
256
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
257
  msgid ""
258
  "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
259
  "state"
260
  msgstr ""
 
 
261
 
262
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
263
  msgid ""
264
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
265
  "will be selected by default when adding tracking info to orders."
266
  msgstr ""
 
 
 
267
 
268
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
269
  msgid "Rename the “Completed” Order status to “Shipped”"
@@ -271,13 +287,12 @@ msgstr "Ändra namn på orderstatusen 'Färdigbehandlad' till 'Skickad'"
271
 
272
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
273
  msgid "On which customer order status email to include tracking info?"
274
- msgstr ""
275
- "På vilken kundbeställningsstatus e-post för att inkludera spårningsinfo?"
276
 
277
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
278
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
279
  msgid "Cancelled"
280
- msgstr "Avbokad"
281
 
282
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
283
  msgid "Customer Invoice"
@@ -285,23 +300,23 @@ msgstr "Kundfaktura"
285
 
286
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
287
  msgid "Refunded"
288
- msgstr "återbetalas"
289
 
290
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
291
  msgid "Processing"
292
- msgstr "bearbetning"
293
 
294
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
295
  msgid "Failed"
296
- msgstr "misslyckades"
297
 
298
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
299
  msgid "Show tracking info in Invoice"
300
- msgstr "Visa spårningsinfo i faktura"
301
 
302
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
303
  msgid "Show tracking info in Packing Slip"
304
- msgstr "Visa spårningsinfo i Packing Slip"
305
 
306
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
307
  msgid "Enable a New Custom order status - “Delivered”"
@@ -339,15 +354,18 @@ msgstr "Ändra"
339
  msgid ""
340
  "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
341
  "plugin"
342
- msgstr "Ändra levererade order till \"Slutförd\" när du inaktiverar plugin"
 
 
343
 
344
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
345
  msgid "No, I will use the snippet"
346
- msgstr "Nej, jag ska använda utdraget"
347
 
348
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
349
  msgid "Yes, change all Delivered orders to Completed"
350
- msgstr "Ja, ändra alla Levererade order till Slutförda"
 
351
 
352
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
353
  #, php-format
@@ -358,11 +376,11 @@ msgid ""
358
  "to use in functions.php %s or we can set to change all your \"delivered\" "
359
  "order to \"completed\"."
360
  msgstr ""
361
- "OBSERVERA - Om du använder beställningsstatusen \"Delivered\", när du "
362
- "inaktiverar pluginet måste du registrera denna orderstatus i function.php "
363
- "för att kunna se dessa order i orderadministratören. Du kan hitta utdraget "
364
- "att använda i functions.php% s eller vi kan ställa in för att ändra all din "
365
- "\"levererade\" ordning till \"klar\"."
366
 
367
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
368
  msgid "Get shipment status"
@@ -424,7 +442,7 @@ msgstr "Fraktleverantören stöds inte"
424
 
425
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
426
  msgid "Invalid User Key"
427
- msgstr ""
428
 
429
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
430
  msgid "Resend delivered order notification"
@@ -432,15 +450,15 @@ msgstr "Återsänd ordermeddelande om 'Levererat'"
432
 
433
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
434
  msgid "Shipped Order"
435
- msgstr "Skickad beställning"
436
 
437
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
438
  msgid "Mark order as delivered"
439
- msgstr "Markera ordning som levererad"
440
 
441
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
442
  msgid "Add Tracking"
443
- msgstr ""
444
 
445
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
446
  msgid "Change order status to"
@@ -450,7 +468,7 @@ msgstr "Ändra orderstatus till"
450
  #: includes/views/admin_options_shipping_provider.php:88
451
  #, php-format
452
  msgid "You don't have any %s shipping providers."
453
- msgstr "Du har inga% s fraktleverantörer."
454
 
455
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
456
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
@@ -462,26 +480,26 @@ msgstr "visa detaljer"
462
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
463
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
464
  msgid "hide details"
465
- msgstr "gömma detaljer"
466
 
467
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
468
  msgid "Available for Pickup"
469
- msgstr ""
470
 
471
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
472
  msgid "Out for Delivery"
473
- msgstr ""
474
 
475
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
476
  #: includes/customizer/class-wcast-customizer.php:112
477
  #: includes/customizer/class-wc-failure-email-customizer.php:113
478
  #: includes/views/admin_options_trackship_integration.php:149
479
  msgid "Failed Attempt"
480
- msgstr "Misslyckat försök"
481
 
482
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
483
  msgid "Carrier Unsupported"
484
- msgstr ""
485
 
486
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
487
  #: includes/class-wc-advanced-shipment-tracking-front.php:457
@@ -491,7 +509,7 @@ msgstr "Ogiltigt sändningsnummer"
491
 
492
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
493
  msgid "Filter by shipment status"
494
- msgstr ""
495
 
496
  #: includes/class-wc-advanced-shipment-tracking-front.php:138
497
  msgid ""
@@ -499,9 +517,9 @@ msgid ""
499
  "the \"Track\" button. This was given to you on your receipt and in the "
500
  "confirmation email you should have received."
501
  msgstr ""
502
- "För att spåra din beställning, ange ditt order-id i rutan nedan och tryck på "
503
- "'Spåra'-knappen. Informationen återfinns på ditt kvitt and i bekräftelse e-"
504
- "postmeddelandet som du mottagit."
505
 
506
  #: includes/class-wc-advanced-shipment-tracking-front.php:139
507
  msgid "Order ID"
@@ -537,19 +555,19 @@ msgstr "Leverans - %s (av %s)"
537
  #: includes/class-wc-advanced-shipment-tracking-front.php:311
538
  #: includes/class-wc-advanced-shipment-tracking-front.php:666
539
  msgid "Order: "
540
- msgstr "Ordning:"
541
 
542
  #: includes/class-wc-advanced-shipment-tracking-front.php:320
543
  #: includes/class-wc-advanced-shipment-tracking-front.php:324
544
  #: includes/class-wc-advanced-shipment-tracking-front.php:675
545
  #: includes/class-wc-advanced-shipment-tracking-front.php:679
546
  msgid "Estimated Delivery Date: "
547
- msgstr "Beräknat leveransdatum:"
548
 
549
  #: includes/class-wc-advanced-shipment-tracking-front.php:429
550
  #: includes/class-wc-advanced-shipment-tracking-front.php:785
551
  msgid "Tracking Details"
552
- msgstr "Spårningsinformation"
553
 
554
  #: includes/class-wc-advanced-shipment-tracking-front.php:448
555
  #: includes/class-wc-advanced-shipment-tracking-front.php:804
@@ -568,28 +586,28 @@ msgid ""
568
  "We added many improvements to %1$s, please help and give us a review :) "
569
  "Thanks!"
570
  msgstr ""
571
- "Vi har lagt till många förbättringar till% 1 $ s, snälla hjälp och ge oss en "
572
- "recension :) Tack!"
573
 
574
  #: includes/class-wc-advanced-shipment-tracking.php:93
575
  #: includes/class-wc-advanced-shipment-tracking.php:244
576
  #: includes/customizer/class-wcast-customizer.php:30
577
  msgid "Shipment Tracking"
578
- msgstr "Försändelsespårning"
579
 
580
  #: includes/class-wc-advanced-shipment-tracking.php:179
581
  #: includes/class-wc-advanced-shipment-tracking.php:351
582
  msgid "Change order to Shipped?"
583
- msgstr ""
584
 
585
  #: includes/class-wc-advanced-shipment-tracking.php:181
586
  #: includes/class-wc-advanced-shipment-tracking.php:353
587
  msgid "Change order to Completed?"
588
- msgstr ""
589
 
590
  #: includes/class-wc-advanced-shipment-tracking.php:186
591
  msgid "Add Tracking Number"
592
- msgstr ""
593
 
594
  #: includes/class-wc-advanced-shipment-tracking.php:191
595
  #: includes/class-wc-advanced-shipment-tracking.php:369
@@ -644,7 +662,7 @@ msgstr "Klicka här för att spåra försändelsen"
644
 
645
  #: includes/customizer/class-wcast-customizer.php:39
646
  msgid "Shipment Status Emails"
647
- msgstr "E-postmeddelanden om leveransstatus"
648
 
649
  #: includes/customizer/class-wcast-customizer.php:50
650
  msgid "Tracking info display"
@@ -837,7 +855,7 @@ msgstr "Visa leveransadress"
837
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
838
  #: includes/customizer/class-wc-returntosender-email-customizer.php:331
839
  msgid "Google Analytics link tracking"
840
- msgstr ""
841
 
842
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
843
  #: includes/customizer/class-wc-delivered-email-customizer.php:331
@@ -846,7 +864,7 @@ msgstr ""
846
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
847
  #: includes/customizer/class-wc-returntosender-email-customizer.php:332
848
  msgid "This will be appended to URL in the email content"
849
- msgstr ""
850
 
851
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
852
  #: includes/customizer/class-wc-delivered-email-customizer.php:352
@@ -881,7 +899,7 @@ msgstr "Välj order att förhandsgranska."
881
 
882
  #: includes/customizer/class-wc-delivered-email-customizer.php:114
883
  msgid "Your order #{order_number} has been delivered"
884
- msgstr ""
885
 
886
  #: includes/customizer/class-wc-delivered-email-customizer.php:116
887
  msgid ""
@@ -922,70 +940,75 @@ msgstr "Välj beställning..."
922
 
923
  #: includes/customizer/class-wc-email-customizer.php:211
924
  msgid "Receipts"
925
- msgstr ""
926
 
927
  #: includes/customizer/class-wc-email-customizer.php:212
928
  msgid ""
929
  "Enter emails use variables such as {customer_email}. Multiple emails can be "
930
  "separated by commas."
931
  msgstr ""
 
 
932
 
933
  #: includes/customizer/class-wc-email-customizer.php:235
934
  #: includes/customizer/class-wc-email-customizer.php:258
935
  msgid "Available variables: {site_title}, {order_number}"
936
- msgstr ""
937
 
938
  #: includes/customizer/class-wc-email-customizer.php:281
939
  msgid ""
940
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
941
  "{customer_last_name}, {customer_username}, {order_number}"
942
  msgstr ""
 
 
 
943
 
944
  #: includes/customizer/class-wc-email-customizer.php:300
945
  msgid "Display tracking details"
946
- msgstr ""
947
 
948
  #: includes/customizer/class-wc-email-customizer.php:316
949
  msgid "Display order details"
950
- msgstr ""
951
 
952
  #: includes/customizer/class-wc-email-customizer.php:333
953
  msgid "Display Shipping Address"
954
- msgstr ""
955
 
956
  #: includes/customizer/class-wc-email-customizer.php:350
957
  msgid "Display Billing Address"
958
- msgstr ""
959
 
960
  #: includes/customizer/class-wc-email-customizer.php:367
961
  msgid "Enable Google Analytics tracking"
962
- msgstr ""
963
 
964
  #: includes/customizer/class-wc-email-customizer.php:385
965
  msgid ""
966
  "This will be appended to URL in the email content – e.g. "
967
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
968
  msgstr ""
 
 
969
 
970
  #: includes/customizer/class-wc-failure-email-customizer.php:112
971
  msgid "Your order #{order_number} is Failed Attempt"
972
- msgstr "Din beställning # {order_nummer} misslyckades"
973
 
974
  #: includes/customizer/class-wc-failure-email-customizer.php:114
975
  msgid ""
976
  "Hi there. we thought you'd like to know that your recent order from "
977
  "{site_title} is Failed Attempt"
978
- msgstr ""
979
- "Hallå där. vi trodde att du vill veta att din senaste beställning från "
980
- "{site_title} misslyckades"
981
 
982
  #: includes/customizer/class-wc-failure-email-customizer.php:144
983
  msgid "Failed Attempt shipment status email"
984
- msgstr "Det gick inte att försöka e-postmeddelanden om leveransstatus"
985
 
986
  #: includes/customizer/class-wc-failure-email-customizer.php:159
987
  msgid "Enable Failed Attempt shipment status email"
988
- msgstr "Aktivera misslyckat försök e-postmeddelanden om leveransstatus"
989
 
990
  #: includes/customizer/class-wc-intransit-email-customizer.php:114
991
  msgid "Your order #{order_number} is in transit"
@@ -1060,7 +1083,7 @@ msgstr "Sändningsnummer"
1060
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
1061
  #: includes/customizer/class-wc-tracking-info-customizer.php:344
1062
  msgid "Shipped Date"
1063
- msgstr "Skickat datum"
1064
 
1065
  #: includes/customizer/class-wc-tracking-info-customizer.php:162
1066
  msgid ""
@@ -1072,19 +1095,19 @@ msgstr ""
1072
 
1073
  #: includes/customizer/class-wc-tracking-info-customizer.php:182
1074
  msgid "Tracking Display Position"
1075
- msgstr "Spårar visningsposition"
1076
 
1077
  #: includes/customizer/class-wc-tracking-info-customizer.php:186
1078
  msgid "Before Order Details"
1079
- msgstr "Innan orderdetaljer"
1080
 
1081
  #: includes/customizer/class-wc-tracking-info-customizer.php:187
1082
  msgid "After Order Details"
1083
- msgstr "Efter beställningsinformation"
1084
 
1085
  #: includes/customizer/class-wc-tracking-info-customizer.php:202
1086
  msgid "Main Header text"
1087
- msgstr "Huvudtexttext"
1088
 
1089
  #: includes/customizer/class-wc-tracking-info-customizer.php:209
1090
  #: templates/pip/tracking-info.php:17
@@ -1097,11 +1120,11 @@ msgstr "Ytterligare text"
1097
 
1098
  #: includes/customizer/class-wc-tracking-info-customizer.php:245
1099
  msgid "Table Layout"
1100
- msgstr "Tabelllayout"
1101
 
1102
  #: includes/customizer/class-wc-tracking-info-customizer.php:260
1103
  msgid "Display Shipment Provider image"
1104
- msgstr "Visa leverantörens bild"
1105
 
1106
  #: includes/customizer/class-wc-tracking-info-customizer.php:277
1107
  msgid "Hide date"
@@ -1117,7 +1140,7 @@ msgstr "Rubriktext - Sändningsnummerkolumn"
1117
 
1118
  #: includes/customizer/class-wc-tracking-info-customizer.php:337
1119
  msgid "Shipped Date Header Text"
1120
- msgstr "Rubriktext - 'Skickat datum'-kolumn"
1121
 
1122
  #: includes/customizer/class-wc-tracking-info-customizer.php:358
1123
  msgid "Track Label"
@@ -1155,7 +1178,7 @@ msgstr "Välj"
1155
 
1156
  #: includes/customizer/class-wc-tracking-info-customizer.php:499
1157
  msgid "Table text align"
1158
- msgstr "Tabelltext anpassas"
1159
 
1160
  #: includes/customizer/class-wc-tracking-info-customizer.php:504
1161
  msgid "Left"
@@ -1171,19 +1194,19 @@ msgstr "Centrera"
1171
 
1172
  #: includes/customizer/class-wc-tracking-info-customizer.php:525
1173
  msgid "Table header font size"
1174
- msgstr "Tabellrubrikstilsstorlek"
1175
 
1176
  #: includes/customizer/class-wc-tracking-info-customizer.php:544
1177
  msgid "Table header font color"
1178
- msgstr "Tabellhuvud typsnittsfärg"
1179
 
1180
  #: includes/customizer/class-wc-tracking-info-customizer.php:560
1181
  msgid "Table content font size"
1182
- msgstr "Tabellens innehållsstorlek"
1183
 
1184
  #: includes/customizer/class-wc-tracking-info-customizer.php:577
1185
  msgid "Table content font color"
1186
- msgstr "Tabellinnehåll typsnittsfärg"
1187
 
1188
  #: includes/customizer/class-wc-tracking-info-customizer.php:593
1189
  msgid "Content line height"
@@ -1195,19 +1218,19 @@ msgstr "Innehåll - Fetstil"
1195
 
1196
  #: includes/customizer/class-wc-tracking-info-customizer.php:636
1197
  msgid "Track Link"
1198
- msgstr "Spårlänk"
1199
 
1200
  #: includes/customizer/class-wc-tracking-info-customizer.php:650
1201
  msgid "Track Link Font Color"
1202
- msgstr "Spårlänksteckensfärg"
1203
 
1204
  #: includes/customizer/class-wc-tracking-info-customizer.php:666
1205
  msgid "Track Link Background Color"
1206
- msgstr "Spårlänk bakgrundsfärg"
1207
 
1208
  #: includes/customizer/class-wc-tracking-info-customizer.php:681
1209
  msgid "Track link Border"
1210
- msgstr "Spårlänk gränsen"
1211
 
1212
  #: includes/customizer/class-wc-tracking-page-customizer.php:167
1213
  msgid "Header Color"
@@ -1247,54 +1270,58 @@ msgstr "Sändningsinformation - Tabellmarginal topp/botten(px)"
1247
 
1248
  #: includes/emails/class-shipment-delivered-email.php:32
1249
  msgid "Delivered order"
1250
- msgstr ""
1251
 
1252
  #: includes/emails/class-shipment-delivered-email.php:33
1253
  msgid ""
1254
  "Order delivered emails are sent to customers when their orders are marked "
1255
  "delivered and usually indicate that their orders have been shipped."
1256
  msgstr ""
 
 
 
1257
 
1258
  #: includes/emails/class-shipment-delivered-email.php:228
1259
  msgid "Enable this email notification"
1260
- msgstr ""
1261
 
1262
  #: includes/emails/class-shipment-delivered-email.php:232
1263
  msgid "Recipient(s)"
1264
- msgstr ""
1265
 
1266
  #. %s: WP admin email
1267
  #: includes/emails/class-shipment-delivered-email.php:235
1268
  #, php-format
1269
  msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1270
  msgstr ""
 
1271
 
1272
  #: includes/emails/class-shipment-delivered-email.php:241
1273
  msgid "Subject"
1274
- msgstr ""
1275
 
1276
  #. %s: list of placeholders
1277
  #: includes/emails/class-shipment-delivered-email.php:245
1278
  #: includes/emails/class-shipment-delivered-email.php:254
1279
  #, php-format
1280
  msgid "Available placeholders: %s"
1281
- msgstr ""
1282
 
1283
  #: includes/emails/class-shipment-delivered-email.php:259
1284
  msgid "Email type"
1285
- msgstr ""
1286
 
1287
  #: includes/emails/class-shipment-delivered-email.php:261
1288
  msgid "Choose which format of email to send."
1289
- msgstr ""
1290
 
1291
  #: includes/emails/class-shipment-delivered-email.php:269
1292
  msgid "\" >Click Here</a>"
1293
- msgstr ""
1294
 
1295
  #: includes/emails/class-shipment-delivered-email.php:270
1296
  msgid "Edit in customizer"
1297
- msgstr ""
1298
 
1299
  #: includes/views/admin_options_bulk_upload.php:5
1300
  msgid "Upload CSV"
@@ -1351,7 +1378,7 @@ msgstr "Allmänt"
1351
  #: includes/views/admin_options_settings.php:10
1352
  #: includes/views/admin_options_settings.php:19
1353
  msgid "Delivered Order Status"
1354
- msgstr "Levererad orderstatus"
1355
 
1356
  #: includes/views/admin_options_settings.php:12
1357
  msgid "Tracking Info Display Designer"
@@ -1360,7 +1387,7 @@ msgstr "Sändningsinformation - Anpassare"
1360
  #: includes/views/admin_options_settings.php:15
1361
  #: includes/views/admin_options_trackship_integration.php:19
1362
  msgid "General Settings"
1363
- msgstr "Allmänna Inställningar"
1364
 
1365
  #: includes/views/admin_options_settings.php:24
1366
  #: includes/views/admin_options_trackship_integration.php:25
@@ -1375,41 +1402,41 @@ msgstr "Lägg till anpassad fraktleverantör"
1375
  #: includes/views/admin_options_shipping_provider.php:101
1376
  #: includes/views/admin_options_shipping_provider.php:135
1377
  msgid "Shiping Country"
1378
- msgstr "Fraktland"
1379
 
1380
  #: includes/views/admin_options_shipping_provider.php:102
1381
  #: includes/views/admin_options_shipping_provider.php:136
1382
  msgid "Global"
1383
- msgstr ""
1384
 
1385
  #: includes/views/admin_options_shipping_provider.php:128
1386
  msgid "Edit Custom Shipping Provider"
1387
- msgstr "Redigera anpassad leveransleverantör"
1388
 
1389
  #: includes/views/admin_options_shipping_provider.php:163
1390
  #: includes/views/admin_options_shipping_provider.php:170
1391
  msgid "Sync Providers"
1392
- msgstr "Synkroniseringsleverantörer"
1393
 
1394
  #: includes/views/admin_options_shipping_provider.php:164
1395
  msgid "Do you really want to sync all providers?"
1396
- msgstr "Vill du verkligen synkronisera alla leverantörer?"
1397
 
1398
  #: includes/views/admin_options_shipping_provider.php:166
1399
  msgid "Providers Added"
1400
- msgstr "Leverantörer tillagda"
1401
 
1402
  #: includes/views/admin_options_shipping_provider.php:167
1403
  msgid "Providers Updated"
1404
- msgstr "Leverantörer uppdaterade"
1405
 
1406
  #: includes/views/admin_options_shipping_provider.php:168
1407
  msgid "Providers Deleted"
1408
- msgstr "Leverantörer raderade"
1409
 
1410
  #: includes/views/admin_options_shipping_provider.php:171
1411
  msgid "Close"
1412
- msgstr "Stänga"
1413
 
1414
  #: includes/views/admin_options_trackship_integration.php:13
1415
  #: includes/views/admin_options_trackship_integration.php:35
@@ -1418,7 +1445,7 @@ msgstr "Spårningssida"
1418
 
1419
  #: includes/views/admin_options_trackship_integration.php:16
1420
  msgid "Shipment Status Notifications"
1421
- msgstr "Meddelanden om leveransstatus"
1422
 
1423
  #: includes/views/admin_options_trackship_integration.php:40
1424
  msgid "Click to preview the tracking page"
@@ -1426,53 +1453,53 @@ msgstr "Klicka för att förhandsgranska spårningssidan"
1426
 
1427
  #: includes/views/admin_options_trackship_integration.php:41
1428
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1429
- msgstr ""
1430
- "Observera - se till att spara dina inställningar innan förhandsgranskning."
1431
 
1432
  #: includes/views/admin_options_trackship_integration.php:53
1433
  msgid "Shipment Status Notifications "
1434
- msgstr "Meddelanden om leveransstatus"
1435
 
1436
  #: includes/views/admin_options_trackship_integration.php:81
1437
  msgid ""
1438
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1439
  "the way."
1440
  msgstr ""
1441
- "Transportören har accepterat eller hämtat frakt från avsändaren. Sändningen "
1442
- "är väg."
1443
 
1444
  #: includes/views/admin_options_trackship_integration.php:95
1445
  msgid "Shipment is returned to sender"
1446
- msgstr "Frakt returneras till avsändaren"
1447
 
1448
  #: includes/views/admin_options_trackship_integration.php:109
1449
  msgid "The shipment is ready to pickup."
1450
- msgstr "Leveransen är redo att hämtas."
1451
 
1452
  #: includes/views/admin_options_trackship_integration.php:122
1453
  msgid "Carrier is about to deliver the shipment"
1454
- msgstr "Carrier håller att leverera leveransen"
1455
 
1456
  #: includes/views/admin_options_trackship_integration.php:136
1457
  msgid "The shipment was delivered successfully"
1458
- msgstr "Leveransen levererades framgångsrikt"
1459
 
1460
  #: includes/views/admin_options_trackship_integration.php:137
1461
  msgid ""
1462
  "You already have delivered email enabled, to enable this email you'll need "
1463
  "to disable the order status delivered in settings."
1464
  msgstr ""
1465
- "Du har redan levererat e-post aktiverat, för att aktivera det här e-"
1466
- "postmeddelandet måste du inaktivera orderstatusen som levererats i "
1467
- "inställningarna."
1468
 
1469
  #: includes/views/admin_options_trackship_integration.php:151
1470
  msgid ""
1471
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1472
  "will try to deliver the package again."
1473
  msgstr ""
1474
- "Carrier försökte leverera men misslyckades, och lämnar vanligtvis ett "
1475
- "meddelande och kommer att försöka leverera paketet igen."
 
1476
 
1477
  #: includes/views/html-tracking-info-design-preview.php:60
1478
  msgid "USPS"
@@ -1480,15 +1507,15 @@ msgstr "USPS"
1480
 
1481
  #: includes/views/zorem_admin_sidebar.php:8
1482
  msgid "Leave your review"
1483
- msgstr ""
1484
 
1485
  #: includes/views/zorem_admin_ts_sidebar.php:5
1486
  msgid "Dashboard"
1487
- msgstr ""
1488
 
1489
  #: includes/views/zorem_admin_ts_sidebar.php:7
1490
  msgid "Documentation"
1491
- msgstr ""
1492
 
1493
  #: templates/emails/tracking-info.php:138
1494
  msgid "Status"
@@ -1511,3 +1538,258 @@ msgstr "Orderdatum:"
1511
  #: templates/emails/plain/tracking-info.php:18
1512
  msgid "TRACKING INFORMATION"
1513
  msgstr "SÄNDNINGSINFORMATION"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
+ "PO-Revision-Date: 2019-09-10 11:55+0200\n"
7
+ "Last-Translator: Mikael Grönholm <mikael@gronholm.nu>\n"
8
  "Language-Team: Swedish\n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 2.2.3\n"
15
+ "X-Loco-Version: 2.2.2; wp-5.1.1\n"
16
 
17
  #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
  "Shipment Tracking!"
22
  msgstr ""
23
+ "Vänligen installera och aktivera %sWooCommerce%s för att kunna använda "
24
  "WooCommerce Advanced Shipping Tracking!"
25
 
26
  #: woocommerce-advanced-shipment-tracking.php:390
27
  #: includes/views/admin_options_settings.php:21
28
  #, php-format
29
  msgid ""
30
+ "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Delivered"
31
+ "\", when you deactivate the plugin, you must register this order status in "
32
+ "function.php in order to see these orders in the orders admin. You can find "
33
+ "the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions.php here "
34
+ "or you can manually change all your \"delivered\" order to \"completed\" "
35
+ "before deactivating the plugin."
36
  msgstr ""
37
 
38
  #: includes/class-wc-advanced-shipment-tracking-admin.php:209
72
  #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
  #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
  msgid "Updated Tracking"
75
+ msgstr "Uppdaterad sändningsinformation"
76
 
77
  #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
  #, php-format
79
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
+ msgstr[0] "Uppdaterad spårning <span class=\"count\">(%s)</span>"
82
+ msgstr[1] "Uppdaterad spårningar <span class=\"count\">(%s)</span>"
83
 
84
  #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
  msgid "Change status to delivered"
94
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
  "100 orders."
96
  msgstr ""
97
+ "Hämta Sändningsstatus är begränsad till 100 sändningar i taget. Välj därför "
98
+ "max 100 sändningar."
99
 
100
  #: includes/class-wc-advanced-shipment-tracking-admin.php:667
101
  msgid "Order"
160
 
161
  #: includes/class-wc-advanced-shipment-tracking-admin.php:745
162
  msgid "TrackShip"
163
+ msgstr "TrackShip"
164
 
165
  #: includes/class-wc-advanced-shipment-tracking-admin.php:880
166
  msgid "Connected"
190
 
191
  #: includes/class-wc-advanced-shipment-tracking-admin.php:988
192
  msgid "TrackShip Connection Status"
193
+ msgstr "TrackShip anslutningsstatus"
194
 
195
  #: includes/class-wc-advanced-shipment-tracking-admin.php:995
196
  #: includes/emails/class-shipment-delivered-email.php:226
207
  "You have %s %s orders that you can track with TrackShip, you can send these "
208
  "shipments to TrackShip in Bulk."
209
  msgstr ""
210
+ "Du har %s %s ordrar som kan spåras via TrackShip, du kan skicka dessa "
211
+ "sändningar till TrackShip i Bulk."
212
 
213
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
214
  msgid "Get Shipment Status"
215
+ msgstr "Visa fraktstatus"
216
 
217
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
218
  msgid ""
219
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
220
  "for the tracking page to work."
221
  msgstr ""
222
+ "Du måste lägga till kortkoden [wcast-track-order] till sidnamnet för att "
223
+ "spårningssidan ska fungera."
224
 
225
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
226
  msgid "Select Tracking Page"
248
  "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
249
  "state"
250
  msgstr ""
251
+ "Aktivera 'markera som <span class=\"shipped_label\">skickad</span>' "
252
+ "kryssrutan som standard"
253
 
254
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
255
  msgid ""
256
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
257
  "will be selected by default when adding tracking info to orders."
258
  msgstr ""
259
+ "Det här innebär att kryssrutan 'Markera som <span "
260
+ "class='shipped_label'>skickad</span>' alltid kommer att vara ikryssad som "
261
+ "standard när du lägger till sändningsinformation till en order."
262
 
263
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
264
  msgid "Completed"
265
+ msgstr "Färdigbehandlad"
266
 
267
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
268
  msgid ""
269
  "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
270
  "state"
271
  msgstr ""
272
+ "Aktivera 'markera som <span class=\"shipped_label\">färdigbehandlad</span>' "
273
+ "kryssrutan som standard"
274
 
275
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
276
  msgid ""
277
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
278
  "will be selected by default when adding tracking info to orders."
279
  msgstr ""
280
+ "Det här innebär att kryssrutan 'Markera som <span "
281
+ "class='shipped_label'>färdigbehandlad</span>' alltid kommer att vara "
282
+ "ikryssad som standard när du lägger till sändningsinformation till en order."
283
 
284
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
285
  msgid "Rename the “Completed” Order status to “Shipped”"
287
 
288
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
289
  msgid "On which customer order status email to include tracking info?"
290
+ msgstr "Inkludera spårningsinformation för följande orderstatusar:"
 
291
 
292
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
293
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
294
  msgid "Cancelled"
295
+ msgstr "Avbruten"
296
 
297
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
298
  msgid "Customer Invoice"
300
 
301
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
302
  msgid "Refunded"
303
+ msgstr "Krediterad"
304
 
305
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
306
  msgid "Processing"
307
+ msgstr "Behandlas"
308
 
309
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
310
  msgid "Failed"
311
+ msgstr "Avbruten"
312
 
313
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
314
  msgid "Show tracking info in Invoice"
315
+ msgstr "Visa spårningsinformation faktura"
316
 
317
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
318
  msgid "Show tracking info in Packing Slip"
319
+ msgstr "Visa spårningsinformation följesedel"
320
 
321
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
322
  msgid "Enable a New Custom order status - “Delivered”"
354
  msgid ""
355
  "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
356
  "plugin"
357
+ msgstr ""
358
+ "Återställ ordrar med orderstatus \"Levererad\" till \"Färdigbehandlad\" när "
359
+ "du inaktiverar detta plugin."
360
 
361
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
362
  msgid "No, I will use the snippet"
363
+ msgstr "Nej, jag kommer använda kodavsnittet"
364
 
365
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
366
  msgid "Yes, change all Delivered orders to Completed"
367
+ msgstr ""
368
+ "Ja, ändra alla ordrar med status \"Levererad\" till \"Färdigbehandlade\""
369
 
370
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
371
  #, php-format
376
  "to use in functions.php %s or we can set to change all your \"delivered\" "
377
  "order to \"completed\"."
378
  msgstr ""
379
+ "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
380
+ "deactivate the plugin, you must register this order status in function.php "
381
+ "in order to see these orders in the orders admin. You can find the snippet "
382
+ "to use in functions.php %s or we can set to change all your \"delivered\" "
383
+ "order to \"completed\"."
384
 
385
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
386
  msgid "Get shipment status"
442
 
443
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
444
  msgid "Invalid User Key"
445
+ msgstr "Ogiltig användarnyckel"
446
 
447
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
448
  msgid "Resend delivered order notification"
450
 
451
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
452
  msgid "Shipped Order"
453
+ msgstr "Skickad order"
454
 
455
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
456
  msgid "Mark order as delivered"
457
+ msgstr "Markera order som levererad"
458
 
459
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
460
  msgid "Add Tracking"
461
+ msgstr "Lägg till sändningsinformation"
462
 
463
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
464
  msgid "Change order status to"
468
  #: includes/views/admin_options_shipping_provider.php:88
469
  #, php-format
470
  msgid "You don't have any %s shipping providers."
471
+ msgstr "Du har inte valt några %s fraktleverantörer."
472
 
473
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
474
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
480
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
481
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
482
  msgid "hide details"
483
+ msgstr "dölj detaljer"
484
 
485
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
486
  msgid "Available for Pickup"
487
+ msgstr "Tillgänglig för upphämtning"
488
 
489
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
490
  msgid "Out for Delivery"
491
+ msgstr "Ute för leverans"
492
 
493
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
494
  #: includes/customizer/class-wcast-customizer.php:112
495
  #: includes/customizer/class-wc-failure-email-customizer.php:113
496
  #: includes/views/admin_options_trackship_integration.php:149
497
  msgid "Failed Attempt"
498
+ msgstr "Misslyckat leveransförsök"
499
 
500
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
501
  msgid "Carrier Unsupported"
502
+ msgstr "Fraktleverantören stöds inte"
503
 
504
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
505
  #: includes/class-wc-advanced-shipment-tracking-front.php:457
509
 
510
  #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
511
  msgid "Filter by shipment status"
512
+ msgstr "Filtrera efter fraktstatus"
513
 
514
  #: includes/class-wc-advanced-shipment-tracking-front.php:138
515
  msgid ""
517
  "the \"Track\" button. This was given to you on your receipt and in the "
518
  "confirmation email you should have received."
519
  msgstr ""
520
+ "Ange ditt Order-ID i rutan nedan och tryck på 'Spåra'-knappen för att spåra "
521
+ "din beställning. Informationen återfinns på din faktura/följesedel och i "
522
+ "leveransbekräftelsen du fått via e-post."
523
 
524
  #: includes/class-wc-advanced-shipment-tracking-front.php:139
525
  msgid "Order ID"
555
  #: includes/class-wc-advanced-shipment-tracking-front.php:311
556
  #: includes/class-wc-advanced-shipment-tracking-front.php:666
557
  msgid "Order: "
558
+ msgstr "Order: "
559
 
560
  #: includes/class-wc-advanced-shipment-tracking-front.php:320
561
  #: includes/class-wc-advanced-shipment-tracking-front.php:324
562
  #: includes/class-wc-advanced-shipment-tracking-front.php:675
563
  #: includes/class-wc-advanced-shipment-tracking-front.php:679
564
  msgid "Estimated Delivery Date: "
565
+ msgstr "Beräknat leveransdatum: "
566
 
567
  #: includes/class-wc-advanced-shipment-tracking-front.php:429
568
  #: includes/class-wc-advanced-shipment-tracking-front.php:785
569
  msgid "Tracking Details"
570
+ msgstr "Spårningsdetaljer"
571
 
572
  #: includes/class-wc-advanced-shipment-tracking-front.php:448
573
  #: includes/class-wc-advanced-shipment-tracking-front.php:804
586
  "We added many improvements to %1$s, please help and give us a review :) "
587
  "Thanks!"
588
  msgstr ""
589
+ "Vi har gjort många förbättringar i %1$s. om du uppskattar vårt arbete med "
590
+ "pluginet, så lämna gärna en positiv recension :). Tack på förhand!"
591
 
592
  #: includes/class-wc-advanced-shipment-tracking.php:93
593
  #: includes/class-wc-advanced-shipment-tracking.php:244
594
  #: includes/customizer/class-wcast-customizer.php:30
595
  msgid "Shipment Tracking"
596
+ msgstr "Spåra försändelser"
597
 
598
  #: includes/class-wc-advanced-shipment-tracking.php:179
599
  #: includes/class-wc-advanced-shipment-tracking.php:351
600
  msgid "Change order to Shipped?"
601
+ msgstr "Ändra orderstatus till skickad?"
602
 
603
  #: includes/class-wc-advanced-shipment-tracking.php:181
604
  #: includes/class-wc-advanced-shipment-tracking.php:353
605
  msgid "Change order to Completed?"
606
+ msgstr "Ändra orderstatus till Färdigbehandlad?"
607
 
608
  #: includes/class-wc-advanced-shipment-tracking.php:186
609
  msgid "Add Tracking Number"
610
+ msgstr "Lägg till spårningsnummer"
611
 
612
  #: includes/class-wc-advanced-shipment-tracking.php:191
613
  #: includes/class-wc-advanced-shipment-tracking.php:369
662
 
663
  #: includes/customizer/class-wcast-customizer.php:39
664
  msgid "Shipment Status Emails"
665
+ msgstr "E-poststatusnotiser"
666
 
667
  #: includes/customizer/class-wcast-customizer.php:50
668
  msgid "Tracking info display"
855
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
856
  #: includes/customizer/class-wc-returntosender-email-customizer.php:331
857
  msgid "Google Analytics link tracking"
858
+ msgstr "Google Analytics länkspårning"
859
 
860
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
861
  #: includes/customizer/class-wc-delivered-email-customizer.php:331
864
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
865
  #: includes/customizer/class-wc-returntosender-email-customizer.php:332
866
  msgid "This will be appended to URL in the email content"
867
+ msgstr "Det här kommer att läggas till i URL:en i e-postmeddelanden"
868
 
869
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
870
  #: includes/customizer/class-wc-delivered-email-customizer.php:352
899
 
900
  #: includes/customizer/class-wc-delivered-email-customizer.php:114
901
  msgid "Your order #{order_number} has been delivered"
902
+ msgstr "Din beställning #{order_number} har levererats"
903
 
904
  #: includes/customizer/class-wc-delivered-email-customizer.php:116
905
  msgid ""
940
 
941
  #: includes/customizer/class-wc-email-customizer.php:211
942
  msgid "Receipts"
943
+ msgstr "Kvitton"
944
 
945
  #: includes/customizer/class-wc-email-customizer.php:212
946
  msgid ""
947
  "Enter emails use variables such as {customer_email}. Multiple emails can be "
948
  "separated by commas."
949
  msgstr ""
950
+ "Ange e-postadresser här eller använd variabler som {customer_email}. "
951
+ "Separera flera adresser med kommatecken."
952
 
953
  #: includes/customizer/class-wc-email-customizer.php:235
954
  #: includes/customizer/class-wc-email-customizer.php:258
955
  msgid "Available variables: {site_title}, {order_number}"
956
+ msgstr "Tillgängliga variabler: {site_title}, {order_number}"
957
 
958
  #: includes/customizer/class-wc-email-customizer.php:281
959
  msgid ""
960
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
961
  "{customer_last_name}, {customer_username}, {order_number}"
962
  msgstr ""
963
+ "Tillgängliga variabler: {site_title}, {customer_email}, "
964
+ "{customer_first_name}, {customer_last_name}, {customer_username}, "
965
+ "{order_number}"
966
 
967
  #: includes/customizer/class-wc-email-customizer.php:300
968
  msgid "Display tracking details"
969
+ msgstr "Visa sändningsinformation"
970
 
971
  #: includes/customizer/class-wc-email-customizer.php:316
972
  msgid "Display order details"
973
+ msgstr "Visa orderdetaljer"
974
 
975
  #: includes/customizer/class-wc-email-customizer.php:333
976
  msgid "Display Shipping Address"
977
+ msgstr "Visa leveransadress"
978
 
979
  #: includes/customizer/class-wc-email-customizer.php:350
980
  msgid "Display Billing Address"
981
+ msgstr "Visa fakturaadress"
982
 
983
  #: includes/customizer/class-wc-email-customizer.php:367
984
  msgid "Enable Google Analytics tracking"
985
+ msgstr "Aktivera Google Analytics länkspårning"
986
 
987
  #: includes/customizer/class-wc-email-customizer.php:385
988
  msgid ""
989
  "This will be appended to URL in the email content – e.g. "
990
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
991
  msgstr ""
992
+ "Det här kommer att läggas till i URL:en i e-postmeddelanden – e.g. "
993
+ "utm_source=ast&utm_medium=email&utm_campaign=delivered"
994
 
995
  #: includes/customizer/class-wc-failure-email-customizer.php:112
996
  msgid "Your order #{order_number} is Failed Attempt"
997
+ msgstr "Din beställning #{order_number} kunde inte levereras"
998
 
999
  #: includes/customizer/class-wc-failure-email-customizer.php:114
1000
  msgid ""
1001
  "Hi there. we thought you'd like to know that your recent order from "
1002
  "{site_title} is Failed Attempt"
1003
+ msgstr "Hej. Din leverans från {site_title} kunde inte levereras"
 
 
1004
 
1005
  #: includes/customizer/class-wc-failure-email-customizer.php:144
1006
  msgid "Failed Attempt shipment status email"
1007
+ msgstr "E-postmeddelande för Frakt-status - 'Misslyckades'"
1008
 
1009
  #: includes/customizer/class-wc-failure-email-customizer.php:159
1010
  msgid "Enable Failed Attempt shipment status email"
1011
+ msgstr "Aktivera e-postmeddelande för 'Misslyckad leverans'"
1012
 
1013
  #: includes/customizer/class-wc-intransit-email-customizer.php:114
1014
  msgid "Your order #{order_number} is in transit"
1083
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
1084
  #: includes/customizer/class-wc-tracking-info-customizer.php:344
1085
  msgid "Shipped Date"
1086
+ msgstr "Skickas"
1087
 
1088
  #: includes/customizer/class-wc-tracking-info-customizer.php:162
1089
  msgid ""
1095
 
1096
  #: includes/customizer/class-wc-tracking-info-customizer.php:182
1097
  msgid "Tracking Display Position"
1098
+ msgstr "Position för Spårningsinformation"
1099
 
1100
  #: includes/customizer/class-wc-tracking-info-customizer.php:186
1101
  msgid "Before Order Details"
1102
+ msgstr "Före orderdetaljer"
1103
 
1104
  #: includes/customizer/class-wc-tracking-info-customizer.php:187
1105
  msgid "After Order Details"
1106
+ msgstr "Efter orderdetaljer"
1107
 
1108
  #: includes/customizer/class-wc-tracking-info-customizer.php:202
1109
  msgid "Main Header text"
1110
+ msgstr "Huvudrubriktext"
1111
 
1112
  #: includes/customizer/class-wc-tracking-info-customizer.php:209
1113
  #: templates/pip/tracking-info.php:17
1120
 
1121
  #: includes/customizer/class-wc-tracking-info-customizer.php:245
1122
  msgid "Table Layout"
1123
+ msgstr "Tabell layout"
1124
 
1125
  #: includes/customizer/class-wc-tracking-info-customizer.php:260
1126
  msgid "Display Shipment Provider image"
1127
+ msgstr "Visa miniatyr"
1128
 
1129
  #: includes/customizer/class-wc-tracking-info-customizer.php:277
1130
  msgid "Hide date"
1140
 
1141
  #: includes/customizer/class-wc-tracking-info-customizer.php:337
1142
  msgid "Shipped Date Header Text"
1143
+ msgstr "Rubriktext - 'Skickas'-kolumn"
1144
 
1145
  #: includes/customizer/class-wc-tracking-info-customizer.php:358
1146
  msgid "Track Label"
1178
 
1179
  #: includes/customizer/class-wc-tracking-info-customizer.php:499
1180
  msgid "Table text align"
1181
+ msgstr "Textjustering för tabell"
1182
 
1183
  #: includes/customizer/class-wc-tracking-info-customizer.php:504
1184
  msgid "Left"
1194
 
1195
  #: includes/customizer/class-wc-tracking-info-customizer.php:525
1196
  msgid "Table header font size"
1197
+ msgstr "Tabellrubrik - Textstorlek"
1198
 
1199
  #: includes/customizer/class-wc-tracking-info-customizer.php:544
1200
  msgid "Table header font color"
1201
+ msgstr "Tabellrubrik - Textfärg"
1202
 
1203
  #: includes/customizer/class-wc-tracking-info-customizer.php:560
1204
  msgid "Table content font size"
1205
+ msgstr "Tabellinnehåll - Textstorlek"
1206
 
1207
  #: includes/customizer/class-wc-tracking-info-customizer.php:577
1208
  msgid "Table content font color"
1209
+ msgstr "Tabellinnehåll - Textfärg"
1210
 
1211
  #: includes/customizer/class-wc-tracking-info-customizer.php:593
1212
  msgid "Content line height"
1218
 
1219
  #: includes/customizer/class-wc-tracking-info-customizer.php:636
1220
  msgid "Track Link"
1221
+ msgstr "Spårningslänk"
1222
 
1223
  #: includes/customizer/class-wc-tracking-info-customizer.php:650
1224
  msgid "Track Link Font Color"
1225
+ msgstr "Spårningslänk - Textfärg"
1226
 
1227
  #: includes/customizer/class-wc-tracking-info-customizer.php:666
1228
  msgid "Track Link Background Color"
1229
+ msgstr "Spårningslänk - Bakgrundsfärg"
1230
 
1231
  #: includes/customizer/class-wc-tracking-info-customizer.php:681
1232
  msgid "Track link Border"
1233
+ msgstr "Spårningslänk - Ram"
1234
 
1235
  #: includes/customizer/class-wc-tracking-page-customizer.php:167
1236
  msgid "Header Color"
1270
 
1271
  #: includes/emails/class-shipment-delivered-email.php:32
1272
  msgid "Delivered order"
1273
+ msgstr "Levererad order"
1274
 
1275
  #: includes/emails/class-shipment-delivered-email.php:33
1276
  msgid ""
1277
  "Order delivered emails are sent to customers when their orders are marked "
1278
  "delivered and usually indicate that their orders have been shipped."
1279
  msgstr ""
1280
+ "E-post med information om att ordern levererats skickas när en order "
1281
+ "markerats som levererad och innebär vanligtvis att en order således har "
1282
+ "skickats."
1283
 
1284
  #: includes/emails/class-shipment-delivered-email.php:228
1285
  msgid "Enable this email notification"
1286
+ msgstr "Aktivera e-postnotis"
1287
 
1288
  #: includes/emails/class-shipment-delivered-email.php:232
1289
  msgid "Recipient(s)"
1290
+ msgstr "Mottagare"
1291
 
1292
  #. %s: WP admin email
1293
  #: includes/emails/class-shipment-delivered-email.php:235
1294
  #, php-format
1295
  msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1296
  msgstr ""
1297
+ "Ange mottagare (separerade med komma) för denna typ av e-post. Standard %s."
1298
 
1299
  #: includes/emails/class-shipment-delivered-email.php:241
1300
  msgid "Subject"
1301
+ msgstr "Ämne"
1302
 
1303
  #. %s: list of placeholders
1304
  #: includes/emails/class-shipment-delivered-email.php:245
1305
  #: includes/emails/class-shipment-delivered-email.php:254
1306
  #, php-format
1307
  msgid "Available placeholders: %s"
1308
+ msgstr "Tillgängliga platshållare: %s"
1309
 
1310
  #: includes/emails/class-shipment-delivered-email.php:259
1311
  msgid "Email type"
1312
+ msgstr "E-posttyp"
1313
 
1314
  #: includes/emails/class-shipment-delivered-email.php:261
1315
  msgid "Choose which format of email to send."
1316
+ msgstr "Välj format för e-postmeddelanden."
1317
 
1318
  #: includes/emails/class-shipment-delivered-email.php:269
1319
  msgid "\" >Click Here</a>"
1320
+ msgstr "\" >Klicka här</a>"
1321
 
1322
  #: includes/emails/class-shipment-delivered-email.php:270
1323
  msgid "Edit in customizer"
1324
+ msgstr "Redigera i anpassaren"
1325
 
1326
  #: includes/views/admin_options_bulk_upload.php:5
1327
  msgid "Upload CSV"
1378
  #: includes/views/admin_options_settings.php:10
1379
  #: includes/views/admin_options_settings.php:19
1380
  msgid "Delivered Order Status"
1381
+ msgstr "Orderstatus 'Levererad'"
1382
 
1383
  #: includes/views/admin_options_settings.php:12
1384
  msgid "Tracking Info Display Designer"
1387
  #: includes/views/admin_options_settings.php:15
1388
  #: includes/views/admin_options_trackship_integration.php:19
1389
  msgid "General Settings"
1390
+ msgstr "Allmänna inställningar"
1391
 
1392
  #: includes/views/admin_options_settings.php:24
1393
  #: includes/views/admin_options_trackship_integration.php:25
1402
  #: includes/views/admin_options_shipping_provider.php:101
1403
  #: includes/views/admin_options_shipping_provider.php:135
1404
  msgid "Shiping Country"
1405
+ msgstr "Leveransland"
1406
 
1407
  #: includes/views/admin_options_shipping_provider.php:102
1408
  #: includes/views/admin_options_shipping_provider.php:136
1409
  msgid "Global"
1410
+ msgstr "Global"
1411
 
1412
  #: includes/views/admin_options_shipping_provider.php:128
1413
  msgid "Edit Custom Shipping Provider"
1414
+ msgstr "Redigera anpassad fraktleverantör"
1415
 
1416
  #: includes/views/admin_options_shipping_provider.php:163
1417
  #: includes/views/admin_options_shipping_provider.php:170
1418
  msgid "Sync Providers"
1419
+ msgstr "Synkronisera leverantörer"
1420
 
1421
  #: includes/views/admin_options_shipping_provider.php:164
1422
  msgid "Do you really want to sync all providers?"
1423
+ msgstr "Vill du synkronisera alla dina leverantörer?"
1424
 
1425
  #: includes/views/admin_options_shipping_provider.php:166
1426
  msgid "Providers Added"
1427
+ msgstr "Fraktleverantörer tillagd"
1428
 
1429
  #: includes/views/admin_options_shipping_provider.php:167
1430
  msgid "Providers Updated"
1431
+ msgstr "Leverantörer uppdaterades"
1432
 
1433
  #: includes/views/admin_options_shipping_provider.php:168
1434
  msgid "Providers Deleted"
1435
+ msgstr "Leverantörer raderades"
1436
 
1437
  #: includes/views/admin_options_shipping_provider.php:171
1438
  msgid "Close"
1439
+ msgstr "Stäng"
1440
 
1441
  #: includes/views/admin_options_trackship_integration.php:13
1442
  #: includes/views/admin_options_trackship_integration.php:35
1445
 
1446
  #: includes/views/admin_options_trackship_integration.php:16
1447
  msgid "Shipment Status Notifications"
1448
+ msgstr "Leveransstatus notiser"
1449
 
1450
  #: includes/views/admin_options_trackship_integration.php:40
1451
  msgid "Click to preview the tracking page"
1453
 
1454
  #: includes/views/admin_options_trackship_integration.php:41
1455
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1456
+ msgstr "OBS - spara inställningarna innan förhandsgranskning."
 
1457
 
1458
  #: includes/views/admin_options_trackship_integration.php:53
1459
  msgid "Shipment Status Notifications "
1460
+ msgstr "Fraktnotiser "
1461
 
1462
  #: includes/views/admin_options_trackship_integration.php:81
1463
  msgid ""
1464
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1465
  "the way."
1466
  msgstr ""
1467
+ "Fraktleverantören har accepterat eller hämtat upp försändelsen och är nu på "
1468
+ "väg till dig."
1469
 
1470
  #: includes/views/admin_options_trackship_integration.php:95
1471
  msgid "Shipment is returned to sender"
1472
+ msgstr "Försändelsen har returnerats till avsändaren."
1473
 
1474
  #: includes/views/admin_options_trackship_integration.php:109
1475
  msgid "The shipment is ready to pickup."
1476
+ msgstr "Försändelsen finns att hämta."
1477
 
1478
  #: includes/views/admin_options_trackship_integration.php:122
1479
  msgid "Carrier is about to deliver the shipment"
1480
+ msgstr "Försändelsen är under leverans."
1481
 
1482
  #: includes/views/admin_options_trackship_integration.php:136
1483
  msgid "The shipment was delivered successfully"
1484
+ msgstr "Försändelsen levererades"
1485
 
1486
  #: includes/views/admin_options_trackship_integration.php:137
1487
  msgid ""
1488
  "You already have delivered email enabled, to enable this email you'll need "
1489
  "to disable the order status delivered in settings."
1490
  msgstr ""
1491
+ "Du har redan aktiverat \"Levererat\"-meddelanden. För att aktivera denna typ "
1492
+ "av e-postmeddelanden så måste du inaktivera orderstatus \"Levererad\" i "
1493
+ "inställningar."
1494
 
1495
  #: includes/views/admin_options_trackship_integration.php:151
1496
  msgid ""
1497
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1498
  "will try to deliver the package again."
1499
  msgstr ""
1500
+ "Transportföretaget försökte leverera försändelsen men misslyckades. "
1501
+ "Vanligtvis lämnar budet ett meddelande eller en avi alternativt kommer de "
1502
+ "att försöka leverera paketet igen."
1503
 
1504
  #: includes/views/html-tracking-info-design-preview.php:60
1505
  msgid "USPS"
1507
 
1508
  #: includes/views/zorem_admin_sidebar.php:8
1509
  msgid "Leave your review"
1510
+ msgstr "Lämna recension"
1511
 
1512
  #: includes/views/zorem_admin_ts_sidebar.php:5
1513
  msgid "Dashboard"
1514
+ msgstr "Översiktspanel"
1515
 
1516
  #: includes/views/zorem_admin_ts_sidebar.php:7
1517
  msgid "Documentation"
1518
+ msgstr "Dokumentation"
1519
 
1520
  #: templates/emails/tracking-info.php:138
1521
  msgid "Status"
1538
  #: templates/emails/plain/tracking-info.php:18
1539
  msgid "TRACKING INFORMATION"
1540
  msgstr "SÄNDNINGSINFORMATION"
1541
+
1542
+ #~ msgid "Retry Trackship Api call for failed orders"
1543
+ #~ msgstr "Försök skicka API-data igen för alla misslyckade ordrar"
1544
+
1545
+ #~ msgid "Tracking: "
1546
+ #~ msgstr "Spårning: "
1547
+
1548
+ #~ msgid "Bulk import tracking info"
1549
+ #~ msgstr "Bulkimportera sändningsinformation"
1550
+
1551
+ #~ msgid ""
1552
+ #~ "Upload multiple tracking # to orders from CSV file. Option to download a "
1553
+ #~ "CSV file with example with the fields format:"
1554
+ #~ msgstr ""
1555
+ #~ "Ladda upp flera spårningar # till beställningar från CSV-filen. "
1556
+ #~ "Alternativ för att ladda ner en CSV-fil med exempel med fältformatet:"
1557
+
1558
+ #~ msgid "order_id - WooCommerce order id"
1559
+ #~ msgstr "order_id - WooCommerce Order-ID"
1560
+
1561
+ #~ msgid ""
1562
+ #~ "tracking_provider - Shipment Provider - Must match the shipping Provider "
1563
+ #~ "name as in the advanced shipment tracking settings."
1564
+ #~ msgstr ""
1565
+ #~ "tracking_provider - Fraktleverantör - Måste matcha fraktleverantörens "
1566
+ #~ "namn som angetts i de avancerade inställningarna."
1567
+
1568
+ #~ msgid "tracking_number - Tracking code / number"
1569
+ #~ msgstr "tracking_number - Sändningskod / -nummer"
1570
+
1571
+ #~ msgid ""
1572
+ #~ "date_shipped (Optional) Shipping date - Date format DD/MM/YYYY - if not "
1573
+ #~ "added, we set the upload date."
1574
+ #~ msgstr ""
1575
+ #~ "date_shipped (Valfritt) Leveransdatum - Datumformat DD / MM / ÅÅÅÅ - om "
1576
+ #~ "ej tillagt, så ställer vi in uppladdningsdatum."
1577
+
1578
+ #~ msgid ""
1579
+ #~ "status_shipped (1=yes, 0=no) (Optional) Change order status to "
1580
+ #~ "“Shipped” (completed) - if this field in null, we will treat it as 0"
1581
+ #~ msgstr ""
1582
+ #~ "status_shipped (1 = ja, 0 = nej) (Valfritt) Ändra orderstatus till "
1583
+ #~ "\"Skickad\" (slutfört) - om det här fältet är tomt, så behandlar vi det "
1584
+ #~ "som 0"
1585
+
1586
+ #~ msgid "Uninstall Options"
1587
+ #~ msgstr "Avinstallationsalternativ"
1588
+
1589
+ #~ msgid "API key"
1590
+ #~ msgstr "API-nyckel"
1591
+
1592
+ #~ msgid "Select success color for tracking page"
1593
+ #~ msgstr "Välj färg för lyckade händelser på spårningssidan"
1594
+
1595
+ #~ msgid "Select warning color for tracking page"
1596
+ #~ msgstr "Välj färg för varningar/undantag på spårningssidan"
1597
+
1598
+ #~ msgid "Rename the “Completed Order” to “Shipped Order” in email settings"
1599
+ #~ msgstr ""
1600
+ #~ "Ändra namn på orderstatusen 'Färdigbehandlad' till 'Skickad' för e-"
1601
+ #~ "postmeddelanden"
1602
+
1603
+ #~ msgid "None"
1604
+ #~ msgstr "Inget"
1605
+
1606
+ #~ msgid "Shipping URL"
1607
+ #~ msgstr "Spårnings-URL"
1608
+
1609
+ #~ msgid ""
1610
+ #~ "You can add tracking number parameter like this - http://shippingprovider."
1611
+ #~ "com?tracking_number=%number% , %number% - parameter"
1612
+ #~ msgstr ""
1613
+ #~ "Du kan lägga till spårningsparametrar så här - http://shippingprovider."
1614
+ #~ "com?tracking_number=%number%,% number% - parameter"
1615
+
1616
+ #~ msgid "Update"
1617
+ #~ msgstr "Uppdatering"
1618
+
1619
+ #~ msgid "Please select default provider"
1620
+ #~ msgstr "Välj standardleverantör"
1621
+
1622
+ #~ msgid "No Estimated Delivery Date"
1623
+ #~ msgstr "Inget beräknat leveransdatum"
1624
+
1625
+ #~ msgid "Shipment Progress"
1626
+ #~ msgstr "Leveransstatus"
1627
+
1628
+ #~ msgid "Last Updated:"
1629
+ #~ msgstr "Senast uppdaterad:"
1630
+
1631
+ #~ msgid ""
1632
+ #~ "Now, you can change (and preview) the style of the shipment tracking "
1633
+ #~ "display on order email and customer account. setup your design"
1634
+ #~ msgstr ""
1635
+ #~ "Nu kan du ändra (och förhandsgranska) designen på sändningsinformationen "
1636
+ #~ "i e-postmeddelanden och i Kundkonton. Anpassa"
1637
+
1638
+ #~ msgid "Pre Transit shipment status email"
1639
+ #~ msgstr "E-postmeddelande för Frakt-status - Registrerad för sändning"
1640
+
1641
+ #~ msgid "Your order #{order_number} is pre transit"
1642
+ #~ msgstr "Din beställning #{order_number} är färdig att skickas"
1643
+
1644
+ #~ msgid ""
1645
+ #~ "Hi there. we thought you'd like to know that your recent order from "
1646
+ #~ "{site_title} is pre transit"
1647
+ #~ msgstr ""
1648
+ #~ "Hej. Din beställning från {site_title} har registrerats för sändning"
1649
+
1650
+ #~ msgid "Enable Pre Transit shipment status email"
1651
+ #~ msgstr ""
1652
+ #~ "Aktivera e-postmeddelande för Frakt-status - Registrerad för sändning"
1653
+
1654
+ #~ msgid "Remove date from tracking info"
1655
+ #~ msgstr "Dölj datum i sändningsinformationen"
1656
+
1657
+ #~ msgid "Header/content text align"
1658
+ #~ msgstr "Textjustering för tabellrubriker & innehåll"
1659
+
1660
+ #~ msgid "Shipment Tracking Link"
1661
+ #~ msgstr "Spårningslänk"
1662
+
1663
+ #~ msgid "Select Shiping Provider which you want to use in order."
1664
+ #~ msgstr "Välj de fraktleverantörer du vill aktivera"
1665
+
1666
+ #~ msgid "Default shipping provider :"
1667
+ #~ msgstr "Standardleverantör:"
1668
+
1669
+ #~ msgid "Enabled"
1670
+ #~ msgstr "Aktiverad"
1671
+
1672
+ #~ msgid "Disabled"
1673
+ #~ msgstr "Inaktiverad"
1674
+
1675
+ #~ msgid "Advanced Shipment Tracking for WooCommerce"
1676
+ #~ msgstr "Advanced Shipment Tracking for WooCommerce"
1677
+
1678
+ #~ msgid "Y-m-d"
1679
+ #~ msgstr "Y-m-d"
1680
+
1681
+ #~ msgid "Available For Pickup shippment status email"
1682
+ #~ msgstr "E-postmeddelande för Frakt-status - Tillgänglig för upphämtning"
1683
+
1684
+ #~ msgid ""
1685
+ #~ "<code>{site_title}<br>{customer_email}<br>{customer_first_name}"
1686
+ #~ "<br>{customer_last_name}<br>{customer_username}<br>{order_number}"
1687
+ #~ "<br>{est_delivery_date}</code>"
1688
+ #~ msgstr ""
1689
+ #~ "<code>{site_title}<br>{customer_email}<br>{customer_first_name}"
1690
+ #~ "<br>{customer_last_name}<br>{customer_username}<br>{order_number}"
1691
+ #~ "<br>{est_delivery_date}</code>"
1692
+
1693
+ #~ msgid "Delivered shippment status email"
1694
+ #~ msgstr "E-postmeddelande för Frakt-status - 'Levererad'"
1695
+
1696
+ #~ msgid "Out For Delivery shippment status email"
1697
+ #~ msgstr "E-postmeddelande för Frakt-status - Ute för leverans"
1698
+
1699
+ #~ msgid "Return To Sender shippment status email"
1700
+ #~ msgstr "E-postmeddelande för Frakt-status - Åter till avsändare"
1701
+
1702
+ #~ msgid "Edit Tracking Page"
1703
+ #~ msgstr "Redigera spårningssida"
1704
+
1705
+ #~ msgid ""
1706
+ #~ "Add shipment tracking information to your WooCommerce orders and provide "
1707
+ #~ "customers with an easy way to track their orders. Shipment tracking Info "
1708
+ #~ "will appear in customers accounts (in the order panel) and in WooCommerce "
1709
+ #~ "order complete email."
1710
+ #~ msgstr ""
1711
+ #~ "Add shipment tracking information to your WooCommerce orders and provide "
1712
+ #~ "customers with an easy way to track their orders. Shipment tracking Info "
1713
+ #~ "will appear in customers accounts (in the order panel) and in WooCommerce "
1714
+ #~ "order complete email."
1715
+
1716
+ #~ msgid "http://www.zorem.com/shop"
1717
+ #~ msgstr "http://www.zorem.com/shop"
1718
+
1719
+ #~ msgid "zorem"
1720
+ #~ msgstr "zorem"
1721
+
1722
+ #~ msgid "http://www.zorem.com/"
1723
+ #~ msgstr "http://www.zorem.com/"
1724
+
1725
+ #~ msgid "Email sub heading"
1726
+ #~ msgstr "E-post - underrubrik"
1727
+
1728
+ #~ msgid "Please enter email sub heading here"
1729
+ #~ msgstr "Ange e-post underrubrik här"
1730
+
1731
+ #~ msgid "Sorry, you cannot list resources."
1732
+ #~ msgstr "Tyvärr, du saknar behörighet för att lista detta."
1733
+
1734
+ #~ msgid "Sorry, you are not allowed to create resources."
1735
+ #~ msgstr "Tyvärr, saknar behörighet för detta."
1736
+
1737
+ #~ msgid "Sorry, you cannot view this resource."
1738
+ #~ msgstr "Tyvärr, du saknar behörighet för att visa detta."
1739
+
1740
+ #~ msgid "Sorry, you are not allowed to delete this resource."
1741
+ #~ msgstr "Tyvärr, du saknar behörighet för att bort detta."
1742
+
1743
+ #~ msgid "Cannot create existing order shipment tracking."
1744
+ #~ msgstr "Det går inte att skapa redan befintlig spårningsinformation."
1745
+
1746
+ #~ msgid "Invalid shipment tracking ID."
1747
+ #~ msgstr "Ogiltigt Spårningsnummer."
1748
+
1749
+ #~ msgid "The shipment tracking cannot be deleted."
1750
+ #~ msgstr "Spårningsinformationen kan inte tas bort."
1751
+
1752
+ #~ msgid "Unique identifier for shipment tracking."
1753
+ #~ msgstr "Unik identifierare för leveransspårning."
1754
+
1755
+ #~ msgid "Tracking provider name."
1756
+ #~ msgstr "Fraktleverantörens namn."
1757
+
1758
+ #~ msgid "Custom tracking provider name."
1759
+ #~ msgstr "Anpassat fraktleverantörsnamn."
1760
+
1761
+ #~ msgid "Custom tracking provider link."
1762
+ #~ msgstr "Anpassad spårningslänk."
1763
+
1764
+ #~ msgid "Tracking number."
1765
+ #~ msgstr "Spårningsnummer."
1766
+
1767
+ #~ msgid "Date when package was shipped."
1768
+ #~ msgstr "Datum då paketet skickades."
1769
+
1770
+ #~ msgid "https://www.zorem.com/shop/woocommerce-advanced-shipment-tracking/"
1771
+ #~ msgstr "https://www.zorem.com/shop/woocommerce-advanced-shipment-tracking/"
1772
+
1773
+ #~ msgid "Click here to preview your design"
1774
+ #~ msgstr "Klicka här för att förhandsgranska din design"
1775
+
1776
+ #~ msgid "Trigger"
1777
+ #~ msgstr "Utlösare"
1778
+
1779
+ #~ msgid "This functionality only available for trackship premium customers."
1780
+ #~ msgstr "Den här funktionen är endast tillgänglig för Premium-kunder."
1781
+
1782
+ #~ msgid "Label"
1783
+ #~ msgstr "Rubrik"
1784
+
1785
+ #~ msgid "For Internal Use"
1786
+ #~ msgstr "För intern användning"
1787
+
1788
+ #~ msgid "Variables"
1789
+ #~ msgstr "Variabler"
1790
+
1791
+ #~ msgid "Copied"
1792
+ #~ msgstr "Kopierad"
1793
+
1794
+ #~ msgid "Select Delivered Email Type"
1795
+ #~ msgstr "Välj e-posttyp för 'Levererad'"
lang/woo-advanced-shipment-tracking.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2019-09-06 11:44+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -15,15 +15,18 @@ msgstr ""
15
  "X-Generator: Loco https://localise.biz/\n"
16
  "X-Loco-Version: 2.2.0; wp-5.0.3"
17
 
18
- #: woocommerce-advanced-shipment-tracking.php:112
19
  #, php-format
20
- msgid ""
21
- "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
22
- "Shipment Tracking!"
23
  msgstr ""
24
 
25
- #: woocommerce-advanced-shipment-tracking.php:390
26
- #: includes/views/admin_options_settings.php:21
 
 
 
 
 
27
  #, php-format
28
  msgid ""
29
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
@@ -35,7 +38,7 @@ msgid ""
35
  msgstr ""
36
 
37
  #: includes/class-wc-advanced-shipment-tracking-admin.php:209
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
39
  msgid "Shipped"
40
  msgstr ""
41
 
@@ -52,12 +55,12 @@ msgstr ""
52
 
53
  #: includes/class-wc-advanced-shipment-tracking-admin.php:250
54
  #: includes/class-wc-advanced-shipment-tracking-admin.php:279
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
58
  #: includes/customizer/class-wcast-customizer.php:104
59
  #: includes/customizer/class-wc-delivered-email-customizer.php:115
60
- #: includes/views/admin_options_trackship_integration.php:134
61
  msgid "Delivered"
62
  msgstr ""
63
 
@@ -123,7 +126,6 @@ msgid "Really want to bulk change all provider status?"
123
  msgstr ""
124
 
125
  #: includes/class-wc-advanced-shipment-tracking-admin.php:674
126
- #: includes/views/admin_options_settings.php:26
127
  msgid "Data saved successfully."
128
  msgstr ""
129
 
@@ -143,205 +145,232 @@ msgstr ""
143
  msgid "Please upload a valid CSV file."
144
  msgstr ""
145
 
146
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
147
- msgid "Shipping Providers"
148
  msgstr ""
149
 
150
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
151
  msgid "Settings"
152
  msgstr ""
153
 
154
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
 
 
 
 
155
  msgid "Bulk Upload"
156
  msgstr ""
157
 
158
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
159
  msgid "TrackShip"
160
  msgstr ""
161
 
162
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
163
  msgid "Connected"
164
  msgstr ""
165
 
166
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
167
  msgid ""
168
  "Auto-track all your shipments, get real-time shipment tracking updates "
169
  "without leaving your stores admin."
170
  msgstr ""
171
 
172
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
173
  #, php-format
174
  msgid ""
175
  "You must have account and connect your store to %s in order to activate "
176
  "these advanced features."
177
  msgstr ""
178
 
179
- #: includes/class-wc-advanced-shipment-tracking-admin.php:892
180
  #, php-format
181
  msgid "50 free Trackers for every new account! Get your %s account now>>"
182
  msgstr ""
183
 
184
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
185
- msgid "TrackShip Connection Status"
186
- msgstr ""
187
-
188
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
189
  #: includes/emails/class-shipment-delivered-email.php:226
190
  msgid "Enable/Disable"
191
  msgstr ""
192
 
193
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
194
  msgid "Set order status Delivered when order is delivered"
195
  msgstr ""
196
 
197
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
198
  #, php-format
199
  msgid ""
200
- "You have %s %s orders that you can track with TrackShip, you can send these "
201
- "shipments to TrackShip in Bulk."
202
  msgstr ""
203
 
204
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
205
  msgid "Get Shipment Status"
206
  msgstr ""
207
 
208
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
209
  msgid ""
210
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
211
  "for the tracking page to work."
212
  msgstr ""
213
 
214
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
215
  msgid "Select Tracking Page"
216
  msgstr ""
217
 
218
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
219
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
220
- msgid "Remove Trackship branding from tracking page"
221
- msgstr ""
222
-
223
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
224
  msgid "Use the tracking page in the customer email/my account tracking link"
225
  msgstr ""
226
 
227
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
228
  msgid "Select primary color for tracking page"
229
  msgstr ""
230
 
231
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
232
  msgid "Select content border color for tracking page"
233
  msgstr ""
234
 
235
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
236
- msgid ""
237
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
238
- "state"
 
 
 
 
 
 
239
  msgstr ""
240
 
241
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
242
  msgid ""
243
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
244
  "will be selected by default when adding tracking info to orders."
245
  msgstr ""
246
 
247
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
248
  msgid "Completed"
249
  msgstr ""
250
 
251
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
252
- msgid ""
253
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
254
- "state"
255
  msgstr ""
256
 
257
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
258
  msgid ""
259
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
260
  "will be selected by default when adding tracking info to orders."
261
  msgstr ""
262
 
263
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
264
- msgid "Rename the “Completed” Order status to “Shipped”"
265
- msgstr ""
266
-
267
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
268
- msgid "On which customer order status email to include tracking info?"
269
- msgstr ""
270
-
271
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
272
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
273
  msgid "Cancelled"
274
  msgstr ""
275
 
276
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
277
  msgid "Customer Invoice"
278
  msgstr ""
279
 
280
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
281
  msgid "Refunded"
282
  msgstr ""
283
 
284
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
285
  msgid "Processing"
286
  msgstr ""
287
 
288
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
289
  msgid "Failed"
290
  msgstr ""
291
 
292
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
 
 
 
 
 
 
 
 
293
  msgid "Show tracking info in Invoice"
294
  msgstr ""
295
 
296
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
297
  msgid "Show tracking info in Packing Slip"
298
  msgstr ""
299
 
300
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
301
- msgid "Enable a New Custom order status - “Delivered"
302
  msgstr ""
303
 
304
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
305
  msgid ""
306
  "if you enable the delivered item, you will have the option to send delivered "
307
  "email notifications."
308
  msgstr ""
309
 
310
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
311
- msgid "Delivered Status Label color"
312
  msgstr ""
313
 
314
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
315
- #: includes/customizer/class-wcast-customizer.php:58
316
- #: includes/customizer/class-wc-email-customizer.php:155
317
- msgid "Delivered order status email"
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  msgstr ""
319
 
320
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
321
- #: includes/views/admin_options_trackship_integration.php:80
322
- #: includes/views/admin_options_trackship_integration.php:94
323
- #: includes/views/admin_options_trackship_integration.php:108
324
- #: includes/views/admin_options_trackship_integration.php:121
325
- #: includes/views/admin_options_trackship_integration.php:135
326
- #: includes/views/admin_options_trackship_integration.php:150
 
 
 
 
327
  msgid "Edit"
328
  msgstr ""
329
 
330
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
331
  msgid ""
332
  "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
333
  "plugin"
334
  msgstr ""
335
 
336
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
337
  msgid "No, I will use the snippet"
338
  msgstr ""
339
 
340
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
341
  msgid "Yes, change all Delivered orders to Completed"
342
  msgstr ""
343
 
344
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
345
  #, php-format
346
  msgid ""
347
  "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
@@ -351,206 +380,223 @@ msgid ""
351
  "order to \"completed\"."
352
  msgstr ""
353
 
354
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
355
  msgid "Get shipment status"
356
  msgstr ""
357
 
358
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
359
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
360
  #: includes/customizer/class-wcast-customizer.php:74
361
  #: includes/customizer/class-wc-intransit-email-customizer.php:115
362
- #: includes/views/admin_options_trackship_integration.php:79
363
  msgid "In Transit"
364
  msgstr ""
365
 
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
367
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
368
  #: includes/customizer/class-wcast-customizer.php:66
369
  msgid "Pre Transit"
370
  msgstr ""
371
 
372
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
373
  msgid "Out for delivery"
374
  msgstr ""
375
 
376
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
377
  #: includes/customizer/class-wcast-customizer.php:89
378
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
379
- #: includes/views/admin_options_trackship_integration.php:107
380
  msgid "Available For Pickup"
381
  msgstr ""
382
 
383
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
384
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
385
  #: includes/customizer/class-wcast-customizer.php:82
386
  #: includes/customizer/class-wc-returntosender-email-customizer.php:116
387
- #: includes/views/admin_options_trackship_integration.php:93
388
  msgid "Return To Sender"
389
  msgstr ""
390
 
391
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
392
  msgid "Delivery Failure"
393
  msgstr ""
394
 
395
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
396
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
397
  msgid "Unknown"
398
  msgstr ""
399
 
400
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
401
  msgid "Pending TrackShip"
402
  msgstr ""
403
 
404
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
405
  msgid "Invalid Tracking"
406
  msgstr ""
407
 
408
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
409
  msgid "Carrier unsupported"
410
  msgstr ""
411
 
412
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
413
  msgid "Invalid User Key"
414
  msgstr ""
415
 
416
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
 
 
 
 
 
 
 
 
417
  msgid "Resend delivered order notification"
418
  msgstr ""
419
 
420
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
421
  msgid "Shipped Order"
422
  msgstr ""
423
 
424
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
425
  msgid "Mark order as delivered"
426
  msgstr ""
427
 
428
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
429
  msgid "Add Tracking"
430
  msgstr ""
431
 
432
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
433
  msgid "Change order status to"
434
  msgstr ""
435
 
436
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
437
- #: includes/views/admin_options_shipping_provider.php:88
438
  #, php-format
439
  msgid "You don't have any %s shipping providers."
440
  msgstr ""
441
 
442
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
443
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
444
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
445
  msgid "view details"
446
  msgstr ""
447
 
448
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
449
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
450
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
451
  msgid "hide details"
452
  msgstr ""
453
 
454
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
455
  msgid "Available for Pickup"
456
  msgstr ""
457
 
458
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
459
  msgid "Out for Delivery"
460
  msgstr ""
461
 
462
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
463
  #: includes/customizer/class-wcast-customizer.php:112
464
  #: includes/customizer/class-wc-failure-email-customizer.php:113
465
- #: includes/views/admin_options_trackship_integration.php:149
466
  msgid "Failed Attempt"
467
  msgstr ""
468
 
469
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
470
  msgid "Carrier Unsupported"
471
  msgstr ""
472
 
473
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
474
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
475
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
476
  msgid "Invalid Tracking Number"
477
  msgstr ""
478
 
479
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
480
  msgid "Filter by shipment status"
481
  msgstr ""
482
 
483
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
484
  msgid ""
485
  "To track your order please enter your Order ID in the box below and press "
486
  "the \"Track\" button. This was given to you on your receipt and in the "
487
  "confirmation email you should have received."
488
  msgstr ""
489
 
490
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
491
  msgid "Order ID"
492
  msgstr ""
493
 
494
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
495
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
496
  msgid "Found in your order confirmation email."
497
  msgstr ""
498
 
499
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
500
  msgid "Order Email"
501
  msgstr ""
502
 
503
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
504
  #: includes/class-wc-advanced-shipment-tracking.php:260
505
- #: includes/class-wc-advanced-shipment-tracking.php:637
506
- #: includes/class-wc-advanced-shipment-tracking.php:763
507
  #: includes/customizer/class-wc-tracking-info-customizer.php:137
508
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
509
  #: includes/views/html-tracking-info-design-preview.php:69
510
  #: templates/emails/tracking-info.php:152
511
  #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
512
  msgid "Track"
513
  msgstr ""
514
 
515
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
516
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
517
  #, php-format
518
  msgid "Shipment - %s (out of %s)"
519
  msgstr ""
520
 
521
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
522
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
523
  msgid "Order: "
524
  msgstr ""
525
 
526
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
527
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
528
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
529
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
530
  msgid "Estimated Delivery Date: "
531
  msgstr ""
532
 
533
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
534
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
535
  msgid "Tracking Details"
536
  msgstr ""
537
 
538
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
539
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
540
  msgid "view more"
541
  msgstr ""
542
 
543
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
544
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
545
  msgid "view less"
546
  msgstr ""
547
 
548
- #. esc_html__( '%1$s %2$s.' ),
549
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
550
- #, php-format
551
- msgid ""
552
- "We added many improvements to %1$s, please help and give us a review :) "
553
- "Thanks!"
 
 
 
 
 
 
 
 
 
554
  msgstr ""
555
 
556
  #: includes/class-wc-advanced-shipment-tracking.php:93
@@ -588,6 +634,13 @@ msgstr ""
588
  msgid "Date shipped:"
589
  msgstr ""
590
 
 
 
 
 
 
 
 
591
  #: includes/class-wc-advanced-shipment-tracking.php:260
592
  #: templates/pip/tracking-info.php:23
593
  msgid "Click here to track your shipment"
@@ -624,6 +677,17 @@ msgstr ""
624
  msgid "Click here to track shipment"
625
  msgstr ""
626
 
 
 
 
 
 
 
 
 
 
 
 
627
  #: includes/customizer/class-wcast-customizer.php:39
628
  msgid "Shipment Status Emails"
629
  msgstr ""
@@ -632,13 +696,14 @@ msgstr ""
632
  msgid "Tracking info display"
633
  msgstr ""
634
 
635
- #: includes/customizer/class-wcast-customizer.php:51
636
- msgid "This section lets you customize the Tracking Info display design."
 
637
  msgstr ""
638
 
639
  #: includes/customizer/class-wcast-customizer.php:96
640
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
641
- #: includes/views/admin_options_trackship_integration.php:120
642
  msgid "Out For Delivery"
643
  msgstr ""
644
 
@@ -853,7 +918,7 @@ msgstr ""
853
  #: includes/customizer/class-wc-intransit-email-customizer.php:415
854
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
855
  #: includes/customizer/class-wc-returntosender-email-customizer.php:417
856
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
857
  msgid "Please select preview order."
858
  msgstr ""
859
 
@@ -1018,14 +1083,14 @@ msgid "Enable Return To Sender shipment status email"
1018
  msgstr ""
1019
 
1020
  #: includes/customizer/class-wc-tracking-info-customizer.php:134
1021
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1022
  #: includes/views/html-tracking-info-design-preview.php:45
1023
  #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1024
  msgid "Provider"
1025
  msgstr ""
1026
 
1027
  #: includes/customizer/class-wc-tracking-info-customizer.php:135
1028
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1029
  #: includes/views/html-tracking-info-design-preview.php:46
1030
  #: templates/emails/tracking-info.php:134
1031
  #: templates/myaccount/view-order.php:111
@@ -1033,7 +1098,7 @@ msgid "Tracking Number"
1033
  msgstr ""
1034
 
1035
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
1036
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1037
  msgid "Shipped Date"
1038
  msgstr ""
1039
 
@@ -1043,145 +1108,149 @@ msgid ""
1043
  "to preview and design the tracking info table."
1044
  msgstr ""
1045
 
1046
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
 
 
1047
  msgid "Tracking Display Position"
1048
  msgstr ""
1049
 
1050
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1051
  msgid "Before Order Details"
1052
  msgstr ""
1053
 
1054
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1055
  msgid "After Order Details"
1056
  msgstr ""
1057
 
1058
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1059
  msgid "Main Header text"
1060
  msgstr ""
1061
 
1062
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1063
  #: templates/pip/tracking-info.php:17
1064
  msgid "Tracking Information"
1065
  msgstr ""
1066
 
1067
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1068
  msgid "Additional text after header"
1069
  msgstr ""
1070
 
1071
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1072
- msgid "Table Layout"
1073
  msgstr ""
1074
 
1075
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1076
  msgid "Display Shipment Provider image"
1077
  msgstr ""
1078
 
1079
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1080
  msgid "Hide date"
1081
  msgstr ""
1082
 
1083
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
1084
  msgid "Provider Header Text"
1085
  msgstr ""
1086
 
1087
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1088
  msgid "Tracking Number Header Text"
1089
  msgstr ""
1090
 
1091
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1092
  msgid "Shipped Date Header Text"
1093
  msgstr ""
1094
 
1095
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
1096
  msgid "Track Label"
1097
  msgstr ""
1098
 
1099
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1100
  msgid "Track Header Text"
1101
  msgstr ""
1102
 
1103
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
1104
  msgid "Table Design"
1105
  msgstr ""
1106
 
1107
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1108
  msgid "Padding"
1109
  msgstr ""
1110
 
1111
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1112
  msgid "Background color"
1113
  msgstr ""
1114
 
1115
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1116
  msgid "Border color"
1117
  msgstr ""
1118
 
1119
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1120
  msgid "Border size"
1121
  msgstr ""
1122
 
1123
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1124
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1125
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1126
- msgid "Select"
1127
- msgstr ""
1128
-
1129
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1130
  msgid "Table text align"
1131
  msgstr ""
1132
 
1133
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1134
  msgid "Left"
1135
  msgstr ""
1136
 
1137
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1138
  msgid "Right"
1139
  msgstr ""
1140
 
1141
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1142
  msgid "Center"
1143
  msgstr ""
1144
 
1145
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1146
  msgid "Table header font size"
1147
  msgstr ""
1148
 
1149
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1150
  msgid "Table header font color"
1151
  msgstr ""
1152
 
1153
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1154
  msgid "Table content font size"
1155
  msgstr ""
1156
 
1157
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1158
  msgid "Table content font color"
1159
  msgstr ""
1160
 
1161
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1162
  msgid "Content line height"
1163
  msgstr ""
1164
 
1165
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1166
  msgid "Content font weight"
1167
  msgstr ""
1168
 
1169
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1170
- msgid "Track Link"
1171
  msgstr ""
1172
 
1173
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1174
  msgid "Track Link Font Color"
1175
  msgstr ""
1176
 
1177
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1178
  msgid "Track Link Background Color"
1179
  msgstr ""
1180
 
1181
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1182
  msgid "Track link Border"
1183
  msgstr ""
1184
 
 
 
 
 
1185
  #: includes/customizer/class-wc-tracking-page-customizer.php:167
1186
  msgid "Header Color"
1187
  msgstr ""
@@ -1279,193 +1348,250 @@ msgid ""
1279
  "added)"
1280
  msgstr ""
1281
 
1282
- #: includes/views/admin_options_bulk_upload.php:25
1283
- #: includes/views/admin_options_shipping_provider.php:112
1284
- #: includes/views/admin_options_shipping_provider.php:146
1285
  msgid "Upload"
1286
  msgstr ""
1287
 
1288
- #: includes/views/admin_options_bulk_upload.php:28
1289
- #: includes/views/admin_options_trackship_integration.php:27
1290
- #: includes/views/admin_options_trackship_integration.php:45
1291
  msgid "Settings Saved."
1292
  msgstr ""
1293
 
1294
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1295
  msgid "You can download an example of the csv file:"
1296
  msgstr ""
1297
 
1298
- #: includes/views/admin_options_bulk_upload.php:35
1299
  msgid "Download sample csv file"
1300
  msgstr ""
1301
 
1302
- #: includes/views/admin_options_bulk_upload.php:36
1303
  msgid ""
1304
  "For detailed instructions on how to upload tracking info in bulk, see our"
1305
  msgstr ""
1306
 
1307
- #: includes/views/admin_options_bulk_upload.php:36
1308
  msgid "documentation"
1309
  msgstr ""
1310
 
1311
- #: includes/views/admin_options_bulk_upload.php:38
1312
- msgid "Upload Progress - "
 
 
 
1313
  msgstr ""
1314
 
1315
- #: includes/views/admin_options_settings.php:7
1316
- #: includes/views/admin_options_trackship_integration.php:10
1317
- msgid "General"
1318
  msgstr ""
1319
 
1320
- #: includes/views/admin_options_settings.php:10
1321
- #: includes/views/admin_options_settings.php:19
1322
- msgid "Delivered Order Status"
1323
  msgstr ""
1324
 
1325
- #: includes/views/admin_options_settings.php:12
1326
- msgid "Tracking Info Display Designer"
1327
  msgstr ""
1328
 
1329
- #: includes/views/admin_options_settings.php:15
1330
- #: includes/views/admin_options_trackship_integration.php:19
1331
- msgid "General Settings"
1332
- msgstr ""
1333
-
1334
- #: includes/views/admin_options_settings.php:24
1335
- #: includes/views/admin_options_trackship_integration.php:25
1336
- #: includes/views/admin_options_trackship_integration.php:43
1337
- msgid "Save"
1338
  msgstr ""
1339
 
1340
- #: includes/views/admin_options_shipping_provider.php:94
1341
  msgid "Add Custom Shipping Provider"
1342
  msgstr ""
1343
 
1344
- #: includes/views/admin_options_shipping_provider.php:101
1345
- #: includes/views/admin_options_shipping_provider.php:135
1346
  msgid "Shiping Country"
1347
  msgstr ""
1348
 
1349
- #: includes/views/admin_options_shipping_provider.php:102
1350
- #: includes/views/admin_options_shipping_provider.php:136
1351
  msgid "Global"
1352
  msgstr ""
1353
 
1354
- #: includes/views/admin_options_shipping_provider.php:128
1355
  msgid "Edit Custom Shipping Provider"
1356
  msgstr ""
1357
 
1358
- #: includes/views/admin_options_shipping_provider.php:163
1359
- #: includes/views/admin_options_shipping_provider.php:170
1360
  msgid "Sync Providers"
1361
  msgstr ""
1362
 
1363
- #: includes/views/admin_options_shipping_provider.php:164
1364
  msgid "Do you really want to sync all providers?"
1365
  msgstr ""
1366
 
1367
- #: includes/views/admin_options_shipping_provider.php:166
1368
  msgid "Providers Added"
1369
  msgstr ""
1370
 
1371
- #: includes/views/admin_options_shipping_provider.php:167
1372
  msgid "Providers Updated"
1373
  msgstr ""
1374
 
1375
- #: includes/views/admin_options_shipping_provider.php:168
1376
  msgid "Providers Deleted"
1377
  msgstr ""
1378
 
1379
- #: includes/views/admin_options_shipping_provider.php:171
1380
  msgid "Close"
1381
  msgstr ""
1382
 
1383
- #: includes/views/admin_options_trackship_integration.php:13
1384
- #: includes/views/admin_options_trackship_integration.php:35
1385
- msgid "Tracking Page"
 
 
 
1386
  msgstr ""
1387
 
1388
- #: includes/views/admin_options_trackship_integration.php:16
1389
- msgid "Shipment Status Notifications"
 
 
 
 
 
 
 
 
 
 
 
1390
  msgstr ""
1391
 
1392
- #: includes/views/admin_options_trackship_integration.php:40
1393
  msgid "Click to preview the tracking page"
1394
  msgstr ""
1395
 
1396
- #: includes/views/admin_options_trackship_integration.php:41
1397
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1398
  msgstr ""
1399
 
1400
- #: includes/views/admin_options_trackship_integration.php:53
1401
  msgid "Shipment Status Notifications "
1402
  msgstr ""
1403
 
1404
- #: includes/views/admin_options_trackship_integration.php:81
1405
  msgid ""
1406
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1407
  "the way."
1408
  msgstr ""
1409
 
1410
- #: includes/views/admin_options_trackship_integration.php:95
1411
  msgid "Shipment is returned to sender"
1412
  msgstr ""
1413
 
1414
- #: includes/views/admin_options_trackship_integration.php:109
1415
  msgid "The shipment is ready to pickup."
1416
  msgstr ""
1417
 
1418
- #: includes/views/admin_options_trackship_integration.php:122
1419
  msgid "Carrier is about to deliver the shipment"
1420
  msgstr ""
1421
 
1422
- #: includes/views/admin_options_trackship_integration.php:136
1423
  msgid "The shipment was delivered successfully"
1424
  msgstr ""
1425
 
1426
- #: includes/views/admin_options_trackship_integration.php:137
1427
  msgid ""
1428
  "You already have delivered email enabled, to enable this email you'll need "
1429
  "to disable the order status delivered in settings."
1430
  msgstr ""
1431
 
1432
- #: includes/views/admin_options_trackship_integration.php:151
1433
  msgid ""
1434
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1435
  "will try to deliver the package again."
1436
  msgstr ""
1437
 
1438
- #: includes/views/html-tracking-info-design-preview.php:60
1439
- msgid "USPS"
 
 
 
 
 
1440
  msgstr ""
1441
 
1442
- #: includes/views/zorem_admin_sidebar.php:8
1443
- msgid "Leave your review"
 
 
1444
  msgstr ""
1445
 
1446
- #: includes/views/zorem_admin_ts_sidebar.php:5
1447
- msgid "Dashboard"
1448
  msgstr ""
1449
 
1450
- #: includes/views/zorem_admin_ts_sidebar.php:7
1451
- msgid "Documentation"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1452
  msgstr ""
1453
 
1454
  #: templates/emails/tracking-info.php:138
1455
  msgid "Status"
1456
  msgstr ""
1457
 
1458
- #: templates/emails/wcast-email-order-details.php:26
1459
  msgid "Order Details"
1460
  msgstr ""
1461
 
1462
  #. %s: Order ID.
1463
- #: templates/emails/wcast-email-order-details.php:42
1464
  #, php-format
1465
  msgid "Order number: %s"
1466
  msgstr ""
1467
 
1468
- #: templates/emails/wcast-email-order-details.php:49
1469
  msgid "Order date:"
1470
  msgstr ""
1471
 
3
  msgstr ""
4
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2019-09-19 13:01+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
15
  "X-Generator: Loco https://localise.biz/\n"
16
  "X-Loco-Version: 2.2.0; wp-5.0.3"
17
 
18
+ #: woocommerce-advanced-shipment-tracking.php:208
19
  #, php-format
20
+ msgid "<br>Your order was shipped with %s and your tracking code is: %s"
 
 
21
  msgstr ""
22
 
23
+ #. Name of the plugin
24
+ #: woocommerce-advanced-shipment-tracking.php:411
25
+ msgid "Advanced Shipment Tracking for WooCommerce"
26
+ msgstr ""
27
+
28
+ #: woocommerce-advanced-shipment-tracking.php:412
29
+ #: includes/views/admin_options_settings.php:63
30
  #, php-format
31
  msgid ""
32
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
38
  msgstr ""
39
 
40
  #: includes/class-wc-advanced-shipment-tracking-admin.php:209
41
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1154
42
  msgid "Shipped"
43
  msgstr ""
44
 
55
 
56
  #: includes/class-wc-advanced-shipment-tracking-admin.php:250
57
  #: includes/class-wc-advanced-shipment-tracking-admin.php:279
58
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1652
59
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1852
60
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2259
61
  #: includes/customizer/class-wcast-customizer.php:104
62
  #: includes/customizer/class-wc-delivered-email-customizer.php:115
63
+ #: includes/views/admin_options_trackship_integration.php:183
64
  msgid "Delivered"
65
  msgstr ""
66
 
126
  msgstr ""
127
 
128
  #: includes/class-wc-advanced-shipment-tracking-admin.php:674
 
129
  msgid "Data saved successfully."
130
  msgstr ""
131
 
145
  msgid "Please upload a valid CSV file."
146
  msgstr ""
147
 
148
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:731
149
+ msgid "Advanced Shipment Tracking"
150
  msgstr ""
151
 
152
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:737
153
  msgid "Settings"
154
  msgstr ""
155
 
156
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:740
157
+ msgid "Shipping Providers"
158
+ msgstr ""
159
+
160
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:743
161
  msgid "Bulk Upload"
162
  msgstr ""
163
 
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:746
165
  msgid "TrackShip"
166
  msgstr ""
167
 
168
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:749
169
+ #: includes/views/admin_options_trackship_integration.php:35
170
+ #: includes/views/zorem_admin_ts_sidebar.php:7
171
+ msgid "Documentation"
172
+ msgstr ""
173
+
174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:750
175
+ msgid "How to Video"
176
+ msgstr ""
177
+
178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:894
179
+ #: includes/views/admin_options_trackship_integration.php:23
180
  msgid "Connected"
181
  msgstr ""
182
 
183
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:900
184
  msgid ""
185
  "Auto-track all your shipments, get real-time shipment tracking updates "
186
  "without leaving your stores admin."
187
  msgstr ""
188
 
189
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:903
190
  #, php-format
191
  msgid ""
192
  "You must have account and connect your store to %s in order to activate "
193
  "these advanced features."
194
  msgstr ""
195
 
196
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:906
197
  #, php-format
198
  msgid "50 free Trackers for every new account! Get your %s account now>>"
199
  msgstr ""
200
 
201
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1004
 
 
 
 
202
  #: includes/emails/class-shipment-delivered-email.php:226
203
  msgid "Enable/Disable"
204
  msgstr ""
205
 
206
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1010
207
  msgid "Set order status Delivered when order is delivered"
208
  msgstr ""
209
 
210
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1017
211
  #, php-format
212
  msgid ""
213
+ "You have %s %s orders from the last 30 days, would you like to bulk send all "
214
+ "these orders to TrackShip?"
215
  msgstr ""
216
 
217
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1018
218
  msgid "Get Shipment Status"
219
  msgstr ""
220
 
221
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
222
  msgid ""
223
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
224
  "for the tracking page to work."
225
  msgstr ""
226
 
227
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1064
228
  msgid "Select Tracking Page"
229
  msgstr ""
230
 
231
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1072
 
 
 
 
 
232
  msgid "Use the tracking page in the customer email/my account tracking link"
233
  msgstr ""
234
 
235
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1078
236
  msgid "Select primary color for tracking page"
237
  msgstr ""
238
 
239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1084
240
  msgid "Select content border color for tracking page"
241
  msgstr ""
242
 
243
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1090
244
+ msgid "Hide tracking events details"
245
+ msgstr ""
246
+
247
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1096
248
+ msgid "Remove TrackShip branding"
249
+ msgstr ""
250
+
251
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1155
252
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
253
  msgstr ""
254
 
255
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
256
  msgid ""
257
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
258
  "will be selected by default when adding tracking info to orders."
259
  msgstr ""
260
 
261
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1158
262
  msgid "Completed"
263
  msgstr ""
264
 
265
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
266
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
267
  msgstr ""
268
 
269
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1160
270
  msgid ""
271
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
272
  "will be selected by default when adding tracking info to orders."
273
  msgstr ""
274
 
275
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1186
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2261
 
 
 
 
 
 
 
 
277
  msgid "Cancelled"
278
  msgstr ""
279
 
280
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1187
281
  msgid "Customer Invoice"
282
  msgstr ""
283
 
284
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
285
  msgid "Refunded"
286
  msgstr ""
287
 
288
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1189
289
  msgid "Processing"
290
  msgstr ""
291
 
292
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1190
293
  msgid "Failed"
294
  msgstr ""
295
 
296
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1204
297
+ msgid "Rename the “Completed” Order status to “Shipped”"
298
+ msgstr ""
299
+
300
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1217
301
+ msgid "On which order status email to include the shipment tracking info?"
302
+ msgstr ""
303
+
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1223
305
  msgid "Show tracking info in Invoice"
306
  msgstr ""
307
 
308
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1229
309
  msgid "Show tracking info in Packing Slip"
310
  msgstr ""
311
 
312
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1246
313
+ msgid "Enable custom order status “Delivered\""
314
  msgstr ""
315
 
316
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1247
317
  msgid ""
318
  "if you enable the delivered item, you will have the option to send delivered "
319
  "email notifications."
320
  msgstr ""
321
 
322
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1253
323
+ msgid "Delivered Label color"
324
  msgstr ""
325
 
326
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1259
327
+ msgid "Delivered Label font color"
328
+ msgstr ""
329
+
330
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1261
331
+ #: includes/customizer/class-wc-tracking-info-customizer.php:493
332
+ #: includes/customizer/class-wc-tracking-info-customizer.php:517
333
+ #: includes/customizer/class-wc-tracking-info-customizer.php:525
334
+ msgid "Select"
335
+ msgstr ""
336
+
337
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1262
338
+ msgid "Light"
339
+ msgstr ""
340
+
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1263
342
+ msgid "Dark"
343
  msgstr ""
344
 
345
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1270
346
+ msgid "Enable the Delivered order status email"
347
+ msgstr ""
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1271
350
+ #: includes/views/admin_options_trackship_integration.php:129
351
+ #: includes/views/admin_options_trackship_integration.php:143
352
+ #: includes/views/admin_options_trackship_integration.php:157
353
+ #: includes/views/admin_options_trackship_integration.php:170
354
+ #: includes/views/admin_options_trackship_integration.php:184
355
+ #: includes/views/admin_options_trackship_integration.php:199
356
  msgid "Edit"
357
  msgstr ""
358
 
359
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1288
360
  msgid ""
361
  "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
362
  "plugin"
363
  msgstr ""
364
 
365
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1290
366
  msgid "No, I will use the snippet"
367
  msgstr ""
368
 
369
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1291
370
  msgid "Yes, change all Delivered orders to Completed"
371
  msgstr ""
372
 
373
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1293
374
  #, php-format
375
  msgid ""
376
  "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
380
  "order to \"completed\"."
381
  msgstr ""
382
 
383
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
384
  msgid "Get shipment status"
385
  msgstr ""
386
 
387
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1646
388
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2256
389
  #: includes/customizer/class-wcast-customizer.php:74
390
  #: includes/customizer/class-wc-intransit-email-customizer.php:115
391
+ #: includes/views/admin_options_trackship_integration.php:128
392
  msgid "In Transit"
393
  msgstr ""
394
 
395
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1649
396
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2255
397
  #: includes/customizer/class-wcast-customizer.php:66
398
  msgid "Pre Transit"
399
  msgstr ""
400
 
401
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1655
402
  msgid "Out for delivery"
403
  msgstr ""
404
 
405
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1658
406
  #: includes/customizer/class-wcast-customizer.php:89
407
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
408
+ #: includes/views/admin_options_trackship_integration.php:156
409
  msgid "Available For Pickup"
410
  msgstr ""
411
 
412
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1661
413
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2263
414
  #: includes/customizer/class-wcast-customizer.php:82
415
  #: includes/customizer/class-wc-returntosender-email-customizer.php:116
416
+ #: includes/views/admin_options_trackship_integration.php:142
417
  msgid "Return To Sender"
418
  msgstr ""
419
 
420
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1664
421
  msgid "Delivery Failure"
422
  msgstr ""
423
 
424
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1667
425
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2254
426
  msgid "Unknown"
427
  msgstr ""
428
 
429
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1670
430
  msgid "Pending TrackShip"
431
  msgstr ""
432
 
433
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1673
434
  msgid "Invalid Tracking"
435
  msgstr ""
436
 
437
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1676
438
  msgid "Carrier unsupported"
439
  msgstr ""
440
 
441
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1679
442
  msgid "Invalid User Key"
443
  msgstr ""
444
 
445
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1682
446
+ msgid "Wrong Shipping Provider"
447
+ msgstr ""
448
+
449
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1685
450
+ msgid "Deleted"
451
+ msgstr ""
452
+
453
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1754
454
  msgid "Resend delivered order notification"
455
  msgstr ""
456
 
457
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1812
458
  msgid "Shipped Order"
459
  msgstr ""
460
 
461
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
462
  msgid "Mark order as delivered"
463
  msgstr ""
464
 
465
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
466
  msgid "Add Tracking"
467
  msgstr ""
468
 
469
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
470
  msgid "Change order status to"
471
  msgstr ""
472
 
473
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1961
474
+ #: includes/views/admin_options_shipping_provider.php:90
475
  #, php-format
476
  msgid "You don't have any %s shipping providers."
477
  msgstr ""
478
 
479
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2214
480
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2226
481
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2238
482
  msgid "view details"
483
  msgstr ""
484
 
485
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2215
486
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2227
487
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2239
488
  msgid "hide details"
489
  msgstr ""
490
 
491
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2257
492
  msgid "Available for Pickup"
493
  msgstr ""
494
 
495
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2258
496
  msgid "Out for Delivery"
497
  msgstr ""
498
 
499
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2260
500
  #: includes/customizer/class-wcast-customizer.php:112
501
  #: includes/customizer/class-wc-failure-email-customizer.php:113
502
+ #: includes/views/admin_options_trackship_integration.php:198
503
  msgid "Failed Attempt"
504
  msgstr ""
505
 
506
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2262
507
  msgid "Carrier Unsupported"
508
  msgstr ""
509
 
510
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2264
511
+ #: includes/class-wc-advanced-shipment-tracking-front.php:467
512
+ #: includes/class-wc-advanced-shipment-tracking-front.php:827
513
  msgid "Invalid Tracking Number"
514
  msgstr ""
515
 
516
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2269
517
  msgid "Filter by shipment status"
518
  msgstr ""
519
 
520
+ #: includes/class-wc-advanced-shipment-tracking-front.php:140
521
  msgid ""
522
  "To track your order please enter your Order ID in the box below and press "
523
  "the \"Track\" button. This was given to you on your receipt and in the "
524
  "confirmation email you should have received."
525
  msgstr ""
526
 
527
+ #: includes/class-wc-advanced-shipment-tracking-front.php:141
528
  msgid "Order ID"
529
  msgstr ""
530
 
531
+ #: includes/class-wc-advanced-shipment-tracking-front.php:141
532
+ #: includes/class-wc-advanced-shipment-tracking-front.php:142
533
  msgid "Found in your order confirmation email."
534
  msgstr ""
535
 
536
+ #: includes/class-wc-advanced-shipment-tracking-front.php:142
537
  msgid "Order Email"
538
  msgstr ""
539
 
540
+ #: includes/class-wc-advanced-shipment-tracking-front.php:145
541
  #: includes/class-wc-advanced-shipment-tracking.php:260
542
+ #: includes/class-wc-advanced-shipment-tracking.php:653
543
+ #: includes/class-wc-advanced-shipment-tracking.php:775
544
  #: includes/customizer/class-wc-tracking-info-customizer.php:137
545
+ #: includes/customizer/class-wc-tracking-info-customizer.php:395
546
  #: includes/views/html-tracking-info-design-preview.php:69
547
  #: templates/emails/tracking-info.php:152
548
  #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
549
  msgid "Track"
550
  msgstr ""
551
 
552
+ #: includes/class-wc-advanced-shipment-tracking-front.php:313
553
+ #: includes/class-wc-advanced-shipment-tracking-front.php:676
554
  #, php-format
555
  msgid "Shipment - %s (out of %s)"
556
  msgstr ""
557
 
558
+ #: includes/class-wc-advanced-shipment-tracking-front.php:317
559
+ #: includes/class-wc-advanced-shipment-tracking-front.php:680
560
  msgid "Order: "
561
  msgstr ""
562
 
563
+ #: includes/class-wc-advanced-shipment-tracking-front.php:326
564
+ #: includes/class-wc-advanced-shipment-tracking-front.php:330
565
+ #: includes/class-wc-advanced-shipment-tracking-front.php:689
566
+ #: includes/class-wc-advanced-shipment-tracking-front.php:693
567
  msgid "Estimated Delivery Date: "
568
  msgstr ""
569
 
570
+ #: includes/class-wc-advanced-shipment-tracking-front.php:439
571
+ #: includes/class-wc-advanced-shipment-tracking-front.php:799
572
  msgid "Tracking Details"
573
  msgstr ""
574
 
575
+ #: includes/class-wc-advanced-shipment-tracking-front.php:458
576
+ #: includes/class-wc-advanced-shipment-tracking-front.php:818
577
  msgid "view more"
578
  msgstr ""
579
 
580
+ #: includes/class-wc-advanced-shipment-tracking-front.php:459
581
+ #: includes/class-wc-advanced-shipment-tracking-front.php:819
582
  msgid "view less"
583
  msgstr ""
584
 
585
+ #: includes/class-wc-advanced-shipment-tracking-install.php:1588
586
+ msgid "Thanks for using the Advanced Shipment Tracking!"
587
+ msgstr ""
588
+
589
+ #: includes/class-wc-advanced-shipment-tracking-install.php:1590
590
+ msgid "Add TrackShip integration and automate your post shipping operations!"
591
+ msgstr ""
592
+
593
+ #: includes/class-wc-advanced-shipment-tracking-install.php:1591
594
+ msgid "Try trackship with 50 free trackers >>"
595
+ msgstr ""
596
+
597
+ #: includes/class-wc-advanced-shipment-tracking-install.php:1596
598
+ #: includes/views/admin_options_trackship_integration.php:222
599
+ msgid "SIGNUP NOW"
600
  msgstr ""
601
 
602
  #: includes/class-wc-advanced-shipment-tracking.php:93
634
  msgid "Date shipped:"
635
  msgstr ""
636
 
637
+ #: includes/class-wc-advanced-shipment-tracking.php:218
638
+ #: includes/class-wc-advanced-shipment-tracking.php:221
639
+ #: includes/class-wc-advanced-shipment-tracking.php:416
640
+ #: includes/class-wc-advanced-shipment-tracking.php:419
641
+ msgid "Y-m-d"
642
+ msgstr ""
643
+
644
  #: includes/class-wc-advanced-shipment-tracking.php:260
645
  #: templates/pip/tracking-info.php:23
646
  msgid "Click here to track your shipment"
677
  msgid "Click here to track shipment"
678
  msgstr ""
679
 
680
+ #: includes/class-wc-advanced-shipment-tracking.php:627
681
+ #, php-format
682
+ msgid ""
683
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
684
+ msgstr ""
685
+
686
+ #: includes/class-wc-advanced-shipment-tracking.php:965
687
+ #, php-format
688
+ msgid "Order was shipped with %s and tracking number is: %s"
689
+ msgstr ""
690
+
691
  #: includes/customizer/class-wcast-customizer.php:39
692
  msgid "Shipment Status Emails"
693
  msgstr ""
696
  msgid "Tracking info display"
697
  msgstr ""
698
 
699
+ #: includes/customizer/class-wcast-customizer.php:58
700
+ #: includes/customizer/class-wc-email-customizer.php:155
701
+ msgid "Delivered order status email"
702
  msgstr ""
703
 
704
  #: includes/customizer/class-wcast-customizer.php:96
705
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
706
+ #: includes/views/admin_options_trackship_integration.php:169
707
  msgid "Out For Delivery"
708
  msgstr ""
709
 
918
  #: includes/customizer/class-wc-intransit-email-customizer.php:415
919
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
920
  #: includes/customizer/class-wc-returntosender-email-customizer.php:417
921
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
922
  msgid "Please select preview order."
923
  msgstr ""
924
 
1083
  msgstr ""
1084
 
1085
  #: includes/customizer/class-wc-tracking-info-customizer.php:134
1086
+ #: includes/customizer/class-wc-tracking-info-customizer.php:315
1087
  #: includes/views/html-tracking-info-design-preview.php:45
1088
  #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1089
  msgid "Provider"
1090
  msgstr ""
1091
 
1092
  #: includes/customizer/class-wc-tracking-info-customizer.php:135
1093
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
1094
  #: includes/views/html-tracking-info-design-preview.php:46
1095
  #: templates/emails/tracking-info.php:134
1096
  #: templates/myaccount/view-order.php:111
1098
  msgstr ""
1099
 
1100
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
1101
+ #: includes/customizer/class-wc-tracking-info-customizer.php:358
1102
  msgid "Shipped Date"
1103
  msgstr ""
1104
 
1108
  "to preview and design the tracking info table."
1109
  msgstr ""
1110
 
1111
+ #: includes/customizer/class-wc-tracking-info-customizer.php:181
1112
+ #: includes/views/admin_options_settings.php:10
1113
+ #: includes/views/admin_options_trackship_integration.php:47
1114
+ msgid "General Settings"
1115
+ msgstr ""
1116
+
1117
+ #: includes/customizer/class-wc-tracking-info-customizer.php:196
1118
  msgid "Tracking Display Position"
1119
  msgstr ""
1120
 
1121
+ #: includes/customizer/class-wc-tracking-info-customizer.php:200
1122
  msgid "Before Order Details"
1123
  msgstr ""
1124
 
1125
+ #: includes/customizer/class-wc-tracking-info-customizer.php:201
1126
  msgid "After Order Details"
1127
  msgstr ""
1128
 
1129
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
1130
  msgid "Main Header text"
1131
  msgstr ""
1132
 
1133
+ #: includes/customizer/class-wc-tracking-info-customizer.php:223
1134
  #: templates/pip/tracking-info.php:17
1135
  msgid "Tracking Information"
1136
  msgstr ""
1137
 
1138
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
1139
  msgid "Additional text after header"
1140
  msgstr ""
1141
 
1142
+ #: includes/customizer/class-wc-tracking-info-customizer.php:259
1143
+ msgid "Table Content"
1144
  msgstr ""
1145
 
1146
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1147
  msgid "Display Shipment Provider image"
1148
  msgstr ""
1149
 
1150
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
1151
  msgid "Hide date"
1152
  msgstr ""
1153
 
1154
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
1155
  msgid "Provider Header Text"
1156
  msgstr ""
1157
 
1158
+ #: includes/customizer/class-wc-tracking-info-customizer.php:330
1159
  msgid "Tracking Number Header Text"
1160
  msgstr ""
1161
 
1162
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
1163
  msgid "Shipped Date Header Text"
1164
  msgstr ""
1165
 
1166
+ #: includes/customizer/class-wc-tracking-info-customizer.php:372
1167
  msgid "Track Label"
1168
  msgstr ""
1169
 
1170
+ #: includes/customizer/class-wc-tracking-info-customizer.php:388
1171
  msgid "Track Header Text"
1172
  msgstr ""
1173
 
1174
+ #: includes/customizer/class-wc-tracking-info-customizer.php:410
1175
  msgid "Table Design"
1176
  msgstr ""
1177
 
1178
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1179
  msgid "Padding"
1180
  msgstr ""
1181
 
1182
+ #: includes/customizer/class-wc-tracking-info-customizer.php:445
1183
  msgid "Background color"
1184
  msgstr ""
1185
 
1186
+ #: includes/customizer/class-wc-tracking-info-customizer.php:473
1187
  msgid "Border color"
1188
  msgstr ""
1189
 
1190
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1191
  msgid "Border size"
1192
  msgstr ""
1193
 
1194
+ #: includes/customizer/class-wc-tracking-info-customizer.php:513
 
 
 
 
 
 
1195
  msgid "Table text align"
1196
  msgstr ""
1197
 
1198
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1199
  msgid "Left"
1200
  msgstr ""
1201
 
1202
+ #: includes/customizer/class-wc-tracking-info-customizer.php:519
1203
  msgid "Right"
1204
  msgstr ""
1205
 
1206
+ #: includes/customizer/class-wc-tracking-info-customizer.php:520
1207
  msgid "Center"
1208
  msgstr ""
1209
 
1210
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1211
  msgid "Table header font size"
1212
  msgstr ""
1213
 
1214
+ #: includes/customizer/class-wc-tracking-info-customizer.php:558
1215
  msgid "Table header font color"
1216
  msgstr ""
1217
 
1218
+ #: includes/customizer/class-wc-tracking-info-customizer.php:574
1219
  msgid "Table content font size"
1220
  msgstr ""
1221
 
1222
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1223
  msgid "Table content font color"
1224
  msgstr ""
1225
 
1226
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1227
  msgid "Content line height"
1228
  msgstr ""
1229
 
1230
+ #: includes/customizer/class-wc-tracking-info-customizer.php:628
1231
  msgid "Content font weight"
1232
  msgstr ""
1233
 
1234
+ #: includes/customizer/class-wc-tracking-info-customizer.php:650
1235
+ msgid "Track Button Design"
1236
  msgstr ""
1237
 
1238
+ #: includes/customizer/class-wc-tracking-info-customizer.php:664
1239
  msgid "Track Link Font Color"
1240
  msgstr ""
1241
 
1242
+ #: includes/customizer/class-wc-tracking-info-customizer.php:680
1243
  msgid "Track Link Background Color"
1244
  msgstr ""
1245
 
1246
+ #: includes/customizer/class-wc-tracking-info-customizer.php:695
1247
  msgid "Track link Border"
1248
  msgstr ""
1249
 
1250
+ #: includes/customizer/class-wc-tracking-page-customizer.php:150
1251
+ msgid "Remove Trackship branding from tracking page"
1252
+ msgstr ""
1253
+
1254
  #: includes/customizer/class-wc-tracking-page-customizer.php:167
1255
  msgid "Header Color"
1256
  msgstr ""
1348
  "added)"
1349
  msgstr ""
1350
 
1351
+ #: includes/views/admin_options_bulk_upload.php:24
1352
+ #: includes/views/admin_options_shipping_provider.php:114
1353
+ #: includes/views/admin_options_shipping_provider.php:148
1354
  msgid "Upload"
1355
  msgstr ""
1356
 
1357
+ #: includes/views/admin_options_bulk_upload.php:26
 
 
1358
  msgid "Settings Saved."
1359
  msgstr ""
1360
 
1361
+ #: includes/views/admin_options_bulk_upload.php:36
1362
+ msgid "Upload Progress - "
1363
+ msgstr ""
1364
+
1365
+ #: includes/views/admin_options_bulk_upload.php:40
1366
+ msgid "Sample CSV"
1367
+ msgstr ""
1368
+
1369
+ #: includes/views/admin_options_bulk_upload.php:45
1370
  msgid "You can download an example of the csv file:"
1371
  msgstr ""
1372
 
1373
+ #: includes/views/admin_options_bulk_upload.php:48
1374
  msgid "Download sample csv file"
1375
  msgstr ""
1376
 
1377
+ #: includes/views/admin_options_bulk_upload.php:53
1378
  msgid ""
1379
  "For detailed instructions on how to upload tracking info in bulk, see our"
1380
  msgstr ""
1381
 
1382
+ #: includes/views/admin_options_bulk_upload.php:53
1383
  msgid "documentation"
1384
  msgstr ""
1385
 
1386
+ #: includes/views/admin_options_settings.php:21
1387
+ #: includes/views/admin_options_settings.php:69
1388
+ #: includes/views/admin_options_trackship_integration.php:58
1389
+ #: includes/views/admin_options_trackship_integration.php:89
1390
+ msgid "Save Changes"
1391
  msgstr ""
1392
 
1393
+ #: includes/views/admin_options_settings.php:35
1394
+ msgid "Tracking Info Display"
 
1395
  msgstr ""
1396
 
1397
+ #: includes/views/admin_options_settings.php:44
1398
+ msgid "You can customize the tracking info display on emails and my account"
 
1399
  msgstr ""
1400
 
1401
+ #: includes/views/admin_options_settings.php:47
1402
+ msgid "Launch Customizer"
1403
  msgstr ""
1404
 
1405
+ #: includes/views/admin_options_settings.php:57
1406
+ msgid "Delivered Order Status"
 
 
 
 
 
 
 
1407
  msgstr ""
1408
 
1409
+ #: includes/views/admin_options_shipping_provider.php:96
1410
  msgid "Add Custom Shipping Provider"
1411
  msgstr ""
1412
 
1413
+ #: includes/views/admin_options_shipping_provider.php:103
1414
+ #: includes/views/admin_options_shipping_provider.php:137
1415
  msgid "Shiping Country"
1416
  msgstr ""
1417
 
1418
+ #: includes/views/admin_options_shipping_provider.php:104
1419
+ #: includes/views/admin_options_shipping_provider.php:138
1420
  msgid "Global"
1421
  msgstr ""
1422
 
1423
+ #: includes/views/admin_options_shipping_provider.php:130
1424
  msgid "Edit Custom Shipping Provider"
1425
  msgstr ""
1426
 
1427
+ #: includes/views/admin_options_shipping_provider.php:165
1428
+ #: includes/views/admin_options_shipping_provider.php:172
1429
  msgid "Sync Providers"
1430
  msgstr ""
1431
 
1432
+ #: includes/views/admin_options_shipping_provider.php:166
1433
  msgid "Do you really want to sync all providers?"
1434
  msgstr ""
1435
 
1436
+ #: includes/views/admin_options_shipping_provider.php:168
1437
  msgid "Providers Added"
1438
  msgstr ""
1439
 
1440
+ #: includes/views/admin_options_shipping_provider.php:169
1441
  msgid "Providers Updated"
1442
  msgstr ""
1443
 
1444
+ #: includes/views/admin_options_shipping_provider.php:170
1445
  msgid "Providers Deleted"
1446
  msgstr ""
1447
 
1448
+ #: includes/views/admin_options_shipping_provider.php:173
1449
  msgid "Close"
1450
  msgstr ""
1451
 
1452
+ #: includes/views/admin_options_trackship_integration.php:12
1453
+ msgid "Connection status"
1454
+ msgstr ""
1455
+
1456
+ #: includes/views/admin_options_trackship_integration.php:19
1457
+ msgid "TrackShip Connection Status"
1458
  msgstr ""
1459
 
1460
+ #: includes/views/admin_options_trackship_integration.php:30
1461
+ msgid ""
1462
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
1463
+ "automate your post shipping operations and get tracking and delivery status "
1464
+ "updates directly in the WooCommerce admin."
1465
+ msgstr ""
1466
+
1467
+ #: includes/views/admin_options_trackship_integration.php:36
1468
+ msgid "TrackShip Dashboard"
1469
+ msgstr ""
1470
+
1471
+ #: includes/views/admin_options_trackship_integration.php:72
1472
+ msgid "Tracking Page"
1473
  msgstr ""
1474
 
1475
+ #: includes/views/admin_options_trackship_integration.php:82
1476
  msgid "Click to preview the tracking page"
1477
  msgstr ""
1478
 
1479
+ #: includes/views/admin_options_trackship_integration.php:83
1480
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1481
  msgstr ""
1482
 
1483
+ #: includes/views/admin_options_trackship_integration.php:102
1484
  msgid "Shipment Status Notifications "
1485
  msgstr ""
1486
 
1487
+ #: includes/views/admin_options_trackship_integration.php:130
1488
  msgid ""
1489
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1490
  "the way."
1491
  msgstr ""
1492
 
1493
+ #: includes/views/admin_options_trackship_integration.php:144
1494
  msgid "Shipment is returned to sender"
1495
  msgstr ""
1496
 
1497
+ #: includes/views/admin_options_trackship_integration.php:158
1498
  msgid "The shipment is ready to pickup."
1499
  msgstr ""
1500
 
1501
+ #: includes/views/admin_options_trackship_integration.php:171
1502
  msgid "Carrier is about to deliver the shipment"
1503
  msgstr ""
1504
 
1505
+ #: includes/views/admin_options_trackship_integration.php:185
1506
  msgid "The shipment was delivered successfully"
1507
  msgstr ""
1508
 
1509
+ #: includes/views/admin_options_trackship_integration.php:186
1510
  msgid ""
1511
  "You already have delivered email enabled, to enable this email you'll need "
1512
  "to disable the order status delivered in settings."
1513
  msgstr ""
1514
 
1515
+ #: includes/views/admin_options_trackship_integration.php:200
1516
  msgid ""
1517
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1518
  "will try to deliver the package again."
1519
  msgstr ""
1520
 
1521
+ #: includes/views/admin_options_trackship_integration.php:209
1522
+ msgid ""
1523
+ "TracksShip is a premium shipment tracking API flatform that fully integrates "
1524
+ "with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
1525
+ "the order management workflows, reduces customer inquiries, reduces time "
1526
+ "spent on customer service, and improves the post-purchase experience and "
1527
+ "satisfaction of your customers."
1528
  msgstr ""
1529
 
1530
+ #: includes/views/admin_options_trackship_integration.php:210
1531
+ msgid ""
1532
+ "You must have account TracksShip and connect your store in order to activate "
1533
+ "these advanced features:"
1534
  msgstr ""
1535
 
1536
+ #: includes/views/admin_options_trackship_integration.php:214
1537
+ msgid "Automatically track your shipments with 100+ shipping providers."
1538
  msgstr ""
1539
 
1540
+ #: includes/views/admin_options_trackship_integration.php:215
1541
+ msgid ""
1542
+ "Display Shipment Status and latest shipment status, update date and est. "
1543
+ "delivery date on WooCommerce orders admin."
1544
+ msgstr ""
1545
+
1546
+ #: includes/views/admin_options_trackship_integration.php:216
1547
+ msgid "Option to manually get shipment tracking updates for orders."
1548
+ msgstr ""
1549
+
1550
+ #: includes/views/admin_options_trackship_integration.php:217
1551
+ msgid ""
1552
+ "Automatically change order status to Delivered once the shipment is "
1553
+ "delivered to your customers."
1554
+ msgstr ""
1555
+
1556
+ #: includes/views/admin_options_trackship_integration.php:218
1557
+ msgid ""
1558
+ "Option to filter orders with invalid tracking numbers or by shipment status "
1559
+ "event in orders admin"
1560
+ msgstr ""
1561
+
1562
+ #: includes/views/admin_options_trackship_integration.php:219
1563
+ msgid ""
1564
+ "Send personalized emails to notify the customer when their shipments are In "
1565
+ "Transit, Out For Delivery, Delivered or have an exception."
1566
+ msgstr ""
1567
+
1568
+ #: includes/views/admin_options_trackship_integration.php:220
1569
+ msgid "Direct customers to a Tracking page on your store."
1570
+ msgstr ""
1571
+
1572
+ #: includes/views/html-tracking-info-design-preview.php:60
1573
+ msgid "USPS"
1574
+ msgstr ""
1575
+
1576
+ #: includes/views/zorem_admin_ts_sidebar.php:5
1577
+ msgid "Dashboard"
1578
  msgstr ""
1579
 
1580
  #: templates/emails/tracking-info.php:138
1581
  msgid "Status"
1582
  msgstr ""
1583
 
1584
+ #: templates/emails/wcast-email-order-details.php:31
1585
  msgid "Order Details"
1586
  msgstr ""
1587
 
1588
  #. %s: Order ID.
1589
+ #: templates/emails/wcast-email-order-details.php:47
1590
  #, php-format
1591
  msgid "Order number: %s"
1592
  msgstr ""
1593
 
1594
+ #: templates/emails/wcast-email-order-details.php:54
1595
  msgid "Order date:"
1596
  msgstr ""
1597
 
readme.txt CHANGED
@@ -73,8 +73,11 @@ Hebrew, Hindi, Italian, Norwegian (Bokmål), Russian, Swedish, Turkish, Bulgaria
73
  * [WP-Lister Pro for Amazon](https://www.wplab.com/plugins/wp-lister-for-amazon/)
74
 
75
  == Compatibility with PDF Invoices & Packing Slips plugins ==
76
- * [WooCommerce PDF Invoices & Packing Slips plugin](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips).
77
 
 
 
 
78
 
79
  https://www.youtube.com/watch?v=Mw7laecPtyw
80
 
@@ -118,6 +121,28 @@ http://a32694-tmp.s415.upress.link/wp-json/wc/v1/orders/<order-id>/shipment-trac
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  = 2.4.5 =
122
  * Fixed issue with search
123
  * Fixed translabled string issue in delivered email
73
  * [WP-Lister Pro for Amazon](https://www.wplab.com/plugins/wp-lister-for-amazon/)
74
 
75
  == Compatibility with PDF Invoices & Packing Slips plugins ==
76
+ * [WooCommerce PDF Invoices & Packing Slips plugin](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips)
77
 
78
+ == Compatibility with SMS Plugins ==
79
+ * [SMS Alert Order Notifications – WooCommerce](https://wordpress.org/plugins/sms-alert/)
80
+ * [WC – APG SMS Notifications](https://wordpress.org/plugins/woocommerce-apg-sms-notifications/)
81
 
82
  https://www.youtube.com/watch?v=Mw7laecPtyw
83
 
121
 
122
  == Changelog ==
123
 
124
+ = 2.5 =
125
+ * Added validation in tracking number for special character when add new tracking info in order and also in bulk upload
126
+ * Added filter in Trackship tracking page text
127
+ * Added functionality for add tracking info in custom order status emails
128
+ * Added compatibility with - "WC – APG SMS Notifications" plugin
129
+ * Added option for Hide tracking events details for TracksShip users
130
+ * Updated Advanced Shipment Tracking settings page design
131
+
132
+ = 2.4.7.2 =
133
+ * Fixed Delivered email qty issue with Kadence
134
+ * Added compatibility with "SMS Alert Order Notifications – WooCommerce" plugin
135
+ * Added functionality for add custom tracking provider from REST API
136
+ * Updated swedish language files
137
+
138
+ = 2.4.7 =
139
+ * Fixed issue with tracking page
140
+ * Added functionality of add order note whene adding/deleting tracking infomration in order
141
+ * Updated swedish language files
142
+
143
+ = 2.4.6 =
144
+ * Updated option to Send only last 30 days shipped orders to trackship from settings panel
145
+
146
  = 2.4.5 =
147
  * Fixed issue with search
148
  * Fixed translabled string issue in delivered email
templates/emails/wcast-billing-email-addresses.php CHANGED
@@ -23,7 +23,7 @@ $text_align = is_rtl() ? 'right' : 'left';
23
  $address = $order->get_formatted_billing_address();
24
  $shipping = $order->get_formatted_shipping_address();
25
 
26
- ?><table id="addresses" cellspacing="0" cellpadding="0" style="width: 48%;float: left; vertical-align: top; margin-bottom: 40px; padding:0;" border="0">
27
  <tr>
28
  <td style="text-align:<?php echo esc_attr( $text_align ); ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; border:0; padding:0;" valign="top" width="50%">
29
  <h2><?php esc_html_e( 'Billing address', 'woocommerce' ); ?></h2>
23
  $address = $order->get_formatted_billing_address();
24
  $shipping = $order->get_formatted_shipping_address();
25
 
26
+ ?><table id="addresses" cellspacing="0" cellpadding="0" style="width: 48%;float: left;margin-right: 20px; vertical-align: top; margin-bottom: 40px; padding:0;" border="0">
27
  <tr>
28
  <td style="text-align:<?php echo esc_attr( $text_align ); ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; border:0; padding:0;" valign="top" width="50%">
29
  <h2><?php esc_html_e( 'Billing address', 'woocommerce' ); ?></h2>
templates/emails/wcast-email-order-details.php CHANGED
@@ -19,7 +19,12 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  exit;
20
  }
21
 
22
- $text_align = is_rtl() ? 'right' : 'left'; ?>
 
 
 
 
 
23
  <br>
24
  <h2>
25
  <?php
@@ -52,52 +57,102 @@ $text_align = is_rtl() ? 'right' : 'left'; ?>
52
  </td>
53
  </tr>
54
  </table>
55
-
56
- <div style="margin-bottom: 40px;">
57
- <table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
58
- <thead>
59
- <tr>
60
- <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Product', 'woocommerce' ); ?></th>
61
- <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Quantity', 'woocommerce' ); ?></th>
62
- <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Price', 'woocommerce' ); ?></th>
63
- </tr>
64
- </thead>
65
- <tbody>
66
- <?php
67
- echo wc_get_email_order_items( $order, array( // WPCS: XSS ok.
68
- 'show_sku' => $sent_to_admin,
69
- 'show_image' => false,
70
- 'image_size' => array( 32, 32 ),
71
- 'plain_text' => $plain_text,
72
- 'sent_to_admin' => $sent_to_admin,
73
- ) );
74
- ?>
75
- </tbody>
76
- <tfoot>
77
- <?php
78
- $totals = $order->get_order_item_totals();
79
-
80
- if ( $totals ) {
81
- $i = 0;
82
- foreach ( $totals as $total ) {
83
- $i++;
 
 
 
 
 
 
 
 
 
84
  ?>
85
  <tr>
86
- <th class="td" scope="row" colspan="2" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['label'] ); ?></th>
87
- <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['value'] ); ?></td>
88
  </tr>
89
  <?php
90
  }
91
- }
92
- if ( $order->get_customer_note() ) {
93
  ?>
 
 
 
 
 
 
 
94
  <tr>
95
- <th class="td" scope="row" colspan="2" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Note:', 'woocommerce' ); ?></th>
96
- <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php echo wp_kses_post( wptexturize( $order->get_customer_note() ) ); ?></td>
 
97
  </tr>
 
 
98
  <?php
99
- }
100
- ?>
101
- </tfoot>
102
- </table>
103
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  exit;
20
  }
21
 
22
+ $text_align = is_rtl() ? 'right' : 'left';
23
+ if (class_exists('Kadence_Woomail_Customizer')) {
24
+ $responsive_check = Kadence_Woomail_Customizer::opt( 'responsive_mode' );
25
+ }
26
+ //echo $responsive_check;
27
+ ?>
28
  <br>
29
  <h2>
30
  <?php
57
  </td>
58
  </tr>
59
  </table>
60
+ <?php
61
+ if ( true == $responsive_check ) { ?>
62
+ <div style="margin-bottom: 40px;">
63
+ <table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
64
+ <thead>
65
+ <tr>
66
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Product', 'woocommerce' ); ?></th>
67
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Price', 'woocommerce' ); ?></th>
68
+ </tr>
69
+ </thead>
70
+ <tbody>
71
+ <?php
72
+ echo wc_get_email_order_items( $order, array( // WPCS: XSS ok.
73
+ 'show_sku' => $sent_to_admin,
74
+ 'show_image' => false,
75
+ 'image_size' => array( 32, 32 ),
76
+ 'plain_text' => $plain_text,
77
+ 'sent_to_admin' => $sent_to_admin,
78
+ ) );
79
+ ?>
80
+ </tbody>
81
+ <tfoot>
82
+ <?php
83
+ $totals = $order->get_order_item_totals();
84
+
85
+ if ( $totals ) {
86
+ $i = 0;
87
+ foreach ( $totals as $total ) {
88
+ $i++;
89
+ ?>
90
+ <tr>
91
+ <th class="td" scope="row" colspan="1" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['label'] ); ?></th>
92
+ <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['value'] ); ?></td>
93
+ </tr>
94
+ <?php
95
+ }
96
+ }
97
+ if ( $order->get_customer_note() ) {
98
  ?>
99
  <tr>
100
+ <th class="td" scope="row" colspan="1" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Note:', 'woocommerce' ); ?></th>
101
+ <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php echo wp_kses_post( wptexturize( $order->get_customer_note() ) ); ?></td>
102
  </tr>
103
  <?php
104
  }
 
 
105
  ?>
106
+ </tfoot>
107
+ </table>
108
+ </div>
109
+ <?php } else{ ?>
110
+ <div style="margin-bottom: 40px;">
111
+ <table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
112
+ <thead>
113
  <tr>
114
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Product', 'woocommerce' ); ?></th>
115
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Quantity', 'woocommerce' ); ?></th>
116
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Price', 'woocommerce' ); ?></th>
117
  </tr>
118
+ </thead>
119
+ <tbody>
120
  <?php
121
+ echo wc_get_email_order_items( $order, array( // WPCS: XSS ok.
122
+ 'show_sku' => $sent_to_admin,
123
+ 'show_image' => false,
124
+ 'image_size' => array( 32, 32 ),
125
+ 'plain_text' => $plain_text,
126
+ 'sent_to_admin' => $sent_to_admin,
127
+ ) );
128
+ ?>
129
+ </tbody>
130
+ <tfoot>
131
+ <?php
132
+ $totals = $order->get_order_item_totals();
133
+
134
+ if ( $totals ) {
135
+ $i = 0;
136
+ foreach ( $totals as $total ) {
137
+ $i++;
138
+ ?>
139
+ <tr>
140
+ <th class="td" scope="row" colspan="2" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['label'] ); ?></th>
141
+ <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['value'] ); ?></td>
142
+ </tr>
143
+ <?php
144
+ }
145
+ }
146
+ if ( $order->get_customer_note() ) {
147
+ ?>
148
+ <tr>
149
+ <th class="td" scope="row" colspan="2" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Note:', 'woocommerce' ); ?></th>
150
+ <td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php echo wp_kses_post( wptexturize( $order->get_customer_note() ) ); ?></td>
151
+ </tr>
152
+ <?php
153
+ }
154
+ ?>
155
+ </tfoot>
156
+ </table>
157
+ </div>
158
+ <?php } ?>
templates/emails/wcast-shipping-email-addresses.php CHANGED
@@ -23,7 +23,7 @@ $text_align = is_rtl() ? 'right' : 'left';
23
  $address = $order->get_formatted_billing_address();
24
  $shipping = $order->get_formatted_shipping_address();
25
 
26
- ?><table id="addresses" cellspacing="0" cellpadding="0" style="width: 48%;float: right; vertical-align: top; margin-bottom: 40px; padding:0;" border="0">
27
  <tr>
28
  <td style="text-align:<?php echo esc_attr( $text_align ); ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; padding:0;" valign="top" width="50%">
29
  <h2><?php esc_html_e( 'Shipping address', 'woocommerce' ); ?></h2>
23
  $address = $order->get_formatted_billing_address();
24
  $shipping = $order->get_formatted_shipping_address();
25
 
26
+ ?><table id="addresses" cellspacing="0" cellpadding="0" style="width: 48%;float: left; vertical-align: top; margin-bottom: 40px; padding:0;" border="0">
27
  <tr>
28
  <td style="text-align:<?php echo esc_attr( $text_align ); ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; padding:0;" valign="top" width="50%">
29
  <h2><?php esc_html_e( 'Shipping address', 'woocommerce' ); ?></h2>
woocommerce-advanced-shipment-tracking.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Advanced Shipment Tracking for WooCommerce
5
  * Plugin URI:
6
  * Description: Add shipment tracking information to your WooCommerce orders and provide customers with an easy way to track their orders. Shipment tracking Info will appear in customers accounts (in the order panel) and in WooCommerce order complete email.
7
- * Version: 2.4.5
8
  * Author: zorem
9
  * Author URI:
10
  * License: GPL-2.0+
@@ -22,7 +22,7 @@ class zorem_woocommerce_advanced_shipment_tracking {
22
  *
23
  * @var string
24
  */
25
- public $version = '2.4.5';
26
 
27
  /**
28
  * Initialize the main plugin function
@@ -179,7 +179,8 @@ class zorem_woocommerce_advanced_shipment_tracking {
179
 
180
  add_action( 'wp_ajax_nopriv_preview_tracking_page', array( $this->front, 'preview_tracking_page') );
181
  add_action( 'wp_ajax_preview_tracking_page', array( $this->front, 'preview_tracking_page') );
182
- }
 
183
 
184
  /**
185
  * Send email when order status change to "Delivered"
@@ -190,6 +191,27 @@ class zorem_woocommerce_advanced_shipment_tracking {
190
  //wc_advanced_shipment_tracking_email_class()->delivered_order_status_email_trigger($order_id, $order);
191
  WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
192
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  public function tracking_info_shortcode(){
194
  ob_start();
195
  $order_id = $woo_mb_base->order_id;
4
  * Plugin Name: Advanced Shipment Tracking for WooCommerce
5
  * Plugin URI:
6
  * Description: Add shipment tracking information to your WooCommerce orders and provide customers with an easy way to track their orders. Shipment tracking Info will appear in customers accounts (in the order panel) and in WooCommerce order complete email.
7
+ * Version: 2.5
8
  * Author: zorem
9
  * Author URI:
10
  * License: GPL-2.0+
22
  *
23
  * @var string
24
  */
25
+ public $version = '2.5';
26
 
27
  /**
28
  * Initialize the main plugin function
179
 
180
  add_action( 'wp_ajax_nopriv_preview_tracking_page', array( $this->front, 'preview_tracking_page') );
181
  add_action( 'wp_ajax_preview_tracking_page', array( $this->front, 'preview_tracking_page') );
182
+ add_filter( 'apg_sms_message', array( $this, 'apg_sms_message_fun' ), 10, 2 );
183
+ }
184
 
185
  /**
186
  * Send email when order status change to "Delivered"
191
  //wc_advanced_shipment_tracking_email_class()->delivered_order_status_email_trigger($order_id, $order);
192
  WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
193
  }
194
+
195
+ /**
196
+ * Add tracking info in SMS when order status is completed
197
+ * Compatibility with - WC – APG SMS Notifications
198
+ *
199
+ */
200
+ public function apg_sms_message_fun($message , $order_id){
201
+ $order = wc_get_order( $order_id );
202
+ $order_status = $order->get_status();
203
+ if($order_status == 'completed'){
204
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
205
+ $tracking_items = $ast->get_tracking_items( $order_id );
206
+ if ( count( $tracking_items ) > 0 ) {
207
+ foreach ( $tracking_items as $key => $tracking_item ) {
208
+ $message .= sprintf(__("<br>Your order was shipped with %s and your tracking code is: %s", 'woo-advanced-shipment-tracking'), $tracking_item['tracking_provider'], $tracking_item['tracking_number'] );
209
+ }
210
+ }
211
+ }
212
+ return $message;
213
+ }
214
+
215
  public function tracking_info_shortcode(){
216
  ob_start();
217
  $order_id = $woo_mb_base->order_id;