Advanced Shipment Tracking for WooCommerce - Version 2.5.1

Version Description

  • Added filter for change tracking provider name - "ast_provider_title"
  • Updated translation strings
  • Removed white gaps from settings / bulk upload bottom
  • Fixed design issue with WeDocs plugin
Download this release

Release Info

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

Code changes from version 2.4.5 to 2.5.1

Files changed (41) hide show
  1. assets/css/admin.css +473 -188
  2. assets/css/customizer-styles.css +5 -1
  3. assets/css/icons/invalid-v3.png +0 -0
  4. assets/images/ast-logo.png +0 -0
  5. assets/images/trackship-400.png +0 -0
  6. assets/images/ts_bg.png +0 -0
  7. assets/js/admin.js +15 -3
  8. assets/js/shipping_row.js +15 -0
  9. assets/shipment-provider-img/4px.png +0 -0
  10. assets/shipment-provider-img/acs-courier.png +0 -0
  11. assets/shipment-provider-img/aramex.png +0 -0
  12. assets/shipment-provider-img/laos-post.png +0 -0
  13. assets/shipment-provider-img/purolator.png +0 -0
  14. assets/shipment-provider-img/the-professional-couriers.png +0 -0
  15. assets/shipment-provider-img/turkey-post.png +0 -0
  16. includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php +21 -0
  17. includes/class-wc-advanced-shipment-tracking-admin.php +202 -180
  18. includes/class-wc-advanced-shipment-tracking-front.php +62 -45
  19. includes/class-wc-advanced-shipment-tracking-install.php +98 -16
  20. includes/class-wc-advanced-shipment-tracking.php +64 -23
  21. includes/customizer/class-wc-tracking-info-customizer.php +22 -8
  22. includes/customizer/class-wcast-customizer.php +1 -1
  23. includes/emails/class-shipment-delivered-email.php +12 -12
  24. includes/views/admin_options_bulk_upload.php +33 -17
  25. includes/views/admin_options_settings.php +72 -25
  26. includes/views/admin_options_shipping_provider.php +66 -64
  27. includes/views/admin_options_trackship_integration.php +134 -182
  28. includes/views/zorem_admin_sidebar.php +22 -11
  29. includes/views/zorem_admin_ts_sidebar.php +1 -1
  30. lang/woo-advanced-shipment-tracking-he_IL.mo +0 -0
  31. lang/woo-advanced-shipment-tracking-he_IL.po +379 -433
  32. lang/woo-advanced-shipment-tracking-sv_SE.mo +0 -0
  33. lang/woo-advanced-shipment-tracking-sv_SE.po +411 -129
  34. lang/woo-advanced-shipment-tracking.pot +350 -401
  35. readme.txt +32 -1
  36. templates/emails/tracking-info.php +1 -1
  37. templates/emails/wcast-billing-email-addresses.php +1 -1
  38. templates/emails/wcast-email-order-details.php +96 -41
  39. templates/emails/wcast-shipping-email-addresses.php +1 -1
  40. templates/myaccount/view-order.php +1 -1
  41. woocommerce-advanced-shipment-tracking.php +27 -4
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,25 @@ 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 +178,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 +190,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 +204,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 +441,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 +464,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 +479,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 +509,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 +536,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 +575,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 +607,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 +786,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;
@@ -857,6 +917,60 @@ span.email_status_span i.enable {
857
  display: inline-block;
858
  vertical-align: middle;
859
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
860
  .ast-shipment-status .icon-delivered:before{
861
  content: ' ';
862
  background-image: url(icons/delivered-v4.png);
@@ -1089,14 +1203,18 @@ 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;
@@ -1108,95 +1226,7 @@ a.cancel_edit {
1108
  .trackship_section .heading{
1109
  font-size: 25px;
1110
  }
1111
- .trackship_button{
1112
- background-color: #83bd31;
1113
- position: relative;
1114
- display: inline-block;
1115
- text-transform: uppercase;
1116
- font-size: 1.5em;
1117
- letter-spacing: .03em;
1118
- -ms-touch-action: none;
1119
- touch-action: none;
1120
- cursor: pointer;
1121
- font-weight: bolder;
1122
- text-align: center;
1123
- color: currentColor;
1124
- text-decoration: none;
1125
- border: 1px solid transparent;
1126
- vertical-align: middle;
1127
- border-radius: 0;
1128
- margin-top: 0;
1129
- margin-right: 1em;
1130
- text-shadow: none;
1131
- padding: 15px 30px;
1132
- max-width: 100%;
1133
- text-rendering: optimizeLegibility;
1134
- box-sizing: border-box;
1135
- color: #fff;
1136
- border-radius: 10px;
1137
- }
1138
- .trackship_button:hover{
1139
- color: #fff;
1140
- }
1141
- .section-title {
1142
- position: relative;
1143
- -js-display: flex;
1144
- display: -ms-flexbox;
1145
- display: flex;
1146
- -ms-flex-flow: row wrap;
1147
- flex-flow: row wrap;
1148
- -ms-flex-align: center;
1149
- align-items: center;
1150
- -ms-flex-pack: justify;
1151
- justify-content: space-between;
1152
- width: 100%;
1153
- font-size: 20px;
1154
- }
1155
- .section-title b {
1156
- display: block;
1157
- -ms-flex: 1;
1158
- flex: 1;
1159
- height: 2px;
1160
- opacity: .1;
1161
- background-color: currentColor;
1162
- }
1163
- .section-title-center span{
1164
- text-align: center;
1165
- margin: 0 15px;
1166
- text-transform: uppercase;
1167
- }
1168
- .col-4{
1169
- max-width: 33.33%;
1170
- -ms-flex-preferred-size: 33.33%;
1171
- flex-basis: 33.33%;
1172
- position: relative;
1173
- margin: 0;
1174
- padding: 0 15px 30px;
1175
- box-sizing:border-box;
1176
- }
1177
- .row-box-shadow-1{
1178
- width: 100%;
1179
- -js-display: flex;
1180
- display: -ms-flexbox;
1181
- display: flex;
1182
- -ms-flex-flow: row wrap;
1183
- flex-flow: row wrap;
1184
- }
1185
- .row-box-shadow-1 .col-inner{
1186
- padding: 20px 20px 20px 20px;
1187
- background: #edf2f7;
1188
- box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(237, 242, 247, 0.24);
1189
- transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, opacity .3s;
1190
- height:100%;
1191
- box-sizing:border-box;
1192
- }
1193
- .featured-box h4{
1194
- color: #071d57;
1195
- font-size: 17px;
1196
- line-height: 23px;
1197
- margin-top: 10px;
1198
- margin-bottom: 10px;
1199
- }
1200
  .multiple_checkbox .mdl-switch.is-upgraded{
1201
  padding-left: 42px;
1202
  margin-bottom: 6px;
@@ -1278,43 +1308,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 +1380,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 +1392,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 +1428,7 @@ a.active{
1377
  }
1378
  .provider_top {
1379
  position: relative;
1380
- margin-bottom: 10px;
1381
  }
1382
  .dropdown {
1383
  position: relative;
@@ -1491,6 +1542,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 +1615,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 +1641,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 +1667,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 +1739,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 +1773,179 @@ p.tracking-preview-desc {
1676
  width: 80%;
1677
  margin: 1em auto;
1678
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1679
 
1680
  /*** Dashboard Widget CSS ***/
1681
  .ast-dashborad-widget.row{
@@ -1698,22 +1968,32 @@ 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 +2013,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;
@@ -1741,10 +2021,15 @@ p.tracking-preview-desc {
1741
  .provider_top {
1742
  margin-bottom: 10px;
1743
  }
 
 
 
 
 
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
+ background: #fff;
157
  }
158
  .zorem_admin_sidebar {
159
+ width: 280px;
160
+ display: table-cell;
161
+ vertical-align: top;
162
+ padding: 25px 0px 25px 30px;
163
+ }
164
+ .zorem_admin_layout .zorem_admin_sidebar h3{
165
+ margin: 0 0 1em 0;
166
+ background: #fff;
167
+ color: #005B9A;
168
+ border-bottom: 1px solid #eee;
169
+ padding: 15px 15px;
170
+ }
171
+ .zorem_admin_layout .zorem_admin_sidebar p,.zorem_admin_layout .zorem_admin_sidebar a{
172
+ margin: 10px 10px 10px 15px;
173
  }
174
  .zorem-sidebar-title {
175
  padding: 10px 0;
178
  line-height: 15px;
179
  }
180
  .zorem-sidebar__section {
181
+ padding: 0;
182
+ background: #fff;
183
+ border: 1px solid #eee;
184
+ margin-bottom: 10px;
185
  }
186
  ..zorem-sidebar__section li:before {
187
  position: absolute;
190
  }
191
  .zorem-sidebar__section ul {
192
  position: relative;
193
+ margin: 10px 10px 10px 15px;
194
  }
195
  .zorem-sidebar__section li {
196
  list-style: none;
204
  vertical-align: middle;
205
  display: inline-block;
206
  margin-left: 10px;
207
+ margin-right: 0;
208
  line-height: 20px;
209
  }
210
  .zorem-sidebar__section div a {
441
  padding: 0px 0px;
442
  }
443
  #demo-toast-example.mdl-snackbar {
444
+ background: #83bd31;
 
 
445
  z-index: 100000;
446
+ bottom: 10px;
447
  }
448
  #demo-toast-example .mdl-snackbar__text {
449
  float: unset;
464
  color: #83bd31;
465
  }
466
  .wp-core-ui .btn_green {
467
+ background: rgb(35, 54, 152);
468
  text-shadow: none;
469
+ border-color: rgb(35, 54, 152);
470
  box-shadow: none;
471
  font-size: 14px;
472
  line-height: 30px;
473
+ height: 35px;
474
+ padding: 0 20px;
475
  }
476
  .wp-core-ui .btn_green2 {
477
  background: #83bd31;
479
  border-color: #83bd31;
480
  box-shadow: none;
481
  font-size: 14px;
482
+ line-height: 32px;
483
+ height: 35px;
484
+ padding: 0 20px;
485
+ }
486
+ .wp-core-ui .btn_ast1{
487
+ background: #74C2E1;
488
+ text-shadow: none;
489
+ border-color: #74C2E1;
490
+ box-shadow: none;
491
+ font-size: 14px;
492
+ line-height: 32px;
493
+ height: 35px;
494
+ padding: 0 20px;
495
+ }
496
+ .wp-core-ui .btn_ast2{
497
+ background: #005B9A;
498
+ text-shadow: none;
499
+ border-color: #005B9A;
500
+ box-shadow: none;
501
+ font-size: 14px;
502
+ line-height: 32px;
503
+ height: 35px;
504
+ padding: 0 20px;
505
  }
506
  .wp-core-ui .btn_red {
507
  background: red;
509
  border-color: red;
510
  box-shadow: none;
511
  font-size: 14px;
512
+ line-height: 32px;
513
  height: 32px;
514
  }
515
+ .wp-core-ui .btn_large {
516
+ line-height: 36px;
517
+ height: 40px;
518
+ padding: 0 20px;
519
+ font-size: 15px;
520
+ }
521
+ .wp-core-ui .btn_large .dashicons{
522
+ vertical-align: middle;
523
+ margin-left: 5px;
524
+ }
525
  .wp-core-ui .btn_red:hover, .wp-core-ui .btn_red:focus {
526
  background: red;
527
  border-color: rgba(0,0,0,0.05);
536
  text-shadow: none;
537
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
538
  }
539
+ .wp-core-ui .btn_ast1:hover, .wp-core-ui .btn_ast1:focus {
540
+ background: #74C2E1;
541
+ border-color: rgba(0,0,0,0.05);
542
+ color: #fff;
543
+ text-shadow: none;
544
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
545
+ }
546
+ .wp-core-ui .btn_ast2:hover, .wp-core-ui .btn_ast2:focus {
547
+ background: #005B9A;
548
+ border-color: rgba(0,0,0,0.05);
549
+ color: #fff;
550
+ text-shadow: none;
551
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
552
+ }
553
  .wp-core-ui .btn_green2:hover, .wp-core-ui .btn_green2:focus {
554
  background: rgba(131, 189, 49, 0.8);
555
  border-color: rgba(131, 189, 49, 0.8);
575
  }
576
  #wc_ast_upload_csv_form .mdl-progress {
577
  width: 100%;
578
+ margin-top: 10px;
579
  }
580
  .csv_upload_status {
581
  margin-left: 1em;
607
  line-height: 33px;
608
  }
609
  .ac-container {
610
+ margin: 0 auto 30px auto;
611
  text-align: left;
612
+ border: 1px solid #eee;
613
  }
614
  .ac-container .headig_label {
615
+ padding: 15px 20px 15px 60px;
616
+ margin-bottom: 0;
617
  position: relative;
618
  z-index: 20;
619
  display: block;
620
  cursor: default;
621
  color: #777;
622
  text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
623
+ font-size: 14px;
624
+ border-bottom: 1px solid #eee;
 
625
  }
626
  .email_heading{
627
  font-size: 14px!important;
786
  height: 200px !important;
787
  }
788
  .mdl-switch.is-checked .mdl-switch__track {
789
+ background: #74C2E1 !important;
790
  }
791
  .mdl-switch__ripple-container .mdl-ripple {
792
+ background: #005B9A !important;
793
  }
794
  .mdl-switch.is-checked .mdl-switch__thumb {
795
+ background: #005B9A !important;
796
  }
797
  span.email_status_span i {
798
  vertical-align: middle;
917
  display: inline-block;
918
  vertical-align: middle;
919
  }
920
+ .wcast-shipment-status-icon .icon-INVALID_TRACKING_NUM:before{
921
+ content: ' ';
922
+ background-image: url(icons/invalid-v3.png);
923
+ width: 20px;
924
+ height: 20px;
925
+ background-size: cover;
926
+ display: inline-block;
927
+ vertical-align: middle;
928
+ }
929
+ .wcast-shipment-status-icon .icon-wrong_shipping_provider:before{
930
+ content: ' ';
931
+ background-image: url(icons/invalid-v3.png);
932
+ width: 20px;
933
+ height: 20px;
934
+ background-size: cover;
935
+ display: inline-block;
936
+ vertical-align: middle;
937
+ }
938
+ .wcast-shipment-status-icon .icon-default:before{
939
+ content: ' ';
940
+ background-image: url(icons/invalid-v3.png);
941
+ width: 20px;
942
+ height: 20px;
943
+ background-size: cover;
944
+ display: inline-block;
945
+ vertical-align: middle;
946
+ }
947
+ .ast-shipment-status .icon-default:before{
948
+ content: ' ';
949
+ background-image: url(icons/invalid-v3.png);
950
+ width: 20px;
951
+ height: 20px;
952
+ background-size: cover;
953
+ display: inline-block;
954
+ vertical-align: middle;
955
+ }
956
+ .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
957
+ content: ' ';
958
+ background-image: url(icons/invalid-v3.png);
959
+ width: 20px;
960
+ height: 20px;
961
+ background-size: cover;
962
+ display: inline-block;
963
+ vertical-align: middle;
964
+ }
965
+ .ast-shipment-status .icon-wrong_shipping_provider:before{
966
+ content: ' ';
967
+ background-image: url(icons/invalid-v3.png);
968
+ width: 20px;
969
+ height: 20px;
970
+ background-size: cover;
971
+ display: inline-block;
972
+ vertical-align: middle;
973
+ }
974
  .ast-shipment-status .icon-delivered:before{
975
  content: ' ';
976
  background-image: url(icons/delivered-v4.png);
1203
  .ac-container .headig_label:hover .edit_customizer_a{
1204
  display:inline-block;
1205
  }
1206
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
1207
+ background: rgb(245, 248, 250);
1208
+ padding-left: 0;
1209
  }
1210
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
1211
+ padding-bottom: 40px;
1212
  }
1213
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #wpfooter{
1214
+ background: rgb(245, 248, 250);
1215
+ }
1216
+ .woocommerce_page_woocommerce-advanced-shipment-tracking .white-bg{
1217
+ background: #fff;
1218
  }
1219
  .trackship_logo{
1220
  width: 200px;
1226
  .trackship_section .heading{
1227
  font-size: 25px;
1228
  }
1229
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1230
  .multiple_checkbox .mdl-switch.is-upgraded{
1231
  padding-left: 42px;
1232
  margin-bottom: 6px;
1308
  .widefat .column-wc_actions a.delivered_icon.button::after { font-family: woocommerce; content: "\e01a"; }
1309
  .widefat .column-wc_actions a.add_inline_tracking.button::after { content: "\f230"; }
1310
 
1311
+ .provider_list:after {
1312
+ clear: both;
1313
+ content: '';
1314
+ display: block;
1315
+ }
1316
  .provider {
1317
+ padding: 0 5px;
1318
+ width: 16.66%;
1319
+ margin-bottom: 10px;
1320
+ vertical-align: top;
1321
+ box-sizing: border-box;
1322
+ float: left;
1323
+ }
1324
+ .provider_inner {
1325
+ border: 1px solid #ccc;
1326
+ background: #eee;
1327
+ min-height: 105px;
1328
+ padding: 10px 5px 0px 10px;
1329
  }
1330
  .provider_list {
1331
  }
1332
  .provider-thumb{
1333
+ height: 50px;
1334
  }
1335
+ .left-div {
1336
+ box-sizing: border-box;
1337
+ display: block;
 
1338
  }
1339
+ .right-div {
1340
+ margin-left: 15px;
1341
+ width: 100%;
1342
+ display: block;
 
1343
  }
1344
  span.provider_name {
1345
  font-weight: 500;
1346
  font-size: 14px;
1347
  }
1348
  .row-1 {
1349
+ margin-bottom: 0;
1350
+ display: flex;
1351
+ align-items: start;
1352
+ }
1353
+ .row-1:after {
1354
+ content: '';
1355
+ clear: both;
1356
+ display: block;
1357
  }
1358
  .row-2 {
1359
+ margin-top: 15px;
1360
+ border-top: 1px solid #ccc;
1361
+ padding-top: 10px;
1362
+ }
1363
+ .active_provider .row-2{
1364
+ border-top: 1px solid #eee;
1365
  }
1366
  .default-provider {
1367
  float: left;
1380
  clear:both;
1381
  display: block;
1382
  }
1383
+ .active_provider .provider_inner{
1384
+ border: 1px solid rgba(116, 194, 225, 0.5);
1385
  background: #fff;
1386
  }
1387
  .status_filter {
1392
  padding: 0 5px;
1393
  text-decoration: none;
1394
  }
1395
+ .status_filter a:focus{
1396
+ outline: none;
1397
+ box-shadow: none;
1398
+ }
1399
  a.active{
1400
+ color:#74C2E1;
1401
  }
1402
  .search_section {
1403
  display: inline-block;
1428
  }
1429
  .provider_top {
1430
  position: relative;
1431
+ margin: 10px 0;
1432
  }
1433
  .dropdown {
1434
  position: relative;
1542
  max-height: 90%;
1543
  overflow-y: overlay;
1544
  }
1545
+ .how_to_video_popup .popuprow{
1546
+ max-width: 700px;
1547
+ padding: 0;
1548
+ }
1549
  .trackingpopup_row {
1550
  display: inline-block;
1551
  vertical-align: middle;
1615
  color: #444;
1616
  }
1617
  h1.plugin-title {
1618
+ padding: 20px 30px 10px 30px;
1619
  font-size: 1.7em;
1620
  color: #071d57;
1621
  }
1622
+ .plugin-logo{
1623
+ max-width: 400px;
1624
+ padding: 15px 0px 15px 30px;
1625
+ }
1626
  .disable_label span {
1627
  color: #999;
1628
  }
1641
  .sync_provider_popup .spinner{
1642
  display:none;
1643
  height: 25px;
1644
+ float: none;
1645
  }
1646
+ .sync_provider_popup .spinner.active{
1647
  display: inline-block;
1648
  }
1649
  .shipment_about{
1667
  }
1668
  .email-icon{
1669
  position: absolute;
1670
+ left: 15px;
1671
  top: 17px;
1672
  width: 35px;
1673
  }
1674
  .woocommerce.zorem_admin_layout table.form-table{
1675
  background: #fff;
1676
+ border: 1px solid #eee;
1677
+ margin-top: 0;
1678
+ margin-bottom: 0px;
1679
+ }
1680
+ .woocommerce.zorem_admin_layout table.form-table.heading-table{
1681
+ margin: 25px 0 0;
1682
+ border-bottom: 0;
1683
+ }
1684
+ #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{
1685
+ border-bottom: 0;
1686
+ }
1687
+ .woocommerce.zorem_admin_layout table.form-table.heading-table td{
1688
+ padding: 12px 15px;
1689
+ }
1690
+ .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1691
+ margin: 0;
1692
+ color:#005B9A;
1693
+ }
1694
+ .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1695
+ text-align:right;
1696
+ }
1697
+ .zorem_admin_layout h3.table-heading{
1698
+ background: #fff;
1699
+ color: #005B9A;
1700
+ border: 1px solid #eee;
1701
+ margin: 25px 0 0;
1702
+ border-bottom: 0;
1703
+ padding: 15px;
1704
+ }
1705
+ .zorem_admin_layout h3.table-heading:after{
1706
+ content:'';
1707
+ clear:both;
1708
  }
1709
  .ast_admin_content div.submit{
1710
+ padding: 0;
1711
  }
1712
  .woocommerce.zorem_admin_layout table.form-table th{
1713
  padding: 20px 24px 20px 15px;
1714
  }
1715
+ .woocommerce.zorem_admin_layout table.form-table td{
1716
+ padding: 15px 15px;
1717
+ }
1718
+ .woocommerce.zorem_admin_layout table.form-table th label{
1719
+ font-weight: 400;
1720
+ color: #444;
1721
+ }
1722
  .woocommerce.zorem_admin_layout table.form-table p.description{
1723
  font-size: 0.9em;
1724
  }
1739
  display: inline-block;
1740
  border-bottom: 0;
1741
  padding-bottom: 0;
1742
+ background: #74C2E1;
1743
  color: #fff;
1744
  padding: 5px;
1745
  border-radius: 3px;
1746
  }
1747
  .woocommerce.zorem_admin_layout table.form-table select{
1748
+ width: auto;
1749
+ max-width: 400px;
1750
+ min-width: 90px;
1751
  }
1752
  .trackship-icon{
1753
  width: 70px;
1773
  width: 80%;
1774
  margin: 1em auto;
1775
  }
1776
+ .description-below-table{
1777
+ background: #fff;
1778
+ border: 1px solid #eee;
1779
+ margin-top: 0;
1780
+ margin-bottom: 0;
1781
+ padding: 20px 24px 20px 15px;
1782
+ border-top: 0;
1783
+ }
1784
+ .ast_admin_content div.submit .spinner{
1785
+ display: none;
1786
+ float: none;
1787
+ margin: 0px 10px 0;
1788
+ }
1789
+ .ast_admin_content div.submit .spinner.active{
1790
+ display: inline-block;
1791
+ }
1792
+
1793
+ /*** AST Notice CSS ***/
1794
+ .ast-notice {
1795
+ position: relative;
1796
+ color: #444;
1797
+ }
1798
+ .ast-notice .ast-notice-inner {
1799
+ margin-top: 25px;
1800
+ padding: 20px;
1801
+ background: #fff;
1802
+ border-left: 3px solid;
1803
+ line-height: 1.5;
1804
+ font-size: 14px;
1805
+ border-left-color: #83bd31;
1806
+ }
1807
+ .ast-notice .dismiss-notice {
1808
+ border: none;
1809
+ background: none;
1810
+ padding: 0;
1811
+ margin: 0;
1812
+ display: inline-block;
1813
+ cursor: pointer;
1814
+ color: #acbdc9;
1815
+ position: relative;
1816
+ float: right;
1817
+ }
1818
+ .ast-notice .ast-notice-inner .notice-title {
1819
+ color: #061c58;
1820
+ font-weight: 700;
1821
+ display: block;
1822
+ margin: 0 0 6px;
1823
+ padding: 0;
1824
+ }
1825
+ .ast-notice .notice-content {
1826
+ margin-right: 20px;
1827
+ margin-bottom: 20px;
1828
+ }
1829
+
1830
+
1831
+ .nav_doc_section {
1832
+ float: right;
1833
+ padding: 15px 0 15px;
1834
+ margin-right: 30px;
1835
+ }
1836
+
1837
+ .nav_doc_section a {
1838
+ color: #393f4c;
1839
+ text-decoration: none;
1840
+ font-size: 14px;
1841
+ }
1842
+ .nav_doc_section a:hover{
1843
+ color: #74C2E1;
1844
+ }
1845
+ .nav_doc_section a:focus{
1846
+ outline: none;
1847
+ box-shadow: none;
1848
+ }
1849
+ .nav_doc_section a.open_video_popup:after {
1850
+ content: "\f236";
1851
+ font-family: dashicons;
1852
+ font-size: 18px;
1853
+ vertical-align: bottom;
1854
+ margin-left: 5px;
1855
+ clear: both;
1856
+ }
1857
+ .videoWrapper {
1858
+ position: relative;
1859
+ padding-bottom: 56.25%; /* 16:9 */
1860
+ padding-top: 25px;
1861
+ height: 0;
1862
+ }
1863
+ .videoWrapper iframe {
1864
+ position: absolute;
1865
+ top: 0;
1866
+ left: 0;
1867
+ width: 100%;
1868
+ height: 100%;
1869
+ }
1870
+ @media (max-width: 767px) {
1871
+ .notice.ast-admin-notice {
1872
+ padding: 10px;
1873
+ }
1874
+ .notice.ast-admin-notice .ast-admin-notice-inner {
1875
+ display: block;
1876
+ }
1877
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-content {
1878
+ display: block;
1879
+ padding: 0;
1880
+ }
1881
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1882
+ .notice.ast-admin-notice .ast-admin-notice-inner .trackship-install-now {
1883
+ display: none;
1884
+ }
1885
+ }
1886
+
1887
+ /*** Trackship Upsell CSS ***/
1888
+ .trackship-upsell-overlay {
1889
+ width: 750px;
1890
+ max-width: 100%;
1891
+ -webkit-box-shadow: 0 5px 25px 0 rgba(0,0,0,.15);
1892
+ box-shadow: 0 5px 25px 0 rgba(0,0,0,.15);
1893
+ background-color: #fff;
1894
+ border: 1px solid #eee;
1895
+ margin: 70px auto 50px;
1896
+ }
1897
+ .trackship-upsell-overlay .trackship-upsell-top {
1898
+ padding: 0 40px;
1899
+ }
1900
+ .trackship-upsell-overlay h3 {
1901
+ text-align: center;
1902
+ color: #393f4c;
1903
+ font-size: 20px;
1904
+ margin: 32px 0 20px;
1905
+ line-height: 1.4;
1906
+ }
1907
+ .trackship-upsell-overlay .trackship-upsell-subtitle {
1908
+ color: #071d57;
1909
+ font-size: 16px;
1910
+ text-align: center;
1911
+ }
1912
+ .trackship-upsell-overlay .trackship-upsell-content {
1913
+ border-top: 1px solid #eee;
1914
+ background: #f9fbff;
1915
+ padding: 40px;
1916
+ }
1917
+ .trackship-upsell-overlay .trackship-upsell-content ul {
1918
+ margin: 0 auto;
1919
+ max-width: 520px;
1920
+ }
1921
+ .trackship-upsell-overlay .trackship-upsell-content ul li {
1922
+ color: #071d57;
1923
+ font-size: 16px;
1924
+ margin: 0 0 20px;
1925
+ padding-left: 40px;
1926
+ position: relative;
1927
+ line-height: 1.5;
1928
+ }
1929
+ .trackship-upsell-overlay .trackship-upsell-content ul li:before {
1930
+ position: absolute;
1931
+ content: "\f147";
1932
+ width: 20px;
1933
+ height: 20px;
1934
+ background: #83bd31;
1935
+ left: 0;
1936
+ border-radius: 50%;
1937
+ display: inline-block;
1938
+ font-family: dashicons;
1939
+ font-style: normal;
1940
+ font-weight: 400;
1941
+ -webkit-font-smoothing: antialiased;
1942
+ -moz-osx-font-smoothing: grayscale;
1943
+ color: #f9fbff;
1944
+ font-size: 14px;
1945
+ text-align: center;
1946
+ line-height: 20px;
1947
+ top: 4px;
1948
+ }
1949
 
1950
  /*** Dashboard Widget CSS ***/
1951
  .ast-dashborad-widget.row{
1968
  color:#83bd31;
1969
  margin-top:10px;
1970
  }
1971
+ .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip{
1972
+ color: #005B9A;
1973
+ }
1974
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_content{
1975
+ background:#005B9A;
1976
+ padding: 15px;
1977
+ font-size: 12px;
1978
+ }
1979
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_top #tiptip_arrow_inner{
1980
+ border-top-color: #005B9A;
1981
+ }
1982
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #tiptip_holder.tip_bottom #tiptip_arrow_inner{
1983
+ border-bottom-color: #005B9A;
1984
+ }
1985
+ .trackship_section{
1986
+ background-image: url(../images/ts_bg.png);
1987
+ min-height: 100vh;
1988
  }
1989
  @media screen and (min-width: 1215px) and (max-width: 1465px) {
1990
  .provider {
1991
+ width: 20%;
1992
  }
1993
  }
1994
  @media screen and (min-width: 768px) and (max-width: 1214px) {
1995
  .provider{
1996
+ width: 25%;
1997
  }
1998
  #search_provider{
1999
  width: 200px;
2013
  }
2014
  @media screen and (max-width: 767px) {
2015
  .provider{
2016
+ width: 33.3%;
2017
  }
2018
  .search_section .search-icon{
2019
  padding: 8px 5px;
2021
  .provider_top {
2022
  margin-bottom: 10px;
2023
  }
2024
+ .nav_doc_section{
2025
+ float: none;
2026
+ padding: 15px 0 15px;
2027
+ margin-left: 30px;
2028
+ }
2029
  }
2030
  @media screen and (max-width: 500px) {
2031
  .provider{
2032
+ width: 50%;
2033
  }
2034
  .search_section{
2035
  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/css/icons/invalid-v3.png ADDED
Binary file
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/laos-post.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
@@ -606,6 +606,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
606
  */
607
  public function admin_styles($hook) {
608
 
 
 
 
 
 
 
 
 
 
609
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
610
 
611
  wp_enqueue_style( 'font-awesome', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/font-awesome.min.css', array(), '4.7' );
@@ -623,16 +632,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
623
  ),
624
  ) );
625
 
626
- if(!isset($_GET['page'])) {
627
- return;
628
- }
629
- if( $_GET['page'] != 'woocommerce-advanced-shipment-tracking') {
630
- return;
631
- }
632
-
633
-
634
-
635
-
636
  wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
637
  wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
638
  wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
@@ -647,8 +646,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
647
  wp_enqueue_script( 'jquery-tiptip' );
648
  wp_enqueue_script( 'jquery-blockui' );
649
  wp_enqueue_script( 'wp-color-picker' );
650
- wp_enqueue_script( 'jquery-ui-sortable' );
651
- //wp_enqueue_style( 'wp-color-picker' );
652
  wp_enqueue_script('media-upload');
653
  wp_enqueue_script('thickbox');
654
  wp_enqueue_style('thickbox');
@@ -663,14 +661,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
663
 
664
  wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
665
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
666
- 'i18n' => array(
667
- 'order' => __( 'Order', 'woo-advanced-shipment-tracking' ),
668
- 'item' => __( 'Item', 'woo-advanced-shipment-tracking' ),
669
- 'line_item' => __( 'Line Item', 'woo-advanced-shipment-tracking' ),
670
- 'class' => __( 'Class', 'woo-advanced-shipment-tracking' ),
671
- 'delete_rates' => __( 'Delete the selected rates?', 'woo-advanced-shipment-tracking' ),
672
- 'dupe_rates' => __( 'Duplicate the selected rates?', 'woo-advanced-shipment-tracking' ),
673
- 'provider_status_alert' => __( 'Really want to bulk change all provider status?', 'woo-advanced-shipment-tracking' ),
674
  'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
675
  'delete_provider' => __( 'Really delete this entry? This will not be undo.', 'woo-advanced-shipment-tracking' ),
676
  'upload_only_csv_file' => __( 'You can upload only csv file.', 'woo-advanced-shipment-tracking' ),
@@ -679,9 +670,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
679
  ),
680
  'delete_rates_nonce' => wp_create_nonce( "delete-rate" ),
681
  ) );
682
- if (isset($_GET['page']) && $_GET['page'] == 'woocommerce-advanced-shipment-tracking') {
683
- wp_enqueue_media();
684
- }
685
  }
686
 
687
  /*
@@ -727,34 +716,47 @@ class WC_Advanced_Shipment_Tracking_Admin {
727
  }
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' );?>
749
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
750
  <?php require_once( 'views/admin_options_bulk_upload.php' );?>
751
- </div>
752
- <?php //require_once( 'views/zorem_admin_sidebar.php' );?>
753
  </div>
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>
@@ -881,17 +883,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
881
  <?php } ?>
882
  </fieldset>
883
  <?php }
884
- elseif( $array['type'] == 'desc' ){ ?>
885
- <fieldset>
886
- <p><?php _e( 'Auto-track all your shipments, get real-time shipment tracking updates without leaving your stores admin.', 'woo-advanced-shipment-tracking' ); ?></p>
887
- <p><?php
888
- $url = '<a href="https://trackship.info/my-account" target="blank">TrackShip</a>';
889
- echo sprintf(__("You must have account and connect your store to %s in order to activate these advanced features.", 'woo-advanced-shipment-tracking'), $url); ?></p>
890
- <p><?php
891
- $url = '<a href="https://trackship.info/my-account" target="blank">Trackship</a>';
892
- echo sprintf(__("50 free Trackers for every new account! Get your %s account now>>", 'woo-advanced-shipment-tracking'), $url); ?></p>
893
- </fieldset>
894
- <?php }
895
  elseif( $array['type'] == 'label' ){ ?>
896
  <fieldset>
897
  <label><?php echo $array['value']; ?></label>
@@ -950,7 +941,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 +975,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,21 +988,15 @@ 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',
1012
  'class' => '',
1013
  ),
1014
- 'wc_ast_trackship_description' => array(
1015
- 'type' => 'desc',
1016
- 'title' => '',
1017
- 'show' => $show_trackship_description,
1018
- 'class' => '',
1019
- ),
1020
  );
1021
  return $form_data;
1022
 
@@ -1058,12 +1038,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 +1055,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 +1119,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 +1185,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,45 +1214,34 @@ 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,
1222
  ),
1223
- );
1224
- return $form_data;
1225
-
1226
- }
1227
-
1228
- /*
1229
- * get settings tab array data
1230
- * return array
1231
- */
1232
- function get_uninstall_data(){
1233
- $form_data = array(
1234
- 'wc_ast_deactivate_delivered' => array(
1235
- 'type' => 'dropdown',
1236
- 'title' => __( 'Change the "Delivered" orders to "Completed" when you deactivate the plugin', 'woo-advanced-shipment-tracking' ),
1237
- 'options' => array(
1238
- "no" =>__( 'No, I will use the snippet', 'woo-advanced-shipment-tracking' ),
1239
- "yes" =>__( 'Yes, change all Delivered orders to Completed', 'woo-advanced-shipment-tracking' ),
1240
- ),
1241
- 'desc' => sprintf(__('PLEASE NOTE - 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 snippet to use in functions.php %s or we can set to change all your "delivered" order to "completed".', 'woo-advanced-shipment-tracking'), '<a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/code-snippets/#delivered_code" target="blank">here</a>'),
1242
  'show' => true,
1243
- 'class' => 'status_label_color_th',
1244
  ),
1245
  );
1246
  return $form_data;
@@ -1288,11 +1289,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 +1421,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 +1532,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();
@@ -1594,7 +1601,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1594
  $status = __( 'Delivered', 'woo-advanced-shipment-tracking' );
1595
  break;
1596
  case "out_for_delivery":
1597
- $status = __( 'Out for delivery', 'woo-advanced-shipment-tracking' );
1598
  break;
1599
  case "available_for_pickup":
1600
  $status = __( 'Available For Pickup', 'woo-advanced-shipment-tracking' );
@@ -1615,11 +1622,17 @@ class WC_Advanced_Shipment_Tracking_Admin {
1615
  $status = __( 'Invalid Tracking', 'woo-advanced-shipment-tracking' );
1616
  break;
1617
  case "carrier_unsupported":
1618
- $status = __( 'Carrier unsupported', 'woo-advanced-shipment-tracking' );
1619
  break;
1620
  case "invalid_user_key":
1621
  $status = __( 'Invalid User Key', 'woo-advanced-shipment-tracking' );
1622
  break;
 
 
 
 
 
 
1623
 
1624
  }
1625
  return $status;
@@ -1658,13 +1671,16 @@ class WC_Advanced_Shipment_Tracking_Admin {
1658
  $html = '<span class="icon-'.$status.'">';
1659
  break;
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;
1666
  default:
1667
- $html = '<i class="fa fa-question-circle icon-'.$status.'" aria-hidden="true"></i>';
1668
  break;
1669
 
1670
  }
@@ -1753,6 +1769,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
1753
  * Add action button in order list to change order status from completed to delivered
1754
  */
1755
  public function add_delivered_order_status_actions_button($actions, $order){
 
 
 
 
1756
  $wc_ast_status_delivered = get_option('wc_ast_status_delivered');
1757
  if($wc_ast_status_delivered){
1758
  if ( $order->has_status( array( 'completed' ) ) ) {
@@ -1831,58 +1851,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>
@@ -2185,8 +2207,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
2185
  'unknown' => (object) array( 'count' => $count['unknown'], 'term' => __( 'Unknown', 'woo-advanced-shipment-tracking' ) ),
2186
  'pre_transit' => (object) array( 'count' => $count['pre_transit'],'term' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ) ),
2187
  'in_transit' => (object) array( 'count' => $count['in_transit'],'term' => __( 'In Transit', 'woo-advanced-shipment-tracking' ) ),
2188
- 'available_for_pickup' => (object) array( 'count' => $count['available_for_pickup'],'term' => __( 'Available for Pickup', 'woo-advanced-shipment-tracking' ) ),
2189
- 'out_for_delivery' => (object) array( 'count' => $count['out_for_delivery'],'term' => __( 'Out for Delivery', 'woo-advanced-shipment-tracking' ) ),
2190
  'delivered' => (object) array( 'count' => $count['delivered'],'term' => __( 'Delivered', 'woo-advanced-shipment-tracking' ) ),
2191
  'failed_attempt' => (object) array( 'count' => $count['failed_attempt'],'term' => __( 'Failed Attempt', 'woo-advanced-shipment-tracking' ) ),
2192
  'cancelled' => (object) array( 'count' => $count['cancelled'],'term' => __( 'Cancelled', 'woo-advanced-shipment-tracking' ) ),
606
  */
607
  public function admin_styles($hook) {
608
 
609
+
610
+
611
+ if(!isset($_GET['page'])) {
612
+ return;
613
+ }
614
+ if( $_GET['page'] != 'woocommerce-advanced-shipment-tracking') {
615
+ return;
616
+ }
617
+
618
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
619
 
620
  wp_enqueue_style( 'font-awesome', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/font-awesome.min.css', array(), '4.7' );
632
  ),
633
  ) );
634
 
 
 
 
 
 
 
 
 
 
 
635
  wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
636
  wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
637
  wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
646
  wp_enqueue_script( 'jquery-tiptip' );
647
  wp_enqueue_script( 'jquery-blockui' );
648
  wp_enqueue_script( 'wp-color-picker' );
649
+ wp_enqueue_script( 'jquery-ui-sortable' );
 
650
  wp_enqueue_script('media-upload');
651
  wp_enqueue_script('thickbox');
652
  wp_enqueue_style('thickbox');
661
 
662
  wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
663
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
664
+ 'i18n' => array(
 
 
 
 
 
 
 
665
  'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
666
  'delete_provider' => __( 'Really delete this entry? This will not be undo.', 'woo-advanced-shipment-tracking' ),
667
  'upload_only_csv_file' => __( 'You can upload only csv file.', 'woo-advanced-shipment-tracking' ),
670
  ),
671
  'delete_rates_nonce' => wp_create_nonce( "delete-rate" ),
672
  ) );
673
+ wp_enqueue_media();
 
 
674
  }
675
 
676
  /*
716
  }
717
  }
718
  wp_enqueue_script( 'shipment_tracking_table_rows' );
719
+ ?>
720
+ <div class="white-bg">
721
+ <img class="plugin-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ast-logo.png">
722
+ </div>
723
+ <div class="woocommerce zorem_admin_layout">
724
+ <div class="ast_admin_content" >
725
+ <input id="tab2" type="radio" name="tabs" class="tab_input" data-tab="settings" checked>
726
+ <label for="tab2" class="tab_label first_label"><?php _e('Settings', 'woo-advanced-shipment-tracking'); ?></label>
727
+
728
+ <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'; } ?>>
729
+ <label for="tab1" class="tab_label"><?php _e('Shipping Providers', 'woo-advanced-shipment-tracking'); ?></label>
730
+
731
+ <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'; } ?>>
732
+ <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
733
+
734
+ <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'; } ?>>
735
+ <label for="tab3" class="tab_label">TrackShip</label>
736
+
737
+ <div class="nav_doc_section">
738
+ <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>
739
+ <a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
740
+ </div>
741
 
742
  <?php require_once( 'views/admin_options_shipping_provider.php' );?>
743
  <?php require_once( 'views/admin_options_settings.php' );?>
744
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
745
  <?php require_once( 'views/admin_options_bulk_upload.php' );?>
746
+ </div>
 
747
  </div>
748
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
749
  <div class="mdl-snackbar__text"></div>
750
  <button class="mdl-snackbar__action" type="button"></button>
751
+ </div>
752
+ <div id="" class="popupwrapper how_to_video_popup" style="display:none;">
753
+ <div class="popuprow">
754
+ <div class="videoWrapper">
755
+ <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
756
+ </div>
757
+ </div>
758
+ <div class="popupclose"></div>
759
+ </div>
760
  <?php
761
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
762
  <script>
883
  <?php } ?>
884
  </fieldset>
885
  <?php }
 
 
 
 
 
 
 
 
 
 
 
886
  elseif( $array['type'] == 'label' ){ ?>
887
  <fieldset>
888
  <label><?php echo $array['value']; ?></label>
941
 
942
  // Get orders completed.
943
  $args = array(
944
+ 'status' => 'wc-completed',
945
+ 'limit' => -1,
946
+ 'date_created' => '>' . ( time() - 2592000 ),
947
  );
948
  $orders = wc_get_orders( $args );
949
  $completed_order_with_tracking = 0;
975
  $completed_order_label = '<span class="shipped_label">completed</span>';
976
  }
977
  //echo '<pre>';print_r($completed_order_with_tracking);echo '</pre>';
978
+ $form_data = array(
 
 
 
 
 
 
 
979
  'wc_ast_api_enabled' => array(
980
  'type' => 'checkbox',
981
  'title' => __( 'Enable/Disable', 'woo-advanced-shipment-tracking' ),
988
  'show' => $show_trackship_field,
989
  'class' => '',
990
  'disabled' => $disabled_change_to_delivered,
991
+ ),
992
  'wc_ast_bulk_shipment_status' => array(
993
  'type' => 'button',
994
+ '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),
995
  'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
996
  'show' => $show_bulk_sync,
997
  'button_class' => 'bulk_shipment_status_button',
998
  'class' => '',
999
  ),
 
 
 
 
 
 
1000
  );
1001
  return $form_data;
1002
 
1038
  'desc' => $page_desc,
1039
  'class' => '',
1040
  ),
 
 
 
 
 
 
1041
  'wc_ast_use_tracking_page' => array(
1042
  'type' => 'checkbox',
1043
  'title' => __( 'Use the tracking page in the customer email/my account tracking link', 'woo-advanced-shipment-tracking' ),
1055
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1056
  'class' => 'color_field',
1057
  'show' => $show_trackship_field,
1058
+ ),
1059
+ 'wc_ast_hide_tracking_events' => array(
1060
+ 'type' => 'checkbox',
1061
+ 'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
1062
+ 'show' => $show_trackship_field,
1063
+ 'class' => '',
1064
+ ),
1065
+ 'wc_ast_remove_trackship_branding' => array(
1066
+ 'type' => 'checkbox',
1067
+ 'title' => __( 'Remove TrackShip branding', 'woo-advanced-shipment-tracking' ),
1068
+ 'show' => $show_trackship_field,
1069
+ 'class' => '',
1070
+ ),
1071
  );
1072
  return $form_data;
1073
 
1119
  * return array
1120
  */
1121
  function get_settings_data(){
1122
+
 
 
 
 
 
1123
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
1124
  if($wc_ast_status_shipped == 1){
1125
  $completed_order_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
1126
+ $mark_as_shipped_label = __( 'Default "mark as <span class="shipped_label">shipped</span>"', 'woo-advanced-shipment-tracking' );
1127
  $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' );
1128
  } else{
1129
+ $completed_order_label = __( 'Completed', 'woocommerce' );
1130
+ $mark_as_shipped_label = __( 'Default "mark as <span class="shipped_label">completed</span>"', 'woo-advanced-shipment-tracking' );
1131
  $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' );
1132
  }
1133
 
1134
+ $all_order_status = wc_get_order_statuses();
1135
+
1136
+ $default_order_status = array(
1137
+ 'wc-pending' => 'Pending payment',
1138
+ 'wc-processing' => 'Processing',
1139
+ 'wc-on-hold' => 'On hold',
1140
+ 'wc-completed' => 'Completed',
1141
+ 'wc-delivered' => 'Delivered',
1142
+ 'wc-cancelled' => 'Cancelled',
1143
+ 'wc-refunded' => 'Refunded',
1144
+ 'wc-failed' => 'Failed'
1145
+ );
1146
+ foreach($default_order_status as $key=>$value){
1147
+ unset($all_order_status[$key]);
1148
+ }
1149
+ $custom_order_status = $all_order_status;
1150
+ foreach($custom_order_status as $key=>$value){
1151
+ unset($custom_order_status[$key]);
1152
+ $key = str_replace("wc-", "", $key);
1153
+ $custom_order_status[$key] = $value;
1154
+ }
1155
+
1156
+ $order_status = array(
1157
+ "cancelled" =>__( 'Cancelled', 'woocommerce' ),
1158
+ "show_in_customer_invoice" =>__( 'Customer Invoice', 'woo-advanced-shipment-tracking' ),
1159
+ "refunded" =>__( 'Refunded', 'woocommerce' ),
1160
+ "processing" =>__( 'Processing', 'woocommerce' ),
1161
+ "failed" =>__( 'Failed', 'woocommerce' ),
1162
+ "completed" =>$completed_order_label,
1163
+ );
1164
+ $order_status_array = array_merge($order_status,$custom_order_status);
1165
+
1166
+ if ( is_plugin_active( 'woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php' ) ) {
1167
+ $show_invoice_field = true;
1168
+ } else{
1169
+ $show_invoice_field = false;
1170
+ }
1171
+
1172
  $form_data = array(
1173
  'wc_ast_status_shipped' => array(
1174
  'type' => 'checkbox',
1185
  ),
1186
  'wc_ast_unclude_tracking_info' => array(
1187
  'type' => 'multiple_checkbox',
1188
+ 'title' => __( 'On which order status email to include the shipment tracking info?', 'woo-advanced-shipment-tracking' ),'options' => $order_status_array,
 
 
 
 
 
 
 
1189
  'show' => true,
1190
  'class' => '',
1191
  ),
1214
  $form_data = array(
1215
  'wc_ast_status_delivered' => array(
1216
  'type' => 'checkbox',
1217
+ 'title' => __( 'Enable custom order status “Delivered"', 'woo-advanced-shipment-tracking' ),
1218
  'tooltip' => __( 'if you enable the delivered item, you will have the option to send delivered email notifications.', 'woo-advanced-shipment-tracking' ),
1219
  'show' => true,
1220
  'class' => '',
1221
  ),
1222
  'wc_ast_status_label_color' => array(
1223
  'type' => 'color',
1224
+ 'title' => __( 'Delivered Label color', 'woo-advanced-shipment-tracking' ),
1225
  'class' => 'status_label_color_th',
1226
  'show' => true,
1227
  ),
1228
+ 'wc_ast_status_label_font_color' => array(
1229
+ 'type' => 'dropdown',
1230
+ 'title' => __( 'Delivered Label font color', 'woo-advanced-shipment-tracking' ),
1231
+ 'options' => array(
1232
+ "" =>__( 'Select', 'woocommerce' ),
1233
+ "#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
1234
+ "#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
1235
+ ),
1236
  'class' => 'status_label_color_th',
1237
  'show' => true,
1238
  ),
1239
+ 'wcast_enable_delivered_email' => array(
1240
+ 'type' => 'checkbox',
1241
+ 'title' => __( 'Enable the Delivered order status email', 'woo-advanced-shipment-tracking' ),
1242
+ 'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1243
+ 'class' => 'status_label_color_th',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1244
  'show' => true,
 
1245
  ),
1246
  );
1247
  return $form_data;
1289
 
1290
 
1291
  function footer_function(){
1292
+ $bg_color = get_option('wc_ast_status_label_color');
1293
+ $color = get_option('wc_ast_status_label_font_color','#fff');
1294
  ?>
1295
  <style>
1296
  .order-status.status-delivered{
1297
+ background: <?php echo $bg_color; ?>;
1298
+ color: <?php echo $color; ?>;
1299
  }
1300
  </style>
1301
  <?php
1421
  if(empty($tracking_number)){
1422
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1423
  }
1424
+ if(preg_match('/[^a-z0-9 \b]+/i', $tracking_number)){
1425
+ echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1426
+ }
1427
  if(empty($date_shipped)){
1428
  echo '<li class="error">Failed - Empty Date Shipped for Order Id - '.$_POST['order_id'].'</li>';exit;
1429
  }
1532
  public static function bulk_shipment_status_from_settings_fun(){
1533
  $args = array(
1534
  'status' => 'wc-completed',
1535
+ 'limit' => -1,
1536
+ 'date_created' => '>' . ( time() - 2592000 ),
1537
+ );
1538
  $orders = wc_get_orders( $args );
1539
  foreach($orders as $order){
1540
  $order_id = $order->get_id();
1601
  $status = __( 'Delivered', 'woo-advanced-shipment-tracking' );
1602
  break;
1603
  case "out_for_delivery":
1604
+ $status = __( 'Out For Delivery', 'woo-advanced-shipment-tracking' );
1605
  break;
1606
  case "available_for_pickup":
1607
  $status = __( 'Available For Pickup', 'woo-advanced-shipment-tracking' );
1622
  $status = __( 'Invalid Tracking', 'woo-advanced-shipment-tracking' );
1623
  break;
1624
  case "carrier_unsupported":
1625
+ $status = __( 'Carrier Unsupported', 'woo-advanced-shipment-tracking' );
1626
  break;
1627
  case "invalid_user_key":
1628
  $status = __( 'Invalid User Key', 'woo-advanced-shipment-tracking' );
1629
  break;
1630
+ case "wrong_shipping_provider":
1631
+ $status = __( 'Wrong Shipping Provider', 'woo-advanced-shipment-tracking' );
1632
+ break;
1633
+ case "deleted":
1634
+ $status = __( 'Deleted', 'woo-advanced-shipment-tracking' );
1635
+ break;
1636
 
1637
  }
1638
  return $status;
1671
  $html = '<span class="icon-'.$status.'">';
1672
  break;
1673
  case "INVALID_TRACKING_NUM":
1674
+ $html = '<span class="icon-'.$status.'">';
1675
  break;
1676
+ case "wrong_shipping_provider":
1677
+ $html = '<span class="icon-'.$status.'">';
1678
+ break;
1679
  case "invalid_user_key":
1680
  $html = '<span class="icon-'.$status.'">';
1681
  break;
1682
  default:
1683
+ $html = '<span class="icon-default">';
1684
  break;
1685
 
1686
  }
1769
  * Add action button in order list to change order status from completed to delivered
1770
  */
1771
  public function add_delivered_order_status_actions_button($actions, $order){
1772
+
1773
+ wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
1774
+ wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version);
1775
+
1776
  $wc_ast_status_delivered = get_option('wc_ast_status_delivered');
1777
  if($wc_ast_status_delivered){
1778
  if ( $order->has_status( array( 'completed' ) ) ) {
1851
  if($default_shippment_providers){
1852
  foreach($default_shippment_providers as $d_s_p){ ?>
1853
  <div class="provider <?php if($d_s_p->display_in_order == 1) { echo 'active_provider'; } ?>">
1854
+ <div class="provider_inner">
1855
+ <div class="row-1">
1856
+ <div class="left-div">
1857
+ <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">
1858
+ <?php if( $d_s_p->shipping_default == 1 ){ ?>
1859
+ <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;?>">
1860
+ <?php } else{
1861
+ $custom_thumb_id = $d_s_p->custom_thumb_id;
1862
+ $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array('60','60') );
1863
+ //echo '<pre>';print_r($custom_thumb_id);echo '</pre>';exit;
1864
+ if($custom_thumb_id != 0){ ?>
1865
+ <img class="provider-thumb" src="<?php echo $image_attributes[0]; ?>">
1866
+ <?php } else{
1867
+ ?>
1868
+ <img class="provider-thumb" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/icon-default.png">
1869
+ <?php } ?>
1870
+ <?php } ?>
1871
+ </a>
1872
+ </div>
1873
+ <div class="right-div">
1874
+ <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">
1875
+ <span class="provider_name"><?php echo $d_s_p->provider_name; ?></span>
1876
+ </a>
1877
+ <br>
1878
+ <span class="provider_country"><?php
1879
+ $search = array('(US)', '(UK)');
1880
+ $replace = array('', '');
1881
+ if($d_s_p->shipping_country && $d_s_p->shipping_country != 'Global'){
1882
+ echo str_replace($search, $replace, $WC_Countries->countries[$d_s_p->shipping_country]);
1883
+ } elseif($d_s_p->shipping_country && $d_s_p->shipping_country == 'Global'){
1884
+ echo 'Global';
1885
+ }
1886
+ ?></span>
1887
+ </div>
 
 
 
 
 
 
 
1888
  </div>
1889
+ <div class="row-2">
1890
+ <div class="default-provider">
1891
+ <?php $default_provider = get_option("wc_ast_default_provider" );?>
1892
+ <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'; } ?>">
1893
+ <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'; } ?>>
1894
+ <span>default</span>
 
 
1895
  </label>
1896
+ </div>
1897
+ <div class="provider-status">
1898
+ <?php if( $d_s_p->shipping_default == 0 ){ ?>
1899
+ <span class="dashicons dashicons-edit edit_provider" data-pid="<?php echo $d_s_p->id; ?>"></span>
1900
+ <span class="dashicons dashicons-trash remove" data-pid="<?php echo $d_s_p->id; ?>"></span>
1901
+ <?php } ?>
1902
+ <span class="mdl-list__item-secondary-action">
1903
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-<?php echo $d_s_p->id; ?>">
1904
+ <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'; } ?> />
1905
+ </label>
1906
+ </span>
1907
+ </div>
1908
  </div>
1909
  </div>
1910
  </div>
2207
  'unknown' => (object) array( 'count' => $count['unknown'], 'term' => __( 'Unknown', 'woo-advanced-shipment-tracking' ) ),
2208
  'pre_transit' => (object) array( 'count' => $count['pre_transit'],'term' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ) ),
2209
  'in_transit' => (object) array( 'count' => $count['in_transit'],'term' => __( 'In Transit', 'woo-advanced-shipment-tracking' ) ),
2210
+ 'available_for_pickup' => (object) array( 'count' => $count['available_for_pickup'],'term' => __( 'Available For Pickup', 'woo-advanced-shipment-tracking' ) ),
2211
+ 'out_for_delivery' => (object) array( 'count' => $count['out_for_delivery'],'term' => __( 'Out For Delivery', 'woo-advanced-shipment-tracking' ) ),
2212
  'delivered' => (object) array( 'count' => $count['delivered'],'term' => __( 'Delivered', 'woo-advanced-shipment-tracking' ) ),
2213
  'failed_attempt' => (object) array( 'count' => $count['failed_attempt'],'term' => __( 'Failed Attempt', 'woo-advanced-shipment-tracking' ) ),
2214
  'cancelled' => (object) array( 'count' => $count['cancelled'],'term' => __( 'Cancelled', 'woo-advanced-shipment-tracking' ) ),
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">
@@ -309,7 +315,7 @@ class WC_Advanced_Shipment_Tracking_Front {
309
  <div class="tracking-header">
310
  <div class="col-md col-md-6">
311
  <?php _e( 'Order: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
312
- <?php echo $tracking_provider; ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
313
  <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
314
  </div>
315
  <div class="col-md col-md-6">
@@ -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>
@@ -454,7 +464,7 @@ class WC_Advanced_Shipment_Tracking_Front {
454
  <?php } else{ ?>
455
  <div class="tracking-detail col">
456
  <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
457
- <h3 class="text-center"><?php _e( 'Invalid Tracking Number', 'woo-advanced-shipment-tracking' ); ?></h3>
458
  </div>
459
  <?php }
460
  $num++;
@@ -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
  }
@@ -664,7 +678,7 @@ class WC_Advanced_Shipment_Tracking_Front {
664
  <div class="tracking-header">
665
  <div class="col-md col-md-6">
666
  <?php _e( 'Order: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
667
- <?php echo $tracking_provider; ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
668
  <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
669
  </div>
670
  <div class="col-md col-md-6">
@@ -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">
315
  <div class="tracking-header">
316
  <div class="col-md col-md-6">
317
  <?php _e( 'Order: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
318
+ <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
319
  <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
320
  </div>
321
  <div class="col-md col-md-6">
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' || $tracker->ep_status == 'pending'){
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>
464
  <?php } else{ ?>
465
  <div class="tracking-detail col">
466
  <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
467
+ <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
468
  </div>
469
  <?php }
470
  $num++;
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
  }
678
  <div class="tracking-header">
679
  <div class="col-md col-md-6">
680
  <?php _e( 'Order: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
681
+ <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
682
  <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
683
  </div>
684
  <div class="col-md col-md-6">
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,107 @@ 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
+ .notice.ast-admin-notice {
1581
+ padding: 20px;
1582
+ background: rgb(245, 248, 250);
1583
+ border: 1px solid #eee;
1584
+ border-left: 4px solid #83bd31 !important;
1585
+ }
1586
+ .rtl .notice.ast-admin-notice {
1587
+ border-right-color: #83bd31 !important;
1588
+ }
1589
+ .notice.ast-admin-notice .ast-admin-notice-inner {
1590
+ display: table;
1591
+ width: 100%;
1592
+ }
1593
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1594
+ .notice.ast-admin-notice .ast-admin-notice-inner .ast-admin-notice-content,
1595
+ .notice.ast-admin-notice .ast-admin-notice-inner .trackship-install-now {
1596
+ display: table-cell;
1597
+ vertical-align: middle;
1598
+ }
1599
+ .notice.ast-admin-notice .ast-admin-notice-icon {
1600
+ color: #83bd31;
1601
+ }
1602
+ .notice.ast-admin-notice .ast-admin-notice-icon .notice-logo{
1603
+ width: 200px;
1604
+ }
1605
+ .notice.ast-admin-notice .ast-admin-notice-content {
1606
+ padding: 0 20px;
1607
+ }
1608
+ .notice.ast-admin-notice p {
1609
+ padding: 0;
1610
+ margin: 0;
1611
+ }
1612
+ .notice.ast-admin-notice h3 {
1613
+ margin: 0 0 5px;
1614
+ color: #061c58;
1615
+ }
1616
+ .notice.ast-admin-notice .trackship-install-now {
1617
+ text-align: center;
1618
+ }
1619
+ .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button {
1620
+ padding: 5px 30px;
1621
+ height: auto;
1622
+ line-height: 20px;
1623
+ text-transform: capitalize;
1624
+ }
1625
+ .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button i {
1626
+ padding-right: 5px;
1627
+ }
1628
+ .rtl .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button i {
1629
+ padding-right: 0;
1630
+ padding-left: 5px;
1631
+ }
1632
+ .notice.ast-admin-notice .trackship-install-now .hello-elementor-install-button:active {
1633
+ transform: translateY(1px);
1634
+ }
1635
+ .ast-admin-notice .notice-dismiss:before{
1636
+ color: #061c58;
1637
+ font: normal 20px/20px dashicons;
1638
+ }
1639
+ .wp-core-ui .btn_green2 {
1640
+ background: #83bd31;
1641
+ text-shadow: none;
1642
+ border-color: #83bd31;
1643
+ box-shadow: none;
1644
+ font-size: 14px;
1645
+ line-height: 32px;
1646
+ height: 35px;
1647
+ padding: 0 20px;
1648
+ }
1649
+ .wp-core-ui .btn_green2:hover, .wp-core-ui .btn_green2:focus {
1650
+ background: rgba(131, 189, 49, 0.8);
1651
+ border-color: rgba(131, 189, 49, 0.8);
1652
+ color: #fff;
1653
+ text-shadow: none;
1654
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
1655
+ }
1656
+ </style>
1657
+ <div data-dismissible="disable-ts-notice-new-forever" class="notice updated is-dismissible ast-admin-notice">
1658
+ <div class="ast-admin-notice-inner">
1659
+ <div class="ast-admin-notice-icon">
1660
+ <img class="notice-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url().'/assets/images/trackship-400.png'; ?>" alt="Trackship Logo" />
1661
+ </div>
1662
+
1663
+ <div class="ast-admin-notice-content">
1664
+ <h3>Thanks for using the Advanced Shipment Tracking!</h3>
1665
+ <p>
1666
+ <p>Add TrackShip integration and automate your post shipping operations!</p>
1667
+ <a href="https://trackship.info/" target="_blank">Try trackship with 50 free trackers >></a>
1668
+ </p>
1669
+ </div>
1670
+
1671
+ <div class="trackship-install-now">
1672
+ <a class="button button-primary btn_green2 btn_large" href="https://trackship.info/" target="_blank">SIGNUP NOW</a>
1673
+ </div>
1674
  </div>
1675
+ </div>
1676
  <?php
1677
  }
1678
  }
includes/class-wc-advanced-shipment-tracking.php CHANGED
@@ -266,7 +266,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
266
  <p class="meta">
267
  <?php /* translators: 1: shipping date */ ?>
268
  <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?>
269
- <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woo-advanced-shipment-tracking' ); ?></a>
270
  <?php /*?><button class="button" type="button">Get shipment status</button><?php */?>
271
  </p>
272
  </div>
@@ -483,7 +483,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
483
  } else {
484
  WC()->add_inline_js( $js );
485
  }
486
-
 
487
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
488
  }
489
 
@@ -597,10 +598,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 +616,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
614
  }
615
 
616
  }
617
- $this->delete_tracking_item( $order_id, $tracking_id );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
618
  }
619
 
620
  /**
@@ -652,24 +669,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 +915,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 +942,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 +957,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 +1138,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 +1153,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){
266
  <p class="meta">
267
  <?php /* translators: 1: shipping date */ ?>
268
  <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?>
269
+ <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
270
  <?php /*?><button class="button" type="button">Get shipment status</button><?php */?>
271
  </p>
272
  </div>
483
  } else {
484
  WC()->add_inline_js( $js );
485
  }
486
+
487
+ wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
488
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
489
  }
490
 
598
 
599
  $order_id = wc_clean( $_POST['order_id'] );
600
  $tracking_id = wc_clean( $_POST['tracking_id'] );
601
+ $tracking_items = $this->get_tracking_items( $order_id, true );
602
+
603
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
604
  if( $api_enabled ){
605
+
606
  foreach($tracking_items as $tracking_item){
607
 
608
  if($tracking_item['tracking_id'] == $_POST['tracking_id']){
616
  }
617
 
618
  }
619
+
620
+ foreach($tracking_items as $tracking_item){
621
+ if($tracking_item['tracking_id'] == $_POST['tracking_id']){
622
+ $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
623
+
624
+ $tracking_number = $tracking_item['tracking_number'];
625
+ $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
626
+ $order = wc_get_order( $order_id );
627
+ // The text for the note
628
+ $note = sprintf(__("Tracking info was deleted for tracking provider %s with tracking number %s", 'woo-advanced-shipment-tracking'), $tracking_provider, $tracking_number );
629
+
630
+ // Add the note
631
+ $order->add_order_note( $note );
632
+ }
633
+ }
634
+ $this->delete_tracking_item( $order_id, $tracking_id );
635
  }
636
 
637
  /**
669
  */
670
  public function email_display( $order, $sent_to_admin, $plain_text = null, $email = null ) {
671
 
672
+
673
+ $wc_ast_unclude_tracking_info = get_option('wc_ast_unclude_tracking_info');
674
+
675
+ $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
676
+ $order = wc_get_order( $order_id );
677
+ $order_status = $order->get_status();
678
+ //echo '<pre>';print_r($wc_ast_unclude_tracking_info);echo '</pre>';exit;
679
+
680
  if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && !isset($wc_ast_unclude_tracking_info['show_in_customer_invoice'])){
681
  return;
682
+ } elseif(!isset($wc_ast_unclude_tracking_info[$order_status])){
683
+ return;
684
  }
685
+
 
 
 
 
 
 
 
686
  $tracking_items = $this->get_tracking_items( $order_id, true );
687
 
688
  if ( true === $plain_text ) {
915
  if($args['tracking_provider']){
916
  $tracking_item['tracking_provider'] = $args['tracking_provider'];
917
  }
918
+
919
+ if($args['custom_tracking_provider']){
920
+ $tracking_item['custom_tracking_provider'] = wc_clean( $args['custom_tracking_provider'] );
921
+ }
922
+ if($args['custom_tracking_link']){
923
+ $tracking_item['custom_tracking_link'] = wc_clean( $args['custom_tracking_link'] );
924
+ }
925
 
926
  if($args['tracking_number']){
927
  $tracking_item['tracking_number'] = wc_clean( $args['tracking_number'] );
942
  $tracking_item['date_shipped'] = time();
943
  }
944
 
945
+ if ( $tracking_item['custom_tracking_provider'] ) {
946
+ $tracking_item['tracking_id'] = md5( "{$tracking_item['custom_tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
947
+ } else {
948
+ $tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
949
+ }
950
 
951
  $tracking_items = $this->get_tracking_items( $order_id );
952
  $tracking_items[] = $tracking_item;
957
  $order = new WC_Order( $order_id );
958
  $order->update_status('completed');
959
  }
960
+
961
+ $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
962
+ $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
963
+
964
+ $order = wc_get_order( $order_id );
965
+ // The text for the note
966
+ $note = sprintf(__("Order was shipped with %s and tracking number is: %s", 'woo-advanced-shipment-tracking'), $tracking_provider, $tracking_item['tracking_number'] );
967
+
968
+ // Add the note
969
+ $order->add_order_note( $note );
970
+
971
  return $tracking_item;
972
  }
973
 
1138
  }
1139
  public function custom_validation_js(){ ?>
1140
  <script>
1141
+ jQuery(document).on("click",".button-save-form",function(e){
1142
  var error;
1143
  var tracking_provider = jQuery("#tracking_provider");
1144
  var tracking_number = jQuery("#tracking_number");
1153
  tracking_number.css( "border-color", "red" );
1154
  error = true;
1155
  } else {
1156
+ var pattern = /^[A-Za-z0-9]+$/;
1157
+ if(!pattern.test(tracking_number.val())){
1158
+ tracking_number.css( "border-color", "red" );
1159
+ error = true;
1160
+ } else{
1161
+ tracking_number.css( "border-color", "" );
1162
+ }
1163
  }
1164
 
1165
  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
  ) );
@@ -476,7 +490,7 @@ class wcast_initialise_customizer_settings {
476
  'section' => 'default_controls_section',
477
  'type' => 'select',
478
  'choices' => array(
479
- '' => __( 'Select', 'woo-advanced-shipment-tracking' ),
480
  '1' => '1 px',
481
  '2' => '2 px',
482
  '3' => '3 px',
@@ -500,7 +514,7 @@ class wcast_initialise_customizer_settings {
500
  'section' => 'default_controls_section',
501
  'type' => 'select',
502
  'choices' => array(
503
- '' => __( 'Select', 'woo-advanced-shipment-tracking' ),
504
  'left' => __( 'Left', 'woo-advanced-shipment-tracking' ),
505
  'right' => __( 'Right', 'woo-advanced-shipment-tracking' ),
506
  'center' => __( 'Center', 'woo-advanced-shipment-tracking' )
@@ -508,7 +522,7 @@ class wcast_initialise_customizer_settings {
508
  )
509
  );
510
 
511
- $font_size_array[ '' ] = __( 'Select', 'woo-advanced-shipment-tracking' );
512
  for ( $i = 10; $i <= 30; $i++ ) {
513
  $font_size_array[ $i ] = $i."px";
514
  }
@@ -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
  ) );
490
  'section' => 'default_controls_section',
491
  'type' => 'select',
492
  'choices' => array(
493
+ '' => __( 'Select', 'woocommerce' ),
494
  '1' => '1 px',
495
  '2' => '2 px',
496
  '3' => '3 px',
514
  'section' => 'default_controls_section',
515
  'type' => 'select',
516
  'choices' => array(
517
+ '' => __( 'Select', 'woocommerce' ),
518
  'left' => __( 'Left', 'woo-advanced-shipment-tracking' ),
519
  'right' => __( 'Right', 'woo-advanced-shipment-tracking' ),
520
  'center' => __( 'Center', 'woo-advanced-shipment-tracking' )
522
  )
523
  );
524
 
525
+ $font_size_array[ '' ] = __( 'Select', 'woocommerce' );
526
  for ( $i = 10; $i <= 30; $i++ ) {
527
  $font_size_array[ $i ] = $i."px";
528
  }
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/emails/class-shipment-delivered-email.php CHANGED
@@ -223,50 +223,50 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
223
  public function init_form_fields() {
224
  $this->form_fields = array(
225
  'enabled' => array(
226
- 'title' => __( 'Enable/Disable', 'woo-advanced-shipment-tracking' ),
227
  'type' => 'checkbox',
228
- 'label' => __( 'Enable this email notification', 'woo-advanced-shipment-tracking' ),
229
  'default' => 'yes',
230
  ),
231
  'recipient' => array(
232
- 'title' => __( 'Recipient(s)', 'woo-advanced-shipment-tracking' ),
233
  'type' => 'text',
234
  /* translators: %s: WP admin email */
235
- 'description' => sprintf( __( 'Enter recipients (comma separated) for this email. Defaults to %s.', 'woo-advanced-shipment-tracking' ), '<code>' . esc_attr( get_option( 'admin_email' ) ) . '</code>' ),
236
  'placeholder' => '',
237
  'default' => '{customer_email}',
238
  'desc_tip' => true,
239
  ),
240
  'subject' => array(
241
- 'title' => __( 'Subject', 'woo-advanced-shipment-tracking' ),
242
  'type' => 'text',
243
  'desc_tip' => true,
244
  /* translators: %s: list of placeholders */
245
- 'description' => sprintf( __( 'Available placeholders: %s', 'woo-advanced-shipment-tracking' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
246
  'placeholder' => $this->get_default_subject(),
247
  'default' => '',
248
  ),
249
  'heading' => array(
250
- 'title' => __( 'Email heading', 'woo-advanced-shipment-tracking' ),
251
  'type' => 'text',
252
  'desc_tip' => true,
253
  /* translators: %s: list of placeholders */
254
- 'description' => sprintf( __( 'Available placeholders: %s', 'woo-advanced-shipment-tracking' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
255
  'placeholder' => $this->get_default_heading(),
256
  'default' => '',
257
  ),
258
  'email_type' => array(
259
- 'title' => __( 'Email type', 'woo-advanced-shipment-tracking' ),
260
  'type' => 'select',
261
- 'description' => __( 'Choose which format of email to send.', 'woo-advanced-shipment-tracking' ),
262
  'default' => 'html',
263
  'class' => 'email_type wc-enhanced-select',
264
  'options' => $this->get_email_type_options(),
265
  'desc_tip' => true,
266
  ),
267
- 'display_premium_options1' => array(
268
  'type' => 'title',
269
- 'description' => __( '<a href="'.wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email').'" >Click Here</a>', 'woo-advanced-shipment-tracking' ),
270
  'title' => __( 'Edit in customizer', 'woo-advanced-shipment-tracking' ),
271
  ),
272
  );
223
  public function init_form_fields() {
224
  $this->form_fields = array(
225
  'enabled' => array(
226
+ 'title' => __( 'Enable/Disable', 'woocommerce' ),
227
  'type' => 'checkbox',
228
+ 'label' => __( 'Enable this email notification', 'woocommerce' ),
229
  'default' => 'yes',
230
  ),
231
  'recipient' => array(
232
+ 'title' => __( 'Recipient(s)', 'woocommerce' ),
233
  'type' => 'text',
234
  /* translators: %s: WP admin email */
235
+ 'description' => sprintf( __( 'Enter recipients (comma separated) for this email. Defaults to %s.', 'woocommerce' ), '<code>' . esc_attr( get_option( 'admin_email' ) ) . '</code>' ),
236
  'placeholder' => '',
237
  'default' => '{customer_email}',
238
  'desc_tip' => true,
239
  ),
240
  'subject' => array(
241
+ 'title' => __( 'Subject', 'woocommerce' ),
242
  'type' => 'text',
243
  'desc_tip' => true,
244
  /* translators: %s: list of placeholders */
245
+ 'description' => sprintf( __( 'Available placeholders: %s', 'woocommerce' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
246
  'placeholder' => $this->get_default_subject(),
247
  'default' => '',
248
  ),
249
  'heading' => array(
250
+ 'title' => __( 'Email heading', 'woocommerce' ),
251
  'type' => 'text',
252
  'desc_tip' => true,
253
  /* translators: %s: list of placeholders */
254
+ 'description' => sprintf( __( 'Available placeholders: %s', 'woocommerce' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
255
  'placeholder' => $this->get_default_heading(),
256
  'default' => '',
257
  ),
258
  'email_type' => array(
259
+ 'title' => __( 'Email type', 'woocommerce' ),
260
  'type' => 'select',
261
+ 'description' => __( 'Choose which format of email to send.', 'woocommerce' ),
262
  'default' => 'html',
263
  'class' => 'email_type wc-enhanced-select',
264
  'options' => $this->get_email_type_options(),
265
  'desc_tip' => true,
266
  ),
267
+ 'edit_in_customizer' => array(
268
  'type' => 'title',
269
+ 'description' => '<a href="'.wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email').'" >'.__( 'Click Here', 'woo-advanced-shipment-tracking' ).'</a>',
270
  'title' => __( 'Edit in customizer', 'woo-advanced-shipment-tracking' ),
271
  ),
272
  );
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->form_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
@@ -4,22 +4,22 @@
4
  <div class="tab_inner_container">
5
  <div class="provider_top">
6
  <div class="status_filter">
7
- <a href="javaScript:void(0);" data-status="active" class="active">Active</a>
8
- <a href="javaScript:void(0);" data-status="inactive">Inactive</a>
9
- <a href="javaScript:void(0);" data-status="custom">Custom</a>
10
- <a href="javaScript:void(0);" data-status="all">All</a>
11
  </div>
12
  <div class="provider_settings dropdown">
13
  <span class="dashicons dashicons-admin-generic dropdown_menu"></span>
14
  </div>
15
  <ul class="dropdown-content">
16
- <li><a href="javaScript:void(0);" class="add_custom_provider" id="add-custom">Add Custom Provider</a></li>
17
- <li><a href="javaScript:void(0);" class="sync_providers">Sync Provider List</a></li>
18
- <li>Reset <a href="javaScript:void(0);" class="reset_active">active</a> | <a href="javaScript:void(0);" class="reset_inactive">inactive</a></li>
19
  </ul>
20
  <div class="search_section">
21
  <span class="dashicons dashicons-search search-icon"></span>
22
- <input class="provider_search_bar " type="text" name="search_provider" id="search_provider" placeholder="Search by provider / country">
23
  </div>
24
  </div>
25
  <div class="provider_list">
@@ -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>
4
  <div class="tab_inner_container">
5
  <div class="provider_top">
6
  <div class="status_filter">
7
+ <a href="javaScript:void(0);" data-status="active" class="active"><?php _e( 'Active', 'woo-advanced-shipment-tracking'); ?></a>
8
+ <a href="javaScript:void(0);" data-status="inactive"><?php _e( 'Inactive', 'woo-advanced-shipment-tracking'); ?></a>
9
+ <a href="javaScript:void(0);" data-status="custom"><?php _e( 'Custom', 'woo-advanced-shipment-tracking'); ?></a>
10
+ <a href="javaScript:void(0);" data-status="all"><?php _e( 'All', 'woo-advanced-shipment-tracking'); ?></a>
11
  </div>
12
  <div class="provider_settings dropdown">
13
  <span class="dashicons dashicons-admin-generic dropdown_menu"></span>
14
  </div>
15
  <ul class="dropdown-content">
16
+ <li><a href="javaScript:void(0);" class="add_custom_provider" id="add-custom"><?php _e( 'Add Custom Provider', 'woo-advanced-shipment-tracking'); ?></a></li>
17
+ <li><a href="javaScript:void(0);" class="sync_providers"><?php _e( 'Sync Provider List', 'woo-advanced-shipment-tracking'); ?></a></a></li>
18
+ <li><?php _e( 'Reset', 'woo-advanced-shipment-tracking'); ?> <a href="javaScript:void(0);" class="reset_active"><?php _e( 'active', 'woo-advanced-shipment-tracking'); ?></a> | <a href="javaScript:void(0);" class="reset_inactive"><?php _e( 'inactive', 'woo-advanced-shipment-tracking'); ?></a></li>
19
  </ul>
20
  <div class="search_section">
21
  <span class="dashicons dashicons-search search-icon"></span>
22
+ <input class="provider_search_bar " type="text" name="search_provider" id="search_provider" placeholder="<?php _e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
23
  </div>
24
  </div>
25
  <div class="provider_list">
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', 'woocommerce'); ?></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
  ?>
@@ -77,7 +126,7 @@
77
  </span>
78
  </span>
79
  <a href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('In Transit', 'woo-advanced-shipment-tracking'); ?></a>
80
- <a class="edit_customizer_a" href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woo-advanced-shipment-tracking'); ?></a>
81
  <p class="shipment_about"><?php _e('Carrier has accepted or picked up shipment from shipper. The shipment is on the way.', 'woo-advanced-shipment-tracking'); ?></p>
82
  </div>
83
 
@@ -91,7 +140,7 @@
91
  </span>
92
  </span>
93
  <a href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Return To Sender', 'woo-advanced-shipment-tracking'); ?></a>
94
- <a class="edit_customizer_a" href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woo-advanced-shipment-tracking'); ?></a>
95
  <p class="shipment_about"><?php _e('Shipment is returned to sender', 'woo-advanced-shipment-tracking'); ?></p>
96
  </div>
97
 
@@ -105,7 +154,7 @@
105
  </span>
106
  </span>
107
  <a href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Available For Pickup', 'woo-advanced-shipment-tracking'); ?></a>
108
- <a class="edit_customizer_a" href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woo-advanced-shipment-tracking'); ?></a>
109
  <p class="shipment_about"><?php _e('The shipment is ready to pickup.', 'woo-advanced-shipment-tracking'); ?></p>
110
  </div>
111
  <div class="headig_label <?php if($wcast_enable_outfordelivery_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
@@ -118,7 +167,7 @@
118
  </span>
119
  </span>
120
  <a href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Out For Delivery', 'woo-advanced-shipment-tracking'); ?></a>
121
- <a class="edit_customizer_a" href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woo-advanced-shipment-tracking'); ?></a>
122
  <p class="shipment_about"><?php _e('Carrier is about to deliver the shipment', 'woo-advanced-shipment-tracking'); ?></p>
123
  </div>
124
 
@@ -132,7 +181,7 @@
132
  </span>
133
  </span>
134
  <a href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>" class="email_heading <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>"><?php _e('Delivered', 'woo-advanced-shipment-tracking'); ?></a>
135
- <a class="edit_customizer_a <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>" href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woo-advanced-shipment-tracking'); ?></a>
136
  <p class="shipment_about"><?php _e('The shipment was delivered successfully', 'woo-advanced-shipment-tracking'); ?></p>
137
  <p class="delivered_message <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disable_delivered'; }?>"><?php _e("You already have delivered email enabled, to enable this email you'll need to disable the order status delivered in settings.", 'woo-advanced-shipment-tracking'); ?></p>
138
  </div>
@@ -147,137 +196,40 @@
147
  </span>
148
  </span>
149
  <a href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Failed Attempt', 'woo-advanced-shipment-tracking'); ?></a>
150
- <a class="edit_customizer_a" href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woo-advanced-shipment-tracking'); ?></a>
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
  ?>
126
  </span>
127
  </span>
128
  <a href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('In Transit', 'woo-advanced-shipment-tracking'); ?></a>
129
+ <a class="edit_customizer_a" href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
130
  <p class="shipment_about"><?php _e('Carrier has accepted or picked up shipment from shipper. The shipment is on the way.', 'woo-advanced-shipment-tracking'); ?></p>
131
  </div>
132
 
140
  </span>
141
  </span>
142
  <a href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Return To Sender', 'woo-advanced-shipment-tracking'); ?></a>
143
+ <a class="edit_customizer_a" href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
144
  <p class="shipment_about"><?php _e('Shipment is returned to sender', 'woo-advanced-shipment-tracking'); ?></p>
145
  </div>
146
 
154
  </span>
155
  </span>
156
  <a href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Available For Pickup', 'woo-advanced-shipment-tracking'); ?></a>
157
+ <a class="edit_customizer_a" href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
158
  <p class="shipment_about"><?php _e('The shipment is ready to pickup.', 'woo-advanced-shipment-tracking'); ?></p>
159
  </div>
160
  <div class="headig_label <?php if($wcast_enable_outfordelivery_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
167
  </span>
168
  </span>
169
  <a href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Out For Delivery', 'woo-advanced-shipment-tracking'); ?></a>
170
+ <a class="edit_customizer_a" href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
171
  <p class="shipment_about"><?php _e('Carrier is about to deliver the shipment', 'woo-advanced-shipment-tracking'); ?></p>
172
  </div>
173
 
181
  </span>
182
  </span>
183
  <a href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>" class="email_heading <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>"><?php _e('Delivered', 'woo-advanced-shipment-tracking'); ?></a>
184
+ <a class="edit_customizer_a <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>" href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
185
  <p class="shipment_about"><?php _e('The shipment was delivered successfully', 'woo-advanced-shipment-tracking'); ?></p>
186
  <p class="delivered_message <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disable_delivered'; }?>"><?php _e("You already have delivered email enabled, to enable this email you'll need to disable the order status delivered in settings.", 'woo-advanced-shipment-tracking'); ?></p>
187
  </div>
196
  </span>
197
  </span>
198
  <a href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Failed Attempt', 'woo-advanced-shipment-tracking'); ?></a>
199
+ <a class="edit_customizer_a" href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
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">TracksShip is a premium shipment tracking API flatform that fully integrates with WooCommerce with the Advanced Shipment Tracking. TrackShip automates the order management workflows, reduces customer inquiries, reduces time spent on customer service, and improves the post-purchase experience and satisfaction of your customers.</p>
210
+ <p class="trackship-upsell-subtitle">You must have account TracksShip and connect your store in order to activate these advanced features:</p>
211
+ </div>
212
+ <div class="trackship-upsell-content">
213
+ <ul>
214
+ <li>Automatically track your shipments with 100+ shipping providers.</li>
215
+ <li>Display Shipment Status and latest shipment status, update date and est. delivery date on WooCommerce orders admin.</li>
216
+ <li>Option to manually get shipment tracking updates for orders.</li>
217
+ <li>Automatically change order status to Delivered once the shipment is delivered to your customers.</li>
218
+ <li>Option to filter orders with invalid tracking numbers or by shipment status event in orders admin</li>
219
+ <li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
220
+ <li>Direct customers to a Tracking page on your store.</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">SIGNUP NOW</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
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:46+0000\n"
7
  "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Hebrew\n"
9
  "Language: he_IL\n"
@@ -21,8 +21,13 @@ msgid ""
21
  "Shipment Tracking!"
22
  msgstr "יש להתקין ולהפעיל% sWooCommerce% s למעקב המשלוח המתקדם של WooCommerce!"
23
 
24
- #: woocommerce-advanced-shipment-tracking.php:390
25
- #: includes/views/admin_options_settings.php:21
 
 
 
 
 
26
  #, php-format
27
  msgid ""
28
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
@@ -34,7 +39,7 @@ msgid ""
34
  msgstr ""
35
 
36
  #: includes/class-wc-advanced-shipment-tracking-admin.php:209
37
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
38
  msgid "Shipped"
39
  msgstr "נשלח"
40
 
@@ -51,12 +56,12 @@ msgstr "שנה סטטוס למשלוח"
51
 
52
  #: includes/class-wc-advanced-shipment-tracking-admin.php:250
53
  #: includes/class-wc-advanced-shipment-tracking-admin.php:279
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
57
  #: includes/customizer/class-wcast-customizer.php:104
58
  #: includes/customizer/class-wc-delivered-email-customizer.php:115
59
- #: includes/views/admin_options_trackship_integration.php:134
60
  msgid "Delivered"
61
  msgstr "נמסרה ללקוח"
62
 
@@ -87,470 +92,378 @@ msgstr "שנה סטטוס למסירה"
87
  msgid "Shipment status"
88
  msgstr "סטטוס המשלוח"
89
 
90
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
91
  msgid ""
92
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
93
  "100 orders."
94
  msgstr ""
95
 
96
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
97
- msgid "Order"
98
- msgstr "הזמנה"
99
-
100
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
101
- msgid "Item"
102
- msgstr "פריט"
103
-
104
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
105
- msgid "Line Item"
106
- msgstr "פריט שורה"
107
-
108
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
109
- msgid "Class"
110
- msgstr "מעמד"
111
-
112
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
113
- msgid "Delete the selected rates?"
114
- msgstr "מחק שורות מסומנות"
115
-
116
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
117
- msgid "Duplicate the selected rates?"
118
- msgstr "שכפל את התעריפים המסומנים"
119
-
120
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
121
- msgid "Really want to bulk change all provider status?"
122
- msgstr "אתה בטוח שברצונך לשנות את כל ספקי השירות בבת אחת?"
123
-
124
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
125
- #: includes/views/admin_options_settings.php:26
126
  msgid "Data saved successfully."
127
  msgstr "נשמר בהצלחה"
128
 
129
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
130
  msgid "Really delete this entry? This will not be undo."
131
  msgstr "באמת למחוק ערך זה? זה לא יהיה לבטל."
132
 
133
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
134
  msgid "You can upload only csv file."
135
  msgstr "ניתן לטעון רק קובץ csv."
136
 
137
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
138
  msgid "This browser does not support HTML5."
139
  msgstr "דפדפן זה אינו תומך ב- HTML5."
140
 
141
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
142
  msgid "Please upload a valid CSV file."
143
  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"
151
  msgstr "הגדרות"
152
 
153
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
 
 
 
 
154
  msgid "Bulk Upload"
155
  msgstr "העלאה המונית"
156
 
157
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
158
- msgid "TrackShip"
159
- msgstr ""
160
-
161
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
162
- msgid "Connected"
163
- msgstr ""
164
-
165
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
166
- msgid ""
167
- "Auto-track all your shipments, get real-time shipment tracking updates "
168
- "without leaving your stores admin."
169
- msgstr ""
170
-
171
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
172
- #, php-format
173
- msgid ""
174
- "You must have account and connect your store to %s in order to activate "
175
- "these advanced features."
176
  msgstr ""
177
 
178
- #: includes/class-wc-advanced-shipment-tracking-admin.php:892
179
- #, php-format
180
- msgid "50 free Trackers for every new account! Get your %s account now>>"
181
  msgstr ""
182
 
183
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
184
- msgid "TrackShip Connection Status"
 
185
  msgstr ""
186
 
187
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
188
- #: includes/emails/class-shipment-delivered-email.php:226
189
  msgid "Enable/Disable"
190
  msgstr "הפעל / השבת"
191
 
192
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
193
  msgid "Set order status Delivered when order is delivered"
194
  msgstr ""
195
 
196
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
197
  #, php-format
198
  msgid ""
199
- "You have %s %s orders that you can track with TrackShip, you can send these "
200
- "shipments to TrackShip in Bulk."
201
  msgstr ""
202
 
203
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
204
  msgid "Get Shipment Status"
205
  msgstr ""
206
 
207
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
208
  msgid ""
209
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
210
  "for the tracking page to work."
211
  msgstr ""
212
 
213
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
214
  msgid "Select Tracking Page"
215
  msgstr ""
216
 
217
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
218
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
219
- msgid "Remove Trackship branding from tracking page"
220
- 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"
228
  msgstr ""
229
 
230
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
231
  msgid "Select content border color for tracking page"
232
  msgstr ""
233
 
234
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
235
- msgid ""
236
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
237
- "state"
238
  msgstr ""
239
 
240
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
241
- msgid ""
242
- "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
243
- "will be selected by default when adding tracking info to orders."
244
  msgstr ""
245
 
246
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
247
- msgid "Completed"
248
  msgstr ""
249
 
250
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
251
  msgid ""
252
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
253
- "state"
254
- msgstr ""
255
-
256
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
257
- msgid ""
258
- "This means that the 'mark as <span class='shipped_label'>completed</span>' "
259
  "will be selected by default when adding tracking info to orders."
260
  msgstr ""
261
 
262
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
263
- msgid "Rename the “Completed” Order status to “Shipped”"
264
- msgstr "שנה את השם של סטטוס הזמנה 'הושלמה' ל- 'נשלחה'"
265
-
266
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
267
- msgid "On which customer order status email to include tracking info?"
268
  msgstr ""
269
 
270
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
271
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
272
- msgid "Cancelled"
 
273
  msgstr ""
274
 
275
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
276
  msgid "Customer Invoice"
277
  msgstr ""
278
 
279
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
280
- msgid "Refunded"
281
- msgstr ""
282
-
283
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
284
- msgid "Processing"
285
- msgstr ""
286
 
287
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
288
- msgid "Failed"
289
  msgstr ""
290
 
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
292
  msgid "Show tracking info in Invoice"
293
  msgstr ""
294
 
295
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
296
  msgid "Show tracking info in Packing Slip"
297
  msgstr ""
298
 
299
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
300
- msgid "Enable a New Custom order status - “Delivered"
301
- msgstr "אפשר יצירת סטטוס הזמנה חדש - \"נמסרה ללקוח״"
302
 
303
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
304
  msgid ""
305
  "if you enable the delivered item, you will have the option to send delivered "
306
  "email notifications."
307
  msgstr "אם תפעיל את הפריט שנמסר, תהיה לך אפשרות לשלוח הודעות דוא\"ל שנשלחו."
308
 
309
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
310
- msgid "Delivered Status Label color"
311
- msgstr "צבע תווית סטטוס שנמסר"
312
-
313
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
314
- #: includes/customizer/class-wcast-customizer.php:58
315
- #: includes/customizer/class-wc-email-customizer.php:155
316
- msgid "Delivered order status email"
317
  msgstr ""
318
 
319
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
320
- #: includes/views/admin_options_trackship_integration.php:80
321
- #: includes/views/admin_options_trackship_integration.php:94
322
- #: includes/views/admin_options_trackship_integration.php:108
323
- #: includes/views/admin_options_trackship_integration.php:121
324
- #: includes/views/admin_options_trackship_integration.php:135
325
- #: includes/views/admin_options_trackship_integration.php:150
326
- msgid "Edit"
327
  msgstr ""
328
 
329
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
330
- msgid ""
331
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
332
- "plugin"
333
- msgstr ""
334
-
335
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
336
- msgid "No, I will use the snippet"
337
  msgstr ""
338
 
339
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
340
- msgid "Yes, change all Delivered orders to Completed"
341
  msgstr ""
342
 
343
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
344
- #, php-format
345
- msgid ""
346
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
347
- "deactivate the plugin, you must register this order status in function.php "
348
- "in order to see these orders in the orders admin. You can find the snippet "
349
- "to use in functions.php %s or we can set to change all your \"delivered\" "
350
- "order to \"completed\"."
351
  msgstr ""
352
 
353
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
354
  msgid "Get shipment status"
355
  msgstr ""
356
 
357
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
358
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
359
  #: includes/customizer/class-wcast-customizer.php:74
360
  #: includes/customizer/class-wc-intransit-email-customizer.php:115
361
- #: includes/views/admin_options_trackship_integration.php:79
362
  msgid "In Transit"
363
  msgstr ""
364
 
365
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
367
  #: includes/customizer/class-wcast-customizer.php:66
368
  msgid "Pre Transit"
369
  msgstr ""
370
 
371
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
372
- msgid "Out for delivery"
 
 
 
 
373
  msgstr ""
374
 
375
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
 
376
  #: includes/customizer/class-wcast-customizer.php:89
377
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
378
- #: includes/views/admin_options_trackship_integration.php:107
379
  msgid "Available For Pickup"
380
  msgstr ""
381
 
382
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
383
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
384
  #: includes/customizer/class-wcast-customizer.php:82
385
  #: includes/customizer/class-wc-returntosender-email-customizer.php:116
386
- #: includes/views/admin_options_trackship_integration.php:93
387
  msgid "Return To Sender"
388
  msgstr ""
389
 
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
391
  msgid "Delivery Failure"
392
  msgstr ""
393
 
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"
401
  msgstr ""
402
 
403
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
404
  msgid "Invalid Tracking"
405
  msgstr ""
406
 
407
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
408
- msgid "Carrier unsupported"
 
409
  msgstr ""
410
 
411
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
412
  msgid "Invalid User Key"
413
  msgstr ""
414
 
415
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
 
 
 
 
 
 
 
 
416
  msgid "Resend delivered order notification"
417
  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"
425
  msgstr ""
426
 
427
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
428
  msgid "Add Tracking"
429
  msgstr ""
430
 
431
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
432
  msgid "Change order status to"
433
  msgstr ""
434
 
435
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
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
449
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
450
  msgid "hide details"
451
  msgstr ""
452
 
453
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
454
- msgid "Available for Pickup"
455
- msgstr ""
456
-
457
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
458
- msgid "Out for Delivery"
459
- msgstr ""
460
-
461
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
462
  #: includes/customizer/class-wcast-customizer.php:112
463
  #: includes/customizer/class-wc-failure-email-customizer.php:113
464
- #: includes/views/admin_options_trackship_integration.php:149
465
  msgid "Failed Attempt"
466
  msgstr ""
467
 
468
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
469
- msgid "Carrier Unsupported"
470
  msgstr ""
471
 
472
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
473
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
474
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
475
  msgid "Invalid Tracking Number"
476
  msgstr ""
477
 
478
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
479
  msgid "Filter by shipment status"
480
  msgstr ""
481
 
482
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
483
  msgid ""
484
  "To track your order please enter your Order ID in the box below and press "
485
  "the \"Track\" button. This was given to you on your receipt and in the "
486
  "confirmation email you should have received."
487
  msgstr ""
488
 
489
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
490
  msgid "Order ID"
491
  msgstr ""
492
 
493
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
494
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
495
  msgid "Found in your order confirmation email."
496
  msgstr ""
497
 
498
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
499
  msgid "Order Email"
500
  msgstr ""
501
 
502
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
503
  #: includes/class-wc-advanced-shipment-tracking.php:260
504
- #: includes/class-wc-advanced-shipment-tracking.php:637
505
- #: includes/class-wc-advanced-shipment-tracking.php:763
506
  #: includes/customizer/class-wc-tracking-info-customizer.php:137
507
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
508
  #: includes/views/html-tracking-info-design-preview.php:69
509
  #: templates/emails/tracking-info.php:152
510
  #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
511
  msgid "Track"
512
  msgstr "מעקב הזמנה"
513
 
514
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
515
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
516
  #, php-format
517
  msgid "Shipment - %s (out of %s)"
518
  msgstr ""
519
 
520
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
521
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
522
  msgid "Order: "
523
  msgstr ""
524
 
525
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
526
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
527
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
528
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
529
  msgid "Estimated Delivery Date: "
530
  msgstr ""
531
 
532
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
533
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
534
  msgid "Tracking Details"
535
  msgstr ""
536
 
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
549
- #, php-format
550
- msgid ""
551
- "We added many improvements to %1$s, please help and give us a review :) "
552
- "Thanks!"
553
- msgstr ""
554
 
555
  #: includes/class-wc-advanced-shipment-tracking.php:93
556
  #: includes/class-wc-advanced-shipment-tracking.php:244
@@ -587,6 +500,13 @@ msgstr "מספר מעקב"
587
  msgid "Date shipped:"
588
  msgstr "תאריך משלוח:"
589
 
 
 
 
 
 
 
 
590
  #: includes/class-wc-advanced-shipment-tracking.php:260
591
  #: templates/pip/tracking-info.php:23
592
  msgid "Click here to track your shipment"
@@ -599,10 +519,6 @@ msgstr "הקלק למעקב משלוח"
599
  msgid "Shipped on %s"
600
  msgstr "נשלח ב- %s"
601
 
602
- #: includes/class-wc-advanced-shipment-tracking.php:269
603
- msgid "Delete"
604
- msgstr "מחק"
605
-
606
  #: includes/class-wc-advanced-shipment-tracking.php:365
607
  msgid "Add Tracking Info"
608
  msgstr "הוסף פרטי מעקב"
@@ -623,27 +539,33 @@ msgstr "תצוגה מקדימה:"
623
  msgid "Click here to track shipment"
624
  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"
632
  msgstr "תצוגת מידע מעקב"
633
 
634
- #: includes/customizer/class-wcast-customizer.php:51
635
- msgid "This section lets you customize the Tracking Info display design."
636
- msgstr "סעיף זה מאפשר לך להתאים אישית את תצוגת התצוגה של פרטי המעקב."
637
-
638
- #: includes/customizer/class-wcast-customizer.php:96
639
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
640
- #: includes/views/admin_options_trackship_integration.php:120
641
- msgid "Out For Delivery"
642
  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"
@@ -758,7 +680,6 @@ msgstr "הזן כאן את נושא הדוא\"ל"
758
  #: includes/customizer/class-wc-intransit-email-customizer.php:243
759
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
760
  #: includes/customizer/class-wc-returntosender-email-customizer.php:244
761
- #: includes/emails/class-shipment-delivered-email.php:250
762
  msgid "Email heading"
763
  msgstr "כותרת דוא\"ל"
764
 
@@ -788,7 +709,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 +718,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 +727,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
@@ -854,7 +775,7 @@ msgstr ""
854
  #: includes/customizer/class-wc-intransit-email-customizer.php:415
855
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
856
  #: includes/customizer/class-wc-returntosender-email-customizer.php:417
857
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
858
  msgid "Please select preview order."
859
  msgstr ""
860
 
@@ -1019,14 +940,14 @@ msgid "Enable Return To Sender shipment status email"
1019
  msgstr ""
1020
 
1021
  #: includes/customizer/class-wc-tracking-info-customizer.php:134
1022
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1023
  #: includes/views/html-tracking-info-design-preview.php:45
1024
  #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1025
  msgid "Provider"
1026
  msgstr "ספק"
1027
 
1028
  #: includes/customizer/class-wc-tracking-info-customizer.php:135
1029
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1030
  #: includes/views/html-tracking-info-design-preview.php:46
1031
  #: templates/emails/tracking-info.php:134
1032
  #: templates/myaccount/view-order.php:111
@@ -1034,9 +955,9 @@ msgid "Tracking Number"
1034
  msgstr "מספר מעקב"
1035
 
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 ""
@@ -1044,145 +965,149 @@ msgid ""
1044
  "to preview and design the tracking info table."
1045
  msgstr ""
1046
 
1047
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
 
 
1048
  msgid "Tracking Display Position"
1049
  msgstr ""
1050
 
1051
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1052
  msgid "Before Order Details"
1053
  msgstr ""
1054
 
1055
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1056
  msgid "After Order Details"
1057
  msgstr ""
1058
 
1059
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1060
  msgid "Main Header text"
1061
  msgstr ""
1062
 
1063
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1064
  #: templates/pip/tracking-info.php:17
1065
  msgid "Tracking Information"
1066
  msgstr "מעקב אחרי מידע"
1067
 
1068
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1069
  msgid "Additional text after header"
1070
  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"
1078
  msgstr ""
1079
 
1080
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1081
  msgid "Hide date"
1082
  msgstr ""
1083
 
1084
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
1085
  msgid "Provider Header Text"
1086
  msgstr ""
1087
 
1088
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1089
  msgid "Tracking Number Header Text"
1090
  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"
1110
  msgstr ""
1111
 
1112
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1113
  msgid "Background color"
1114
  msgstr ""
1115
 
1116
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1117
  msgid "Border color"
1118
  msgstr ""
1119
 
1120
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1121
  msgid "Border size"
1122
  msgstr ""
1123
 
1124
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1125
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1126
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1127
- msgid "Select"
1128
- 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"
1136
  msgstr ""
1137
 
1138
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1139
  msgid "Right"
1140
  msgstr ""
1141
 
1142
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1143
  msgid "Center"
1144
  msgstr ""
1145
 
1146
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1147
  msgid "Table header font size"
1148
  msgstr "גודל גופן של כותרת הטבלה"
1149
 
1150
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1151
  msgid "Table header font color"
1152
  msgstr "צבע גופן של כותרת הטבלה"
1153
 
1154
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1155
  msgid "Table content font size"
1156
  msgstr "גודל גופן של תוכן טבלה"
1157
 
1158
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1159
  msgid "Table content font color"
1160
  msgstr "צבע גופן של תוכן טבלה"
1161
 
1162
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1163
  msgid "Content line height"
1164
  msgstr ""
1165
 
1166
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1167
  msgid "Content font weight"
1168
  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"
1176
  msgstr ""
1177
 
1178
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1179
  msgid "Track Link Background Color"
1180
  msgstr ""
1181
 
1182
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1183
  msgid "Track link Border"
1184
  msgstr ""
1185
 
 
 
 
 
1186
  #: includes/customizer/class-wc-tracking-page-customizer.php:167
1187
  msgid "Header Color"
1188
  msgstr ""
@@ -1229,41 +1154,8 @@ msgid ""
1229
  "delivered and usually indicate that their orders have been shipped."
1230
  msgstr ""
1231
 
1232
- #: includes/emails/class-shipment-delivered-email.php:228
1233
- msgid "Enable this email notification"
1234
- msgstr ""
1235
-
1236
- #: includes/emails/class-shipment-delivered-email.php:232
1237
- msgid "Recipient(s)"
1238
- msgstr ""
1239
-
1240
- #. %s: WP admin email
1241
- #: includes/emails/class-shipment-delivered-email.php:235
1242
- #, php-format
1243
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1244
- msgstr ""
1245
-
1246
- #: includes/emails/class-shipment-delivered-email.php:241
1247
- msgid "Subject"
1248
- msgstr ""
1249
-
1250
- #. %s: list of placeholders
1251
- #: includes/emails/class-shipment-delivered-email.php:245
1252
- #: includes/emails/class-shipment-delivered-email.php:254
1253
- #, php-format
1254
- msgid "Available placeholders: %s"
1255
- msgstr ""
1256
-
1257
- #: includes/emails/class-shipment-delivered-email.php:259
1258
- msgid "Email type"
1259
- msgstr ""
1260
-
1261
- #: includes/emails/class-shipment-delivered-email.php:261
1262
- msgid "Choose which format of email to send."
1263
- msgstr ""
1264
-
1265
  #: includes/emails/class-shipment-delivered-email.php:269
1266
- msgid "\" >Click Here</a>"
1267
  msgstr ""
1268
 
1269
  #: includes/emails/class-shipment-delivered-email.php:270
@@ -1280,157 +1172,203 @@ msgid ""
1280
  "added)"
1281
  msgstr "להחליף מידע מעקב אם קיים? (אם לא מסומנת, פרטי המעקב יתווספו)"
1282
 
1283
- #: includes/views/admin_options_bulk_upload.php:25
1284
- #: includes/views/admin_options_shipping_provider.php:112
1285
- #: includes/views/admin_options_shipping_provider.php:146
1286
  msgid "Upload"
1287
  msgstr "העלה"
1288
 
1289
- #: includes/views/admin_options_bulk_upload.php:28
1290
- #: includes/views/admin_options_trackship_integration.php:27
1291
- #: includes/views/admin_options_trackship_integration.php:45
1292
  msgid "Settings Saved."
1293
  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"
1301
  msgstr "הורד קובץ csv לדוגמה"
1302
 
1303
- #: includes/views/admin_options_bulk_upload.php:36
1304
  msgid ""
1305
  "For detailed instructions on how to upload tracking info in bulk, see our"
1306
  msgstr ""
1307
 
1308
- #: includes/views/admin_options_bulk_upload.php:36
1309
- msgid "documentation"
 
 
 
1310
  msgstr ""
1311
 
1312
- #: includes/views/admin_options_bulk_upload.php:38
1313
- msgid "Upload Progress - "
1314
- msgstr "העלאת התקדמות -"
1315
 
1316
- #: includes/views/admin_options_settings.php:7
1317
- #: includes/views/admin_options_trackship_integration.php:10
1318
- msgid "General"
1319
  msgstr ""
1320
 
1321
- #: includes/views/admin_options_settings.php:10
1322
- #: includes/views/admin_options_settings.php:19
 
 
 
1323
  msgid "Delivered Order Status"
1324
  msgstr ""
1325
 
1326
- #: includes/views/admin_options_settings.php:12
1327
- msgid "Tracking Info Display Designer"
1328
  msgstr ""
1329
 
1330
- #: includes/views/admin_options_settings.php:15
1331
- #: includes/views/admin_options_trackship_integration.php:19
1332
- msgid "General Settings"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1333
  msgstr ""
1334
 
1335
- #: includes/views/admin_options_settings.php:24
1336
- #: includes/views/admin_options_trackship_integration.php:25
1337
- #: includes/views/admin_options_trackship_integration.php:43
1338
- msgid "Save"
1339
- msgstr "שמירה"
1340
 
1341
- #: includes/views/admin_options_shipping_provider.php:94
 
 
 
 
1342
  msgid "Add Custom Shipping Provider"
1343
  msgstr "הוספת ספק משלוח ייחודי"
1344
 
1345
- #: includes/views/admin_options_shipping_provider.php:101
1346
- #: includes/views/admin_options_shipping_provider.php:135
1347
  msgid "Shiping Country"
1348
  msgstr ""
1349
 
1350
- #: includes/views/admin_options_shipping_provider.php:102
1351
- #: includes/views/admin_options_shipping_provider.php:136
1352
  msgid "Global"
1353
  msgstr ""
1354
 
1355
- #: includes/views/admin_options_shipping_provider.php:128
1356
  msgid "Edit Custom Shipping Provider"
1357
  msgstr ""
1358
 
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?"
1366
  msgstr ""
1367
 
1368
- #: includes/views/admin_options_shipping_provider.php:166
1369
  msgid "Providers Added"
1370
  msgstr ""
1371
 
1372
- #: includes/views/admin_options_shipping_provider.php:167
1373
  msgid "Providers Updated"
1374
  msgstr ""
1375
 
1376
- #: includes/views/admin_options_shipping_provider.php:168
1377
  msgid "Providers Deleted"
1378
  msgstr ""
1379
 
1380
- #: includes/views/admin_options_shipping_provider.php:171
1381
- msgid "Close"
1382
  msgstr ""
1383
 
1384
- #: includes/views/admin_options_trackship_integration.php:13
1385
- #: includes/views/admin_options_trackship_integration.php:35
1386
- msgid "Tracking Page"
1387
- msgstr "לינק למעקב"
1388
 
1389
- #: includes/views/admin_options_trackship_integration.php:16
1390
- msgid "Shipment Status Notifications"
 
 
 
 
 
 
 
1391
  msgstr ""
1392
 
1393
- #: includes/views/admin_options_trackship_integration.php:40
 
 
 
 
1394
  msgid "Click to preview the tracking page"
1395
  msgstr ""
1396
 
1397
- #: includes/views/admin_options_trackship_integration.php:41
1398
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1399
  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 ""
1407
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1408
  "the way."
1409
  msgstr ""
1410
 
1411
- #: includes/views/admin_options_trackship_integration.php:95
1412
  msgid "Shipment is returned to sender"
1413
  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"
1421
  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 ""
1429
  "You already have delivered email enabled, to enable this email you'll need "
1430
  "to disable the order status delivered in settings."
1431
  msgstr ""
1432
 
1433
- #: includes/views/admin_options_trackship_integration.php:151
1434
  msgid ""
1435
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1436
  "will try to deliver the package again."
@@ -1440,36 +1378,44 @@ msgstr ""
1440
  msgid "USPS"
1441
  msgstr "USPS"
1442
 
1443
- #: includes/views/zorem_admin_sidebar.php:8
1444
- msgid "Leave your review"
1445
- msgstr ""
1446
-
1447
  #: includes/views/zorem_admin_ts_sidebar.php:5
1448
  msgid "Dashboard"
1449
  msgstr ""
1450
 
1451
- #: includes/views/zorem_admin_ts_sidebar.php:7
1452
- msgid "Documentation"
1453
- msgstr ""
1454
-
1455
  #: templates/emails/tracking-info.php:138
1456
  msgid "Status"
1457
  msgstr "סטטוס"
1458
 
1459
- #: templates/emails/wcast-email-order-details.php:26
1460
  msgid "Order Details"
1461
  msgstr ""
1462
 
1463
  #. %s: Order ID.
1464
- #: templates/emails/wcast-email-order-details.php:42
1465
  #, php-format
1466
  msgid "Order number: %s"
1467
  msgstr ""
1468
 
1469
- #: templates/emails/wcast-email-order-details.php:49
1470
  msgid "Order date:"
1471
  msgstr ""
1472
 
1473
  #: templates/emails/plain/tracking-info.php:18
1474
  msgid "TRACKING INFORMATION"
1475
  msgstr "מעקב אחרי מידע"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-09-20 10:22+0000\n"
6
+ "PO-Revision-Date: 2019-09-20 10:22+0000\n"
7
  "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Hebrew\n"
9
  "Language: he_IL\n"
21
  "Shipment Tracking!"
22
  msgstr "יש להתקין ולהפעיל% sWooCommerce% s למעקב המשלוח המתקדם של WooCommerce!"
23
 
24
+ #: woocommerce-advanced-shipment-tracking.php:209
25
+ #, php-format
26
+ msgid "Your order was shipped with %s and your tracking code is: %s"
27
+ msgstr ""
28
+
29
+ #: woocommerce-advanced-shipment-tracking.php:413
30
+ #: includes/views/admin_options_settings.php:63
31
  #, php-format
32
  msgid ""
33
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
39
  msgstr ""
40
 
41
  #: includes/class-wc-advanced-shipment-tracking-admin.php:209
42
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1125
43
  msgid "Shipped"
44
  msgstr "נשלח"
45
 
56
 
57
  #: includes/class-wc-advanced-shipment-tracking-admin.php:250
58
  #: includes/class-wc-advanced-shipment-tracking-admin.php:279
59
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1601
60
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1805
61
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2212
62
  #: includes/customizer/class-wcast-customizer.php:104
63
  #: includes/customizer/class-wc-delivered-email-customizer.php:115
64
+ #: includes/views/admin_options_trackship_integration.php:183
65
  msgid "Delivered"
66
  msgstr "נמסרה ללקוח"
67
 
92
  msgid "Shipment status"
93
  msgstr "סטטוס המשלוח"
94
 
95
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:631
96
  msgid ""
97
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
98
  "100 orders."
99
  msgstr ""
100
 
101
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:665
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  msgid "Data saved successfully."
103
  msgstr "נשמר בהצלחה"
104
 
105
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:666
106
  msgid "Really delete this entry? This will not be undo."
107
  msgstr "באמת למחוק ערך זה? זה לא יהיה לבטל."
108
 
109
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:667
110
  msgid "You can upload only csv file."
111
  msgstr "ניתן לטעון רק קובץ csv."
112
 
113
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:668
114
  msgid "This browser does not support HTML5."
115
  msgstr "דפדפן זה אינו תומך ב- HTML5."
116
 
117
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:669
118
  msgid "Please upload a valid CSV file."
119
  msgstr "העלה קובץ CSV חוקי."
120
 
121
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:726
 
 
 
 
122
  msgid "Settings"
123
  msgstr "הגדרות"
124
 
125
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:729
126
+ msgid "Shipping Providers"
127
+ msgstr "ספקי שילוח"
128
+
129
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:732
130
  msgid "Bulk Upload"
131
  msgstr "העלאה המונית"
132
 
133
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:738
134
+ #: includes/views/admin_options_bulk_upload.php:53
135
+ #: includes/views/admin_options_trackship_integration.php:35
136
+ #: includes/views/zorem_admin_ts_sidebar.php:7
137
+ msgid "Documentation"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  msgstr ""
139
 
140
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:739
141
+ msgid "How to Video"
 
142
  msgstr ""
143
 
144
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:882
145
+ #: includes/views/admin_options_trackship_integration.php:23
146
+ msgid "Connected"
147
  msgstr ""
148
 
149
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:981
 
150
  msgid "Enable/Disable"
151
  msgstr "הפעל / השבת"
152
 
153
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:987
154
  msgid "Set order status Delivered when order is delivered"
155
  msgstr ""
156
 
157
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:994
158
  #, php-format
159
  msgid ""
160
+ "You have %s %s orders from the last 30 days, would you like to bulk send all "
161
+ "these orders to TrackShip?"
162
  msgstr ""
163
 
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:995
165
  msgid "Get Shipment Status"
166
  msgstr ""
167
 
168
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1027
169
  msgid ""
170
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
171
  "for the tracking page to work."
172
  msgstr ""
173
 
174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1035
175
  msgid "Select Tracking Page"
176
  msgstr ""
177
 
178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
 
 
 
 
 
179
  msgid "Use the tracking page in the customer email/my account tracking link"
180
+ msgstr "הפנה לקוחות לעמוד המעקב באתר שלך (באימייל אישור הזמנה ובחשבון לקוח)"
181
 
182
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1049
183
  msgid "Select primary color for tracking page"
184
  msgstr ""
185
 
186
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
187
  msgid "Select content border color for tracking page"
188
  msgstr ""
189
 
190
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1061
191
+ msgid "Hide tracking events details"
 
 
192
  msgstr ""
193
 
194
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1067
195
+ msgid "Remove TrackShip branding"
 
 
196
  msgstr ""
197
 
198
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1126
199
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
200
  msgstr ""
201
 
202
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1127
203
  msgid ""
204
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
 
 
 
 
 
 
205
  "will be selected by default when adding tracking info to orders."
206
  msgstr ""
207
 
208
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1130
209
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
 
 
210
  msgstr ""
211
 
212
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1131
213
+ msgid ""
214
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
215
+ "will be selected by default when adding tracking info to orders."
216
  msgstr ""
217
 
218
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1158
219
  msgid "Customer Invoice"
220
  msgstr ""
221
 
222
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1175
223
+ msgid "Rename the “Completed” Order status to “Shipped”"
224
+ msgstr "שנה את השם של סטטוס הזמנה 'הושלמה' ל- 'נשלחה'"
 
 
 
 
225
 
226
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
227
+ msgid "On which order status email to include the shipment tracking info?"
228
  msgstr ""
229
 
230
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1194
231
  msgid "Show tracking info in Invoice"
232
  msgstr ""
233
 
234
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1200
235
  msgid "Show tracking info in Packing Slip"
236
  msgstr ""
237
 
238
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1217
239
+ msgid "Enable custom order status “Delivered\""
240
+ msgstr ""
241
 
242
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
243
  msgid ""
244
  "if you enable the delivered item, you will have the option to send delivered "
245
  "email notifications."
246
  msgstr "אם תפעיל את הפריט שנמסר, תהיה לך אפשרות לשלוח הודעות דוא\"ל שנשלחו."
247
 
248
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1224
249
+ msgid "Delivered Label color"
 
 
 
 
 
 
250
  msgstr ""
251
 
252
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1230
253
+ msgid "Delivered Label font color"
 
 
 
 
 
 
254
  msgstr ""
255
 
256
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1233
257
+ msgid "Light"
 
 
 
 
 
 
258
  msgstr ""
259
 
260
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1234
261
+ msgid "Dark"
262
  msgstr ""
263
 
264
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
265
+ msgid "Enable the Delivered order status email"
 
 
 
 
 
 
266
  msgstr ""
267
 
268
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1567
269
  msgid "Get shipment status"
270
  msgstr ""
271
 
272
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1595
273
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2209
274
  #: includes/customizer/class-wcast-customizer.php:74
275
  #: includes/customizer/class-wc-intransit-email-customizer.php:115
276
+ #: includes/views/admin_options_trackship_integration.php:128
277
  msgid "In Transit"
278
  msgstr ""
279
 
280
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1598
281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2208
282
  #: includes/customizer/class-wcast-customizer.php:66
283
  msgid "Pre Transit"
284
  msgstr ""
285
 
286
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1604
287
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2211
288
+ #: includes/customizer/class-wcast-customizer.php:96
289
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
290
+ #: includes/views/admin_options_trackship_integration.php:169
291
+ msgid "Out For Delivery"
292
  msgstr ""
293
 
294
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1607
295
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2210
296
  #: includes/customizer/class-wcast-customizer.php:89
297
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
298
+ #: includes/views/admin_options_trackship_integration.php:156
299
  msgid "Available For Pickup"
300
  msgstr ""
301
 
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1610
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2216
304
  #: includes/customizer/class-wcast-customizer.php:82
305
  #: includes/customizer/class-wc-returntosender-email-customizer.php:116
306
+ #: includes/views/admin_options_trackship_integration.php:142
307
  msgid "Return To Sender"
308
  msgstr ""
309
 
310
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1613
311
  msgid "Delivery Failure"
312
  msgstr ""
313
 
314
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1616
315
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2207
316
  msgid "Unknown"
317
+ msgstr "לא ידוע"
318
 
319
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1619
320
  msgid "Pending TrackShip"
321
  msgstr ""
322
 
323
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
324
  msgid "Invalid Tracking"
325
  msgstr ""
326
 
327
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1625
328
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2215
329
+ msgid "Carrier Unsupported"
330
  msgstr ""
331
 
332
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1628
333
  msgid "Invalid User Key"
334
  msgstr ""
335
 
336
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1631
337
+ msgid "Wrong Shipping Provider"
338
+ msgstr ""
339
+
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1634
341
+ msgid "Deleted"
342
+ msgstr ""
343
+
344
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1703
345
  msgid "Resend delivered order notification"
346
  msgstr "שלח שוב את הודעת ההזמנה שנשלחו"
347
 
348
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1761
349
  msgid "Shipped Order"
350
+ msgstr "ההזמנה נשלחה"
351
 
352
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1784
353
  msgid "Mark order as delivered"
354
  msgstr ""
355
 
356
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1791
357
  msgid "Add Tracking"
358
  msgstr ""
359
 
360
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1817
361
  msgid "Change order status to"
362
  msgstr ""
363
 
364
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
365
+ #: includes/views/admin_options_shipping_provider.php:90
366
  #, php-format
367
  msgid "You don't have any %s shipping providers."
368
+ msgstr "לא הופעלו ספקי שילוח"
369
 
370
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2167
371
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2179
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
373
  msgid "view details"
374
+ msgstr "הצג פרטים"
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2168
377
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2180
378
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
379
  msgid "hide details"
380
  msgstr ""
381
 
382
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2213
 
 
 
 
 
 
 
 
383
  #: includes/customizer/class-wcast-customizer.php:112
384
  #: includes/customizer/class-wc-failure-email-customizer.php:113
385
+ #: includes/views/admin_options_trackship_integration.php:198
386
  msgid "Failed Attempt"
387
  msgstr ""
388
 
389
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2214
390
+ msgid "Cancelled"
391
  msgstr ""
392
 
393
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2217
394
+ #: includes/class-wc-advanced-shipment-tracking-front.php:467
395
+ #: includes/class-wc-advanced-shipment-tracking-front.php:827
396
  msgid "Invalid Tracking Number"
397
  msgstr ""
398
 
399
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2222
400
  msgid "Filter by shipment status"
401
  msgstr ""
402
 
403
+ #: includes/class-wc-advanced-shipment-tracking-front.php:140
404
  msgid ""
405
  "To track your order please enter your Order ID in the box below and press "
406
  "the \"Track\" button. This was given to you on your receipt and in the "
407
  "confirmation email you should have received."
408
  msgstr ""
409
 
410
+ #: includes/class-wc-advanced-shipment-tracking-front.php:141
411
  msgid "Order ID"
412
  msgstr ""
413
 
414
+ #: includes/class-wc-advanced-shipment-tracking-front.php:141
415
+ #: includes/class-wc-advanced-shipment-tracking-front.php:142
416
  msgid "Found in your order confirmation email."
417
  msgstr ""
418
 
419
+ #: includes/class-wc-advanced-shipment-tracking-front.php:142
420
  msgid "Order Email"
421
  msgstr ""
422
 
423
+ #: includes/class-wc-advanced-shipment-tracking-front.php:145
424
  #: includes/class-wc-advanced-shipment-tracking.php:260
425
+ #: includes/class-wc-advanced-shipment-tracking.php:654
426
+ #: includes/class-wc-advanced-shipment-tracking.php:776
427
  #: includes/customizer/class-wc-tracking-info-customizer.php:137
428
+ #: includes/customizer/class-wc-tracking-info-customizer.php:395
429
  #: includes/views/html-tracking-info-design-preview.php:69
430
  #: templates/emails/tracking-info.php:152
431
  #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
432
  msgid "Track"
433
  msgstr "מעקב הזמנה"
434
 
435
+ #: includes/class-wc-advanced-shipment-tracking-front.php:313
436
+ #: includes/class-wc-advanced-shipment-tracking-front.php:676
437
  #, php-format
438
  msgid "Shipment - %s (out of %s)"
439
  msgstr ""
440
 
441
+ #: includes/class-wc-advanced-shipment-tracking-front.php:317
442
+ #: includes/class-wc-advanced-shipment-tracking-front.php:680
443
  msgid "Order: "
444
  msgstr ""
445
 
446
+ #: includes/class-wc-advanced-shipment-tracking-front.php:326
447
+ #: includes/class-wc-advanced-shipment-tracking-front.php:330
448
+ #: includes/class-wc-advanced-shipment-tracking-front.php:689
449
+ #: includes/class-wc-advanced-shipment-tracking-front.php:693
450
  msgid "Estimated Delivery Date: "
451
  msgstr ""
452
 
453
+ #: includes/class-wc-advanced-shipment-tracking-front.php:439
454
+ #: includes/class-wc-advanced-shipment-tracking-front.php:799
455
  msgid "Tracking Details"
456
  msgstr ""
457
 
458
+ #: includes/class-wc-advanced-shipment-tracking-front.php:458
459
+ #: includes/class-wc-advanced-shipment-tracking-front.php:818
460
  msgid "view more"
461
+ msgstr "הצג עוד"
462
 
463
+ #: includes/class-wc-advanced-shipment-tracking-front.php:459
464
+ #: includes/class-wc-advanced-shipment-tracking-front.php:819
465
  msgid "view less"
466
+ msgstr "הצג פחות"
 
 
 
 
 
 
 
 
467
 
468
  #: includes/class-wc-advanced-shipment-tracking.php:93
469
  #: includes/class-wc-advanced-shipment-tracking.php:244
500
  msgid "Date shipped:"
501
  msgstr "תאריך משלוח:"
502
 
503
+ #: includes/class-wc-advanced-shipment-tracking.php:218
504
+ #: includes/class-wc-advanced-shipment-tracking.php:221
505
+ #: includes/class-wc-advanced-shipment-tracking.php:416
506
+ #: includes/class-wc-advanced-shipment-tracking.php:419
507
+ msgid "Y-m-d"
508
+ msgstr ""
509
+
510
  #: includes/class-wc-advanced-shipment-tracking.php:260
511
  #: templates/pip/tracking-info.php:23
512
  msgid "Click here to track your shipment"
519
  msgid "Shipped on %s"
520
  msgstr "נשלח ב- %s"
521
 
 
 
 
 
522
  #: includes/class-wc-advanced-shipment-tracking.php:365
523
  msgid "Add Tracking Info"
524
  msgstr "הוסף פרטי מעקב"
539
  msgid "Click here to track shipment"
540
  msgstr "לחץ כאן כדי לעקוב אחר המשלוח"
541
 
542
+ #: includes/class-wc-advanced-shipment-tracking.php:628
543
+ #, php-format
544
+ msgid ""
545
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
546
+ msgstr ""
547
+
548
+ #: includes/class-wc-advanced-shipment-tracking.php:966
549
+ #, php-format
550
+ msgid "Order was shipped with %s and tracking number is: %s"
551
+ msgstr ""
552
+
553
  #: includes/customizer/class-wcast-customizer.php:39
554
  msgid "Shipment Status Emails"
555
+ msgstr "התראות אימייל על שינוי סטטוס משלוח"
556
 
557
  #: includes/customizer/class-wcast-customizer.php:50
558
  msgid "Tracking info display"
559
  msgstr "תצוגת מידע מעקב"
560
 
561
+ #: includes/customizer/class-wcast-customizer.php:58
562
+ #: includes/customizer/class-wc-email-customizer.php:155
563
+ msgid "Delivered order status email"
 
 
 
 
 
564
  msgstr ""
565
 
566
  #: includes/customizer/class-wcast-customizer.php:352
567
  msgid "Select order to preview"
568
+ msgstr "בחר הזמנה לצפייה"
569
 
570
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
571
  msgid "Your order #{order_number} is available for pickup"
680
  #: includes/customizer/class-wc-intransit-email-customizer.php:243
681
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
682
  #: includes/customizer/class-wc-returntosender-email-customizer.php:244
 
683
  msgid "Email heading"
684
  msgstr "כותרת דוא\"ל"
685
 
709
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
710
  #: includes/customizer/class-wc-returntosender-email-customizer.php:282
711
  msgid "Show order details"
712
+ msgstr "הצג פרטי הזמנה"
713
 
714
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
715
  #: includes/customizer/class-wc-delivered-email-customizer.php:297
718
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
719
  #: includes/customizer/class-wc-returntosender-email-customizer.php:298
720
  msgid "Show billing address"
721
+ msgstr "הצג כתובת למשלוח"
722
 
723
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
724
  #: includes/customizer/class-wc-delivered-email-customizer.php:314
727
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
728
  #: includes/customizer/class-wc-returntosender-email-customizer.php:315
729
  msgid "Show shipping address"
730
+ msgstr "הצג כתובת למשלוח"
731
 
732
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
733
  #: includes/customizer/class-wc-delivered-email-customizer.php:330
775
  #: includes/customizer/class-wc-intransit-email-customizer.php:415
776
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
777
  #: includes/customizer/class-wc-returntosender-email-customizer.php:417
778
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
779
  msgid "Please select preview order."
780
  msgstr ""
781
 
940
  msgstr ""
941
 
942
  #: includes/customizer/class-wc-tracking-info-customizer.php:134
943
+ #: includes/customizer/class-wc-tracking-info-customizer.php:315
944
  #: includes/views/html-tracking-info-design-preview.php:45
945
  #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
946
  msgid "Provider"
947
  msgstr "ספק"
948
 
949
  #: includes/customizer/class-wc-tracking-info-customizer.php:135
950
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
951
  #: includes/views/html-tracking-info-design-preview.php:46
952
  #: templates/emails/tracking-info.php:134
953
  #: templates/myaccount/view-order.php:111
955
  msgstr "מספר מעקב"
956
 
957
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
958
+ #: includes/customizer/class-wc-tracking-info-customizer.php:358
959
  msgid "Shipped Date"
960
+ msgstr "תאריך משלוח"
961
 
962
  #: includes/customizer/class-wc-tracking-info-customizer.php:162
963
  msgid ""
965
  "to preview and design the tracking info table."
966
  msgstr ""
967
 
968
+ #: includes/customizer/class-wc-tracking-info-customizer.php:181
969
+ #: includes/views/admin_options_settings.php:10
970
+ #: includes/views/admin_options_trackship_integration.php:47
971
+ msgid "General Settings"
972
+ msgstr ""
973
+
974
+ #: includes/customizer/class-wc-tracking-info-customizer.php:196
975
  msgid "Tracking Display Position"
976
  msgstr ""
977
 
978
+ #: includes/customizer/class-wc-tracking-info-customizer.php:200
979
  msgid "Before Order Details"
980
  msgstr ""
981
 
982
+ #: includes/customizer/class-wc-tracking-info-customizer.php:201
983
  msgid "After Order Details"
984
  msgstr ""
985
 
986
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
987
  msgid "Main Header text"
988
  msgstr ""
989
 
990
+ #: includes/customizer/class-wc-tracking-info-customizer.php:223
991
  #: templates/pip/tracking-info.php:17
992
  msgid "Tracking Information"
993
  msgstr "מעקב אחרי מידע"
994
 
995
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
996
  msgid "Additional text after header"
997
  msgstr "טקסט נוסף אחרי כותרת"
998
 
999
+ #: includes/customizer/class-wc-tracking-info-customizer.php:259
1000
+ msgid "Table Content"
1001
  msgstr ""
1002
 
1003
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1004
  msgid "Display Shipment Provider image"
1005
  msgstr ""
1006
 
1007
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
1008
  msgid "Hide date"
1009
  msgstr ""
1010
 
1011
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
1012
  msgid "Provider Header Text"
1013
  msgstr ""
1014
 
1015
+ #: includes/customizer/class-wc-tracking-info-customizer.php:330
1016
  msgid "Tracking Number Header Text"
1017
  msgstr ""
1018
 
1019
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
1020
  msgid "Shipped Date Header Text"
1021
+ msgstr "טקסט כותרת לעמודת תאריך משלוח"
1022
 
1023
+ #: includes/customizer/class-wc-tracking-info-customizer.php:372
1024
  msgid "Track Label"
1025
+ msgstr "טקסט של כפתור מעקב משלוח"
1026
 
1027
+ #: includes/customizer/class-wc-tracking-info-customizer.php:388
1028
  msgid "Track Header Text"
1029
+ msgstr "כותרת של כפתור מעקב משלוח"
1030
 
1031
+ #: includes/customizer/class-wc-tracking-info-customizer.php:410
1032
  msgid "Table Design"
1033
+ msgstr "עיצוב טבלה"
1034
 
1035
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1036
  msgid "Padding"
1037
  msgstr ""
1038
 
1039
+ #: includes/customizer/class-wc-tracking-info-customizer.php:445
1040
  msgid "Background color"
1041
  msgstr ""
1042
 
1043
+ #: includes/customizer/class-wc-tracking-info-customizer.php:473
1044
  msgid "Border color"
1045
  msgstr ""
1046
 
1047
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1048
  msgid "Border size"
1049
  msgstr ""
1050
 
1051
+ #: includes/customizer/class-wc-tracking-info-customizer.php:513
 
 
 
 
 
 
1052
  msgid "Table text align"
1053
+ msgstr "יישור טקסט טבלה"
1054
 
1055
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1056
  msgid "Left"
1057
  msgstr ""
1058
 
1059
+ #: includes/customizer/class-wc-tracking-info-customizer.php:519
1060
  msgid "Right"
1061
  msgstr ""
1062
 
1063
+ #: includes/customizer/class-wc-tracking-info-customizer.php:520
1064
  msgid "Center"
1065
  msgstr ""
1066
 
1067
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1068
  msgid "Table header font size"
1069
  msgstr "גודל גופן של כותרת הטבלה"
1070
 
1071
+ #: includes/customizer/class-wc-tracking-info-customizer.php:558
1072
  msgid "Table header font color"
1073
  msgstr "צבע גופן של כותרת הטבלה"
1074
 
1075
+ #: includes/customizer/class-wc-tracking-info-customizer.php:574
1076
  msgid "Table content font size"
1077
  msgstr "גודל גופן של תוכן טבלה"
1078
 
1079
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1080
  msgid "Table content font color"
1081
  msgstr "צבע גופן של תוכן טבלה"
1082
 
1083
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1084
  msgid "Content line height"
1085
  msgstr ""
1086
 
1087
+ #: includes/customizer/class-wc-tracking-info-customizer.php:628
1088
  msgid "Content font weight"
1089
  msgstr ""
1090
 
1091
+ #: includes/customizer/class-wc-tracking-info-customizer.php:650
1092
+ msgid "Track Button Design"
1093
  msgstr ""
1094
 
1095
+ #: includes/customizer/class-wc-tracking-info-customizer.php:664
1096
  msgid "Track Link Font Color"
1097
  msgstr ""
1098
 
1099
+ #: includes/customizer/class-wc-tracking-info-customizer.php:680
1100
  msgid "Track Link Background Color"
1101
  msgstr ""
1102
 
1103
+ #: includes/customizer/class-wc-tracking-info-customizer.php:695
1104
  msgid "Track link Border"
1105
  msgstr ""
1106
 
1107
+ #: includes/customizer/class-wc-tracking-page-customizer.php:150
1108
+ msgid "Remove Trackship branding from tracking page"
1109
+ msgstr ""
1110
+
1111
  #: includes/customizer/class-wc-tracking-page-customizer.php:167
1112
  msgid "Header Color"
1113
  msgstr ""
1154
  "delivered and usually indicate that their orders have been shipped."
1155
  msgstr ""
1156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1157
  #: includes/emails/class-shipment-delivered-email.php:269
1158
+ msgid "Click Here"
1159
  msgstr ""
1160
 
1161
  #: includes/emails/class-shipment-delivered-email.php:270
1172
  "added)"
1173
  msgstr "להחליף מידע מעקב אם קיים? (אם לא מסומנת, פרטי המעקב יתווספו)"
1174
 
1175
+ #: includes/views/admin_options_bulk_upload.php:24
1176
+ #: includes/views/admin_options_shipping_provider.php:114
1177
+ #: includes/views/admin_options_shipping_provider.php:148
1178
  msgid "Upload"
1179
  msgstr "העלה"
1180
 
1181
+ #: includes/views/admin_options_bulk_upload.php:26
 
 
1182
  msgid "Settings Saved."
1183
  msgstr "הגדרות נשמרו."
1184
 
1185
+ #: includes/views/admin_options_bulk_upload.php:36
1186
+ msgid "Upload Progress - "
1187
+ msgstr "העלאת התקדמות -"
1188
+
1189
+ #: includes/views/admin_options_bulk_upload.php:40
1190
+ msgid "Sample CSV"
1191
  msgstr ""
1192
 
1193
+ #: includes/views/admin_options_bulk_upload.php:45
1194
+ msgid "You can download an example of the csv file:"
1195
+ msgstr "ניתן להוריד דוגמא של קובץ ה-CSV:"
1196
+
1197
+ #: includes/views/admin_options_bulk_upload.php:48
1198
  msgid "Download sample csv file"
1199
  msgstr "הורד קובץ csv לדוגמה"
1200
 
1201
+ #: includes/views/admin_options_bulk_upload.php:53
1202
  msgid ""
1203
  "For detailed instructions on how to upload tracking info in bulk, see our"
1204
  msgstr ""
1205
 
1206
+ #: includes/views/admin_options_settings.php:21
1207
+ #: includes/views/admin_options_settings.php:69
1208
+ #: includes/views/admin_options_trackship_integration.php:58
1209
+ #: includes/views/admin_options_trackship_integration.php:89
1210
+ msgid "Save Changes"
1211
  msgstr ""
1212
 
1213
+ #: includes/views/admin_options_settings.php:35
1214
+ msgid "Tracking Info Display"
1215
+ msgstr ""
1216
 
1217
+ #: includes/views/admin_options_settings.php:44
1218
+ msgid "You can customize the tracking info display on emails and my account"
 
1219
  msgstr ""
1220
 
1221
+ #: includes/views/admin_options_settings.php:47
1222
+ msgid "Launch Customizer"
1223
+ msgstr ""
1224
+
1225
+ #: includes/views/admin_options_settings.php:57
1226
  msgid "Delivered Order Status"
1227
  msgstr ""
1228
 
1229
+ #: includes/views/admin_options_shipping_provider.php:7
1230
+ msgid "Active"
1231
  msgstr ""
1232
 
1233
+ #: includes/views/admin_options_shipping_provider.php:8
1234
+ msgid "Inactive"
1235
+ msgstr ""
1236
+
1237
+ #: includes/views/admin_options_shipping_provider.php:9
1238
+ msgid "Custom"
1239
+ msgstr ""
1240
+
1241
+ #: includes/views/admin_options_shipping_provider.php:10
1242
+ msgid "All"
1243
+ msgstr ""
1244
+
1245
+ #: includes/views/admin_options_shipping_provider.php:16
1246
+ msgid "Add Custom Provider"
1247
+ msgstr ""
1248
+
1249
+ #: includes/views/admin_options_shipping_provider.php:17
1250
+ msgid "Sync Provider List"
1251
+ msgstr ""
1252
+
1253
+ #: includes/views/admin_options_shipping_provider.php:18
1254
+ msgid "Reset"
1255
+ msgstr ""
1256
+
1257
+ #: includes/views/admin_options_shipping_provider.php:18
1258
+ msgid "active"
1259
  msgstr ""
1260
 
1261
+ #: includes/views/admin_options_shipping_provider.php:18
1262
+ msgid "inactive"
1263
+ msgstr ""
 
 
1264
 
1265
+ #: includes/views/admin_options_shipping_provider.php:22
1266
+ msgid "Search by provider / country"
1267
+ msgstr ""
1268
+
1269
+ #: includes/views/admin_options_shipping_provider.php:96
1270
  msgid "Add Custom Shipping Provider"
1271
  msgstr "הוספת ספק משלוח ייחודי"
1272
 
1273
+ #: includes/views/admin_options_shipping_provider.php:103
1274
+ #: includes/views/admin_options_shipping_provider.php:137
1275
  msgid "Shiping Country"
1276
  msgstr ""
1277
 
1278
+ #: includes/views/admin_options_shipping_provider.php:104
1279
+ #: includes/views/admin_options_shipping_provider.php:138
1280
  msgid "Global"
1281
  msgstr ""
1282
 
1283
+ #: includes/views/admin_options_shipping_provider.php:130
1284
  msgid "Edit Custom Shipping Provider"
1285
  msgstr ""
1286
 
1287
+ #: includes/views/admin_options_shipping_provider.php:165
1288
+ #: includes/views/admin_options_shipping_provider.php:172
1289
  msgid "Sync Providers"
1290
+ msgstr "סנכרן רשימת ספקי שילוח"
1291
 
1292
+ #: includes/views/admin_options_shipping_provider.php:166
1293
  msgid "Do you really want to sync all providers?"
1294
  msgstr ""
1295
 
1296
+ #: includes/views/admin_options_shipping_provider.php:168
1297
  msgid "Providers Added"
1298
  msgstr ""
1299
 
1300
+ #: includes/views/admin_options_shipping_provider.php:169
1301
  msgid "Providers Updated"
1302
  msgstr ""
1303
 
1304
+ #: includes/views/admin_options_shipping_provider.php:170
1305
  msgid "Providers Deleted"
1306
  msgstr ""
1307
 
1308
+ #: includes/views/admin_options_trackship_integration.php:12
1309
+ msgid "Connection status"
1310
  msgstr ""
1311
 
1312
+ #: includes/views/admin_options_trackship_integration.php:19
1313
+ msgid "TrackShip Connection Status"
1314
+ msgstr ""
 
1315
 
1316
+ #: includes/views/admin_options_trackship_integration.php:30
1317
+ msgid ""
1318
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
1319
+ "automate your post shipping operations and get tracking and delivery status "
1320
+ "updates directly in the WooCommerce admin."
1321
+ msgstr ""
1322
+
1323
+ #: includes/views/admin_options_trackship_integration.php:36
1324
+ msgid "TrackShip Dashboard"
1325
  msgstr ""
1326
 
1327
+ #: includes/views/admin_options_trackship_integration.php:72
1328
+ msgid "Tracking Page"
1329
+ msgstr "לינק למעקב"
1330
+
1331
+ #: includes/views/admin_options_trackship_integration.php:82
1332
  msgid "Click to preview the tracking page"
1333
  msgstr ""
1334
 
1335
+ #: includes/views/admin_options_trackship_integration.php:83
1336
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1337
  msgstr ""
1338
 
1339
+ #: includes/views/admin_options_trackship_integration.php:102
1340
  msgid "Shipment Status Notifications "
1341
+ msgstr "התראות סטטוס משלוח"
1342
 
1343
+ #: includes/views/admin_options_trackship_integration.php:130
1344
  msgid ""
1345
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1346
  "the way."
1347
  msgstr ""
1348
 
1349
+ #: includes/views/admin_options_trackship_integration.php:144
1350
  msgid "Shipment is returned to sender"
1351
  msgstr ""
1352
 
1353
+ #: includes/views/admin_options_trackship_integration.php:158
1354
  msgid "The shipment is ready to pickup."
1355
+ msgstr "המשלוח מוכן לאיסוף"
1356
 
1357
+ #: includes/views/admin_options_trackship_integration.php:171
1358
  msgid "Carrier is about to deliver the shipment"
1359
  msgstr ""
1360
 
1361
+ #: includes/views/admin_options_trackship_integration.php:185
1362
  msgid "The shipment was delivered successfully"
1363
+ msgstr "המשלוח נמסר ללקוח"
1364
 
1365
+ #: includes/views/admin_options_trackship_integration.php:186
1366
  msgid ""
1367
  "You already have delivered email enabled, to enable this email you'll need "
1368
  "to disable the order status delivered in settings."
1369
  msgstr ""
1370
 
1371
+ #: includes/views/admin_options_trackship_integration.php:200
1372
  msgid ""
1373
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1374
  "will try to deliver the package again."
1378
  msgid "USPS"
1379
  msgstr "USPS"
1380
 
 
 
 
 
1381
  #: includes/views/zorem_admin_ts_sidebar.php:5
1382
  msgid "Dashboard"
1383
  msgstr ""
1384
 
 
 
 
 
1385
  #: templates/emails/tracking-info.php:138
1386
  msgid "Status"
1387
  msgstr "סטטוס"
1388
 
1389
+ #: templates/emails/wcast-email-order-details.php:31
1390
  msgid "Order Details"
1391
  msgstr ""
1392
 
1393
  #. %s: Order ID.
1394
+ #: templates/emails/wcast-email-order-details.php:47
1395
  #, php-format
1396
  msgid "Order number: %s"
1397
  msgstr ""
1398
 
1399
+ #: templates/emails/wcast-email-order-details.php:54
1400
  msgid "Order date:"
1401
  msgstr ""
1402
 
1403
  #: templates/emails/plain/tracking-info.php:18
1404
  msgid "TRACKING INFORMATION"
1405
  msgstr "מעקב אחרי מידע"
1406
+
1407
+ #. Name of the plugin
1408
+ msgid "Advanced Shipment Tracking for WooCommerce"
1409
+ msgstr ""
1410
+
1411
+ #. Description of the plugin
1412
+ msgid ""
1413
+ "Add shipment tracking information to your WooCommerce orders and provide "
1414
+ "customers with an easy way to track their orders. Shipment tracking Info "
1415
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1416
+ "order complete email."
1417
+ msgstr ""
1418
+
1419
+ #. Author of the plugin
1420
+ msgid "zorem"
1421
+ msgstr ""
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"
@@ -22,8 +22,13 @@ msgid ""
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 +40,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 +57,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
 
@@ -88,469 +93,380 @@ msgstr ""
88
  msgid "Shipment status"
89
  msgstr ""
90
 
91
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
92
  msgid ""
93
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
94
  "100 orders."
95
  msgstr ""
96
 
97
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
98
- msgid "Order"
99
- msgstr ""
100
-
101
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
102
- msgid "Item"
103
- msgstr ""
104
-
105
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
106
- msgid "Line Item"
107
- msgstr ""
108
-
109
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
110
- msgid "Class"
111
- msgstr ""
112
-
113
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
114
- msgid "Delete the selected rates?"
115
- msgstr ""
116
-
117
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
118
- msgid "Duplicate the selected rates?"
119
- msgstr ""
120
-
121
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
122
- 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
 
130
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
131
  msgid "Really delete this entry? This will not be undo."
132
  msgstr ""
133
 
134
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
135
  msgid "You can upload only csv file."
136
  msgstr ""
137
 
138
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
139
  msgid "This browser does not support HTML5."
140
  msgstr ""
141
 
142
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
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 "
348
- "deactivate the plugin, you must register this order status in function.php "
349
- "in order to see these orders in the orders admin. You can find the snippet "
350
- "to use in functions.php %s or we can set to change all your \"delivered\" "
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 +504,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"
@@ -600,10 +523,6 @@ msgstr ""
600
  msgid "Shipped on %s"
601
  msgstr ""
602
 
603
- #: includes/class-wc-advanced-shipment-tracking.php:269
604
- msgid "Delete"
605
- msgstr ""
606
-
607
  #: includes/class-wc-advanced-shipment-tracking.php:365
608
  msgid "Add Tracking Info"
609
  msgstr ""
@@ -624,6 +543,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,14 +562,9 @@ 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
 
645
  #: includes/customizer/class-wcast-customizer.php:352
@@ -757,7 +682,6 @@ msgstr ""
757
  #: includes/customizer/class-wc-intransit-email-customizer.php:243
758
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
759
  #: includes/customizer/class-wc-returntosender-email-customizer.php:244
760
- #: includes/emails/class-shipment-delivered-email.php:250
761
  msgid "Email heading"
762
  msgstr ""
763
 
@@ -853,7 +777,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 +942,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 +957,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 +967,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 ""
@@ -1228,41 +1156,8 @@ msgid ""
1228
  "delivered and usually indicate that their orders have been shipped."
1229
  msgstr ""
1230
 
1231
- #: includes/emails/class-shipment-delivered-email.php:228
1232
- msgid "Enable this email notification"
1233
- msgstr ""
1234
-
1235
- #: includes/emails/class-shipment-delivered-email.php:232
1236
- msgid "Recipient(s)"
1237
- msgstr ""
1238
-
1239
- #. %s: WP admin email
1240
- #: includes/emails/class-shipment-delivered-email.php:235
1241
- #, php-format
1242
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1243
- msgstr ""
1244
-
1245
- #: includes/emails/class-shipment-delivered-email.php:241
1246
- msgid "Subject"
1247
- msgstr ""
1248
-
1249
- #. %s: list of placeholders
1250
- #: includes/emails/class-shipment-delivered-email.php:245
1251
- #: includes/emails/class-shipment-delivered-email.php:254
1252
- #, php-format
1253
- msgid "Available placeholders: %s"
1254
- msgstr ""
1255
-
1256
- #: includes/emails/class-shipment-delivered-email.php:259
1257
- msgid "Email type"
1258
- msgstr ""
1259
-
1260
- #: includes/emails/class-shipment-delivered-email.php:261
1261
- msgid "Choose which format of email to send."
1262
- msgstr ""
1263
-
1264
  #: includes/emails/class-shipment-delivered-email.php:269
1265
- msgid "\" >Click Here</a>"
1266
  msgstr ""
1267
 
1268
  #: includes/emails/class-shipment-delivered-email.php:270
@@ -1279,157 +1174,203 @@ 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."
@@ -1439,36 +1380,44 @@ msgstr ""
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
 
1472
  #: templates/emails/plain/tracking-info.php:18
1473
  msgid "TRACKING INFORMATION"
1474
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  msgstr ""
4
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2019-09-20 10:53+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"
22
  "Shipment Tracking!"
23
  msgstr ""
24
 
25
+ #: woocommerce-advanced-shipment-tracking.php:209
26
+ #, php-format
27
+ msgid "Your order was shipped with %s and your tracking code is: %s"
28
+ msgstr ""
29
+
30
+ #: woocommerce-advanced-shipment-tracking.php:413
31
+ #: includes/views/admin_options_settings.php:63
32
  #, php-format
33
  msgid ""
34
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
40
  msgstr ""
41
 
42
  #: includes/class-wc-advanced-shipment-tracking-admin.php:209
43
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1125
44
  msgid "Shipped"
45
  msgstr ""
46
 
57
 
58
  #: includes/class-wc-advanced-shipment-tracking-admin.php:250
59
  #: includes/class-wc-advanced-shipment-tracking-admin.php:279
60
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1601
61
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1805
62
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2212
63
  #: includes/customizer/class-wcast-customizer.php:104
64
  #: includes/customizer/class-wc-delivered-email-customizer.php:115
65
+ #: includes/views/admin_options_trackship_integration.php:183
66
  msgid "Delivered"
67
  msgstr ""
68
 
93
  msgid "Shipment status"
94
  msgstr ""
95
 
96
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:631
97
  msgid ""
98
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
99
  "100 orders."
100
  msgstr ""
101
 
102
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:665
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  msgid "Data saved successfully."
104
  msgstr ""
105
 
106
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:666
107
  msgid "Really delete this entry? This will not be undo."
108
  msgstr ""
109
 
110
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:667
111
  msgid "You can upload only csv file."
112
  msgstr ""
113
 
114
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:668
115
  msgid "This browser does not support HTML5."
116
  msgstr ""
117
 
118
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:669
119
  msgid "Please upload a valid CSV file."
120
  msgstr ""
121
 
122
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:726
 
 
 
 
123
  msgid "Settings"
124
  msgstr ""
125
 
126
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:729
127
+ msgid "Shipping Providers"
 
 
 
 
 
 
 
 
128
  msgstr ""
129
 
130
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:732
131
+ msgid "Bulk Upload"
 
 
132
  msgstr ""
133
 
134
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:738
135
+ #: includes/views/admin_options_bulk_upload.php:53
136
+ #: includes/views/admin_options_trackship_integration.php:35
137
+ #: includes/views/zorem_admin_ts_sidebar.php:7
138
+ msgid "Documentation"
139
  msgstr ""
140
 
141
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:739
142
+ msgid "How to Video"
 
143
  msgstr ""
144
 
145
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:882
146
+ #: includes/views/admin_options_trackship_integration.php:23
147
+ msgid "Connected"
148
  msgstr ""
149
 
150
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:981
 
151
  msgid "Enable/Disable"
152
  msgstr ""
153
 
154
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:987
155
  msgid "Set order status Delivered when order is delivered"
156
  msgstr ""
157
 
158
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:994
159
  #, php-format
160
  msgid ""
161
+ "You have %s %s orders from the last 30 days, would you like to bulk send all "
162
+ "these orders to TrackShip?"
163
  msgstr ""
164
 
165
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:995
166
  msgid "Get Shipment Status"
167
  msgstr ""
168
 
169
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1027
170
  msgid ""
171
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
172
  "for the tracking page to work."
173
  msgstr ""
174
 
175
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1035
176
  msgid "Select Tracking Page"
177
  msgstr ""
178
 
179
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
 
 
 
 
 
180
  msgid "Use the tracking page in the customer email/my account tracking link"
181
  msgstr ""
182
 
183
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1049
184
  msgid "Select primary color for tracking page"
185
  msgstr ""
186
 
187
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
188
  msgid "Select content border color for tracking page"
189
  msgstr ""
190
 
191
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1061
192
+ msgid "Hide tracking events details"
 
 
 
 
 
 
 
 
193
  msgstr ""
194
 
195
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1067
196
+ msgid "Remove TrackShip branding"
197
  msgstr ""
198
 
199
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1126
200
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
 
 
201
  msgstr ""
202
 
203
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1127
204
  msgid ""
205
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
206
  "will be selected by default when adding tracking info to orders."
207
  msgstr ""
208
 
209
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1130
210
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
 
 
211
  msgstr ""
212
 
213
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1131
214
+ msgid ""
215
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
216
+ "will be selected by default when adding tracking info to orders."
217
  msgstr ""
218
 
219
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1158
220
  msgid "Customer Invoice"
221
  msgstr ""
222
 
223
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1175
224
+ msgid "Rename the “Completed” Order status to “Shipped”"
 
 
 
 
225
  msgstr ""
226
 
227
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
228
+ msgid "On which order status email to include the shipment tracking info?"
229
  msgstr ""
230
 
231
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1194
232
  msgid "Show tracking info in Invoice"
233
  msgstr ""
234
 
235
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1200
236
  msgid "Show tracking info in Packing Slip"
237
  msgstr ""
238
 
239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1217
240
+ msgid "Enable custom order status “Delivered\""
241
  msgstr ""
242
 
243
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
244
  msgid ""
245
  "if you enable the delivered item, you will have the option to send delivered "
246
  "email notifications."
247
  msgstr ""
248
 
249
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1224
250
+ msgid "Delivered Label color"
251
  msgstr ""
252
 
253
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1230
254
+ msgid "Delivered Label font color"
 
 
255
  msgstr ""
256
 
257
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1233
258
+ msgid "Light"
 
 
 
 
 
 
259
  msgstr ""
260
 
261
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1234
262
+ msgid "Dark"
 
 
 
 
 
 
 
 
 
 
263
  msgstr ""
264
 
265
  #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
266
+ msgid "Enable the Delivered order status email"
 
 
 
 
 
 
267
  msgstr ""
268
 
269
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1567
270
  msgid "Get shipment status"
271
  msgstr ""
272
 
273
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1595
274
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2209
275
  #: includes/customizer/class-wcast-customizer.php:74
276
  #: includes/customizer/class-wc-intransit-email-customizer.php:115
277
+ #: includes/views/admin_options_trackship_integration.php:128
278
  msgid "In Transit"
279
  msgstr ""
280
 
281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1598
282
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2208
283
  #: includes/customizer/class-wcast-customizer.php:66
284
  msgid "Pre Transit"
285
  msgstr ""
286
 
287
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1604
288
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2211
289
+ #: includes/customizer/class-wcast-customizer.php:96
290
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
291
+ #: includes/views/admin_options_trackship_integration.php:169
292
+ msgid "Out For Delivery"
293
  msgstr ""
294
 
295
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1607
296
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2210
297
  #: includes/customizer/class-wcast-customizer.php:89
298
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
299
+ #: includes/views/admin_options_trackship_integration.php:156
300
  msgid "Available For Pickup"
301
  msgstr ""
302
 
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1610
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2216
305
  #: includes/customizer/class-wcast-customizer.php:82
306
  #: includes/customizer/class-wc-returntosender-email-customizer.php:116
307
+ #: includes/views/admin_options_trackship_integration.php:142
308
  msgid "Return To Sender"
309
  msgstr ""
310
 
311
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1613
312
  msgid "Delivery Failure"
313
  msgstr ""
314
 
315
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1616
316
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2207
317
  msgid "Unknown"
318
  msgstr ""
319
 
320
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1619
321
  msgid "Pending TrackShip"
322
  msgstr ""
323
 
324
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1622
325
  msgid "Invalid Tracking"
326
  msgstr ""
327
 
328
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1625
329
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2215
330
+ msgid "Carrier Unsupported"
331
  msgstr ""
332
 
333
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1628
334
  msgid "Invalid User Key"
335
  msgstr ""
336
 
337
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1631
338
+ msgid "Wrong Shipping Provider"
339
+ msgstr ""
340
+
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1634
342
+ msgid "Deleted"
343
+ msgstr ""
344
+
345
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1703
346
  msgid "Resend delivered order notification"
347
  msgstr ""
348
 
349
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1761
350
  msgid "Shipped Order"
351
  msgstr ""
352
 
353
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1784
354
  msgid "Mark order as delivered"
355
  msgstr ""
356
 
357
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1791
358
  msgid "Add Tracking"
359
  msgstr ""
360
 
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1817
362
  msgid "Change order status to"
363
  msgstr ""
364
 
365
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
366
+ #: includes/views/admin_options_shipping_provider.php:90
367
  #, php-format
368
  msgid "You don't have any %s shipping providers."
369
  msgstr ""
370
 
371
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2167
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2179
373
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
374
  msgid "view details"
375
  msgstr ""
376
 
377
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2168
378
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2180
379
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
380
  msgid "hide details"
381
  msgstr ""
382
 
383
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2213
 
 
 
 
 
 
 
 
384
  #: includes/customizer/class-wcast-customizer.php:112
385
  #: includes/customizer/class-wc-failure-email-customizer.php:113
386
+ #: includes/views/admin_options_trackship_integration.php:198
387
  msgid "Failed Attempt"
388
  msgstr ""
389
 
390
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2214
391
+ msgid "Cancelled"
392
  msgstr ""
393
 
394
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2217
395
+ #: includes/class-wc-advanced-shipment-tracking-front.php:827
 
396
  msgid "Invalid Tracking Number"
397
  msgstr ""
398
 
399
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2222
400
  msgid "Filter by shipment status"
401
  msgstr ""
402
 
403
+ #: includes/class-wc-advanced-shipment-tracking-front.php:140
404
  msgid ""
405
  "To track your order please enter your Order ID in the box below and press "
406
  "the \"Track\" button. This was given to you on your receipt and in the "
407
  "confirmation email you should have received."
408
  msgstr ""
409
 
410
+ #: includes/class-wc-advanced-shipment-tracking-front.php:141
411
  msgid "Order ID"
412
  msgstr ""
413
 
414
+ #: includes/class-wc-advanced-shipment-tracking-front.php:141
415
+ #: includes/class-wc-advanced-shipment-tracking-front.php:142
416
  msgid "Found in your order confirmation email."
417
  msgstr ""
418
 
419
+ #: includes/class-wc-advanced-shipment-tracking-front.php:142
420
  msgid "Order Email"
421
  msgstr ""
422
 
423
+ #: includes/class-wc-advanced-shipment-tracking-front.php:145
424
  #: includes/class-wc-advanced-shipment-tracking.php:260
425
+ #: includes/class-wc-advanced-shipment-tracking.php:654
426
+ #: includes/class-wc-advanced-shipment-tracking.php:776
427
  #: includes/customizer/class-wc-tracking-info-customizer.php:137
428
+ #: includes/customizer/class-wc-tracking-info-customizer.php:395
429
  #: includes/views/html-tracking-info-design-preview.php:69
430
  #: templates/emails/tracking-info.php:152
431
  #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
432
  msgid "Track"
433
  msgstr ""
434
 
435
+ #: includes/class-wc-advanced-shipment-tracking-front.php:313
436
+ #: includes/class-wc-advanced-shipment-tracking-front.php:676
437
  #, php-format
438
  msgid "Shipment - %s (out of %s)"
439
  msgstr ""
440
 
441
+ #: includes/class-wc-advanced-shipment-tracking-front.php:317
442
+ #: includes/class-wc-advanced-shipment-tracking-front.php:680
443
  msgid "Order: "
444
  msgstr ""
445
 
446
+ #: includes/class-wc-advanced-shipment-tracking-front.php:326
447
+ #: includes/class-wc-advanced-shipment-tracking-front.php:330
448
+ #: includes/class-wc-advanced-shipment-tracking-front.php:689
449
+ #: includes/class-wc-advanced-shipment-tracking-front.php:693
450
  msgid "Estimated Delivery Date: "
451
  msgstr ""
452
 
453
+ #: includes/class-wc-advanced-shipment-tracking-front.php:439
454
+ #: includes/class-wc-advanced-shipment-tracking-front.php:799
455
  msgid "Tracking Details"
456
  msgstr ""
457
 
458
+ #: includes/class-wc-advanced-shipment-tracking-front.php:458
459
+ #: includes/class-wc-advanced-shipment-tracking-front.php:818
460
  msgid "view more"
461
  msgstr ""
462
 
463
+ #: includes/class-wc-advanced-shipment-tracking-front.php:459
464
+ #: includes/class-wc-advanced-shipment-tracking-front.php:819
465
  msgid "view less"
466
  msgstr ""
467
 
468
+ #: includes/class-wc-advanced-shipment-tracking-front.php:467
469
+ msgid "Tracking details not found in TrackShip"
 
 
 
 
470
  msgstr ""
471
 
472
  #: includes/class-wc-advanced-shipment-tracking.php:93
504
  msgid "Date shipped:"
505
  msgstr ""
506
 
507
+ #: includes/class-wc-advanced-shipment-tracking.php:218
508
+ #: includes/class-wc-advanced-shipment-tracking.php:221
509
+ #: includes/class-wc-advanced-shipment-tracking.php:416
510
+ #: includes/class-wc-advanced-shipment-tracking.php:419
511
+ msgid "Y-m-d"
512
+ msgstr ""
513
+
514
  #: includes/class-wc-advanced-shipment-tracking.php:260
515
  #: templates/pip/tracking-info.php:23
516
  msgid "Click here to track your shipment"
523
  msgid "Shipped on %s"
524
  msgstr ""
525
 
 
 
 
 
526
  #: includes/class-wc-advanced-shipment-tracking.php:365
527
  msgid "Add Tracking Info"
528
  msgstr ""
543
  msgid "Click here to track shipment"
544
  msgstr ""
545
 
546
+ #: includes/class-wc-advanced-shipment-tracking.php:628
547
+ #, php-format
548
+ msgid ""
549
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
550
+ msgstr ""
551
+
552
+ #: includes/class-wc-advanced-shipment-tracking.php:966
553
+ #, php-format
554
+ msgid "Order was shipped with %s and tracking number is: %s"
555
+ msgstr ""
556
+
557
  #: includes/customizer/class-wcast-customizer.php:39
558
  msgid "Shipment Status Emails"
559
  msgstr ""
562
  msgid "Tracking info display"
563
  msgstr ""
564
 
565
+ #: includes/customizer/class-wcast-customizer.php:58
566
+ #: includes/customizer/class-wc-email-customizer.php:155
567
+ msgid "Delivered order status email"
 
 
 
 
 
568
  msgstr ""
569
 
570
  #: includes/customizer/class-wcast-customizer.php:352
682
  #: includes/customizer/class-wc-intransit-email-customizer.php:243
683
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
684
  #: includes/customizer/class-wc-returntosender-email-customizer.php:244
 
685
  msgid "Email heading"
686
  msgstr ""
687
 
777
  #: includes/customizer/class-wc-intransit-email-customizer.php:415
778
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
779
  #: includes/customizer/class-wc-returntosender-email-customizer.php:417
780
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
781
  msgid "Please select preview order."
782
  msgstr ""
783
 
942
  msgstr ""
943
 
944
  #: includes/customizer/class-wc-tracking-info-customizer.php:134
945
+ #: includes/customizer/class-wc-tracking-info-customizer.php:315
946
  #: includes/views/html-tracking-info-design-preview.php:45
947
  #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
948
  msgid "Provider"
949
  msgstr ""
950
 
951
  #: includes/customizer/class-wc-tracking-info-customizer.php:135
952
+ #: includes/customizer/class-wc-tracking-info-customizer.php:337
953
  #: includes/views/html-tracking-info-design-preview.php:46
954
  #: templates/emails/tracking-info.php:134
955
  #: templates/myaccount/view-order.php:111
957
  msgstr ""
958
 
959
  #: includes/customizer/class-wc-tracking-info-customizer.php:136
960
+ #: includes/customizer/class-wc-tracking-info-customizer.php:358
961
  msgid "Shipped Date"
962
  msgstr ""
963
 
967
  "to preview and design the tracking info table."
968
  msgstr ""
969
 
970
+ #: includes/customizer/class-wc-tracking-info-customizer.php:181
971
+ #: includes/views/admin_options_settings.php:10
972
+ #: includes/views/admin_options_trackship_integration.php:47
973
+ msgid "General Settings"
974
+ msgstr ""
975
+
976
+ #: includes/customizer/class-wc-tracking-info-customizer.php:196
977
  msgid "Tracking Display Position"
978
  msgstr ""
979
 
980
+ #: includes/customizer/class-wc-tracking-info-customizer.php:200
981
  msgid "Before Order Details"
982
  msgstr ""
983
 
984
+ #: includes/customizer/class-wc-tracking-info-customizer.php:201
985
  msgid "After Order Details"
986
  msgstr ""
987
 
988
+ #: includes/customizer/class-wc-tracking-info-customizer.php:216
989
  msgid "Main Header text"
990
  msgstr ""
991
 
992
+ #: includes/customizer/class-wc-tracking-info-customizer.php:223
993
  #: templates/pip/tracking-info.php:17
994
  msgid "Tracking Information"
995
  msgstr ""
996
 
997
+ #: includes/customizer/class-wc-tracking-info-customizer.php:238
998
  msgid "Additional text after header"
999
  msgstr ""
1000
 
1001
+ #: includes/customizer/class-wc-tracking-info-customizer.php:259
1002
+ msgid "Table Content"
1003
  msgstr ""
1004
 
1005
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1006
  msgid "Display Shipment Provider image"
1007
  msgstr ""
1008
 
1009
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
1010
  msgid "Hide date"
1011
  msgstr ""
1012
 
1013
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
1014
  msgid "Provider Header Text"
1015
  msgstr ""
1016
 
1017
+ #: includes/customizer/class-wc-tracking-info-customizer.php:330
1018
  msgid "Tracking Number Header Text"
1019
  msgstr ""
1020
 
1021
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
1022
  msgid "Shipped Date Header Text"
1023
  msgstr ""
1024
 
1025
+ #: includes/customizer/class-wc-tracking-info-customizer.php:372
1026
  msgid "Track Label"
1027
  msgstr ""
1028
 
1029
+ #: includes/customizer/class-wc-tracking-info-customizer.php:388
1030
  msgid "Track Header Text"
1031
  msgstr ""
1032
 
1033
+ #: includes/customizer/class-wc-tracking-info-customizer.php:410
1034
  msgid "Table Design"
1035
  msgstr ""
1036
 
1037
+ #: includes/customizer/class-wc-tracking-info-customizer.php:425
1038
  msgid "Padding"
1039
  msgstr ""
1040
 
1041
+ #: includes/customizer/class-wc-tracking-info-customizer.php:445
1042
  msgid "Background color"
1043
  msgstr ""
1044
 
1045
+ #: includes/customizer/class-wc-tracking-info-customizer.php:473
1046
  msgid "Border color"
1047
  msgstr ""
1048
 
1049
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1050
  msgid "Border size"
1051
  msgstr ""
1052
 
1053
+ #: includes/customizer/class-wc-tracking-info-customizer.php:513
 
 
 
 
 
 
1054
  msgid "Table text align"
1055
  msgstr ""
1056
 
1057
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1058
  msgid "Left"
1059
  msgstr ""
1060
 
1061
+ #: includes/customizer/class-wc-tracking-info-customizer.php:519
1062
  msgid "Right"
1063
  msgstr ""
1064
 
1065
+ #: includes/customizer/class-wc-tracking-info-customizer.php:520
1066
  msgid "Center"
1067
  msgstr ""
1068
 
1069
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1070
  msgid "Table header font size"
1071
  msgstr ""
1072
 
1073
+ #: includes/customizer/class-wc-tracking-info-customizer.php:558
1074
  msgid "Table header font color"
1075
  msgstr ""
1076
 
1077
+ #: includes/customizer/class-wc-tracking-info-customizer.php:574
1078
  msgid "Table content font size"
1079
  msgstr ""
1080
 
1081
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1082
  msgid "Table content font color"
1083
  msgstr ""
1084
 
1085
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1086
  msgid "Content line height"
1087
  msgstr ""
1088
 
1089
+ #: includes/customizer/class-wc-tracking-info-customizer.php:628
1090
  msgid "Content font weight"
1091
  msgstr ""
1092
 
1093
+ #: includes/customizer/class-wc-tracking-info-customizer.php:650
1094
+ msgid "Track Button Design"
1095
  msgstr ""
1096
 
1097
+ #: includes/customizer/class-wc-tracking-info-customizer.php:664
1098
  msgid "Track Link Font Color"
1099
  msgstr ""
1100
 
1101
+ #: includes/customizer/class-wc-tracking-info-customizer.php:680
1102
  msgid "Track Link Background Color"
1103
  msgstr ""
1104
 
1105
+ #: includes/customizer/class-wc-tracking-info-customizer.php:695
1106
  msgid "Track link Border"
1107
  msgstr ""
1108
 
1109
+ #: includes/customizer/class-wc-tracking-page-customizer.php:150
1110
+ msgid "Remove Trackship branding from tracking page"
1111
+ msgstr ""
1112
+
1113
  #: includes/customizer/class-wc-tracking-page-customizer.php:167
1114
  msgid "Header Color"
1115
  msgstr ""
1156
  "delivered and usually indicate that their orders have been shipped."
1157
  msgstr ""
1158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1159
  #: includes/emails/class-shipment-delivered-email.php:269
1160
+ msgid "Click Here"
1161
  msgstr ""
1162
 
1163
  #: includes/emails/class-shipment-delivered-email.php:270
1174
  "added)"
1175
  msgstr ""
1176
 
1177
+ #: includes/views/admin_options_bulk_upload.php:24
1178
+ #: includes/views/admin_options_shipping_provider.php:114
1179
+ #: includes/views/admin_options_shipping_provider.php:148
1180
  msgid "Upload"
1181
  msgstr ""
1182
 
1183
+ #: includes/views/admin_options_bulk_upload.php:26
 
 
1184
  msgid "Settings Saved."
1185
  msgstr ""
1186
 
1187
+ #: includes/views/admin_options_bulk_upload.php:36
1188
+ msgid "Upload Progress - "
1189
+ msgstr ""
1190
+
1191
+ #: includes/views/admin_options_bulk_upload.php:40
1192
+ msgid "Sample CSV"
1193
+ msgstr ""
1194
+
1195
+ #: includes/views/admin_options_bulk_upload.php:45
1196
  msgid "You can download an example of the csv file:"
1197
  msgstr ""
1198
 
1199
+ #: includes/views/admin_options_bulk_upload.php:48
1200
  msgid "Download sample csv file"
1201
  msgstr ""
1202
 
1203
+ #: includes/views/admin_options_bulk_upload.php:53
1204
  msgid ""
1205
  "For detailed instructions on how to upload tracking info in bulk, see our"
1206
  msgstr ""
1207
 
1208
+ #: includes/views/admin_options_settings.php:21
1209
+ #: includes/views/admin_options_settings.php:69
1210
+ #: includes/views/admin_options_trackship_integration.php:58
1211
+ #: includes/views/admin_options_trackship_integration.php:89
1212
+ msgid "Save Changes"
1213
  msgstr ""
1214
 
1215
+ #: includes/views/admin_options_settings.php:35
1216
+ msgid "Tracking Info Display"
1217
  msgstr ""
1218
 
1219
+ #: includes/views/admin_options_settings.php:44
1220
+ msgid "You can customize the tracking info display on emails and my account"
 
1221
  msgstr ""
1222
 
1223
+ #: includes/views/admin_options_settings.php:47
1224
+ msgid "Launch Customizer"
1225
+ msgstr ""
1226
+
1227
+ #: includes/views/admin_options_settings.php:57
1228
  msgid "Delivered Order Status"
1229
  msgstr ""
1230
 
1231
+ #: includes/views/admin_options_shipping_provider.php:7
1232
+ msgid "Active"
1233
  msgstr ""
1234
 
1235
+ #: includes/views/admin_options_shipping_provider.php:8
1236
+ msgid "Inactive"
 
1237
  msgstr ""
1238
 
1239
+ #: includes/views/admin_options_shipping_provider.php:9
1240
+ msgid "Custom"
 
 
1241
  msgstr ""
1242
 
1243
+ #: includes/views/admin_options_shipping_provider.php:10
1244
+ msgid "All"
1245
+ msgstr ""
1246
+
1247
+ #: includes/views/admin_options_shipping_provider.php:16
1248
+ msgid "Add Custom Provider"
1249
+ msgstr ""
1250
+
1251
+ #: includes/views/admin_options_shipping_provider.php:17
1252
+ msgid "Sync Provider List"
1253
+ msgstr ""
1254
+
1255
+ #: includes/views/admin_options_shipping_provider.php:18
1256
+ msgid "Reset"
1257
+ msgstr ""
1258
+
1259
+ #: includes/views/admin_options_shipping_provider.php:18
1260
+ msgid "active"
1261
+ msgstr ""
1262
+
1263
+ #: includes/views/admin_options_shipping_provider.php:18
1264
+ msgid "inactive"
1265
+ msgstr ""
1266
+
1267
+ #: includes/views/admin_options_shipping_provider.php:22
1268
+ msgid "Search by provider / country"
1269
+ msgstr ""
1270
+
1271
+ #: includes/views/admin_options_shipping_provider.php:96
1272
  msgid "Add Custom Shipping Provider"
1273
  msgstr ""
1274
 
1275
+ #: includes/views/admin_options_shipping_provider.php:103
1276
+ #: includes/views/admin_options_shipping_provider.php:137
1277
  msgid "Shiping Country"
1278
  msgstr ""
1279
 
1280
+ #: includes/views/admin_options_shipping_provider.php:104
1281
+ #: includes/views/admin_options_shipping_provider.php:138
1282
  msgid "Global"
1283
  msgstr ""
1284
 
1285
+ #: includes/views/admin_options_shipping_provider.php:130
1286
  msgid "Edit Custom Shipping Provider"
1287
  msgstr ""
1288
 
1289
+ #: includes/views/admin_options_shipping_provider.php:165
1290
+ #: includes/views/admin_options_shipping_provider.php:172
1291
  msgid "Sync Providers"
1292
  msgstr ""
1293
 
1294
+ #: includes/views/admin_options_shipping_provider.php:166
1295
  msgid "Do you really want to sync all providers?"
1296
  msgstr ""
1297
 
1298
+ #: includes/views/admin_options_shipping_provider.php:168
1299
  msgid "Providers Added"
1300
  msgstr ""
1301
 
1302
+ #: includes/views/admin_options_shipping_provider.php:169
1303
  msgid "Providers Updated"
1304
  msgstr ""
1305
 
1306
+ #: includes/views/admin_options_shipping_provider.php:170
1307
  msgid "Providers Deleted"
1308
  msgstr ""
1309
 
1310
+ #: includes/views/admin_options_trackship_integration.php:12
1311
+ msgid "Connection status"
1312
  msgstr ""
1313
 
1314
+ #: includes/views/admin_options_trackship_integration.php:19
1315
+ msgid "TrackShip Connection Status"
1316
+ msgstr ""
1317
+
1318
+ #: includes/views/admin_options_trackship_integration.php:30
1319
+ msgid ""
1320
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
1321
+ "automate your post shipping operations and get tracking and delivery status "
1322
+ "updates directly in the WooCommerce admin."
1323
  msgstr ""
1324
 
1325
+ #: includes/views/admin_options_trackship_integration.php:36
1326
+ msgid "TrackShip Dashboard"
1327
+ msgstr ""
1328
+
1329
+ #: includes/views/admin_options_trackship_integration.php:72
1330
+ msgid "Tracking Page"
1331
  msgstr ""
1332
 
1333
+ #: includes/views/admin_options_trackship_integration.php:82
1334
  msgid "Click to preview the tracking page"
1335
  msgstr ""
1336
 
1337
+ #: includes/views/admin_options_trackship_integration.php:83
1338
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1339
  msgstr ""
1340
 
1341
+ #: includes/views/admin_options_trackship_integration.php:102
1342
  msgid "Shipment Status Notifications "
1343
  msgstr ""
1344
 
1345
+ #: includes/views/admin_options_trackship_integration.php:130
1346
  msgid ""
1347
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1348
  "the way."
1349
  msgstr ""
1350
 
1351
+ #: includes/views/admin_options_trackship_integration.php:144
1352
  msgid "Shipment is returned to sender"
1353
  msgstr ""
1354
 
1355
+ #: includes/views/admin_options_trackship_integration.php:158
1356
  msgid "The shipment is ready to pickup."
1357
  msgstr ""
1358
 
1359
+ #: includes/views/admin_options_trackship_integration.php:171
1360
  msgid "Carrier is about to deliver the shipment"
1361
  msgstr ""
1362
 
1363
+ #: includes/views/admin_options_trackship_integration.php:185
1364
  msgid "The shipment was delivered successfully"
1365
  msgstr ""
1366
 
1367
+ #: includes/views/admin_options_trackship_integration.php:186
1368
  msgid ""
1369
  "You already have delivered email enabled, to enable this email you'll need "
1370
  "to disable the order status delivered in settings."
1371
  msgstr ""
1372
 
1373
+ #: includes/views/admin_options_trackship_integration.php:200
1374
  msgid ""
1375
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1376
  "will try to deliver the package again."
1380
  msgid "USPS"
1381
  msgstr ""
1382
 
 
 
 
 
1383
  #: includes/views/zorem_admin_ts_sidebar.php:5
1384
  msgid "Dashboard"
1385
  msgstr ""
1386
 
 
 
 
 
1387
  #: templates/emails/tracking-info.php:138
1388
  msgid "Status"
1389
  msgstr ""
1390
 
1391
+ #: templates/emails/wcast-email-order-details.php:31
1392
  msgid "Order Details"
1393
  msgstr ""
1394
 
1395
  #. %s: Order ID.
1396
+ #: templates/emails/wcast-email-order-details.php:47
1397
  #, php-format
1398
  msgid "Order number: %s"
1399
  msgstr ""
1400
 
1401
+ #: templates/emails/wcast-email-order-details.php:54
1402
  msgid "Order date:"
1403
  msgstr ""
1404
 
1405
  #: templates/emails/plain/tracking-info.php:18
1406
  msgid "TRACKING INFORMATION"
1407
  msgstr ""
1408
+
1409
+ #. Name of the plugin
1410
+ msgid "Advanced Shipment Tracking for WooCommerce"
1411
+ msgstr ""
1412
+
1413
+ #. Description of the plugin
1414
+ msgid ""
1415
+ "Add shipment tracking information to your WooCommerce orders and provide "
1416
+ "customers with an easy way to track their orders. Shipment tracking Info "
1417
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1418
+ "order complete email."
1419
+ msgstr ""
1420
+
1421
+ #. Author of the plugin
1422
+ msgid "zorem"
1423
+ msgstr ""
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,34 @@ 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.1 =
125
+ * Added filter for change tracking provider name - "ast_provider_title"
126
+ * Updated translation strings
127
+ * Removed white gaps from settings / bulk upload bottom
128
+ * Fixed design issue with WeDocs plugin
129
+
130
+ = 2.5 =
131
+ * Added validation in tracking number for special character when add new tracking info in order and also in bulk upload
132
+ * Added filter in Trackship tracking page text
133
+ * Added functionality for add tracking info in custom order status emails
134
+ * Added compatibility with - "WC – APG SMS Notifications" plugin
135
+ * Added option for Hide tracking events details for TracksShip users
136
+ * Updated Advanced Shipment Tracking settings page design
137
+
138
+ = 2.4.7.2 =
139
+ * Fixed Delivered email qty issue with Kadence
140
+ * Added compatibility with "SMS Alert Order Notifications – WooCommerce" plugin
141
+ * Added functionality for add custom tracking provider from REST API
142
+ * Updated swedish language files
143
+
144
+ = 2.4.7 =
145
+ * Fixed issue with tracking page
146
+ * Added functionality of add order note whene adding/deleting tracking infomration in order
147
+ * Updated swedish language files
148
+
149
+ = 2.4.6 =
150
+ * Updated option to Send only last 30 days shipped orders to trackship from settings panel
151
+
152
  = 2.4.5 =
153
  * Fixed issue with search
154
  * Fixed translabled string issue in delivered email
templates/emails/tracking-info.php CHANGED
@@ -129,7 +129,7 @@ if ( $tracking_items ) :
129
  <?php } else{
130
  if($display_thumbnail == 1){ ?>
131
  <img style="width: 50px;margin-right: 5px;vertical-align: middle;" src="<?php echo $src; ?>"><?php } }
132
- echo esc_html( $tracking_item['formatted_tracking_provider'] ); ?>
133
  </td>
134
  <td class="tracking-number" data-title="<?php _e( 'Tracking Number', 'woo-advanced-shipment-tracking' ); ?>" style="<?php echo $td_column_style; ?>">
135
  <?php echo esc_html( $tracking_item['tracking_number'] ); ?>
129
  <?php } else{
130
  if($display_thumbnail == 1){ ?>
131
  <img style="width: 50px;margin-right: 5px;vertical-align: middle;" src="<?php echo $src; ?>"><?php } }
132
+ echo apply_filters( 'ast_provider_title', esc_html( $tracking_item['formatted_tracking_provider'] )); ?>
133
  </td>
134
  <td class="tracking-number" data-title="<?php _e( 'Tracking Number', 'woo-advanced-shipment-tracking' ); ?>" style="<?php echo $td_column_style; ?>">
135
  <?php echo esc_html( $tracking_item['tracking_number'] ); ?>
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>
templates/myaccount/view-order.php CHANGED
@@ -106,7 +106,7 @@ if ( $tracking_items ) :
106
  }
107
  ?>
108
  <img style="width: 50px;margin-right: 5px;vertical-align: middle;" src="<?php echo $src; ?>">
109
- <?php } echo esc_html( $tracking_item['formatted_tracking_provider'] ); ?>
110
  </td>
111
  <td class="tracking-number" style="<?php echo $td_column_style; ?>" data-title="<?php _e( 'Tracking Number', 'woo-advanced-shipment-tracking' ); ?>">
112
  <?php echo esc_html( $tracking_item['tracking_number'] ); ?>
106
  }
107
  ?>
108
  <img style="width: 50px;margin-right: 5px;vertical-align: middle;" src="<?php echo $src; ?>">
109
+ <?php } echo apply_filters( 'ast_provider_title', esc_html( $tracking_item['formatted_tracking_provider'] )); ?>
110
  </td>
111
  <td class="tracking-number" style="<?php echo $td_column_style; ?>" data-title="<?php _e( 'Tracking Number', 'woo-advanced-shipment-tracking' ); ?>">
112
  <?php echo esc_html( $tracking_item['tracking_number'] ); ?>
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,28 @@ 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;
@@ -386,7 +409,7 @@ class zorem_woocommerce_advanced_shipment_tracking {
386
  </script>
387
  <div id="" class="popupwrapper uninstall_popup" style="display:none;">
388
  <div class="popuprow" style="text-align: left;max-width: 380px;">
389
- <h3 class="popup_title"><?php _e( 'Advanced Shipment Tracking for WooCommerce', 'woo-advanced-shipment-tracking'); ?></h2>
390
  <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>
391
  <p class="" style="text-align:left;">
392
  <input type="button" value="Uninstall" class="uninstall_plugin button-primary btn_green">
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.1
8
  * Author: zorem
9
  * Author URI:
10
  * License: GPL-2.0+
22
  *
23
  * @var string
24
  */
25
+ public $version = '2.5.1';
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 .= '<br>';
209
+ $message .= sprintf(__("Your order was shipped with %s and your tracking code is: %s", 'woo-advanced-shipment-tracking'), $tracking_item['tracking_provider'], $tracking_item['tracking_number'] );
210
+ }
211
+ }
212
+ }
213
+ return $message;
214
+ }
215
+
216
  public function tracking_info_shortcode(){
217
  ob_start();
218
  $order_id = $woo_mb_base->order_id;
409
  </script>
410
  <div id="" class="popupwrapper uninstall_popup" style="display:none;">
411
  <div class="popuprow" style="text-align: left;max-width: 380px;">
412
+ <h3 class="popup_title">Advanced Shipment Tracking for WooCommerce</h2>
413
  <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>
414
  <p class="" style="text-align:left;">
415
  <input type="button" value="Uninstall" class="uninstall_plugin button-primary btn_green">