Version Description
- Updated settings page sidebar design
- Updated all supported language files
- Fixed issue with shipping provider not showing and not adding custom provider
- Fixed fatal error in customizer
- Fixed responsive issue of custom status settings
Download this release
Release Info
Developer | zorem |
Plugin | Advanced Shipment Tracking for WooCommerce |
Version | 2.7.8 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.7.8
- assets/css/admin.css +516 -178
- assets/css/customizer-styles.css +32 -9
- assets/css/front.css +202 -33
- assets/css/icons/ast-icon.png +0 -0
- assets/css/icons/invalid-v3.png +0 -0
- assets/css/icons/partial-shipped-icon.png +0 -0
- assets/css/icons/updated-tracking-icon.png +0 -0
- assets/css/welcome.css +180 -0
- assets/images/Tracking-Per-Item-addon-sidebar.png +0 -0
- assets/images/Tracking-Per-Item-addon.jpg +0 -0
- assets/images/ast-addons-notice-image.jpg +0 -0
- assets/images/t_layout_1.jpg +0 -0
- assets/images/t_layout_2.jpg +0 -0
- assets/images/tracking-1.png +0 -0
- assets/images/tracking-2.png +0 -0
- assets/images/trackship-sidebar-addons.png +0 -0
- assets/images/ts-banner.jpg +0 -0
- assets/js/admin.js +136 -45
- assets/js/customizer-scripts.js +196 -6
- assets/js/front.js +11 -0
- assets/js/preview-scripts.js +67 -0
- assets/js/settings.js +79 -15
- assets/js/shipping_row.js +289 -30
- assets/js/welcome.js +41 -0
- assets/shipment-provider-img/7-eleven.png +0 -0
- assets/shipment-provider-img/apc-overnight.png +0 -0
- assets/shipment-provider-img/bpost.png +0 -0
- assets/shipment-provider-img/brt.png +0 -0
- assets/shipment-provider-img/ceska-posta.png +0 -0
- assets/shipment-provider-img/cj-logistics.png +0 -0
- assets/shipment-provider-img/cj-packet.png +0 -0
- assets/shipment-provider-img/cjpacket.png +0 -0
- assets/shipment-provider-img/collectplus.png +0 -0
- assets/shipment-provider-img/correos-espana.png +0 -0
- assets/shipment-provider-img/dpd-fr.png +0 -0
- assets/shipment-provider-img/ekart.png +0 -0
- assets/shipment-provider-img/ethiopia-post.png +0 -0
- assets/shipment-provider-img/gls-spain.png +0 -0
- assets/shipment-provider-img/jcex.png +0 -0
- assets/shipment-provider-img/kerry-express.png +0 -0
- assets/shipment-provider-img/landmark-global.png +0 -0
- assets/shipment-provider-img/lion-parcel.png +0 -0
- assets/shipment-provider-img/lithuania-post.png +0 -0
- assets/shipment-provider-img/loomis-express.png +0 -0
- assets/shipment-provider-img/magyar-posta.png +0 -0
- assets/shipment-provider-img/ontime.png +0 -0
- assets/shipment-provider-img/poste-italiane.png +0 -0
- assets/shipment-provider-img/redpack.png +0 -0
- assets/shipment-provider-img/russian-post.png +0 -0
- assets/shipment-provider-img/sagawa.png +0 -0
- assets/shipment-provider-img/saudi-post.png +0 -0
- assets/shipment-provider-img/serbia-post.png +0 -0
- assets/shipment-provider-img/shadowfax.png +0 -0
- assets/shipment-provider-img/spee-dee.png +0 -0
- assets/shipment-provider-img/thailand-post.png +0 -0
- assets/shipment-provider-img/toll-ipec.png +0 -0
- assets/shipment-provider-img/toll.png +0 -0
- assets/shipment-provider-img/trackon.png +0 -0
- assets/shipment-provider-img/yodel.png +0 -0
- assets/tracking.csv +0 -6
- includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php +30 -32
- includes/class-wc-advanced-shipment-tracking-admin.php +606 -751
- includes/class-wc-advanced-shipment-tracking-front.php +754 -488
- includes/class-wc-advanced-shipment-tracking-install.php +489 -98
- includes/class-wc-advanced-shipment-tracking-settings.php +959 -0
- includes/class-wc-advanced-shipment-tracking.php +208 -81
- includes/class-wc-advanced-shipment-welcome.php +365 -0
- includes/customizer/class-wc-availableforpickup-email-customizer.php +26 -7
- includes/customizer/class-wc-delivered-email-customizer.php +26 -7
- includes/customizer/class-wc-email-customizer.php +26 -8
- includes/customizer/class-wc-failure-email-customizer.php +27 -7
- includes/customizer/class-wc-intransit-email-customizer.php +26 -7
- includes/customizer/class-wc-outfordelivery-email-customizer.php +26 -7
- includes/customizer/class-wc-partial-shipped-email-customizer.php +421 -0
- includes/customizer/class-wc-returntosender-email-customizer.php +26 -7
- includes/customizer/class-wc-tracking-info-customizer.php +188 -67
- includes/customizer/class-wc-updated-tracking-email-customizer.php +421 -0
- includes/customizer/class-wcast-customizer.php +52 -2
- includes/customizer/custom-controls.php +1 -1
- includes/customizer/preview/partial_shipped_preview.php +30 -0
- includes/customizer/preview/updated_tracking_preview.php +30 -0
- includes/email-manager.php +84 -36
- includes/emails/class-shipment-delivered-email.php +8 -7
- includes/emails/class-shipment-partial-shipped-email.php +184 -0
- includes/emails/class-shipment-updated-tracking-email.php +184 -0
- includes/vendor/persist-admin-notices-dismissal/dismiss-notice.js +37 -0
- includes/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php +1 -1
- includes/views/admin_options_addons.php +133 -0
- includes/views/admin_options_bulk_upload.php +14 -9
- includes/views/admin_options_settings.php +113 -5
- includes/views/admin_options_shipping_provider.php +20 -13
- includes/views/admin_options_tools.php +33 -0
- includes/views/admin_options_trackship_integration.php +27 -243
- includes/views/admin_status_notifications.php +103 -0
- includes/views/admin_tracking_page_settings.php +118 -0
- includes/views/admin_trackship_dashboard.php +84 -0
- includes/views/zorem_admin_addons_sidebar.php +33 -0
- includes/views/zorem_admin_sidebar.php +50 -47
- includes/views/zorem_admin_ts_sidebar.php +0 -37
- lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
- lang/woo-advanced-shipment-tracking-bg_BG.po +1220 -967
- lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
- lang/woo-advanced-shipment-tracking-da_DK.po +1204 -948
- lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
- lang/woo-advanced-shipment-tracking-de_DE.po +1281 -925
- lang/woo-advanced-shipment-tracking-el.mo +0 -0
- lang/woo-advanced-shipment-tracking-el.po +1032 -880
assets/css/admin.css
CHANGED
@@ -37,6 +37,12 @@
|
|
37 |
width: 100%
|
38 |
}
|
39 |
#woocommerce-advanced-shipment-tracking input[type=checkbox]{
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
margin: 0px 4px 0 4px;
|
41 |
}
|
42 |
#woocommerce-advanced-shipment-tracking .preview_tracking_link {
|
@@ -81,18 +87,20 @@ section.tab_section {
|
|
81 |
display: none;
|
82 |
padding: 0 30px 30px;
|
83 |
border-top: 1px solid #ddd;
|
84 |
-
background:
|
|
|
|
|
|
|
85 |
}
|
86 |
section.tpage_section{
|
87 |
display: none;
|
88 |
}
|
89 |
-
input.tab_input {
|
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;
|
@@ -100,6 +108,16 @@ label.tab_label {
|
|
100 |
line-height: 1;
|
101 |
outline: none;
|
102 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
label.tab_label.first_label {
|
104 |
margin-left: 30px;
|
105 |
}
|
@@ -112,9 +130,9 @@ label.tab_label:hover {
|
|
112 |
color: #74C2E1;
|
113 |
cursor: pointer;
|
114 |
}
|
115 |
-
input.tab_input:checked + label {
|
116 |
color: #74C2E1;
|
117 |
-
border-bottom
|
118 |
margin-bottom: -1px;
|
119 |
}
|
120 |
input.tab_input_1 {
|
@@ -134,13 +152,16 @@ input.tab_input_1:checked + label{
|
|
134 |
display: table-cell;
|
135 |
vertical-align: top;
|
136 |
}
|
|
|
|
|
|
|
137 |
#content1 .tab_inner_container{
|
138 |
display: block;
|
139 |
}
|
140 |
.tab_inner_container h4 {
|
141 |
margin-top: 0;
|
142 |
}
|
143 |
-
#tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10 {
|
144 |
display: block;
|
145 |
}
|
146 |
.shipping_add_field {
|
@@ -157,17 +178,24 @@ input.tab_input_1:checked + label{
|
|
157 |
width: 280px;
|
158 |
display: table-cell;
|
159 |
vertical-align: top;
|
160 |
-
padding: 25px 0px 25px
|
|
|
|
|
|
|
|
|
161 |
}
|
162 |
.zorem_admin_layout .zorem_admin_sidebar h3{
|
163 |
-
margin: 0 0
|
164 |
-
background: #fff;
|
165 |
color: #005B9A;
|
166 |
border-bottom: 1px solid #eee;
|
167 |
-
padding:
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
.zorem_admin_layout .zorem_admin_sidebar p,.zorem_admin_layout .zorem_admin_sidebar a{
|
170 |
-
margin:
|
171 |
}
|
172 |
.zorem-sidebar-title {
|
173 |
padding: 10px 0;
|
@@ -175,11 +203,8 @@ input.tab_input_1:checked + label{
|
|
175 |
color: #1ead94;
|
176 |
line-height: 15px;
|
177 |
}
|
178 |
-
.zorem-sidebar__section {
|
179 |
-
|
180 |
-
background: #fff;
|
181 |
-
border: 1px solid #eee;
|
182 |
-
margin-bottom: 10px;
|
183 |
}
|
184 |
..zorem-sidebar__section li:before {
|
185 |
position: absolute;
|
@@ -188,10 +213,11 @@ input.tab_input_1:checked + label{
|
|
188 |
}
|
189 |
.zorem-sidebar__section ul {
|
190 |
position: relative;
|
191 |
-
margin: 10px
|
192 |
}
|
193 |
.zorem-sidebar__section li {
|
194 |
list-style: none;
|
|
|
195 |
}
|
196 |
.zorem-sidebar__section li img.plugin_thumbnail {
|
197 |
width: 60px;
|
@@ -208,6 +234,22 @@ input.tab_input_1:checked + label{
|
|
208 |
.zorem-sidebar__section div a {
|
209 |
color: #0085ba;
|
210 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
.shipping_provider_tab {
|
212 |
width: 100%;
|
213 |
display: block;
|
@@ -299,10 +341,6 @@ input.tab_input_1:checked + label{
|
|
299 |
margin-top: 20px;
|
300 |
padding: 10px 15px;
|
301 |
}
|
302 |
-
.order-status.status-delivered {
|
303 |
-
color: #fff;
|
304 |
-
background: #212c42;
|
305 |
-
}
|
306 |
#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
|
307 |
display: none;
|
308 |
}
|
@@ -313,7 +351,7 @@ input.tab_input_1:checked + label{
|
|
313 |
width: 30%;
|
314 |
}
|
315 |
.ast_admin_content .form-table th.titledesc {
|
316 |
-
width:
|
317 |
}
|
318 |
.woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
|
319 |
margin: -4px 0 0 5px;
|
@@ -346,7 +384,7 @@ input.tab_input_1:checked + label{
|
|
346 |
.ast_admin_content .form-table .wp-color-result.button {
|
347 |
margin: 0 6px 0px 0;
|
348 |
}
|
349 |
-
#wc_ast_status_label_color {
|
350 |
width: 80px;
|
351 |
}
|
352 |
.color_field input[type=text] {
|
@@ -593,12 +631,9 @@ td.column-columnname.url-column {
|
|
593 |
.form-table td p{
|
594 |
margin: 0;
|
595 |
}
|
596 |
-
#wc_ast_settings_form .form-table tr,#wc_ast_trackship_form .form-table tr,#wc_ast_upload_csv_form .form-table tr{
|
597 |
border-bottom: 1px solid #eee;
|
598 |
}
|
599 |
-
a.settings_edit {
|
600 |
-
margin-left: 10px;
|
601 |
-
}
|
602 |
input#wc_ast_api_key {
|
603 |
width: 260px;
|
604 |
}
|
@@ -622,8 +657,7 @@ span.api_connected .dashicons.dashicons-yes {
|
|
622 |
.ac-container .headig_label {
|
623 |
padding: 15px 20px 15px 60px;
|
624 |
margin-bottom: 0;
|
625 |
-
position: relative;
|
626 |
-
z-index: 20;
|
627 |
display: block;
|
628 |
cursor: default;
|
629 |
color: #777;
|
@@ -813,8 +847,20 @@ span.email_status_span i:hover,span.email_status_span i:focus{
|
|
813 |
span.email_status_span i.enable {
|
814 |
color: #83bd31;
|
815 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
.ast-shipment-status i {
|
817 |
-
font-size: 18px;
|
818 |
}
|
819 |
.label_content {
|
820 |
font-weight: 600;
|
@@ -832,14 +878,14 @@ span.email_status_span i.enable {
|
|
832 |
margin-right: 10px;
|
833 |
}
|
834 |
.wcast-shipment-status-icon span{
|
835 |
-
margin-top:
|
836 |
display: inline-block;
|
837 |
}
|
838 |
.wcast-shipment-status-icon .icon-invalid_user_key:before{
|
839 |
content: ' ';
|
840 |
background-image: url(icons/invalid-user-key-v4.png);
|
841 |
-
width:
|
842 |
-
height:
|
843 |
background-size: cover;
|
844 |
display: inline-block;
|
845 |
vertical-align: middle;
|
@@ -847,8 +893,8 @@ span.email_status_span i.enable {
|
|
847 |
.wcast-shipment-status-icon .icon-delivered:before{
|
848 |
content: ' ';
|
849 |
background-image: url(icons/delivered-v4.png);
|
850 |
-
width:
|
851 |
-
height:
|
852 |
background-size: cover;
|
853 |
display: inline-block;
|
854 |
vertical-align: middle;
|
@@ -856,8 +902,8 @@ span.email_status_span i.enable {
|
|
856 |
.wcast-shipment-status-icon .icon-in_transit:before{
|
857 |
content: ' ';
|
858 |
background-image: url(icons/in-transit-v4.png);
|
859 |
-
width:
|
860 |
-
height:
|
861 |
background-size: cover;
|
862 |
display: inline-block;
|
863 |
vertical-align: middle;
|
@@ -865,8 +911,8 @@ span.email_status_span i.enable {
|
|
865 |
.wcast-shipment-status-icon .icon-pre_transit:before{
|
866 |
content: ' ';
|
867 |
background-image: url(icons/pre-transit-v4.png);
|
868 |
-
width:
|
869 |
-
height:
|
870 |
background-size: cover;
|
871 |
display: inline-block;
|
872 |
vertical-align: middle;
|
@@ -874,8 +920,8 @@ span.email_status_span i.enable {
|
|
874 |
.wcast-shipment-status-icon .icon-out_for_delivery:before{
|
875 |
content: ' ';
|
876 |
background-image: url(icons/out-for-delivery-v4.png);
|
877 |
-
width:
|
878 |
-
height:
|
879 |
background-size: cover;
|
880 |
display: inline-block;
|
881 |
vertical-align: middle;
|
@@ -883,8 +929,8 @@ span.email_status_span i.enable {
|
|
883 |
.wcast-shipment-status-icon .icon-available_for_pickup:before{
|
884 |
content: ' ';
|
885 |
background-image: url(icons/available-for-picup-v4.png);
|
886 |
-
width:
|
887 |
-
height:
|
888 |
background-size: cover;
|
889 |
display: inline-block;
|
890 |
vertical-align: middle;
|
@@ -892,8 +938,8 @@ span.email_status_span i.enable {
|
|
892 |
.wcast-shipment-status-icon .icon-return_to_sender:before{
|
893 |
content: ' ';
|
894 |
background-image: url(icons/return-to-sender-v4.png);
|
895 |
-
width:
|
896 |
-
height:
|
897 |
background-size: cover;
|
898 |
display: inline-block;
|
899 |
vertical-align: middle;
|
@@ -901,8 +947,8 @@ span.email_status_span i.enable {
|
|
901 |
.wcast-shipment-status-icon .icon-failure:before{
|
902 |
content: ' ';
|
903 |
background-image: url(icons/failure-v4.png);
|
904 |
-
width:
|
905 |
-
height:
|
906 |
background-size: cover;
|
907 |
display: inline-block;
|
908 |
vertical-align: middle;
|
@@ -910,8 +956,8 @@ span.email_status_span i.enable {
|
|
910 |
.wcast-shipment-status-icon .icon-unknown:before{
|
911 |
content: ' ';
|
912 |
background-image: url(icons/unknown-v4.png);
|
913 |
-
width:
|
914 |
-
height:
|
915 |
background-size: cover;
|
916 |
display: inline-block;
|
917 |
vertical-align: middle;
|
@@ -919,8 +965,8 @@ span.email_status_span i.enable {
|
|
919 |
.wcast-shipment-status-icon .icon-pending_trackship:before{
|
920 |
content: ' ';
|
921 |
background-image: url(icons/pending-trackship-v4.png);
|
922 |
-
width:
|
923 |
-
height:
|
924 |
background-size: cover;
|
925 |
display: inline-block;
|
926 |
vertical-align: middle;
|
@@ -928,8 +974,8 @@ span.email_status_span i.enable {
|
|
928 |
.wcast-shipment-status-icon .icon-INVALID_TRACKING_NUM:before{
|
929 |
content: ' ';
|
930 |
background-image: url(icons/invalid-v3.png);
|
931 |
-
width:
|
932 |
-
height:
|
933 |
background-size: cover;
|
934 |
display: inline-block;
|
935 |
vertical-align: middle;
|
@@ -937,8 +983,8 @@ span.email_status_span i.enable {
|
|
937 |
.wcast-shipment-status-icon .icon-wrong_shipping_provider:before{
|
938 |
content: ' ';
|
939 |
background-image: url(icons/invalid-v3.png);
|
940 |
-
width:
|
941 |
-
height:
|
942 |
background-size: cover;
|
943 |
display: inline-block;
|
944 |
vertical-align: middle;
|
@@ -946,8 +992,8 @@ span.email_status_span i.enable {
|
|
946 |
.wcast-shipment-status-icon .icon-default:before{
|
947 |
content: ' ';
|
948 |
background-image: url(icons/invalid-v3.png);
|
949 |
-
width:
|
950 |
-
height:
|
951 |
background-size: cover;
|
952 |
display: inline-block;
|
953 |
vertical-align: middle;
|
@@ -955,119 +1001,132 @@ span.email_status_span i.enable {
|
|
955 |
.ast-shipment-status .icon-default:before{
|
956 |
content: ' ';
|
957 |
background-image: url(icons/invalid-v3.png);
|
958 |
-
width:
|
959 |
-
height:
|
960 |
background-size: cover;
|
961 |
display: inline-block;
|
962 |
-
vertical-align:
|
|
|
963 |
}
|
964 |
.ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
|
965 |
content: ' ';
|
966 |
background-image: url(icons/invalid-v3.png);
|
967 |
-
width:
|
968 |
-
height:
|
969 |
background-size: cover;
|
970 |
display: inline-block;
|
971 |
-
vertical-align:
|
|
|
972 |
}
|
973 |
.ast-shipment-status .icon-wrong_shipping_provider:before{
|
974 |
content: ' ';
|
975 |
background-image: url(icons/invalid-v3.png);
|
976 |
-
width:
|
977 |
-
height:
|
978 |
background-size: cover;
|
979 |
display: inline-block;
|
980 |
-
vertical-align:
|
|
|
981 |
}
|
982 |
.ast-shipment-status .icon-delivered:before{
|
983 |
content: ' ';
|
984 |
background-image: url(icons/delivered-v4.png);
|
985 |
-
width:
|
986 |
-
height:
|
987 |
background-size: cover;
|
988 |
display: inline-block;
|
989 |
-
vertical-align:
|
|
|
990 |
}
|
991 |
.ast-shipment-status .icon-in_transit:before{
|
992 |
content: ' ';
|
993 |
background-image: url(icons/in-transit-v4.png);
|
994 |
-
width:
|
995 |
-
height:
|
996 |
background-size: cover;
|
997 |
display: inline-block;
|
998 |
-
vertical-align:
|
|
|
999 |
}
|
1000 |
.ast-shipment-status .icon-pre_transit:before{
|
1001 |
content: ' ';
|
1002 |
background-image: url(icons/pre-transit-v4.png);
|
1003 |
-
width:
|
1004 |
-
height:
|
1005 |
background-size: cover;
|
1006 |
display: inline-block;
|
1007 |
-
vertical-align:
|
|
|
1008 |
}
|
1009 |
.ast-shipment-status .icon-out_for_delivery:before{
|
1010 |
content: ' ';
|
1011 |
background-image: url(icons/out-for-delivery-v4.png);
|
1012 |
-
width:
|
1013 |
-
height:
|
1014 |
background-size: cover;
|
1015 |
display: inline-block;
|
1016 |
-
vertical-align:
|
|
|
1017 |
}
|
1018 |
.ast-shipment-status .icon-available_for_pickup:before{
|
1019 |
content: ' ';
|
1020 |
background-image: url(icons/available-for-picup-v4.png);
|
1021 |
-
width:
|
1022 |
-
height:
|
1023 |
background-size: cover;
|
1024 |
display: inline-block;
|
1025 |
-
vertical-align:
|
|
|
1026 |
}
|
1027 |
.ast-shipment-status .icon-return_to_sender:before{
|
1028 |
content: ' ';
|
1029 |
background-image: url(icons/return-to-sender-v4.png);
|
1030 |
-
width:
|
1031 |
-
height:
|
1032 |
background-size: cover;
|
1033 |
display: inline-block;
|
1034 |
-
vertical-align:
|
|
|
1035 |
}
|
1036 |
.ast-shipment-status .icon-failure:before{
|
1037 |
content: ' ';
|
1038 |
background-image: url(icons/failure-v4.png);
|
1039 |
-
width:
|
1040 |
-
height:
|
1041 |
background-size: cover;
|
1042 |
display: inline-block;
|
1043 |
-
vertical-align:
|
|
|
1044 |
}
|
1045 |
.ast-shipment-status .icon-unknown:before{
|
1046 |
content: ' ';
|
1047 |
background-image: url(icons/unknown-v4.png);
|
1048 |
-
width:
|
1049 |
-
height:
|
1050 |
background-size: cover;
|
1051 |
display: inline-block;
|
1052 |
-
vertical-align:
|
|
|
1053 |
}
|
1054 |
.ast-shipment-status .icon-pending_trackship:before{
|
1055 |
content: ' ';
|
1056 |
background-image: url(icons/pending-trackship-v4.png);
|
1057 |
-
width:
|
1058 |
-
height:
|
1059 |
background-size: cover;
|
1060 |
display: inline-block;
|
1061 |
-
vertical-align:
|
|
|
1062 |
}
|
1063 |
.ast-shipment-status .icon-invalid_user_key:before{
|
1064 |
content: ' ';
|
1065 |
background-image: url(icons/invalid-user-key-v4.png);
|
1066 |
-
width:
|
1067 |
-
height:
|
1068 |
background-size: cover;
|
1069 |
display: inline-block;
|
1070 |
-
vertical-align:
|
|
|
1071 |
}
|
1072 |
|
1073 |
.wcast-shipment-status-icon i {
|
@@ -1086,7 +1145,7 @@ span.email_status_span i.enable {
|
|
1086 |
.icon-pending_trackship {
|
1087 |
color: #CCCC00;
|
1088 |
}
|
1089 |
-
.wcast-shipment-est-delivery {
|
1090 |
display: block;
|
1091 |
}
|
1092 |
.showif_has_est_delivery_0, .showif_has_est_delivery_1 {
|
@@ -1113,11 +1172,12 @@ span.email_status_span i.enable {
|
|
1113 |
font-size: 11px;
|
1114 |
}
|
1115 |
.wcast-tracking-number-list li, .wcast-shipment-status-list li {
|
1116 |
-
position:relative;
|
1117 |
-
|
1118 |
-
padding:
|
1119 |
min-height: 50px;
|
1120 |
box-sizing: border-box;
|
|
|
1121 |
}
|
1122 |
a.inline_tracking_delete{
|
1123 |
display:none;
|
@@ -1219,7 +1279,7 @@ a.cancel_edit {
|
|
1219 |
padding-bottom: 40px;
|
1220 |
}
|
1221 |
.woocommerce_page_woocommerce-advanced-shipment-tracking #wpfooter{
|
1222 |
-
background:
|
1223 |
}
|
1224 |
.woocommerce_page_woocommerce-advanced-shipment-tracking .white-bg{
|
1225 |
background: #fff;
|
@@ -1353,17 +1413,17 @@ span.provider_name {
|
|
1353 |
font-weight: 500;
|
1354 |
font-size: 14px;
|
1355 |
}
|
1356 |
-
.row-1 {
|
1357 |
margin-bottom: 0;
|
1358 |
display: flex;
|
1359 |
align-items: start;
|
1360 |
}
|
1361 |
-
.row-1:after {
|
1362 |
content: '';
|
1363 |
clear: both;
|
1364 |
display: block;
|
1365 |
}
|
1366 |
-
.row-2 {
|
1367 |
margin-top: 15px;
|
1368 |
border-top: 1px solid #ccc;
|
1369 |
padding-top: 10px;
|
@@ -1383,7 +1443,7 @@ span.provider_name {
|
|
1383 |
float: right;
|
1384 |
padding-right: 10px;
|
1385 |
}
|
1386 |
-
.row-2:after{
|
1387 |
content:'';
|
1388 |
clear:both;
|
1389 |
display: block;
|
@@ -1394,9 +1454,10 @@ span.provider_name {
|
|
1394 |
}
|
1395 |
.status_filter {
|
1396 |
margin: 10px 8px 10px 0;
|
1397 |
-
display:inline-block;
|
1398 |
}
|
1399 |
.status_filter a{
|
|
|
1400 |
padding: 0 5px;
|
1401 |
text-decoration: none;
|
1402 |
}
|
@@ -1408,19 +1469,21 @@ a.active{
|
|
1408 |
color:#74C2E1;
|
1409 |
}
|
1410 |
.search_section {
|
1411 |
-
display: inline-block;
|
1412 |
-
float: right;
|
1413 |
}
|
1414 |
#search_provider{
|
1415 |
-
width: 264px;
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
|
|
|
|
1420 |
}
|
1421 |
.search_section .search-icon{
|
1422 |
position: absolute;
|
1423 |
-
padding: 5px;
|
|
|
1424 |
}
|
1425 |
.provider_settings {
|
1426 |
display: inline-block;
|
@@ -1435,65 +1498,61 @@ a.active{
|
|
1435 |
display:block;
|
1436 |
}
|
1437 |
.provider_top {
|
1438 |
-
position: relative;
|
1439 |
-
margin: 10px 0;
|
|
|
|
|
1440 |
}
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
|
|
1444 |
}
|
1445 |
|
1446 |
-
|
1447 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1448 |
position: absolute;
|
1449 |
-
|
1450 |
-
background-color: #f9f9f9;
|
1451 |
-
min-width: 220px;
|
1452 |
-
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
1453 |
-
z-index: 100;
|
1454 |
-
border: 1px solid #ccc;
|
1455 |
-
padding: .5rem;
|
1456 |
-
margin-top: 0;
|
1457 |
-
}
|
1458 |
-
.dropdown-content li {
|
1459 |
-
margin-bottom: 0;
|
1460 |
-
border-bottom: 1px solid #ebeef2;
|
1461 |
-
padding: .5rem;
|
1462 |
}
|
1463 |
-
.
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
}
|
1469 |
-
.
|
1470 |
-
|
1471 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1472 |
}
|
1473 |
-
|
1474 |
-
|
|
|
1475 |
}
|
1476 |
-
.dropdown-content li:hover {background-color: #f1f1f1;}
|
1477 |
-
/*.dropdown:hover .dropdown-content {display: block;}*/
|
1478 |
-
|
1479 |
.dropdown_menu{
|
1480 |
cursor: pointer;
|
1481 |
padding: 0 5px 10px;
|
1482 |
}
|
1483 |
-
.
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
transform: rotate(45deg);
|
1493 |
-
/* box-shadow: -1px -1px 1px rgba(0,0,0,0.125); */
|
1494 |
-
border: 1px solid #aebacc;
|
1495 |
-
border-width: 1px 0 0 1px;
|
1496 |
-
margin-top: -1px;
|
1497 |
}
|
1498 |
.mdl-dialog.add_custom_dialog{
|
1499 |
width: 600px;
|
@@ -1539,9 +1598,9 @@ a.active{
|
|
1539 |
.popuprow {
|
1540 |
display: inline-block;
|
1541 |
vertical-align: middle;
|
1542 |
-
max-width:
|
1543 |
background: #f9f9f9;
|
1544 |
-
padding: 30px;
|
1545 |
position: relative;
|
1546 |
z-index: 10;
|
1547 |
border-radius: 2px;
|
@@ -1549,17 +1608,19 @@ a.active{
|
|
1549 |
width: calc(100% - 5px);
|
1550 |
max-height: 90%;
|
1551 |
overflow-y: overlay;
|
|
|
1552 |
}
|
1553 |
-
.how_to_video_popup .popuprow{
|
1554 |
max-width: 700px;
|
1555 |
padding: 0;
|
1556 |
}
|
1557 |
.trackingpopup_row {
|
1558 |
display: inline-block;
|
1559 |
vertical-align: middle;
|
1560 |
-
max-width:
|
|
|
1561 |
background: #f9f9f9;
|
1562 |
-
padding: 30px;
|
1563 |
position: relative;
|
1564 |
z-index: 10;
|
1565 |
border-radius: 2px;
|
@@ -1579,20 +1640,29 @@ a.active{
|
|
1579 |
.popupwrapper input[type=text],.trackingpopup_wrapper input[type=text]{
|
1580 |
line-height: 24px;
|
1581 |
color: #0d0d0d;
|
1582 |
-
width:
|
1583 |
-
margin-bottom: 10px;
|
1584 |
-
/*border: 1px solid #ddd !important;*/
|
1585 |
}
|
1586 |
.popupwrapper input[type=text].image_path,.trackingpopup_wrapper input[type=text].image_path{
|
1587 |
-
width:
|
1588 |
}
|
1589 |
.popupwrapper select,.popupwrapper .select2,.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
|
1590 |
line-height: 24px;
|
1591 |
color: #0d0d0d;
|
1592 |
-
width:
|
1593 |
margin-bottom: 10px;
|
1594 |
-
height: 32px;
|
1595 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1596 |
}
|
1597 |
.close-button{
|
1598 |
background: #000 none repeat scroll 0 0;
|
@@ -1605,6 +1675,13 @@ a.active{
|
|
1605 |
right: 10px;
|
1606 |
height: 34px;
|
1607 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
.provider-status .mdl-switch{
|
1609 |
width: auto;
|
1610 |
}
|
@@ -1688,6 +1765,7 @@ p.delivered_message {
|
|
1688 |
.woocommerce.zorem_admin_layout table.form-table.heading-table{
|
1689 |
margin: 25px 0 0;
|
1690 |
border-bottom: 0;
|
|
|
1691 |
}
|
1692 |
#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{
|
1693 |
border-bottom: 0;
|
@@ -1698,6 +1776,7 @@ p.delivered_message {
|
|
1698 |
.woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
|
1699 |
margin: 0;
|
1700 |
color:#005B9A;
|
|
|
1701 |
}
|
1702 |
.woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
|
1703 |
text-align:right;
|
@@ -1709,6 +1788,7 @@ p.delivered_message {
|
|
1709 |
margin: 25px 0 0;
|
1710 |
border-bottom: 0;
|
1711 |
padding: 15px;
|
|
|
1712 |
}
|
1713 |
.zorem_admin_layout h3.table-heading:after{
|
1714 |
content:'';
|
@@ -1719,6 +1799,7 @@ p.delivered_message {
|
|
1719 |
}
|
1720 |
.woocommerce.zorem_admin_layout table.form-table th{
|
1721 |
padding: 20px 24px 20px 15px;
|
|
|
1722 |
}
|
1723 |
.woocommerce.zorem_admin_layout table.form-table td{
|
1724 |
padding: 15px 15px;
|
@@ -1726,6 +1807,7 @@ p.delivered_message {
|
|
1726 |
.woocommerce.zorem_admin_layout table.form-table th label{
|
1727 |
font-weight: 400;
|
1728 |
color: #444;
|
|
|
1729 |
}
|
1730 |
.woocommerce.zorem_admin_layout table.form-table p.description{
|
1731 |
font-size: 0.9em;
|
@@ -1756,6 +1838,13 @@ p.tracking-preview-desc {
|
|
1756 |
width: auto;
|
1757 |
max-width: 400px;
|
1758 |
min-width: 90px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1759 |
}
|
1760 |
.trackship-icon{
|
1761 |
width: 70px;
|
@@ -1765,6 +1854,9 @@ p.tracking-preview-desc {
|
|
1765 |
text-align:left;
|
1766 |
}
|
1767 |
.add_tracking_number_form input[type=checkbox]{
|
|
|
|
|
|
|
1768 |
margin: 0px 4px 0 4px;
|
1769 |
}
|
1770 |
.d_table{
|
@@ -1875,6 +1967,13 @@ p.tracking-preview-desc {
|
|
1875 |
width: 100%;
|
1876 |
height: 100%;
|
1877 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1878 |
@media (max-width: 767px) {
|
1879 |
.notice.ast-admin-notice {
|
1880 |
padding: 10px;
|
@@ -1981,7 +2080,8 @@ input.widget_tab_input {
|
|
1981 |
display: none;
|
1982 |
}
|
1983 |
input.widget_tab_input:checked + label {
|
1984 |
-
color: #74C2E1;
|
|
|
1985 |
}
|
1986 |
label.widget_tab_label{
|
1987 |
text-decoration: none;
|
@@ -1992,17 +2092,20 @@ label.widget_tab_label{
|
|
1992 |
display: inline-block;
|
1993 |
margin-right: 12px;
|
1994 |
line-height: 1;
|
1995 |
-
outline: none;
|
1996 |
}
|
1997 |
label.widget_tab_label.first_label{
|
1998 |
margin-left: 12px;
|
1999 |
}
|
2000 |
-
#tab_s_providers:checked ~ #content_s_providers,#tab_s_status:checked ~ #content_s_status{
|
2001 |
display: block;
|
2002 |
}
|
|
|
2003 |
section.widget_tab_section {
|
2004 |
display: none;
|
2005 |
border-top:1px solid #eee;
|
|
|
|
|
2006 |
}
|
2007 |
/**** -------- ****/
|
2008 |
|
@@ -2038,7 +2141,225 @@ section.widget_tab_section {
|
|
2038 |
padding: 0;
|
2039 |
margin: 0;
|
2040 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2041 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2042 |
/*** RTL CSS ***/
|
2043 |
.rtl.shipment_tracking_admin_settings #wpcontent {
|
2044 |
padding-right: 0;
|
@@ -2148,7 +2469,8 @@ section.widget_tab_section {
|
|
2148 |
width: 25%;
|
2149 |
}
|
2150 |
#search_provider{
|
2151 |
-
width:
|
|
|
2152 |
}
|
2153 |
.provider-thumb {
|
2154 |
height: 40px;
|
@@ -2157,6 +2479,13 @@ section.widget_tab_section {
|
|
2157 |
width: 60%;
|
2158 |
}
|
2159 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2160 |
@media screen and (max-width: 750px) {
|
2161 |
.d_table{
|
2162 |
display:block;
|
@@ -2178,6 +2507,12 @@ section.widget_tab_section {
|
|
2178 |
padding: 15px 0 15px;
|
2179 |
margin-left: 30px;
|
2180 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2181 |
}
|
2182 |
@media screen and (max-width: 500px) {
|
2183 |
.provider{
|
@@ -2194,4 +2529,7 @@ section.widget_tab_section {
|
|
2194 |
#search_provider{
|
2195 |
width: 100%;
|
2196 |
}
|
|
|
|
|
|
|
2197 |
}
|
37 |
width: 100%
|
38 |
}
|
39 |
#woocommerce-advanced-shipment-tracking input[type=checkbox]{
|
40 |
+
margin: 0px 4px 0 0px;
|
41 |
+
}
|
42 |
+
#woocommerce-advanced-shipment-tracking .ast-product-table input[type=checkbox]{
|
43 |
+
margin: 0px 4px 0 4px;
|
44 |
+
}
|
45 |
+
#woocommerce-advanced-shipment-tracking #change_order_to_shipped_field{
|
46 |
margin: 0px 4px 0 4px;
|
47 |
}
|
48 |
#woocommerce-advanced-shipment-tracking .preview_tracking_link {
|
87 |
display: none;
|
88 |
padding: 0 30px 30px;
|
89 |
border-top: 1px solid #ddd;
|
90 |
+
background: #f7fafc;
|
91 |
+
}
|
92 |
+
section.inner_tab_section {
|
93 |
+
display: none;
|
94 |
}
|
95 |
section.tpage_section{
|
96 |
display: none;
|
97 |
}
|
98 |
+
input.tab_input,input.inner_tab_input {
|
99 |
display: none;
|
100 |
}
|
101 |
label.tab_label {
|
102 |
text-decoration: none;
|
103 |
+
padding: 17px 0 15px;
|
|
|
104 |
font-size: 14px;
|
105 |
color: #393f4c;
|
106 |
display: inline-block;
|
108 |
line-height: 1;
|
109 |
outline: none;
|
110 |
}
|
111 |
+
label.inner_tab_label {
|
112 |
+
text-decoration: none;
|
113 |
+
padding: 15px 0 5px;
|
114 |
+
font-size: 13px;
|
115 |
+
color: #393f4c;
|
116 |
+
display: inline-block;
|
117 |
+
margin-right: 15px;
|
118 |
+
line-height: 1;
|
119 |
+
outline: none;
|
120 |
+
}
|
121 |
label.tab_label.first_label {
|
122 |
margin-left: 30px;
|
123 |
}
|
130 |
color: #74C2E1;
|
131 |
cursor: pointer;
|
132 |
}
|
133 |
+
input.tab_input:checked + label,input.inner_tab_input:checked + label {
|
134 |
color: #74C2E1;
|
135 |
+
border-bottom: 2px solid #74C2E1;
|
136 |
margin-bottom: -1px;
|
137 |
}
|
138 |
input.tab_input_1 {
|
152 |
display: table-cell;
|
153 |
vertical-align: top;
|
154 |
}
|
155 |
+
#wc_ast_trackship_form {
|
156 |
+
border-top: 1px solid #eee;
|
157 |
+
}
|
158 |
#content1 .tab_inner_container{
|
159 |
display: block;
|
160 |
}
|
161 |
.tab_inner_container h4 {
|
162 |
margin-top: 0;
|
163 |
}
|
164 |
+
#tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10,#tab_trackship_dashboard:checked ~ #wc_ast_trackship_form #content_trackship_dashboard,#tab_tracking_page:checked ~ #wc_ast_trackship_form #content_tracking_page,#tab_status_notifications:checked ~ #wc_ast_trackship_form #content_status_notifications,#tab_tools:checked ~ #wc_ast_trackship_form #content_tools {
|
165 |
display: block;
|
166 |
}
|
167 |
.shipping_add_field {
|
178 |
width: 280px;
|
179 |
display: table-cell;
|
180 |
vertical-align: top;
|
181 |
+
padding: 25px 0px 25px 20px;
|
182 |
+
}
|
183 |
+
.zorem_admin_sidebar_inner {
|
184 |
+
border-left: 1px solid #eee;
|
185 |
+
padding-left: 20px;
|
186 |
}
|
187 |
.zorem_admin_layout .zorem_admin_sidebar h3{
|
188 |
+
margin: 0 0 5px 0;
|
|
|
189 |
color: #005B9A;
|
190 |
border-bottom: 1px solid #eee;
|
191 |
+
padding: 0 0 10px;
|
192 |
+
}
|
193 |
+
.zorem_admin_layout .zorem_admin_sidebar h3.top-border{
|
194 |
+
padding: 10px 0 10px;
|
195 |
+
border-top: 1px solid #eee;
|
196 |
}
|
197 |
.zorem_admin_layout .zorem_admin_sidebar p,.zorem_admin_layout .zorem_admin_sidebar a{
|
198 |
+
margin: 0px 10px 0 0;
|
199 |
}
|
200 |
.zorem-sidebar-title {
|
201 |
padding: 10px 0;
|
203 |
color: #1ead94;
|
204 |
line-height: 15px;
|
205 |
}
|
206 |
+
.zorem-sidebar__section {
|
207 |
+
margin-bottom: 20px;
|
|
|
|
|
|
|
208 |
}
|
209 |
..zorem-sidebar__section li:before {
|
210 |
position: absolute;
|
213 |
}
|
214 |
.zorem-sidebar__section ul {
|
215 |
position: relative;
|
216 |
+
margin: 10px 0 10px 0;
|
217 |
}
|
218 |
.zorem-sidebar__section li {
|
219 |
list-style: none;
|
220 |
+
margin-bottom: 10px;
|
221 |
}
|
222 |
.zorem-sidebar__section li img.plugin_thumbnail {
|
223 |
width: 60px;
|
234 |
.zorem-sidebar__section div a {
|
235 |
color: #0085ba;
|
236 |
}
|
237 |
+
.sidebar_addon_inner {
|
238 |
+
border: 1px solid #e9e9e9;
|
239 |
+
padding: 0;
|
240 |
+
margin-top: 10px;
|
241 |
+
}
|
242 |
+
.sidebar_addon_logo{
|
243 |
+
max-width: 100%;
|
244 |
+
}
|
245 |
+
.addon_button_div {
|
246 |
+
padding: 10px 15px;
|
247 |
+
border-top: 1px solid #e9e9e9;
|
248 |
+
background-color: #fff;
|
249 |
+
}
|
250 |
+
.addon_widget_button .dashicons{
|
251 |
+
vertical-align:middle;
|
252 |
+
}
|
253 |
.shipping_provider_tab {
|
254 |
width: 100%;
|
255 |
display: block;
|
341 |
margin-top: 20px;
|
342 |
padding: 10px 15px;
|
343 |
}
|
|
|
|
|
|
|
|
|
344 |
#woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
|
345 |
display: none;
|
346 |
}
|
351 |
width: 30%;
|
352 |
}
|
353 |
.ast_admin_content .form-table th.titledesc {
|
354 |
+
width: 40%;
|
355 |
}
|
356 |
.woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
|
357 |
margin: -4px 0 0 5px;
|
384 |
.ast_admin_content .form-table .wp-color-result.button {
|
385 |
margin: 0 6px 0px 0;
|
386 |
}
|
387 |
+
#wc_ast_status_label_color,#wc_ast_status_partial_shipped_label_color,#wc_ast_status_updated_tracking_label_color,#wc_ast_select_primary_color,#wc_ast_select_border_color {
|
388 |
width: 80px;
|
389 |
}
|
390 |
.color_field input[type=text] {
|
631 |
.form-table td p{
|
632 |
margin: 0;
|
633 |
}
|
634 |
+
#wc_ast_settings_form .form-table tr,#wc_ast_trackship_form .form-table tr,#wc_ast_upload_csv_form .form-table tr,#wc_ast_addons_form .form-table tr{
|
635 |
border-bottom: 1px solid #eee;
|
636 |
}
|
|
|
|
|
|
|
637 |
input#wc_ast_api_key {
|
638 |
width: 260px;
|
639 |
}
|
657 |
.ac-container .headig_label {
|
658 |
padding: 15px 20px 15px 60px;
|
659 |
margin-bottom: 0;
|
660 |
+
position: relative;
|
|
|
661 |
display: block;
|
662 |
cursor: default;
|
663 |
color: #777;
|
847 |
span.email_status_span i.enable {
|
848 |
color: #83bd31;
|
849 |
}
|
850 |
+
.tracking-content-div{
|
851 |
+
margin-bottom: 5px;
|
852 |
+
}
|
853 |
+
.ast-shipment-status-div{
|
854 |
+
margin-top: 10px;
|
855 |
+
}
|
856 |
+
.wcast-shipment-status-list .ast-shipment-status{
|
857 |
+
display: grid;
|
858 |
+
}
|
859 |
+
.wcast-shipment-status-list .ast-shipment-status.has_est_delivery_1{
|
860 |
+
display: block;
|
861 |
+
}
|
862 |
.ast-shipment-status i {
|
863 |
+
font-size: 18px;
|
864 |
}
|
865 |
.label_content {
|
866 |
font-weight: 600;
|
878 |
margin-right: 10px;
|
879 |
}
|
880 |
.wcast-shipment-status-icon span{
|
881 |
+
margin-top: 0px;
|
882 |
display: inline-block;
|
883 |
}
|
884 |
.wcast-shipment-status-icon .icon-invalid_user_key:before{
|
885 |
content: ' ';
|
886 |
background-image: url(icons/invalid-user-key-v4.png);
|
887 |
+
width: 16px;
|
888 |
+
height: 16px;
|
889 |
background-size: cover;
|
890 |
display: inline-block;
|
891 |
vertical-align: middle;
|
893 |
.wcast-shipment-status-icon .icon-delivered:before{
|
894 |
content: ' ';
|
895 |
background-image: url(icons/delivered-v4.png);
|
896 |
+
width: 16px;
|
897 |
+
height: 16px;
|
898 |
background-size: cover;
|
899 |
display: inline-block;
|
900 |
vertical-align: middle;
|
902 |
.wcast-shipment-status-icon .icon-in_transit:before{
|
903 |
content: ' ';
|
904 |
background-image: url(icons/in-transit-v4.png);
|
905 |
+
width: 16px;
|
906 |
+
height: 16px;
|
907 |
background-size: cover;
|
908 |
display: inline-block;
|
909 |
vertical-align: middle;
|
911 |
.wcast-shipment-status-icon .icon-pre_transit:before{
|
912 |
content: ' ';
|
913 |
background-image: url(icons/pre-transit-v4.png);
|
914 |
+
width: 16px;
|
915 |
+
height: 16px;
|
916 |
background-size: cover;
|
917 |
display: inline-block;
|
918 |
vertical-align: middle;
|
920 |
.wcast-shipment-status-icon .icon-out_for_delivery:before{
|
921 |
content: ' ';
|
922 |
background-image: url(icons/out-for-delivery-v4.png);
|
923 |
+
width: 16px;
|
924 |
+
height: 16px;
|
925 |
background-size: cover;
|
926 |
display: inline-block;
|
927 |
vertical-align: middle;
|
929 |
.wcast-shipment-status-icon .icon-available_for_pickup:before{
|
930 |
content: ' ';
|
931 |
background-image: url(icons/available-for-picup-v4.png);
|
932 |
+
width: 16px;
|
933 |
+
height: 16px;
|
934 |
background-size: cover;
|
935 |
display: inline-block;
|
936 |
vertical-align: middle;
|
938 |
.wcast-shipment-status-icon .icon-return_to_sender:before{
|
939 |
content: ' ';
|
940 |
background-image: url(icons/return-to-sender-v4.png);
|
941 |
+
width: 16px;
|
942 |
+
height: 16px;
|
943 |
background-size: cover;
|
944 |
display: inline-block;
|
945 |
vertical-align: middle;
|
947 |
.wcast-shipment-status-icon .icon-failure:before{
|
948 |
content: ' ';
|
949 |
background-image: url(icons/failure-v4.png);
|
950 |
+
width: 16px;
|
951 |
+
height: 16px;
|
952 |
background-size: cover;
|
953 |
display: inline-block;
|
954 |
vertical-align: middle;
|
956 |
.wcast-shipment-status-icon .icon-unknown:before{
|
957 |
content: ' ';
|
958 |
background-image: url(icons/unknown-v4.png);
|
959 |
+
width: 16px;
|
960 |
+
height: 16px;
|
961 |
background-size: cover;
|
962 |
display: inline-block;
|
963 |
vertical-align: middle;
|
965 |
.wcast-shipment-status-icon .icon-pending_trackship:before{
|
966 |
content: ' ';
|
967 |
background-image: url(icons/pending-trackship-v4.png);
|
968 |
+
width: 16px;
|
969 |
+
height: 16px;
|
970 |
background-size: cover;
|
971 |
display: inline-block;
|
972 |
vertical-align: middle;
|
974 |
.wcast-shipment-status-icon .icon-INVALID_TRACKING_NUM:before{
|
975 |
content: ' ';
|
976 |
background-image: url(icons/invalid-v3.png);
|
977 |
+
width: 16px;
|
978 |
+
height: 16px;
|
979 |
background-size: cover;
|
980 |
display: inline-block;
|
981 |
vertical-align: middle;
|
983 |
.wcast-shipment-status-icon .icon-wrong_shipping_provider:before{
|
984 |
content: ' ';
|
985 |
background-image: url(icons/invalid-v3.png);
|
986 |
+
width: 16px;
|
987 |
+
height: 16px;
|
988 |
background-size: cover;
|
989 |
display: inline-block;
|
990 |
vertical-align: middle;
|
992 |
.wcast-shipment-status-icon .icon-default:before{
|
993 |
content: ' ';
|
994 |
background-image: url(icons/invalid-v3.png);
|
995 |
+
width: 16px;
|
996 |
+
height: 16px;
|
997 |
background-size: cover;
|
998 |
display: inline-block;
|
999 |
vertical-align: middle;
|
1001 |
.ast-shipment-status .icon-default:before{
|
1002 |
content: ' ';
|
1003 |
background-image: url(icons/invalid-v3.png);
|
1004 |
+
width: 16px;
|
1005 |
+
height: 16px;
|
1006 |
background-size: cover;
|
1007 |
display: inline-block;
|
1008 |
+
vertical-align: sub;
|
1009 |
+
margin-right: 5px;
|
1010 |
}
|
1011 |
.ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
|
1012 |
content: ' ';
|
1013 |
background-image: url(icons/invalid-v3.png);
|
1014 |
+
width: 16px;
|
1015 |
+
height: 16px;
|
1016 |
background-size: cover;
|
1017 |
display: inline-block;
|
1018 |
+
vertical-align: sub;
|
1019 |
+
margin-right: 5px;
|
1020 |
}
|
1021 |
.ast-shipment-status .icon-wrong_shipping_provider:before{
|
1022 |
content: ' ';
|
1023 |
background-image: url(icons/invalid-v3.png);
|
1024 |
+
width: 16px;
|
1025 |
+
height: 16px;
|
1026 |
background-size: cover;
|
1027 |
display: inline-block;
|
1028 |
+
vertical-align: sub;
|
1029 |
+
margin-right: 5px;
|
1030 |
}
|
1031 |
.ast-shipment-status .icon-delivered:before{
|
1032 |
content: ' ';
|
1033 |
background-image: url(icons/delivered-v4.png);
|
1034 |
+
width: 16px;
|
1035 |
+
height: 16px;
|
1036 |
background-size: cover;
|
1037 |
display: inline-block;
|
1038 |
+
vertical-align: sub;
|
1039 |
+
margin-right: 5px;
|
1040 |
}
|
1041 |
.ast-shipment-status .icon-in_transit:before{
|
1042 |
content: ' ';
|
1043 |
background-image: url(icons/in-transit-v4.png);
|
1044 |
+
width: 16px;
|
1045 |
+
height: 16px;
|
1046 |
background-size: cover;
|
1047 |
display: inline-block;
|
1048 |
+
vertical-align: sub;
|
1049 |
+
margin-right: 5px;
|
1050 |
}
|
1051 |
.ast-shipment-status .icon-pre_transit:before{
|
1052 |
content: ' ';
|
1053 |
background-image: url(icons/pre-transit-v4.png);
|
1054 |
+
width: 16px;
|
1055 |
+
height: 16px;
|
1056 |
background-size: cover;
|
1057 |
display: inline-block;
|
1058 |
+
vertical-align: sub;
|
1059 |
+
margin-right: 5px;
|
1060 |
}
|
1061 |
.ast-shipment-status .icon-out_for_delivery:before{
|
1062 |
content: ' ';
|
1063 |
background-image: url(icons/out-for-delivery-v4.png);
|
1064 |
+
width: 16px;
|
1065 |
+
height: 16px;
|
1066 |
background-size: cover;
|
1067 |
display: inline-block;
|
1068 |
+
vertical-align: sub;
|
1069 |
+
margin-right: 5px;
|
1070 |
}
|
1071 |
.ast-shipment-status .icon-available_for_pickup:before{
|
1072 |
content: ' ';
|
1073 |
background-image: url(icons/available-for-picup-v4.png);
|
1074 |
+
width: 16px;
|
1075 |
+
height: 16px;
|
1076 |
background-size: cover;
|
1077 |
display: inline-block;
|
1078 |
+
vertical-align: sub;
|
1079 |
+
margin-right: 5px;
|
1080 |
}
|
1081 |
.ast-shipment-status .icon-return_to_sender:before{
|
1082 |
content: ' ';
|
1083 |
background-image: url(icons/return-to-sender-v4.png);
|
1084 |
+
width: 16px;
|
1085 |
+
height: 16px;
|
1086 |
background-size: cover;
|
1087 |
display: inline-block;
|
1088 |
+
vertical-align: sub;
|
1089 |
+
margin-right: 5px;
|
1090 |
}
|
1091 |
.ast-shipment-status .icon-failure:before{
|
1092 |
content: ' ';
|
1093 |
background-image: url(icons/failure-v4.png);
|
1094 |
+
width: 16px;
|
1095 |
+
height: 16px;
|
1096 |
background-size: cover;
|
1097 |
display: inline-block;
|
1098 |
+
vertical-align: sub;
|
1099 |
+
margin-right: 5px;
|
1100 |
}
|
1101 |
.ast-shipment-status .icon-unknown:before{
|
1102 |
content: ' ';
|
1103 |
background-image: url(icons/unknown-v4.png);
|
1104 |
+
width: 16px;
|
1105 |
+
height: 16px;
|
1106 |
background-size: cover;
|
1107 |
display: inline-block;
|
1108 |
+
vertical-align: sub;
|
1109 |
+
margin-right: 5px;
|
1110 |
}
|
1111 |
.ast-shipment-status .icon-pending_trackship:before{
|
1112 |
content: ' ';
|
1113 |
background-image: url(icons/pending-trackship-v4.png);
|
1114 |
+
width: 16px;
|
1115 |
+
height: 16px;
|
1116 |
background-size: cover;
|
1117 |
display: inline-block;
|
1118 |
+
vertical-align: sub;
|
1119 |
+
margin-right: 5px;
|
1120 |
}
|
1121 |
.ast-shipment-status .icon-invalid_user_key:before{
|
1122 |
content: ' ';
|
1123 |
background-image: url(icons/invalid-user-key-v4.png);
|
1124 |
+
width: 16px;
|
1125 |
+
height: 16px;
|
1126 |
background-size: cover;
|
1127 |
display: inline-block;
|
1128 |
+
vertical-align: sub;
|
1129 |
+
margin-right: 5px;
|
1130 |
}
|
1131 |
|
1132 |
.wcast-shipment-status-icon i {
|
1145 |
.icon-pending_trackship {
|
1146 |
color: #CCCC00;
|
1147 |
}
|
1148 |
+
.wcast-shipment-status-list .wcast-shipment-est-delivery {
|
1149 |
display: block;
|
1150 |
}
|
1151 |
.showif_has_est_delivery_0, .showif_has_est_delivery_1 {
|
1172 |
font-size: 11px;
|
1173 |
}
|
1174 |
.wcast-tracking-number-list li, .wcast-shipment-status-list li {
|
1175 |
+
position: relative;
|
1176 |
+
border: 1px solid #eee;
|
1177 |
+
padding: 10px;
|
1178 |
min-height: 50px;
|
1179 |
box-sizing: border-box;
|
1180 |
+
background-color: #fff;
|
1181 |
}
|
1182 |
a.inline_tracking_delete{
|
1183 |
display:none;
|
1279 |
padding-bottom: 40px;
|
1280 |
}
|
1281 |
.woocommerce_page_woocommerce-advanced-shipment-tracking #wpfooter{
|
1282 |
+
background: #f7fafc;
|
1283 |
}
|
1284 |
.woocommerce_page_woocommerce-advanced-shipment-tracking .white-bg{
|
1285 |
background: #fff;
|
1413 |
font-weight: 500;
|
1414 |
font-size: 14px;
|
1415 |
}
|
1416 |
+
.provider_list .row-1 {
|
1417 |
margin-bottom: 0;
|
1418 |
display: flex;
|
1419 |
align-items: start;
|
1420 |
}
|
1421 |
+
.provider_list .row-1:after {
|
1422 |
content: '';
|
1423 |
clear: both;
|
1424 |
display: block;
|
1425 |
}
|
1426 |
+
.provider_list .row-2 {
|
1427 |
margin-top: 15px;
|
1428 |
border-top: 1px solid #ccc;
|
1429 |
padding-top: 10px;
|
1443 |
float: right;
|
1444 |
padding-right: 10px;
|
1445 |
}
|
1446 |
+
.provider_list .row-2:after{
|
1447 |
content:'';
|
1448 |
clear:both;
|
1449 |
display: block;
|
1454 |
}
|
1455 |
.status_filter {
|
1456 |
margin: 10px 8px 10px 0;
|
1457 |
+
display:inline-block;
|
1458 |
}
|
1459 |
.status_filter a{
|
1460 |
+
font-size: 1.1em;
|
1461 |
padding: 0 5px;
|
1462 |
text-decoration: none;
|
1463 |
}
|
1469 |
color:#74C2E1;
|
1470 |
}
|
1471 |
.search_section {
|
1472 |
+
display: inline-block;
|
|
|
1473 |
}
|
1474 |
#search_provider{
|
1475 |
+
width: 264px;
|
1476 |
+
min-width: 280px;
|
1477 |
+
border: 1px solid #ccc;
|
1478 |
+
border-radius: 3px;
|
1479 |
+
padding: 0 0 0 30px;
|
1480 |
+
line-height: 2;
|
1481 |
+
min-height: 30px;
|
1482 |
}
|
1483 |
.search_section .search-icon{
|
1484 |
position: absolute;
|
1485 |
+
padding: 5px 6px;
|
1486 |
+
color: #005b9a;
|
1487 |
}
|
1488 |
.provider_settings {
|
1489 |
display: inline-block;
|
1498 |
display:block;
|
1499 |
}
|
1500 |
.provider_top {
|
1501 |
+
position: relative;
|
1502 |
+
margin: 5px 0 10px 0;
|
1503 |
+
padding-bottom: 5px;
|
1504 |
+
border-bottom: 1px solid #e9e9e9;
|
1505 |
}
|
1506 |
+
/* Tooltip container */
|
1507 |
+
.provider_settings .tooltip {
|
1508 |
+
position: relative;
|
1509 |
+
display: inline-block;
|
1510 |
}
|
1511 |
|
1512 |
+
/* Tooltip text */
|
1513 |
+
.provider_settings .tooltip .tooltiptext {
|
1514 |
+
visibility: hidden;
|
1515 |
+
width: 100px;
|
1516 |
+
background-color: black;
|
1517 |
+
color: #fff;
|
1518 |
+
text-align: center;
|
1519 |
+
padding: 5px 0;
|
1520 |
+
border-radius: 6px;
|
1521 |
position: absolute;
|
1522 |
+
z-index: 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1523 |
}
|
1524 |
+
.provider_settings .tooltip-top{
|
1525 |
+
bottom: 125%;
|
1526 |
+
left: 20%;
|
1527 |
+
margin-left: -52px;
|
|
|
1528 |
}
|
1529 |
+
.provider_settings .tooltip .tooltiptext::after {
|
1530 |
+
content: " ";
|
1531 |
+
position: absolute;
|
1532 |
+
top: 100%; /* At the bottom of the tooltip */
|
1533 |
+
left: 58%;
|
1534 |
+
margin-left: -5px;
|
1535 |
+
border-width: 5px;
|
1536 |
+
border-style: solid;
|
1537 |
+
border-color: black transparent transparent transparent;
|
1538 |
}
|
1539 |
+
/* Show the tooltip text when you mouse over the tooltip container */
|
1540 |
+
.provider_settings .tooltip:hover .tooltiptext {
|
1541 |
+
visibility: visible;
|
1542 |
}
|
|
|
|
|
|
|
1543 |
.dropdown_menu{
|
1544 |
cursor: pointer;
|
1545 |
padding: 0 5px 10px;
|
1546 |
}
|
1547 |
+
ul.provider_settings_ul {
|
1548 |
+
margin: 5px 0 0;
|
1549 |
+
}
|
1550 |
+
.provider_settings_ul li {
|
1551 |
+
display: inline-block;
|
1552 |
+
margin: 0 5px;
|
1553 |
+
}
|
1554 |
+
.provider_settings_ul li a {
|
1555 |
+
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
1556 |
}
|
1557 |
.mdl-dialog.add_custom_dialog{
|
1558 |
width: 600px;
|
1598 |
.popuprow {
|
1599 |
display: inline-block;
|
1600 |
vertical-align: middle;
|
1601 |
+
max-width: 310px;
|
1602 |
background: #f9f9f9;
|
1603 |
+
padding: 15px 30px;
|
1604 |
position: relative;
|
1605 |
z-index: 10;
|
1606 |
border-radius: 2px;
|
1608 |
width: calc(100% - 5px);
|
1609 |
max-height: 90%;
|
1610 |
overflow-y: overlay;
|
1611 |
+
text-align: left;
|
1612 |
}
|
1613 |
+
.how_to_video_popup .popuprow,.ts_video_popup .popuprow,.tracking_item_video_popup .popuprow{
|
1614 |
max-width: 700px;
|
1615 |
padding: 0;
|
1616 |
}
|
1617 |
.trackingpopup_row {
|
1618 |
display: inline-block;
|
1619 |
vertical-align: middle;
|
1620 |
+
max-width: 310px;
|
1621 |
+
text-align:left;
|
1622 |
background: #f9f9f9;
|
1623 |
+
padding: 15px 30px;
|
1624 |
position: relative;
|
1625 |
z-index: 10;
|
1626 |
border-radius: 2px;
|
1640 |
.popupwrapper input[type=text],.trackingpopup_wrapper input[type=text]{
|
1641 |
line-height: 24px;
|
1642 |
color: #0d0d0d;
|
1643 |
+
width: 100%;
|
1644 |
+
margin-bottom: 10px;
|
|
|
1645 |
}
|
1646 |
.popupwrapper input[type=text].image_path,.trackingpopup_wrapper input[type=text].image_path{
|
1647 |
+
width: 77.5%;
|
1648 |
}
|
1649 |
.popupwrapper select,.popupwrapper .select2,.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
|
1650 |
line-height: 24px;
|
1651 |
color: #0d0d0d;
|
1652 |
+
width: 100%;
|
1653 |
margin-bottom: 10px;
|
1654 |
+
height: 32px;
|
1655 |
+
}
|
1656 |
+
.custom_provider_instruction{
|
1657 |
+
text-align:left;
|
1658 |
+
margin-bottom: 10px;
|
1659 |
+
}
|
1660 |
+
.add_provider_popup .popuprow{
|
1661 |
+
max-width: 310px;
|
1662 |
+
text-align: left;
|
1663 |
+
}
|
1664 |
+
.popupwrapper #upload_image_button{
|
1665 |
+
min-height: 30px;
|
1666 |
}
|
1667 |
.close-button{
|
1668 |
background: #000 none repeat scroll 0 0;
|
1675 |
right: 10px;
|
1676 |
height: 34px;
|
1677 |
}
|
1678 |
+
.change_order_to_shipped_field ul{
|
1679 |
+
margin: 5px 0 0 0;
|
1680 |
+
}
|
1681 |
+
.change_order_to_shipped_field ul li {
|
1682 |
+
display: inline-block;
|
1683 |
+
margin-right: 5px;
|
1684 |
+
}
|
1685 |
.provider-status .mdl-switch{
|
1686 |
width: auto;
|
1687 |
}
|
1765 |
.woocommerce.zorem_admin_layout table.form-table.heading-table{
|
1766 |
margin: 25px 0 0;
|
1767 |
border-bottom: 0;
|
1768 |
+
background: #f5f8fa;
|
1769 |
}
|
1770 |
#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{
|
1771 |
border-bottom: 0;
|
1776 |
.woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
|
1777 |
margin: 0;
|
1778 |
color:#005B9A;
|
1779 |
+
font-weight: 400;
|
1780 |
}
|
1781 |
.woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
|
1782 |
text-align:right;
|
1788 |
margin: 25px 0 0;
|
1789 |
border-bottom: 0;
|
1790 |
padding: 15px;
|
1791 |
+
font-weight: 400;
|
1792 |
}
|
1793 |
.zorem_admin_layout h3.table-heading:after{
|
1794 |
content:'';
|
1799 |
}
|
1800 |
.woocommerce.zorem_admin_layout table.form-table th{
|
1801 |
padding: 20px 24px 20px 15px;
|
1802 |
+
vertical-align: middle;
|
1803 |
}
|
1804 |
.woocommerce.zorem_admin_layout table.form-table td{
|
1805 |
padding: 15px 15px;
|
1807 |
.woocommerce.zorem_admin_layout table.form-table th label{
|
1808 |
font-weight: 400;
|
1809 |
color: #444;
|
1810 |
+
cursor: auto;
|
1811 |
}
|
1812 |
.woocommerce.zorem_admin_layout table.form-table p.description{
|
1813 |
font-size: 0.9em;
|
1838 |
width: auto;
|
1839 |
max-width: 400px;
|
1840 |
min-width: 90px;
|
1841 |
+
line-height: 20px;
|
1842 |
+
}
|
1843 |
+
.woocommerce.zorem_admin_layout table.form-table .input-text{
|
1844 |
+
width: 100%;
|
1845 |
+
max-width: 400px;
|
1846 |
+
min-width: 90px;
|
1847 |
+
line-height: 20px;
|
1848 |
}
|
1849 |
.trackship-icon{
|
1850 |
width: 70px;
|
1854 |
text-align:left;
|
1855 |
}
|
1856 |
.add_tracking_number_form input[type=checkbox]{
|
1857 |
+
margin: 0px 4px 0 0px;
|
1858 |
+
}
|
1859 |
+
.add_tracking_number_form .ast-product-table input[type=checkbox]{
|
1860 |
margin: 0px 4px 0 4px;
|
1861 |
}
|
1862 |
.d_table{
|
1967 |
width: 100%;
|
1968 |
height: 100%;
|
1969 |
}
|
1970 |
+
|
1971 |
+
.zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap label{
|
1972 |
+
margin: 0 5px 0 0!important;
|
1973 |
+
}
|
1974 |
+
.woocommerce.zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap .input-text{
|
1975 |
+
line-height: 15px;
|
1976 |
+
}
|
1977 |
@media (max-width: 767px) {
|
1978 |
.notice.ast-admin-notice {
|
1979 |
padding: 10px;
|
2080 |
display: none;
|
2081 |
}
|
2082 |
input.widget_tab_input:checked + label {
|
2083 |
+
border-bottom-color: #74C2E1;
|
2084 |
+
color: #74C2E1;
|
2085 |
}
|
2086 |
label.widget_tab_label{
|
2087 |
text-decoration: none;
|
2092 |
display: inline-block;
|
2093 |
margin-right: 12px;
|
2094 |
line-height: 1;
|
2095 |
+
outline: none;
|
2096 |
}
|
2097 |
label.widget_tab_label.first_label{
|
2098 |
margin-left: 12px;
|
2099 |
}
|
2100 |
+
#tab_s_providers:checked ~ #content_s_providers,#tab_s_status:checked ~ #content_s_status,#tab_t_issues:checked ~ #content_t_issues{
|
2101 |
display: block;
|
2102 |
}
|
2103 |
+
|
2104 |
section.widget_tab_section {
|
2105 |
display: none;
|
2106 |
border-top:1px solid #eee;
|
2107 |
+
height: 301px;
|
2108 |
+
overflow-y: auto;
|
2109 |
}
|
2110 |
/**** -------- ****/
|
2111 |
|
2141 |
padding: 0;
|
2142 |
margin: 0;
|
2143 |
}
|
2144 |
+
span.tracking_product_list {
|
2145 |
+
display: list-item;
|
2146 |
+
list-style: none;
|
2147 |
+
}
|
2148 |
+
|
2149 |
+
.addons_inner_container{
|
2150 |
+
display: -webkit-box;
|
2151 |
+
display: -ms-flexbox;
|
2152 |
+
display: flex;
|
2153 |
+
-ms-flex-flow: wrap;
|
2154 |
+
flex-flow: wrap;
|
2155 |
+
-webkit-box-pack: justify;
|
2156 |
+
-ms-flex-pack: justify;
|
2157 |
+
justify-content: space-between;
|
2158 |
+
}
|
2159 |
+
.addons_inner_container .ast_addons_section{
|
2160 |
+
width: calc(50% - 12.5px);
|
2161 |
+
position: relative;
|
2162 |
+
padding: 0 0 0;
|
2163 |
+
margin-bottom: 25px;
|
2164 |
+
}
|
2165 |
+
.ast_admin_content .ast_addons_section .form-table th.titledesc{
|
2166 |
+
width: 35%;
|
2167 |
+
}
|
2168 |
+
.ast_admin_content .ast_addons_section span.api_connected{
|
2169 |
+
line-height: 36px;
|
2170 |
+
height: 40px;
|
2171 |
+
padding: 10px 20px;
|
2172 |
+
font-size: 15px;
|
2173 |
+
}
|
2174 |
+
.woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td{
|
2175 |
+
padding:0;
|
2176 |
+
}
|
2177 |
+
.woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td img{
|
2178 |
+
width:100%;
|
2179 |
+
}
|
2180 |
+
.ast_addons_section .submit .btn_ast2{
|
2181 |
+
display: inline-block;
|
2182 |
+
float: none;
|
2183 |
+
}
|
2184 |
+
.ast_addons_section .submit .pesan{
|
2185 |
+
width: 65%;
|
2186 |
+
/*display: inline-block;*/
|
2187 |
+
vertical-align: bottom;
|
2188 |
+
margin-left: 5px;
|
2189 |
+
line-height: 15px;
|
2190 |
+
}
|
2191 |
+
.ast_addons_section .submit{
|
2192 |
+
margin: 0;
|
2193 |
+
}
|
2194 |
+
.ast_addons_section .submit .pesan.license_active{
|
2195 |
+
color:green;
|
2196 |
+
}
|
2197 |
+
.ast_addons_section .submit:after{
|
2198 |
+
display: block;
|
2199 |
+
content: '';
|
2200 |
+
clear: both;
|
2201 |
+
}
|
2202 |
+
.ts_addons_header,.tracking_item_addons_header{
|
2203 |
+
position: relative;
|
2204 |
+
display: inline-block;
|
2205 |
+
cursor: pointer;
|
2206 |
+
}
|
2207 |
+
.ts_addons_header:before,.tracking_item_addons_header:before{
|
2208 |
+
color: #eee;
|
2209 |
+
}
|
2210 |
+
.ts_addons_header:after,.tracking_item_addons_header:after{
|
2211 |
+
position:absolute;
|
2212 |
+
top: 50%;
|
2213 |
+
left: 50%;
|
2214 |
+
transform: translate(-50%, -50%);
|
2215 |
+
-webkit-transform: translate(-50%, -50%);
|
2216 |
+
content: "\f01d";
|
2217 |
+
font-family: FontAwesome;
|
2218 |
+
font-size: 100px;
|
2219 |
+
color: #fff;
|
2220 |
+
opacity: .8;
|
2221 |
+
text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
|
2222 |
+
}
|
2223 |
+
.woocommerce.zorem_admin_layout .license_div{
|
2224 |
+
/*height: 118px;*/
|
2225 |
+
background: #fff;
|
2226 |
+
border: 1px solid #eee;
|
2227 |
+
margin-top: 0;
|
2228 |
+
margin-bottom: 0px;
|
2229 |
+
vertical-align: middle;
|
2230 |
+
padding-top: 20px;
|
2231 |
+
padding-bottom: 20px;
|
2232 |
+
}
|
2233 |
+
.woocommerce.zorem_admin_layout .license_div table.form-table{
|
2234 |
+
background: 0;
|
2235 |
+
border: 0;
|
2236 |
+
}
|
2237 |
+
/*.woocommerce.zorem_admin_layout .license_div table.form-table tr{
|
2238 |
+
height:50px;
|
2239 |
+
}*/
|
2240 |
+
.ast_admin_content .ast_addons_section .license_div .form-table th.titledesc {
|
2241 |
+
padding: 0px 24px 0px 15px;
|
2242 |
+
vertical-align: middle;
|
2243 |
+
}
|
2244 |
+
.ast_admin_content .ast_addons_section .license_div .form-table td {
|
2245 |
+
padding: 0 15px;
|
2246 |
+
}
|
2247 |
+
#wc_ast_addons_form .license_div .form-table tr{
|
2248 |
+
border-bottom:0;
|
2249 |
+
}
|
2250 |
+
#woocommerce-advanced-shipment-tracking.postbox{
|
2251 |
+
background: #f9f9f9;
|
2252 |
+
}
|
2253 |
|
2254 |
+
.order-status-table tr.disable_row{
|
2255 |
+
background: #eee;
|
2256 |
+
opacity: 0.7;
|
2257 |
+
}
|
2258 |
+
.order-status-table tr.disable_row td{
|
2259 |
+
pointer-events: none;
|
2260 |
+
}
|
2261 |
+
.order-status-table tr.disable_row td:first-child{
|
2262 |
+
pointer-events: auto;
|
2263 |
+
}
|
2264 |
+
.order-status-table td:last-child{
|
2265 |
+
text-align:right;
|
2266 |
+
}
|
2267 |
+
.order-status-table .order-label{
|
2268 |
+
display: -webkit-inline-box;
|
2269 |
+
display: -webkit-inline-flex;
|
2270 |
+
display: inline-flex;
|
2271 |
+
line-height: 2.2em;
|
2272 |
+
color: #777;
|
2273 |
+
background: #e5e5e5;
|
2274 |
+
border-radius: 4px;
|
2275 |
+
border-bottom: 1px solid rgba(0,0,0,.05);
|
2276 |
+
margin: -.25em 0;
|
2277 |
+
cursor: inherit!important;
|
2278 |
+
white-space: nowrap;
|
2279 |
+
max-width: 100%;
|
2280 |
+
padding: 0 1em;
|
2281 |
+
}
|
2282 |
+
.order-status-table tr td.status-label-column{
|
2283 |
+
width:130px;
|
2284 |
+
}
|
2285 |
+
.form-table .multiple_checkbox {
|
2286 |
+
display: inline-block;
|
2287 |
+
padding-right: 5px;
|
2288 |
+
padding-bottom: 5px;
|
2289 |
+
min-width: 160px;
|
2290 |
+
}
|
2291 |
+
.order-status-table .wp-picker-container,.tracking_page_table .wp-picker-container {
|
2292 |
+
display: inline-block;
|
2293 |
+
vertical-align: middle;
|
2294 |
+
}
|
2295 |
+
.form-table.order-status-table td .send_email_label {
|
2296 |
+
margin: 0 5px !important;
|
2297 |
+
vertical-align: inherit;
|
2298 |
+
}
|
2299 |
+
.add_custom_p_a{
|
2300 |
+
font-weight: 500;
|
2301 |
+
font-size: 14px;
|
2302 |
+
display: block;
|
2303 |
+
text-align: center;
|
2304 |
+
margin-top: 14px;
|
2305 |
+
}
|
2306 |
+
.add_custom_inner .dashicons{
|
2307 |
+
display: block;
|
2308 |
+
text-align: center;
|
2309 |
+
margin: 10px auto;
|
2310 |
+
font-size: 35px;
|
2311 |
+
width: 40px;
|
2312 |
+
height: 38px;
|
2313 |
+
cursor: pointer;
|
2314 |
+
color:#005B9A;
|
2315 |
+
}
|
2316 |
+
.add_custom_provider_div{
|
2317 |
+
background: #fff;
|
2318 |
+
border: 1px solid rgba(116, 194, 225, 0.5);
|
2319 |
+
padding: 10px 10px 0px 10px;
|
2320 |
+
}
|
2321 |
+
.ast_admin_content .tracking-layout-table.form-table th.titledesc{
|
2322 |
+
width: 50%;
|
2323 |
+
}
|
2324 |
+
.tracking_color_label{
|
2325 |
+
line-height:30px;
|
2326 |
+
}
|
2327 |
+
.tracking_layout_options_div label{
|
2328 |
+
margin-bottom: 5px;
|
2329 |
+
display: block;
|
2330 |
+
}
|
2331 |
+
span.select_t_layout_section {
|
2332 |
+
display: inline-block;
|
2333 |
+
width: 45%;
|
2334 |
+
margin-right: 10px;
|
2335 |
+
margin-top: 5px;
|
2336 |
+
}
|
2337 |
+
.tracking-layout-table .radio-img {
|
2338 |
+
position: absolute;
|
2339 |
+
left: -9999px;
|
2340 |
+
}
|
2341 |
+
|
2342 |
+
.tracking-layout-table .radio-img:checked + label>img {
|
2343 |
+
border: 1px solid #74C2E1;
|
2344 |
+
}
|
2345 |
+
|
2346 |
+
/* Stuff after this is only to make things more pretty */
|
2347 |
+
.tracking-layout-table .radio-img + label>img {
|
2348 |
+
border: 1px solid #bdbdbd;
|
2349 |
+
width: 100%;
|
2350 |
+
border-radius: 5px;
|
2351 |
+
}
|
2352 |
+
.tracking_layout_preview_1,.tracking_layout_preview_2{
|
2353 |
+
text-align:center;
|
2354 |
+
}
|
2355 |
+
table.form-table.heading-table.disable_tracking_page {
|
2356 |
+
background: #f5f8fa;
|
2357 |
+
color: #222629;
|
2358 |
+
}
|
2359 |
+
.tracking_preview_iframe{
|
2360 |
+
width:100%;
|
2361 |
+
display:none;
|
2362 |
+
}
|
2363 |
/*** RTL CSS ***/
|
2364 |
.rtl.shipment_tracking_admin_settings #wpcontent {
|
2365 |
padding-right: 0;
|
2469 |
width: 25%;
|
2470 |
}
|
2471 |
#search_provider{
|
2472 |
+
width: 210px;
|
2473 |
+
min-width: 210px;
|
2474 |
}
|
2475 |
.provider-thumb {
|
2476 |
height: 40px;
|
2479 |
width: 60%;
|
2480 |
}
|
2481 |
}
|
2482 |
+
@media screen and (max-width: 820px) {
|
2483 |
+
.nav_doc_section{
|
2484 |
+
float: none;
|
2485 |
+
margin-left: 30px;
|
2486 |
+
margin-right: 0;
|
2487 |
+
}
|
2488 |
+
}
|
2489 |
@media screen and (max-width: 750px) {
|
2490 |
.d_table{
|
2491 |
display:block;
|
2507 |
padding: 15px 0 15px;
|
2508 |
margin-left: 30px;
|
2509 |
}
|
2510 |
+
.status_filter{
|
2511 |
+
width: auto;
|
2512 |
+
}
|
2513 |
+
.provider_settings{
|
2514 |
+
float: none;
|
2515 |
+
}
|
2516 |
}
|
2517 |
@media screen and (max-width: 500px) {
|
2518 |
.provider{
|
2529 |
#search_provider{
|
2530 |
width: 100%;
|
2531 |
}
|
2532 |
+
.plugin-logo{
|
2533 |
+
max-width: 300px;
|
2534 |
+
}
|
2535 |
}
|
assets/css/customizer-styles.css
CHANGED
@@ -1,13 +1,32 @@
|
|
1 |
#accordion-section-default_controls_section>h3:before{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
7 |
vertical-align: middle;
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
#accordion-panel-wcast_emails_panel>h3:before{
|
13 |
font-family: 'Dashicons';
|
@@ -33,7 +52,7 @@
|
|
33 |
}
|
34 |
#accordion-section-customer_delivered_email>h3:before{
|
35 |
content: ' ';
|
36 |
-
background-image: url(icons/
|
37 |
width: 20px;
|
38 |
height: 20px;
|
39 |
background-size: cover;
|
@@ -169,4 +188,8 @@
|
|
169 |
}
|
170 |
.customize-control-description{
|
171 |
font-size: 12px;
|
|
|
|
|
|
|
|
|
172 |
}
|
1 |
#accordion-section-default_controls_section>h3:before{
|
2 |
+
content: ' ';
|
3 |
+
background-image: url(icons/ast-icon.png);
|
4 |
+
width: 20px;
|
5 |
+
height: 20px;
|
6 |
+
background-size: contain;
|
7 |
+
display: inline-block;
|
8 |
vertical-align: middle;
|
9 |
+
background-repeat: no-repeat;
|
10 |
+
}
|
11 |
+
#accordion-section-customer_partial_shipped_email>h3:before{
|
12 |
+
content: ' ';
|
13 |
+
background-image: url(icons/partial-shipped-icon.png);
|
14 |
+
width: 20px;
|
15 |
+
height: 20px;
|
16 |
+
background-size: contain;
|
17 |
+
display: inline-block;
|
18 |
+
vertical-align: middle;
|
19 |
+
background-repeat: no-repeat;
|
20 |
+
}
|
21 |
+
#accordion-section-customer_updated_tracking_email>h3:before{
|
22 |
+
content: ' ';
|
23 |
+
background-image: url(icons/updated-tracking-icon.png);
|
24 |
+
width: 20px;
|
25 |
+
height: 20px;
|
26 |
+
background-size: contain;
|
27 |
+
display: inline-block;
|
28 |
+
vertical-align: middle;
|
29 |
+
background-repeat: no-repeat;
|
30 |
}
|
31 |
#accordion-panel-wcast_emails_panel>h3:before{
|
32 |
font-family: 'Dashicons';
|
52 |
}
|
53 |
#accordion-section-customer_delivered_email>h3:before{
|
54 |
content: ' ';
|
55 |
+
background-image: url(icons/Delivered-o.png);
|
56 |
width: 20px;
|
57 |
height: 20px;
|
58 |
background-size: cover;
|
188 |
}
|
189 |
.customize-control-description{
|
190 |
font-size: 12px;
|
191 |
+
}
|
192 |
+
.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-display_shipment_provider_name,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_header_block,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-hide_table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_padding,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-shipment_link_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_link_font_color,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_content_header{
|
193 |
+
border-top: 0;
|
194 |
+
padding-top: 0;
|
195 |
}
|
assets/css/front.css
CHANGED
@@ -11,7 +11,15 @@
|
|
11 |
margin-top: 50px;
|
12 |
position: relative
|
13 |
}
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
@media (max-width: 575.98px) {
|
16 |
.tracker-progress-bar-with-dots {
|
17 |
font-size: 12px
|
@@ -162,9 +170,9 @@
|
|
162 |
}
|
163 |
|
164 |
@media screen and (prefers-reduced-motion: reduce) {
|
165 |
-
.progress-bar {
|
166 |
-
|
167 |
-
}
|
168 |
}
|
169 |
.progress-bar-striped {
|
170 |
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
@@ -192,14 +200,14 @@
|
|
192 |
.tracking-detail .text-right {
|
193 |
text-align: right;
|
194 |
}
|
195 |
-
.tracking-detail .text-secondary {
|
196 |
color: #303F9F;
|
197 |
}
|
198 |
-
.tracking-detail .text-warning {
|
199 |
color: #f0ad4e;
|
200 |
}
|
201 |
-
.tracking-detail .text-success {
|
202 |
-
color: #
|
203 |
}
|
204 |
.tracking-detail .border-light {
|
205 |
border-color: #E4ECEF;
|
@@ -291,7 +299,7 @@
|
|
291 |
padding-top: .5rem !important;
|
292 |
}
|
293 |
.tracking-detail .mb-3, .tracking-detail .my-3 {
|
294 |
-
margin-bottom: 0 !important;
|
295 |
}
|
296 |
.col.tracking-detail {
|
297 |
margin: 20px auto 20px;
|
@@ -307,18 +315,16 @@
|
|
307 |
padding-bottom: 10px;
|
308 |
font-weight: 600;
|
309 |
}
|
310 |
-
.shipment_status_heading{
|
311 |
-
padding-top: 10px;
|
312 |
font-weight: 600;
|
313 |
color: #303F9F;
|
|
|
|
|
314 |
}
|
315 |
.tracker-top-level {
|
316 |
display: flex;
|
317 |
margin-bottom: 2rem;
|
318 |
}
|
319 |
-
.tracking-details{
|
320 |
-
display: contents;
|
321 |
-
}
|
322 |
.tracking-table thead tr th{
|
323 |
padding: 15px 0;
|
324 |
border-bottom: 0;
|
@@ -331,9 +337,10 @@ display: contents;
|
|
331 |
display: flex;
|
332 |
margin-bottom: 30px;
|
333 |
}
|
334 |
-
.tracking-number {
|
335 |
font-weight: 400;
|
336 |
-
color: #
|
|
|
337 |
}
|
338 |
.mobile-section{
|
339 |
display:none;
|
@@ -347,23 +354,21 @@ table.tracking-table tr:nth-child(n+3) {
|
|
347 |
table.tracking-table{
|
348 |
margin-bottom: 5px;
|
349 |
}
|
350 |
-
.view_table_rows{
|
351 |
-
color: #303F9F;
|
352 |
-
text-decoration: underline;
|
353 |
-
}
|
354 |
.hide_table_rows{
|
355 |
-
display:none;
|
356 |
-
color: #303F9F;
|
357 |
-
text-decoration: underline;
|
358 |
}
|
359 |
.shipment_progress_div {
|
|
|
360 |
padding-bottom: 7px;
|
361 |
}
|
362 |
-
.h4-heading{
|
363 |
border-bottom: 1px solid #eee;
|
|
|
|
|
|
|
364 |
}
|
365 |
-
.tracker-progress-bar-with-dots .dot.past-state,.tracker-progress-bar-with-dots .dot.future-state{
|
366 |
-
background-size:
|
367 |
background-repeat: no-repeat;
|
368 |
background-position: center center;
|
369 |
}
|
@@ -373,6 +378,133 @@ table.tracking-table{
|
|
373 |
.track-order-section{
|
374 |
text-align: left;
|
375 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
/*** RTL CSS ***/
|
377 |
|
378 |
.rtl .track-order-section{
|
@@ -407,8 +539,8 @@ table.tracking-table{
|
|
407 |
|
408 |
@media screen and (max-width: 767px) {
|
409 |
.col.tracking-detail{
|
410 |
-
padding: 20px 15px
|
411 |
-
width:
|
412 |
}
|
413 |
.tracking-detail .col-md-6{
|
414 |
width: 100%;
|
@@ -427,6 +559,29 @@ table.tracking-table{
|
|
427 |
background-repeat: no-repeat;
|
428 |
background-position: center center;
|
429 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
/*** RTL CSS ***/
|
431 |
.rtl .tracking-detail .text-right {
|
432 |
text-align: right;
|
@@ -452,11 +607,11 @@ table.tracking-table{
|
|
452 |
}
|
453 |
.mobile-section .tracker-progress-bar-with-dots .dot{
|
454 |
background-size: cover;
|
455 |
-
width:
|
456 |
position: relative;
|
457 |
display: inline-block;
|
458 |
vertical-align: middle;
|
459 |
-
height:
|
460 |
margin: 0 auto;
|
461 |
}
|
462 |
.tracker-progress-bar-with-dots .state-1{
|
@@ -479,13 +634,13 @@ table.tracking-table{
|
|
479 |
height: 93%;
|
480 |
position: absolute;
|
481 |
top: 10px;
|
482 |
-
left:
|
483 |
width: 5px;
|
484 |
background-color: #C1C1C1;
|
485 |
}
|
486 |
-
|
487 |
position: absolute;
|
488 |
-
}
|
489 |
.progress-bar.bg-secondary:before{
|
490 |
content: '';
|
491 |
height: 100%;
|
@@ -509,6 +664,20 @@ table.tracking-table{
|
|
509 |
background-repeat: no-repeat;
|
510 |
background-position: center center;
|
511 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
512 |
.rtl .tracker-progress-bar-with-dots .state-1{
|
513 |
right: 0;
|
514 |
}
|
11 |
margin-top: 50px;
|
12 |
position: relative
|
13 |
}
|
14 |
+
.progress-bar.bg-secondary {
|
15 |
+
background-color: #303F9F;
|
16 |
+
}
|
17 |
+
.progress-bar.bg-success {
|
18 |
+
background-color: #0f8042;
|
19 |
+
}
|
20 |
+
.progress-bar.bg-warning {
|
21 |
+
background-color: #f0ad4e;
|
22 |
+
}
|
23 |
@media (max-width: 575.98px) {
|
24 |
.tracker-progress-bar-with-dots {
|
25 |
font-size: 12px
|
170 |
}
|
171 |
|
172 |
@media screen and (prefers-reduced-motion: reduce) {
|
173 |
+
.progress-bar {
|
174 |
+
transition: none
|
175 |
+
}
|
176 |
}
|
177 |
.progress-bar-striped {
|
178 |
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
200 |
.tracking-detail .text-right {
|
201 |
text-align: right;
|
202 |
}
|
203 |
+
.tracking-detail .text-secondary,.tracking-header .text-secondary {
|
204 |
color: #303F9F;
|
205 |
}
|
206 |
+
.tracking-detail .text-warning,.tracking-header .text-warning {
|
207 |
color: #f0ad4e;
|
208 |
}
|
209 |
+
.tracking-detail .text-success,.tracking-header .text-success {
|
210 |
+
color: #0f8042;
|
211 |
}
|
212 |
.tracking-detail .border-light {
|
213 |
border-color: #E4ECEF;
|
299 |
padding-top: .5rem !important;
|
300 |
}
|
301 |
.tracking-detail .mb-3, .tracking-detail .my-3 {
|
302 |
+
margin-bottom: 0.3rem !important;
|
303 |
}
|
304 |
.col.tracking-detail {
|
305 |
margin: 20px auto 20px;
|
315 |
padding-bottom: 10px;
|
316 |
font-weight: 600;
|
317 |
}
|
318 |
+
.shipment_status_heading{
|
|
|
319 |
font-weight: 600;
|
320 |
color: #303F9F;
|
321 |
+
font-size: 36px;
|
322 |
+
margin-bottom: 0;
|
323 |
}
|
324 |
.tracker-top-level {
|
325 |
display: flex;
|
326 |
margin-bottom: 2rem;
|
327 |
}
|
|
|
|
|
|
|
328 |
.tracking-table thead tr th{
|
329 |
padding: 15px 0;
|
330 |
border-bottom: 0;
|
337 |
display: flex;
|
338 |
margin-bottom: 30px;
|
339 |
}
|
340 |
+
.tracking-detail .tracking-number {
|
341 |
font-weight: 400;
|
342 |
+
color: #757575;
|
343 |
+
font-size: 14px;
|
344 |
}
|
345 |
.mobile-section{
|
346 |
display:none;
|
354 |
table.tracking-table{
|
355 |
margin-bottom: 5px;
|
356 |
}
|
|
|
|
|
|
|
|
|
357 |
.hide_table_rows{
|
358 |
+
display:none;
|
|
|
|
|
359 |
}
|
360 |
.shipment_progress_div {
|
361 |
+
margin-top: 60px;
|
362 |
padding-bottom: 7px;
|
363 |
}
|
364 |
+
.tracking-detail .h4-heading{
|
365 |
border-bottom: 1px solid #eee;
|
366 |
+
color: #424242;
|
367 |
+
font-size: 14px;
|
368 |
+
font-weight: bold;
|
369 |
}
|
370 |
+
.tracker-progress-bar-with-dots .dot.past-state,.tracker-progress-bar-with-dots .dot.future-state,.tracker-progress-bar-with-dots .dot.current-state{
|
371 |
+
background-size: 60px;
|
372 |
background-repeat: no-repeat;
|
373 |
background-position: center center;
|
374 |
}
|
378 |
.track-order-section{
|
379 |
text-align: left;
|
380 |
}
|
381 |
+
|
382 |
+
/**** Layout 2 CSS ***/
|
383 |
+
.tracking-layout-2 .shipment_status_heading{
|
384 |
+
padding-top: 0;
|
385 |
+
font-weight: 600;
|
386 |
+
margin-top: 0;
|
387 |
+
font-size: 36px;
|
388 |
+
}
|
389 |
+
.tracking-layout-2 .tracker-progress-bar .progress {
|
390 |
+
display: -ms-flexbox;
|
391 |
+
display: flex;
|
392 |
+
height: 40px;
|
393 |
+
overflow: hidden;
|
394 |
+
background-color: #f5f5f5;
|
395 |
+
border-radius: 5px;
|
396 |
+
border: 1px solid #bdbdbd;
|
397 |
+
}
|
398 |
+
.tracking-layout-2 .progress-bar {
|
399 |
+
display: -ms-flexbox;
|
400 |
+
display: flex;
|
401 |
+
-ms-flex-direction: column;
|
402 |
+
flex-direction: column;
|
403 |
+
-ms-flex-pack: center;
|
404 |
+
justify-content: center;
|
405 |
+
color: #fff;
|
406 |
+
text-align: center;
|
407 |
+
white-space: nowrap;
|
408 |
+
background-color: #303F9F;
|
409 |
+
transition: width 0.6s ease;
|
410 |
+
}
|
411 |
+
.tracking-layout-2 .tracker-progress-bar .progress .bg-secondary {
|
412 |
+
background-color: #303F9F;
|
413 |
+
}
|
414 |
+
.tracking-layout-2 .tracker-progress-bar .progress .bg-success {
|
415 |
+
background-color: #5cb85c;
|
416 |
+
}
|
417 |
+
.tracking-layout-2 .tracker-progress-bar .progress .bg-warning {
|
418 |
+
background-color: #f0ad4e;
|
419 |
+
}
|
420 |
+
.tracking-layout-2 .tracker-progress-bar-flat .progress-bar {
|
421 |
+
box-shadow: none;
|
422 |
+
}
|
423 |
+
.tracking-layout-2 .progress_top{
|
424 |
+
display:flex;
|
425 |
+
}
|
426 |
+
.tracking-layout-2 .col-md-6{
|
427 |
+
padding:0;
|
428 |
+
}
|
429 |
+
.tracking-detail .font-weight-demi-bold{
|
430 |
+
font-weight: 500;
|
431 |
+
}
|
432 |
+
.tracking-detail .font-weight-bold{
|
433 |
+
font-weight: 800;
|
434 |
+
}
|
435 |
+
.tracking-detail .text-uppercase {
|
436 |
+
text-transform: uppercase;
|
437 |
+
}
|
438 |
+
.tracking-detail .mt-6, .tracking-detail .my-6 {
|
439 |
+
margin-top: 2rem;
|
440 |
+
}
|
441 |
+
.tracking-detail .mb-4{
|
442 |
+
margin-bottom: 1rem;
|
443 |
+
}
|
444 |
+
.tracking-detail .tracking-details .date {
|
445 |
+
min-width: 160px;
|
446 |
+
}
|
447 |
+
.tracking-detail .tracking-details .time {
|
448 |
+
min-width: 85px;
|
449 |
+
margin-left: 10px;
|
450 |
+
}
|
451 |
+
.tracking-layout-2.tracking-detail .tracking-details .time {
|
452 |
+
margin-left: 0px;
|
453 |
+
}
|
454 |
+
.tracking-detail .tracking-details .location {
|
455 |
+
min-width: 200px;
|
456 |
+
}
|
457 |
+
.tracking-detail .w-100 {
|
458 |
+
width: 100%;
|
459 |
+
}
|
460 |
+
.tracking-detail .ml-auto, .tracking-detail .mx-auto {
|
461 |
+
margin-left: auto;
|
462 |
+
}
|
463 |
+
.tracking-detail .old-details{
|
464 |
+
display: none;
|
465 |
+
}
|
466 |
+
.tracking-detail .provider_image{
|
467 |
+
width: 60px;
|
468 |
+
}
|
469 |
+
.tracking-detail p.mb-2 {
|
470 |
+
margin-bottom: 1em;
|
471 |
+
}
|
472 |
+
.tracking-detail .tracking-details {
|
473 |
+
font-size: 14px;
|
474 |
+
}
|
475 |
+
.tracking-detail .tracking_group_by_date {
|
476 |
+
border-bottom: 1px solid #e0e0e0;
|
477 |
+
margin-bottom: 0.5rem;
|
478 |
+
}
|
479 |
+
.tracking-detail .tracking-details {
|
480 |
+
margin-top: 4rem;
|
481 |
+
}
|
482 |
+
.tracking-detail .view_table_rows, .tracking-detail .hide_table_rows, .tracking-detail .view_old_details, .tracking-detail .hide_old_details{
|
483 |
+
color: #303F9F;
|
484 |
+
border-bottom: 1px solid;
|
485 |
+
text-decoration: none;
|
486 |
+
}
|
487 |
+
.tracking-layout-2.tracking-detail .tracking-details {
|
488 |
+
margin-top: 2rem;
|
489 |
+
}
|
490 |
+
.tracking-detail .tracking-desktop-header{
|
491 |
+
display:flex;
|
492 |
+
}
|
493 |
+
.tracking-detail .tracking_details_desktop{
|
494 |
+
display:block;
|
495 |
+
}
|
496 |
+
.tracking-detail .tracking-mobile-header,.tracking-detail .tracking_details_mobile{
|
497 |
+
display:none;
|
498 |
+
}
|
499 |
+
@media (min-width: 768px){
|
500 |
+
.tracking-detail .d-md-flex {
|
501 |
+
display: -ms-flexbox;
|
502 |
+
display: flex;
|
503 |
+
}
|
504 |
+
.tracking-detail .text-md-right {
|
505 |
+
text-align: right;
|
506 |
+
}
|
507 |
+
}
|
508 |
/*** RTL CSS ***/
|
509 |
|
510 |
.rtl .track-order-section{
|
539 |
|
540 |
@media screen and (max-width: 767px) {
|
541 |
.col.tracking-detail{
|
542 |
+
padding: 20px 15px 10px;
|
543 |
+
width: 95%;
|
544 |
}
|
545 |
.tracking-detail .col-md-6{
|
546 |
width: 100%;
|
559 |
background-repeat: no-repeat;
|
560 |
background-position: center center;
|
561 |
}
|
562 |
+
|
563 |
+
.tracking-detail .header_top_left {
|
564 |
+
margin-right: 1rem;
|
565 |
+
width: 50px;
|
566 |
+
}
|
567 |
+
.tracking-detail .header_top1 {
|
568 |
+
margin-bottom: 15px;
|
569 |
+
}
|
570 |
+
.tracking-detail .tracking-mobile-header{
|
571 |
+
display:block;
|
572 |
+
}
|
573 |
+
.tracking-detail .tracking_details_mobile{
|
574 |
+
display:block;
|
575 |
+
}
|
576 |
+
.tracking-detail .tracking-desktop-header,.tracking-detail .tracking_details_desktop{
|
577 |
+
display:none;
|
578 |
+
}
|
579 |
+
.tracking-detail .tracking_details_mobile_row {
|
580 |
+
border-bottom: 1px solid #eee;
|
581 |
+
}
|
582 |
+
.tracking-detail .tracking-details .time {
|
583 |
+
margin-left: 0px;
|
584 |
+
}
|
585 |
/*** RTL CSS ***/
|
586 |
.rtl .tracking-detail .text-right {
|
587 |
text-align: right;
|
607 |
}
|
608 |
.mobile-section .tracker-progress-bar-with-dots .dot{
|
609 |
background-size: cover;
|
610 |
+
width: 45px;
|
611 |
position: relative;
|
612 |
display: inline-block;
|
613 |
vertical-align: middle;
|
614 |
+
height: 45px;
|
615 |
margin: 0 auto;
|
616 |
}
|
617 |
.tracker-progress-bar-with-dots .state-1{
|
634 |
height: 93%;
|
635 |
position: absolute;
|
636 |
top: 10px;
|
637 |
+
left: 40px;
|
638 |
width: 5px;
|
639 |
background-color: #C1C1C1;
|
640 |
}
|
641 |
+
/*.progress-bar{
|
642 |
position: absolute;
|
643 |
+
}*/
|
644 |
.progress-bar.bg-secondary:before{
|
645 |
content: '';
|
646 |
height: 100%;
|
664 |
background-repeat: no-repeat;
|
665 |
background-position: center center;
|
666 |
}
|
667 |
+
.tracking-detail .tracking-details {
|
668 |
+
margin-top: 2rem;
|
669 |
+
}
|
670 |
+
.mobile-section .tracker-progress-bar .progress{
|
671 |
+
position: absolute;
|
672 |
+
width: 5px;
|
673 |
+
left: 26px;
|
674 |
+
}
|
675 |
+
.mobile-section .tracker-progress-bar .progress.bg-success{
|
676 |
+
background: #0f8042;
|
677 |
+
}
|
678 |
+
.mobile-section .tracker-progress-bar .progress.bg-warning{
|
679 |
+
background: #f0ad4e;
|
680 |
+
}
|
681 |
.rtl .tracker-progress-bar-with-dots .state-1{
|
682 |
right: 0;
|
683 |
}
|
assets/css/icons/ast-icon.png
ADDED
Binary file
|
assets/css/icons/invalid-v3.png
CHANGED
Binary file
|
assets/css/icons/partial-shipped-icon.png
ADDED
Binary file
|
assets/css/icons/updated-tracking-icon.png
ADDED
Binary file
|
assets/css/welcome.css
ADDED
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.dashboard_page_ast-getting-started #wpcontent{
|
2 |
+
padding-left: 0px;
|
3 |
+
}
|
4 |
+
.dashboard_page_ast-getting-started #wpbody{
|
5 |
+
background: rgb(245, 248, 250);
|
6 |
+
}
|
7 |
+
.ast-admin-welcome-page {
|
8 |
+
position: relative;
|
9 |
+
-webkit-box-sizing: border-box;
|
10 |
+
box-sizing: border-box;
|
11 |
+
}
|
12 |
+
.ast-onboarding-header {
|
13 |
+
text-align: center;
|
14 |
+
}
|
15 |
+
.ast-header-navigation {
|
16 |
+
border-top: 4px solid #5f6197;
|
17 |
+
padding: 0 20px;
|
18 |
+
position: relative;
|
19 |
+
text-align: right;
|
20 |
+
}
|
21 |
+
@media (min-width:782px) {
|
22 |
+
.ast-header-navigation {
|
23 |
+
padding: 0 125px
|
24 |
+
}
|
25 |
+
}
|
26 |
+
.ast-exit-button {
|
27 |
+
background: #5f6197;
|
28 |
+
border-radius: 0 0 5px 5px;
|
29 |
+
color: #d7d7e5;
|
30 |
+
display: inline-block;
|
31 |
+
font-size: 14px;
|
32 |
+
line-height: 1;
|
33 |
+
padding: 9px 20px 12px;
|
34 |
+
text-decoration: none;
|
35 |
+
transition: color .1s ease;
|
36 |
+
-moz-transition: color .1s ease;
|
37 |
+
-ms-transition: color .1s ease;
|
38 |
+
-o-transition: color .1s ease;
|
39 |
+
-webkit-transition: color .1s ease;
|
40 |
+
}
|
41 |
+
.ast-onboarding-header h1 {
|
42 |
+
margin: 10px 0;
|
43 |
+
padding: 0 20px;
|
44 |
+
}
|
45 |
+
.ast-logo {
|
46 |
+
display: inline-block;
|
47 |
+
width: 400px;
|
48 |
+
max-width: 100%;
|
49 |
+
}
|
50 |
+
|
51 |
+
.ast-bg-img {
|
52 |
+
width: 100%;
|
53 |
+
padding-top: 66%;
|
54 |
+
position: relative;
|
55 |
+
}
|
56 |
+
|
57 |
+
.ast-logo .ast-bg-img {
|
58 |
+
padding-top: 0;
|
59 |
+
}
|
60 |
+
|
61 |
+
.ast-onboarding-wizard-container {
|
62 |
+
margin: 0 auto;
|
63 |
+
width: 750px;
|
64 |
+
}
|
65 |
+
|
66 |
+
.ast-onboarding-wizard-steps {
|
67 |
+
-webkit-box-align: center;
|
68 |
+
-ms-flex-align: center;
|
69 |
+
align-items: center;
|
70 |
+
display: -webkit-box;
|
71 |
+
display: -ms-flexbox;
|
72 |
+
display: flex;
|
73 |
+
margin-top: 15px;
|
74 |
+
}
|
75 |
+
|
76 |
+
.ast-onboarding-wizard-step {
|
77 |
+
border: 2px solid #005B9A;
|
78 |
+
border-radius: 50%;
|
79 |
+
-ms-flex-negative: 0;
|
80 |
+
flex-shrink: 0;
|
81 |
+
height: 16px;
|
82 |
+
width: 16px;
|
83 |
+
}
|
84 |
+
|
85 |
+
.ast-onboarding-wizard-step.ast-onboarding-wizard-step-active, .ast-onboarding-wizard-step.ast-onboarding-wizard-step-completed {
|
86 |
+
background-color: #005B9A;
|
87 |
+
border-color: #005B9A;
|
88 |
+
position: relative;
|
89 |
+
}
|
90 |
+
.ast-onboarding-wizard-step.ast-onboarding-wizard-step-completed:after {
|
91 |
+
color: #fff;
|
92 |
+
display: block;
|
93 |
+
font-size: 15px;
|
94 |
+
font-weight: 400;
|
95 |
+
left: -1px;
|
96 |
+
position: absolute;
|
97 |
+
text-align: center;
|
98 |
+
top: 0px;
|
99 |
+
width: 100%;
|
100 |
+
content: "\f147";
|
101 |
+
font-family: dashicons;
|
102 |
+
}
|
103 |
+
.ast-onboarding-wizard-step-line {
|
104 |
+
background: #74C2E1;
|
105 |
+
height: 3px;
|
106 |
+
margin: 0 2px;
|
107 |
+
width: 100%;
|
108 |
+
}
|
109 |
+
|
110 |
+
.ast-onboarding-wizard-container {
|
111 |
+
margin: 0 auto;
|
112 |
+
width: 750px;
|
113 |
+
}
|
114 |
+
.ast-onboarding-wizard-content {
|
115 |
+
background: #fff;
|
116 |
+
border: 1px solid #eee;
|
117 |
+
color: #777;
|
118 |
+
font-size: 14px;
|
119 |
+
margin: 30px 0 10px;
|
120 |
+
padding: 45px 30px 20px;
|
121 |
+
}
|
122 |
+
.ast-onboarding-wizard-content h2 {
|
123 |
+
color: #393f4a;
|
124 |
+
font-size: 24px;
|
125 |
+
font-weight: 500;
|
126 |
+
margin: 0 0 5px;
|
127 |
+
}
|
128 |
+
.ast-onboarding-wizard-content .ast-separator {
|
129 |
+
border-top: 1px solid #eee;
|
130 |
+
clear: both;
|
131 |
+
margin: 26px 0;
|
132 |
+
}
|
133 |
+
.ast-onboarding-step-shipping,.ast-onboarding-step-delivered,.ast-onboarding-step-trackship{
|
134 |
+
display:none;
|
135 |
+
}
|
136 |
+
.ast-onboarding-wizard-container section.tab_section{
|
137 |
+
display: block;
|
138 |
+
background: #fff;
|
139 |
+
padding: 0;
|
140 |
+
}
|
141 |
+
.ast-onboarding-wizard-container .provider {
|
142 |
+
width: 33%;
|
143 |
+
}
|
144 |
+
.ast-onboarding-wizard-logo .plugin-logo{
|
145 |
+
padding: 15px 0;
|
146 |
+
}
|
147 |
+
.woocommerce.zorem_admin_layout table.form-table th{
|
148 |
+
width: 50%;
|
149 |
+
}
|
150 |
+
#wc_ast_delivered_settings_form .form-table tr,.ast-onboarding-step-trackship .form-table tr{
|
151 |
+
border-bottom: 1px solid #eee;
|
152 |
+
}
|
153 |
+
@media screen and (max-width: 767px) {
|
154 |
+
.ast-onboarding-wizard-container{
|
155 |
+
max-width: 100%;
|
156 |
+
width: auto;
|
157 |
+
margin: 0 10px;
|
158 |
+
}
|
159 |
+
.ast-onboarding-wizard-logo .plugin-logo {
|
160 |
+
max-width: 250px;
|
161 |
+
}
|
162 |
+
}
|
163 |
+
@media screen and (min-width: 768px) and (max-width: 1269px) {
|
164 |
+
.ast-onboarding-wizard-container .provider{
|
165 |
+
width: 25%;
|
166 |
+
}
|
167 |
+
}
|
168 |
+
@media screen and (max-width: 767px) {
|
169 |
+
.ast-onboarding-wizard-container .provider{
|
170 |
+
width: 33.3%;
|
171 |
+
}
|
172 |
+
.ast-onboarding-wizard-content{
|
173 |
+
padding: 20px 10px 20px;
|
174 |
+
}
|
175 |
+
}
|
176 |
+
@media screen and (max-width: 500px) {
|
177 |
+
.provider,.ast-onboarding-wizard-container .provider{
|
178 |
+
width: 50%;
|
179 |
+
}
|
180 |
+
}
|
assets/images/Tracking-Per-Item-addon-sidebar.png
ADDED
Binary file
|
assets/images/Tracking-Per-Item-addon.jpg
ADDED
Binary file
|
assets/images/ast-addons-notice-image.jpg
ADDED
Binary file
|
assets/images/t_layout_1.jpg
ADDED
Binary file
|
assets/images/t_layout_2.jpg
ADDED
Binary file
|
assets/images/tracking-1.png
ADDED
Binary file
|
assets/images/tracking-2.png
ADDED
Binary file
|
assets/images/trackship-sidebar-addons.png
ADDED
Binary file
|
assets/images/ts-banner.jpg
ADDED
Binary file
|
assets/js/admin.js
CHANGED
@@ -13,13 +13,14 @@ jQuery( function( $ ) {
|
|
13 |
|
14 |
// When a user enters a new tracking item
|
15 |
save_form: function () {
|
16 |
-
|
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;
|
@@ -34,6 +35,26 @@ jQuery( function( $ ) {
|
|
34 |
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
|
35 |
hideerror(tracking_provider);
|
36 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
if(error == true){
|
38 |
return false;
|
39 |
}
|
@@ -48,13 +69,30 @@ jQuery( function( $ ) {
|
|
48 |
opacity: 0.6
|
49 |
}
|
50 |
} );
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
|
|
58 |
var data = {
|
59 |
action: 'wc_shipment_tracking_save_form',
|
60 |
order_id: woocommerce_admin_meta_boxes.post_id,
|
@@ -63,31 +101,45 @@ jQuery( function( $ ) {
|
|
63 |
custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
|
64 |
tracking_number: $( 'input#tracking_number' ).val(),
|
65 |
date_shipped: $( 'input#date_shipped' ).val(),
|
|
|
66 |
change_order_to_shipped: checked,
|
67 |
security: $( '#wc_shipment_tracking_create_nonce' ).val()
|
68 |
};
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
$( '#
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
}
|
|
|
|
|
|
|
88 |
}
|
89 |
-
});
|
90 |
-
|
91 |
return false;
|
92 |
},
|
93 |
|
@@ -221,11 +273,47 @@ function modelMatcher (params, data) {
|
|
221 |
}
|
222 |
|
223 |
jQuery(document).on("click", ".add_inline_tracking", function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
var order_id = jQuery(this).attr('href');
|
225 |
order_id = order_id.replace("#", "");
|
226 |
jQuery('.add_tracking_number_form #order_id').val(order_id);
|
227 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
jQuery(document).on("click", ".popupclose", function(){
|
230 |
jQuery('.add_tracking_popup').hide();
|
231 |
});
|
@@ -250,7 +338,7 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
|
|
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;
|
@@ -267,9 +355,28 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
|
|
267 |
}
|
268 |
|
269 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
if(error == true){
|
271 |
return false;
|
272 |
}
|
|
|
273 |
jQuery("#add_tracking_number_form").block({
|
274 |
message: null,
|
275 |
overlayCSS: {
|
@@ -283,9 +390,6 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
|
|
283 |
type: 'POST',
|
284 |
success: function(response) {
|
285 |
location.reload();
|
286 |
-
//jQuery(".provider_list").replaceWith(response);
|
287 |
-
//form[0].reset();
|
288 |
-
//jQuery("#add_tracking_number_form").unblock();
|
289 |
},
|
290 |
error: function(response) {
|
291 |
console.log(response);
|
@@ -331,19 +435,6 @@ jQuery(document).on("click", ".inline_tracking_delete", function(){
|
|
331 |
}
|
332 |
});
|
333 |
|
334 |
-
/*jQuery(document).on("submit", ".post-type-shop_order #posts-filter", function(){
|
335 |
-
var form = jQuery('.post-type-shop_order #posts-filter');
|
336 |
-
var bulk_select = jQuery('#bulk-action-selector-top').val();
|
337 |
-
|
338 |
-
if(bulk_select == 'get_shipment_status'){
|
339 |
-
var checked_checkbox = jQuery(".type-shop_order .check-column input[type='checkbox']:checked");
|
340 |
-
if(checked_checkbox.length > 100){
|
341 |
-
alert(ast_admin_js.i18n.get_shipment_status_message);
|
342 |
-
return false;
|
343 |
-
}
|
344 |
-
}
|
345 |
-
});*/
|
346 |
-
|
347 |
function showerror(element){
|
348 |
element.css("border","1px solid red");
|
349 |
}
|
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 |
+
|
20 |
if( tracking_number.val() === '' ){
|
21 |
showerror( tracking_number );error = true;
|
22 |
} else{
|
23 |
+
var pattern = /^[0-9a-zA-Z- \b]+$/;
|
24 |
if(!pattern.test(tracking_number.val())){
|
25 |
showerror( tracking_number );
|
26 |
error = true;
|
35 |
jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
|
36 |
hideerror(tracking_provider);
|
37 |
}
|
38 |
+
|
39 |
+
|
40 |
+
if(jQuery("tr").hasClass("ASTProduct_row")){
|
41 |
+
var qty = false;
|
42 |
+
jQuery(".ASTProduct_row").each(function(index){
|
43 |
+
var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
|
44 |
+
if(ASTProduct_qty > 0){
|
45 |
+
qty = true;
|
46 |
+
return false;
|
47 |
+
}
|
48 |
+
});
|
49 |
+
}
|
50 |
+
|
51 |
+
if(qty == false){
|
52 |
+
jQuery('.qty_validation').show();
|
53 |
+
return false;
|
54 |
+
} else{
|
55 |
+
jQuery('.qty_validation').hide();
|
56 |
+
}
|
57 |
+
|
58 |
if(error == true){
|
59 |
return false;
|
60 |
}
|
69 |
opacity: 0.6
|
70 |
}
|
71 |
} );
|
72 |
+
var change_order_to_shipped = $('input[name=change_order_to_shipped]:checked').val();
|
73 |
+
|
74 |
+
if(change_order_to_shipped == 'change_order_to_partial_shipped'){
|
75 |
+
checked = 'change_order_to_partial_shipped';
|
76 |
+
} else if(change_order_to_shipped == 'change_order_to_shipped'){
|
77 |
+
checked = 'change_order_to_shipped';
|
78 |
+
} else if($('input#change_order_to_shipped').prop("checked") == true){
|
79 |
+
checked = 'change_order_to_shipped';
|
80 |
+
} else{
|
81 |
+
checked = 'no';
|
82 |
}
|
83 |
+
|
84 |
+
var product_data = [];
|
85 |
+
jQuery(".ASTProduct_row").each(function(index){
|
86 |
+
var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
|
87 |
+
if(ASTProduct_qty > 0){
|
88 |
+
product_data.push({
|
89 |
+
product: jQuery(this).find('.product_id').val(),
|
90 |
+
qty: jQuery(this).find('input[type="number"]').val(),
|
91 |
+
});
|
92 |
+
}
|
93 |
+
});
|
94 |
|
95 |
+
var jsonString = JSON.stringify(product_data);
|
96 |
var data = {
|
97 |
action: 'wc_shipment_tracking_save_form',
|
98 |
order_id: woocommerce_admin_meta_boxes.post_id,
|
101 |
custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
|
102 |
tracking_number: $( 'input#tracking_number' ).val(),
|
103 |
date_shipped: $( 'input#date_shipped' ).val(),
|
104 |
+
productlist: jsonString,
|
105 |
change_order_to_shipped: checked,
|
106 |
security: $( '#wc_shipment_tracking_create_nonce' ).val()
|
107 |
};
|
108 |
+
|
109 |
+
jQuery.ajax({
|
110 |
+
url: woocommerce_admin_meta_boxes.ajax_url,
|
111 |
+
data: data,
|
112 |
+
type: 'POST',
|
113 |
+
success: function(response) {
|
114 |
+
$( '#advanced-shipment-tracking-form' ).unblock();
|
115 |
+
if ( response == 'reload' ) {
|
116 |
+
location.reload(true);
|
117 |
+
return false;
|
118 |
+
}
|
119 |
+
if ( response != '-1' ) {
|
120 |
+
$( '#advanced-shipment-tracking-form' ).hide();
|
121 |
+
$( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
|
122 |
+
$( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
|
123 |
+
$( '#tracking_provider' ).selectedIndex = 0;
|
124 |
+
$( '#custom_tracking_provider' ).val( '' );
|
125 |
+
$( 'input#custom_tracking_link' ).val( '' );
|
126 |
+
$( 'input#tracking_number' ).val( '' );
|
127 |
+
$( 'input#date_shipped' ).val( '' );
|
128 |
+
if(checked == 'change_order_to_shipped'){
|
129 |
+
jQuery('#order_status').val('wc-completed');
|
130 |
+
jQuery('#order_status').select2().trigger('change');
|
131 |
+
jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
|
132 |
+
} else if(checked == 'change_order_to_partial_shipped'){
|
133 |
+
jQuery('#order_status').val('wc-partial-shipped');
|
134 |
+
jQuery('#order_status').select2().trigger('change');
|
135 |
+
jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
|
136 |
+
}
|
137 |
}
|
138 |
+
},
|
139 |
+
error: function(response) {
|
140 |
+
console.log(response);
|
141 |
}
|
142 |
+
});
|
|
|
143 |
return false;
|
144 |
},
|
145 |
|
273 |
}
|
274 |
|
275 |
jQuery(document).on("click", ".add_inline_tracking", function(){
|
276 |
+
|
277 |
+
jQuery(this).closest('.wc_actions').block({
|
278 |
+
message: null,
|
279 |
+
overlayCSS: {
|
280 |
+
background: "#fff",
|
281 |
+
opacity: .6
|
282 |
+
}
|
283 |
+
});
|
284 |
+
|
285 |
var order_id = jQuery(this).attr('href');
|
286 |
order_id = order_id.replace("#", "");
|
287 |
jQuery('.add_tracking_number_form #order_id').val(order_id);
|
288 |
+
|
289 |
+
var ajax_data = {
|
290 |
+
action: 'ast_open_inline_tracking_form',
|
291 |
+
order_id: order_id,
|
292 |
+
};
|
293 |
+
|
294 |
+
jQuery.ajax({
|
295 |
+
url: ajaxurl,
|
296 |
+
data: ajax_data,
|
297 |
+
type: 'POST',
|
298 |
+
success: function(response) {
|
299 |
+
jQuery( ".add_tracking_popup" ).remove();
|
300 |
+
jQuery("body").append(response);
|
301 |
+
jQuery('.add_tracking_popup').show();
|
302 |
+
jQuery('.wc_actions').unblock();
|
303 |
+
},
|
304 |
+
error: function(response) {
|
305 |
+
jQuery('.wc_actions').unblock();
|
306 |
+
}
|
307 |
+
});
|
308 |
});
|
309 |
+
|
310 |
+
jQuery(document).on("click", ".mark_shipped_checkbox", function(){
|
311 |
+
if(jQuery(this).prop("checked") == true){
|
312 |
+
jQuery('.mark_shipped_checkbox').prop('checked', false);
|
313 |
+
jQuery(this).prop('checked', true);
|
314 |
+
}
|
315 |
+
});
|
316 |
+
|
317 |
jQuery(document).on("click", ".popupclose", function(){
|
318 |
jQuery('.add_tracking_popup').hide();
|
319 |
});
|
338 |
showerror(tracking_number);
|
339 |
error = true;
|
340 |
} else{
|
341 |
+
var pattern = /^[0-9a-zA-Z- \b]+$/;
|
342 |
if(!pattern.test(tracking_number.val())){
|
343 |
showerror(tracking_number);
|
344 |
error = true;
|
355 |
}
|
356 |
|
357 |
|
358 |
+
if(jQuery("tr").hasClass("ASTProduct_row")){
|
359 |
+
var qty = false;
|
360 |
+
jQuery(".ASTProduct_row").each(function(index){
|
361 |
+
var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
|
362 |
+
if(ASTProduct_qty > 0){
|
363 |
+
qty = true;
|
364 |
+
return false;
|
365 |
+
}
|
366 |
+
});
|
367 |
+
}
|
368 |
+
|
369 |
+
if(qty == false){
|
370 |
+
jQuery('.qty_validation').show();
|
371 |
+
return false;
|
372 |
+
} else{
|
373 |
+
jQuery('.qty_validation').hide();
|
374 |
+
}
|
375 |
+
|
376 |
if(error == true){
|
377 |
return false;
|
378 |
}
|
379 |
+
|
380 |
jQuery("#add_tracking_number_form").block({
|
381 |
message: null,
|
382 |
overlayCSS: {
|
390 |
type: 'POST',
|
391 |
success: function(response) {
|
392 |
location.reload();
|
|
|
|
|
|
|
393 |
},
|
394 |
error: function(response) {
|
395 |
console.log(response);
|
435 |
}
|
436 |
});
|
437 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
function showerror(element){
|
439 |
element.css("border","1px solid red");
|
440 |
}
|
assets/js/customizer-scripts.js
CHANGED
@@ -43,8 +43,181 @@ jQuery(document).ready(function() {
|
|
43 |
jQuery('#customize-control-track_header_text').hide();
|
44 |
}
|
45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
jQuery(document).on("change", "#_customize-input-show_track_label", function(){
|
49 |
if(jQuery(this).prop("checked") == true){
|
50 |
jQuery('#customize-control-track_header_text').show();
|
@@ -52,6 +225,7 @@ jQuery(document).on("change", "#_customize-input-show_track_label", function(){
|
|
52 |
jQuery('#customize-control-track_header_text').hide();
|
53 |
}
|
54 |
});
|
|
|
55 |
jQuery(document).on("change", "#_customize-input-hide_table_header", function(){
|
56 |
if(jQuery(this).prop("checked") == true){
|
57 |
jQuery('#customize-control-provider_header_text').hide();
|
@@ -142,30 +316,46 @@ jQuery(document).on("change", "#customize-control-woocommerce_customer_delivered
|
|
142 |
} );
|
143 |
} );
|
144 |
} ( wp.customize ) );
|
|
|
145 |
(function ( api ) {
|
146 |
-
api.section( '
|
147 |
section.expanded.bind( function( isExpanded ) {
|
148 |
var url;
|
149 |
if ( isExpanded ) {
|
150 |
jQuery('#save').trigger('click');
|
151 |
-
url = wcast_customizer.
|
152 |
api.previewer.previewUrl.set( url );
|
153 |
}
|
154 |
} );
|
155 |
} );
|
156 |
} ( wp.customize ) );
|
157 |
-
|
158 |
-
|
|
|
159 |
section.expanded.bind( function( isExpanded ) {
|
160 |
var url;
|
161 |
if ( isExpanded ) {
|
162 |
jQuery('#save').trigger('click');
|
163 |
-
url = wcast_customizer.
|
164 |
api.previewer.previewUrl.set( url );
|
165 |
}
|
166 |
} );
|
167 |
} );
|
168 |
-
} ( wp.customize ) )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
(function ( api ) {
|
170 |
api.section( 'customer_failure_email', function( section ) {
|
171 |
section.expanded.bind( function( isExpanded ) {
|
43 |
jQuery('#customize-control-track_header_text').hide();
|
44 |
}
|
45 |
}
|
46 |
+
|
47 |
+
if(jQuery('#_customize-input-tracking_number_link').prop("checked") == true){
|
48 |
+
jQuery('#customize-control-show_track_label').hide();
|
49 |
+
jQuery('#customize-control-shipment_link_header').hide();
|
50 |
+
jQuery('#customize-control-tracking_link_font_color').hide();
|
51 |
+
jQuery('#customize-control-tracking_link_bg_color').hide();
|
52 |
+
jQuery('#customize-control-tracking_link_border').hide();
|
53 |
+
jQuery('#customize-control-track_header_text').hide();
|
54 |
+
} else{
|
55 |
+
if(jQuery("#_customize-input-show_track_label").prop("checked") == true && jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
|
56 |
+
jQuery('#customize-control-track_header_text').show();
|
57 |
+
}
|
58 |
+
jQuery('#customize-control-show_track_label').show();
|
59 |
+
jQuery('#customize-control-shipment_link_header').show();
|
60 |
+
jQuery('#customize-control-tracking_link_font_color').show();
|
61 |
+
jQuery('#customize-control-tracking_link_bg_color').show();
|
62 |
+
jQuery('#customize-control-tracking_link_border').show();
|
63 |
+
}
|
64 |
+
|
65 |
+
var tracking_template = jQuery("#select_tracking_template").val();
|
66 |
+
if(tracking_template == 'simple_list'){
|
67 |
+
jQuery('#customize-control-table_content_header').hide();
|
68 |
+
jQuery('#customize-control-display_shipment_provider_image').hide();
|
69 |
+
jQuery('#customize-control-display_shipment_provider_name').hide();
|
70 |
+
jQuery('#customize-control-remove_date_from_tracking').hide();
|
71 |
+
jQuery('#customize-control-table_header_block').hide();
|
72 |
+
jQuery('#customize-control-hide_table_header').hide();
|
73 |
+
jQuery('#customize-control-provider_header_text').hide();
|
74 |
+
jQuery('#customize-control-tracking_number_header_text').hide();
|
75 |
+
jQuery('#customize-control-shipped_date_header_text').hide();
|
76 |
+
jQuery('#customize-control-shipped_date_header_text').hide();
|
77 |
+
jQuery('#customize-control-tracking_number_link').hide();
|
78 |
+
jQuery('#customize-control-show_track_label').hide();
|
79 |
+
jQuery('#customize-control-track_header_text').hide();
|
80 |
+
jQuery('#customize-control-table_header_font_size').hide();
|
81 |
+
jQuery('#customize-control-table_header_font_color').hide();
|
82 |
+
jQuery('#customize-control-table_header').hide();
|
83 |
+
jQuery('#customize-control-table_padding').hide();
|
84 |
+
jQuery('#customize-control-table_bg_color').hide();
|
85 |
+
jQuery('#customize-control-table_border_color').hide();
|
86 |
+
jQuery('#customize-control-table_border_size').hide();
|
87 |
+
jQuery('#customize-control-header_content_text_align').hide();
|
88 |
+
jQuery('#customize-control-table_content_font_size').hide();
|
89 |
+
jQuery('#customize-control-table_content_font_color').hide();
|
90 |
+
jQuery('#customize-control-table_content_line_height').hide();
|
91 |
+
jQuery('#customize-control-table_content_font_weight').hide();
|
92 |
+
jQuery('#customize-control-shipment_link_header').hide();
|
93 |
+
jQuery('#customize-control-tracking_link_font_color').hide();
|
94 |
+
jQuery('#customize-control-tracking_link_bg_color').hide();
|
95 |
+
jQuery('#customize-control-tracking_link_border').hide();
|
96 |
+
jQuery('#customize-control-simple_content_header').show();
|
97 |
+
jQuery('#customize-control-simple_provider_font_size').show();
|
98 |
+
jQuery('#customize-control-simple_provider_font_color').show();
|
99 |
+
jQuery('#customize-control-show_provider_border').show();
|
100 |
+
if(jQuery('#_customize-input-show_provider_border').prop("checked") == true){
|
101 |
+
jQuery('#customize-control-provider_border_color').show();
|
102 |
+
}
|
103 |
+
} else{
|
104 |
+
jQuery('#customize-control-simple_content_header').hide();
|
105 |
+
jQuery('#customize-control-simple_provider_font_size').hide();
|
106 |
+
jQuery('#customize-control-simple_provider_font_color').hide();
|
107 |
+
jQuery('#customize-control-show_provider_border').hide();
|
108 |
+
jQuery('#customize-control-provider_border_color').hide();
|
109 |
+
}
|
110 |
+
});
|
111 |
|
112 |
+
jQuery(document).on("click", "#_customize-input-show_provider_border", function(){
|
113 |
+
if(jQuery(this).prop("checked") == true){
|
114 |
+
jQuery('#customize-control-provider_border_color').show();
|
115 |
+
} else{
|
116 |
+
jQuery('#customize-control-provider_border_color').hide();
|
117 |
+
}
|
118 |
});
|
119 |
+
jQuery(document).on("change", "#select_tracking_template", function(){
|
120 |
+
var tracking_template = jQuery(this).val();
|
121 |
+
if(tracking_template == 'simple_list'){
|
122 |
+
jQuery('#customize-control-table_content_header').hide();
|
123 |
+
jQuery('#customize-control-display_shipment_provider_image').hide();
|
124 |
+
jQuery('#customize-control-display_shipment_provider_name').hide();
|
125 |
+
jQuery('#customize-control-remove_date_from_tracking').hide();
|
126 |
+
jQuery('#customize-control-table_header_block').hide();
|
127 |
+
jQuery('#customize-control-hide_table_header').hide();
|
128 |
+
jQuery('#customize-control-provider_header_text').hide();
|
129 |
+
jQuery('#customize-control-tracking_number_header_text').hide();
|
130 |
+
jQuery('#customize-control-shipped_date_header_text').hide();
|
131 |
+
jQuery('#customize-control-shipped_date_header_text').hide();
|
132 |
+
jQuery('#customize-control-tracking_number_link').hide();
|
133 |
+
jQuery('#customize-control-show_track_label').hide();
|
134 |
+
jQuery('#customize-control-track_header_text').hide();
|
135 |
+
jQuery('#customize-control-table_header_font_size').hide();
|
136 |
+
jQuery('#customize-control-table_header_font_color').hide();
|
137 |
+
jQuery('#customize-control-table_header').hide();
|
138 |
+
jQuery('#customize-control-table_padding').hide();
|
139 |
+
jQuery('#customize-control-table_bg_color').hide();
|
140 |
+
jQuery('#customize-control-table_border_color').hide();
|
141 |
+
jQuery('#customize-control-table_border_size').hide();
|
142 |
+
jQuery('#customize-control-header_content_text_align').hide();
|
143 |
+
jQuery('#customize-control-table_content_font_size').hide();
|
144 |
+
jQuery('#customize-control-table_content_font_color').hide();
|
145 |
+
jQuery('#customize-control-table_content_line_height').hide();
|
146 |
+
jQuery('#customize-control-table_content_font_weight').hide();
|
147 |
+
jQuery('#customize-control-shipment_link_header').hide();
|
148 |
+
jQuery('#customize-control-tracking_link_font_color').hide();
|
149 |
+
jQuery('#customize-control-tracking_link_bg_color').hide();
|
150 |
+
jQuery('#customize-control-tracking_link_border').hide();
|
151 |
+
jQuery('#customize-control-simple_content_header').show();
|
152 |
+
jQuery('#customize-control-simple_provider_font_size').show();
|
153 |
+
jQuery('#customize-control-simple_provider_font_color').show();
|
154 |
+
jQuery('#customize-control-show_provider_border').show();
|
155 |
+
if(jQuery('#_customize-input-show_provider_border').prop("checked") == true){
|
156 |
+
jQuery('#customize-control-provider_border_color').show();
|
157 |
+
}
|
158 |
+
} else{
|
159 |
+
jQuery('#customize-control-simple_content_header').hide();
|
160 |
+
jQuery('#customize-control-simple_provider_font_size').hide();
|
161 |
+
jQuery('#customize-control-simple_provider_font_color').hide();
|
162 |
+
jQuery('#customize-control-show_provider_border').hide();
|
163 |
+
jQuery('#customize-control-provider_border_color').hide();
|
164 |
+
jQuery('#customize-control-table_content_header').show();
|
165 |
+
jQuery('#customize-control-display_shipment_provider_image').show();
|
166 |
+
jQuery('#customize-control-display_shipment_provider_name').show();
|
167 |
+
jQuery('#customize-control-remove_date_from_tracking').show();
|
168 |
+
jQuery('#customize-control-table_header_block').show();
|
169 |
+
jQuery('#customize-control-show_table_header').show();
|
170 |
+
jQuery('#customize-control-tracking_number_link').show();
|
171 |
+
jQuery('#customize-control-table_header').show();
|
172 |
+
jQuery('#customize-control-table_padding').show();
|
173 |
+
jQuery('#customize-control-table_bg_color').show();
|
174 |
+
jQuery('#customize-control-table_border_color').show();
|
175 |
+
jQuery('#customize-control-table_border_size').show();
|
176 |
+
jQuery('#customize-control-header_content_text_align').show();
|
177 |
+
jQuery('#customize-control-table_content_font_size').show();
|
178 |
+
jQuery('#customize-control-table_content_font_color').show();
|
179 |
+
jQuery('#customize-control-table_content_line_height').show();
|
180 |
+
jQuery('#customize-control-table_content_font_weight').show();
|
181 |
+
jQuery('#customize-control-hide_table_header').show();
|
182 |
+
if(jQuery('#_customize-input-hide_table_header').prop("checked") != true){
|
183 |
+
jQuery('#customize-control-provider_header_text').show();
|
184 |
+
jQuery('#customize-control-tracking_number_header_text').show();
|
185 |
+
jQuery('#customize-control-shipped_date_header_text').show();
|
186 |
+
jQuery('#customize-control-table_header_font_size').show();
|
187 |
+
jQuery('#customize-control-table_header_font_color').show();
|
188 |
+
}
|
189 |
+
if(jQuery("#_customize-input-show_track_label").prop("checked") == true && jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
|
190 |
+
jQuery('#customize-control-track_header_text').show();
|
191 |
+
}
|
192 |
+
if(jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
|
193 |
+
jQuery('#customize-control-show_track_label').show();
|
194 |
+
jQuery('#customize-control-shipment_link_header').show();
|
195 |
+
jQuery('#customize-control-tracking_link_font_color').show();
|
196 |
+
jQuery('#customize-control-tracking_link_bg_color').show();
|
197 |
+
jQuery('#customize-control-tracking_link_border').show();
|
198 |
+
}
|
199 |
+
}
|
200 |
+
});
|
201 |
+
jQuery(document).on("change", "#_customize-input-tracking_number_link", function(){
|
202 |
+
if(jQuery(this).prop("checked") == true){
|
203 |
+
jQuery('#customize-control-show_track_label').hide();
|
204 |
+
jQuery('#customize-control-track_header_text').hide();
|
205 |
+
jQuery('#customize-control-shipment_link_header').hide();
|
206 |
+
jQuery('#customize-control-tracking_link_font_color').hide();
|
207 |
+
jQuery('#customize-control-tracking_link_bg_color').hide();
|
208 |
+
jQuery('#customize-control-tracking_link_border').hide();
|
209 |
+
} else{
|
210 |
+
if(jQuery("#_customize-input-show_track_label").prop("checked") == true){
|
211 |
+
jQuery('#customize-control-track_header_text').show();
|
212 |
+
}
|
213 |
+
jQuery('#customize-control-show_track_label').show();
|
214 |
+
jQuery('#customize-control-shipment_link_header').show();
|
215 |
+
jQuery('#customize-control-tracking_link_font_color').show();
|
216 |
+
jQuery('#customize-control-tracking_link_bg_color').show();
|
217 |
+
jQuery('#customize-control-tracking_link_border').show();
|
218 |
+
}
|
219 |
+
});
|
220 |
+
|
221 |
jQuery(document).on("change", "#_customize-input-show_track_label", function(){
|
222 |
if(jQuery(this).prop("checked") == true){
|
223 |
jQuery('#customize-control-track_header_text').show();
|
225 |
jQuery('#customize-control-track_header_text').hide();
|
226 |
}
|
227 |
});
|
228 |
+
|
229 |
jQuery(document).on("change", "#_customize-input-hide_table_header", function(){
|
230 |
if(jQuery(this).prop("checked") == true){
|
231 |
jQuery('#customize-control-provider_header_text').hide();
|
316 |
} );
|
317 |
} );
|
318 |
} ( wp.customize ) );
|
319 |
+
|
320 |
(function ( api ) {
|
321 |
+
api.section( 'customer_partial_shipped_email', function( section ) {
|
322 |
section.expanded.bind( function( isExpanded ) {
|
323 |
var url;
|
324 |
if ( isExpanded ) {
|
325 |
jQuery('#save').trigger('click');
|
326 |
+
url = wcast_customizer.partial_shipped_email_preview_url;
|
327 |
api.previewer.previewUrl.set( url );
|
328 |
}
|
329 |
} );
|
330 |
} );
|
331 |
} ( wp.customize ) );
|
332 |
+
|
333 |
+
(function ( api ) {
|
334 |
+
api.section( 'customer_updated_tracking_email', function( section ) {
|
335 |
section.expanded.bind( function( isExpanded ) {
|
336 |
var url;
|
337 |
if ( isExpanded ) {
|
338 |
jQuery('#save').trigger('click');
|
339 |
+
url = wcast_customizer.updated_tracking_email_preview_url;
|
340 |
api.previewer.previewUrl.set( url );
|
341 |
}
|
342 |
} );
|
343 |
} );
|
344 |
+
} ( wp.customize ) );
|
345 |
+
|
346 |
+
(function ( api ) {
|
347 |
+
api.section( 'default_controls_section', function( section ) {
|
348 |
+
section.expanded.bind( function( isExpanded ) {
|
349 |
+
var url;
|
350 |
+
if ( isExpanded ) {
|
351 |
+
jQuery('#save').trigger('click');
|
352 |
+
url = wcast_customizer.tracking_preview_url;
|
353 |
+
api.previewer.previewUrl.set( url );
|
354 |
+
}
|
355 |
+
} );
|
356 |
+
} );
|
357 |
+
} ( wp.customize ) );
|
358 |
+
|
359 |
(function ( api ) {
|
360 |
api.section( 'customer_failure_email', function( section ) {
|
361 |
section.expanded.bind( function( isExpanded ) {
|
assets/js/front.js
CHANGED
@@ -53,4 +53,15 @@ jQuery(document).on("click", ".hide_table_rows", function(){
|
|
53 |
jQuery(this).hide();
|
54 |
jQuery(this).closest('.shipment_progress_div').find('.view_table_rows').show();
|
55 |
jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').hide();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
});
|
53 |
jQuery(this).hide();
|
54 |
jQuery(this).closest('.shipment_progress_div').find('.view_table_rows').show();
|
55 |
jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').hide();
|
56 |
+
});
|
57 |
+
|
58 |
+
jQuery(document).on("click", ".view_old_details", function(){
|
59 |
+
jQuery(this).hide();
|
60 |
+
jQuery(this).closest('.tracking-details').find('.hide_old_details').show();
|
61 |
+
jQuery(this).closest('.tracking-details').find('.old-details').fadeIn();
|
62 |
+
});
|
63 |
+
jQuery(document).on("click", ".hide_old_details", function(){
|
64 |
+
jQuery(this).hide();
|
65 |
+
jQuery(this).closest('.tracking-details').find('.view_old_details').show();
|
66 |
+
jQuery(this).closest('.tracking-details').find('.old-details').fadeOut();
|
67 |
});
|
assets/js/preview-scripts.js
CHANGED
@@ -224,6 +224,38 @@
|
|
224 |
});
|
225 |
});
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
|
228 |
wp.customize( 'remove_trackship_branding', function( value ) {
|
229 |
value.bind( function( remove_trackship_branding ) {
|
@@ -329,4 +361,39 @@
|
|
329 |
}
|
330 |
});
|
331 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
} )( jQuery );
|
224 |
});
|
225 |
});
|
226 |
|
227 |
+
wp.customize( 'woocommerce_customer_partial_shipped_order_settings[heading]', function( value ) {
|
228 |
+
value.bind( function( wcast_partial_shipped_email_heading ) {
|
229 |
+
|
230 |
+
var str = wcast_partial_shipped_email_heading;
|
231 |
+
var res = str.replace("{site_title}", wcast_preview.site_title);
|
232 |
+
|
233 |
+
var res = res.replace("{order_number}", wcast_preview.order_number);
|
234 |
+
|
235 |
+
if( wcast_partial_shipped_email_heading ){
|
236 |
+
$( '#header_wrapper h1' ).text(res);
|
237 |
+
} else{
|
238 |
+
$( '#header_wrapper h1' ).text('');
|
239 |
+
}
|
240 |
+
});
|
241 |
+
});
|
242 |
+
|
243 |
+
wp.customize( 'woocommerce_customer_updated_tracking_order_settings[heading]', function( value ) {
|
244 |
+
value.bind( function( wcast_updated_tracking_email_heading ) {
|
245 |
+
|
246 |
+
var str = wcast_updated_tracking_email_heading;
|
247 |
+
var res = str.replace("{site_title}", wcast_preview.site_title);
|
248 |
+
|
249 |
+
var res = res.replace("{order_number}", wcast_preview.order_number);
|
250 |
+
|
251 |
+
if( wcast_updated_tracking_email_heading ){
|
252 |
+
$( '#header_wrapper h1' ).text(res);
|
253 |
+
} else{
|
254 |
+
$( '#header_wrapper h1' ).text('');
|
255 |
+
}
|
256 |
+
});
|
257 |
+
});
|
258 |
+
|
259 |
|
260 |
wp.customize( 'remove_trackship_branding', function( value ) {
|
261 |
value.bind( function( remove_trackship_branding ) {
|
361 |
}
|
362 |
});
|
363 |
});
|
364 |
+
|
365 |
+
wp.customize( 'simple_provider_font_size', function( setting ) {
|
366 |
+
/* Deferred callback for when setting exists */
|
367 |
+
setting.bind( function( simple_provider_font_size ) {
|
368 |
+
/* Update callback for setting change */
|
369 |
+
$( '.tracking_list_div' ).css( 'font-size',simple_provider_font_size );
|
370 |
+
} );
|
371 |
+
} );
|
372 |
+
|
373 |
+
wp.customize( 'simple_provider_font_color', function( setting ) {
|
374 |
+
/* Deferred callback for when setting exists */
|
375 |
+
setting.bind( function( simple_provider_font_color ) {
|
376 |
+
/* Update callback for setting change */
|
377 |
+
$( '.tracking_list_div' ).css( 'color',simple_provider_font_color );
|
378 |
+
} );
|
379 |
+
} );
|
380 |
+
|
381 |
+
wp.customize( 'show_provider_border', function( setting ) {
|
382 |
+
/* Deferred callback for when setting exists */
|
383 |
+
setting.bind( function( show_provider_border ) {
|
384 |
+
if( show_provider_border ){
|
385 |
+
$( '.tracking_list_div' ).css( 'border-bottom','1px solid' );;
|
386 |
+
}
|
387 |
+
else{
|
388 |
+
$( '.tracking_list_div' ).css( 'border-bottom','0' );;
|
389 |
+
}
|
390 |
+
} );
|
391 |
+
} );
|
392 |
+
|
393 |
+
wp.customize( 'provider_border_color', function( setting ) {
|
394 |
+
/* Deferred callback for when setting exists */
|
395 |
+
setting.bind( function( provider_border_color ) {
|
396 |
+
$( '.tracking_list_div' ).css( 'border-bottom','1px solid '+provider_border_color );
|
397 |
+
} );
|
398 |
+
} );
|
399 |
} )( jQuery );
|
assets/js/settings.js
CHANGED
@@ -9,19 +9,27 @@ jQuery(document).on("click", ".shipping_provider_tab li", function(){
|
|
9 |
});
|
10 |
jQuery(document).on("click", "#wc_ast_status_delivered", function(){
|
11 |
if(jQuery(this).prop("checked") == true){
|
12 |
-
jQuery(
|
13 |
-
jQuery('label.tab_label[for="tab5"]').show();
|
14 |
} else{
|
15 |
-
jQuery(
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
23 |
}
|
24 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
jQuery(document).on("change", "#wc_ast_select_email_type", function(){
|
26 |
jQuery("#content2 ").block({
|
27 |
message: null,
|
@@ -59,17 +67,73 @@ jQuery(document).on("change", "#wc_ast_select_email_type", function(){
|
|
59 |
});
|
60 |
jQuery( document ).ready(function() {
|
61 |
jQuery(".woocommerce-help-tip").tipTip();
|
|
|
62 |
if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
|
63 |
-
jQuery('.status_label_color_th').show();
|
64 |
-
jQuery('label.tab_label[for="tab5"]').show();
|
65 |
} else{
|
66 |
-
jQuery('.status_label_color_th').hide();
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
|
70 |
-
jQuery('#wc_ast_status_label_color').wpColorPicker(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
jQuery('.color_field input').wpColorPicker();
|
72 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
jQuery(document).on("click", '#variable_tag #var_input', function(e){
|
74 |
jQuery(this).focus();
|
75 |
jQuery(this).select();
|
9 |
});
|
10 |
jQuery(document).on("click", "#wc_ast_status_delivered", function(){
|
11 |
if(jQuery(this).prop("checked") == true){
|
12 |
+
jQuery(this).closest('tr').removeClass('disable_row');
|
|
|
13 |
} else{
|
14 |
+
jQuery(this).closest('tr').addClass('disable_row');
|
15 |
+
}
|
16 |
+
});
|
17 |
+
|
18 |
+
jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
|
19 |
+
if(jQuery(this).prop("checked") == true){
|
20 |
+
jQuery(this).closest('tr').removeClass('disable_row');
|
21 |
+
} else{
|
22 |
+
jQuery(this).closest('tr').addClass('disable_row');
|
23 |
}
|
24 |
});
|
25 |
+
jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
|
26 |
+
if(jQuery(this).prop("checked") == true){
|
27 |
+
jQuery(this).closest('tr').removeClass('disable_row');
|
28 |
+
} else{
|
29 |
+
jQuery(this).closest('tr').addClass('disable_row');
|
30 |
+
}
|
31 |
+
});
|
32 |
+
|
33 |
jQuery(document).on("change", "#wc_ast_select_email_type", function(){
|
34 |
jQuery("#content2 ").block({
|
35 |
message: null,
|
67 |
});
|
68 |
jQuery( document ).ready(function() {
|
69 |
jQuery(".woocommerce-help-tip").tipTip();
|
70 |
+
|
71 |
if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
|
72 |
+
jQuery('.status_label_color_th').show();
|
|
|
73 |
} else{
|
74 |
+
jQuery('.status_label_color_th').hide();
|
75 |
+
}
|
76 |
+
|
77 |
+
if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
|
78 |
+
jQuery('.partial_shipped_status_label_color_th').show();
|
79 |
+
} else{
|
80 |
+
jQuery('.partial_shipped_status_label_color_th').hide();
|
81 |
}
|
82 |
|
83 |
+
jQuery('#wc_ast_status_label_color').wpColorPicker({
|
84 |
+
change: function(e, ui) {
|
85 |
+
var color = ui.color.toString();
|
86 |
+
jQuery('.order-status-table .order-label.wc-delivered').css('background',color);
|
87 |
+
},
|
88 |
+
});
|
89 |
+
jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
|
90 |
+
change: function(e, ui) {
|
91 |
+
var color = ui.color.toString();
|
92 |
+
jQuery('.order-status-table .order-label.wc-partially-shipped').css('background',color);
|
93 |
+
},
|
94 |
+
});
|
95 |
+
jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
|
96 |
+
change: function(e, ui) {
|
97 |
+
var color = ui.color.toString();
|
98 |
+
jQuery('.order-status-table .order-label.wc-updated-tracking').css('background',color);
|
99 |
+
},
|
100 |
+
});
|
101 |
+
jQuery('#wc_ast_select_primary_color').wpColorPicker({
|
102 |
+
change: function(e, ui) {
|
103 |
+
var color = ui.color.toString();
|
104 |
+
jQuery('#tracking_preview_iframe').contents().find('.bg-secondary').css('background-color',color);
|
105 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracker-progress-bar-with-dots .secondary .dot').css('border-color',color);
|
106 |
+
jQuery('#tracking_preview_iframe').contents().find('.text-secondary').css('color',color);
|
107 |
+
jQuery('#tracking_preview_iframe').contents().find('.progress-bar.bg-secondary:before').css('background-color',color);
|
108 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-number').css('color',color);
|
109 |
+
jQuery('#tracking_preview_iframe').contents().find('.view_table_rows').css('color',color);
|
110 |
+
jQuery('#tracking_preview_iframe').contents().find('.hide_table_rows').css('color',color);
|
111 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-detail.tracking-layout-2').css('color',color);
|
112 |
+
jQuery('#tracking_preview_iframe').contents().find('.view_old_details').css('color',color);
|
113 |
+
jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').css('color',color);
|
114 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-table tbody tr td').css('color',color);
|
115 |
+
},
|
116 |
+
});
|
117 |
+
jQuery('#wc_ast_select_border_color').wpColorPicker({
|
118 |
+
change: function(e, ui) {
|
119 |
+
var color = ui.color.toString();
|
120 |
+
jQuery('#tracking_preview_iframe').contents().find('.col.tracking-detail').css('border','1px solid '+color);
|
121 |
+
},
|
122 |
+
});
|
123 |
jQuery('.color_field input').wpColorPicker();
|
124 |
});
|
125 |
+
jQuery(document).on("change", "#wc_ast_status_label_font_color", function(){
|
126 |
+
var font_color = jQuery(this).val();
|
127 |
+
jQuery('.order-status-table .order-label.wc-delivered').css('color',font_color);
|
128 |
+
});
|
129 |
+
jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
|
130 |
+
var font_color = jQuery(this).val();
|
131 |
+
jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
|
132 |
+
});
|
133 |
+
jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
|
134 |
+
var font_color = jQuery(this).val();
|
135 |
+
jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
|
136 |
+
});
|
137 |
jQuery(document).on("click", '#variable_tag #var_input', function(e){
|
138 |
jQuery(this).focus();
|
139 |
jQuery(this).select();
|
assets/js/shipping_row.js
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
|
8 |
var $wc_ast_settings_form = $("#wc_ast_settings_form");
|
9 |
var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
|
|
|
10 |
|
11 |
|
12 |
var wc_table_rate_rows = {
|
@@ -28,6 +29,7 @@
|
|
28 |
|
29 |
$wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
|
30 |
$wc_ast_trackship_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
|
|
|
31 |
|
32 |
$(".tipTip").tipTip();
|
33 |
|
@@ -59,7 +61,45 @@
|
|
59 |
$wc_ast_trackship_form.find(".spinner").removeClass("active");
|
60 |
var snackbarContainer = document.querySelector('#demo-toast-example');
|
61 |
var data = {message: 'Data saved successfully.'};
|
62 |
-
snackbarContainer.MaterialSnackbar.showSnackbar(data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
//$wc_ast_settings_form.find(".success_msg").show();
|
64 |
});
|
65 |
|
@@ -201,6 +241,7 @@ jQuery(document).on("change", ".wc_ast_default_provider", function(){
|
|
201 |
});
|
202 |
jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
|
203 |
jQuery('.csv_upload_status li').remove();
|
|
|
204 |
jQuery('.progress_title').hide();
|
205 |
var form = jQuery('#wc_ast_upload_csv_form');
|
206 |
var error;
|
@@ -240,8 +281,11 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
|
|
240 |
var reader = new FileReader();
|
241 |
reader.onload = function (e) {
|
242 |
var trackings = new Array();
|
243 |
-
var rows = e.target.result.split("\r\n");
|
244 |
-
|
|
|
|
|
|
|
245 |
for (var i = 1; i < rows.length; i++) {
|
246 |
var cells = rows[i].split(",");
|
247 |
if (cells.length > 1) {
|
@@ -256,7 +300,8 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
|
|
256 |
}
|
257 |
}
|
258 |
}
|
259 |
-
var csv_length = trackings.length;
|
|
|
260 |
jQuery("#wc_ast_upload_csv_form")[0].reset();
|
261 |
jQuery("#p1 .progressbar").css('background-color','rgb(63,81,181)');
|
262 |
var querySelector = document.querySelector('#p1');
|
@@ -292,6 +337,7 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
|
|
292 |
|
293 |
jQuery('.csv_upload_status').append(data);
|
294 |
var progress = (index+1)*100/csv_length;
|
|
|
295 |
jQuery('.progress_title').show();
|
296 |
querySelector.MaterialProgress.setProgress(progress);
|
297 |
if(progress == 100){
|
@@ -471,9 +517,9 @@ jQuery(document).on( "input", "#search_provider", function(){
|
|
471 |
data: ajax_data,
|
472 |
type: 'POST',
|
473 |
success: function(response) {
|
474 |
-
jQuery(".provider_list").replaceWith(response);
|
475 |
-
|
476 |
-
|
477 |
var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
|
478 |
jQuery('.provider').each(function() {
|
479 |
var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
|
@@ -483,11 +529,17 @@ jQuery(document).on( "input", "#search_provider", function(){
|
|
483 |
var hascountry= country.indexOf(searchvalue)!==-1;
|
484 |
|
485 |
if (hasprovider || hascountry) {
|
486 |
-
jQuery(this).show();
|
487 |
-
|
|
|
488 |
jQuery(this).hide();
|
489 |
}
|
490 |
});
|
|
|
|
|
|
|
|
|
|
|
491 |
},
|
492 |
error: function(response) {
|
493 |
}
|
@@ -502,6 +554,8 @@ jQuery(document).on("click", ".popupclose", function(){
|
|
502 |
jQuery('.edit_provider_popup').hide();
|
503 |
jQuery('.sync_provider_popup').hide();
|
504 |
jQuery('.how_to_video_popup').hide();
|
|
|
|
|
505 |
});
|
506 |
jQuery(document).on("click", ".close_synch_popup", function(){
|
507 |
jQuery('.sync_provider_popup').hide();
|
@@ -592,7 +646,7 @@ jQuery(document).on("click", ".remove", function(){
|
|
592 |
var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
|
593 |
if (r === true) {
|
594 |
} else {
|
595 |
-
|
596 |
return;
|
597 |
}
|
598 |
var id = jQuery(this).data('pid');
|
@@ -642,7 +696,7 @@ jQuery(document).on("click", ".edit_provider", function(){
|
|
642 |
jQuery('.edit_provider_popup #thumb_url').val(image);
|
643 |
jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
|
644 |
jQuery('.edit_provider_popup #provider_id').val(id);
|
645 |
-
|
646 |
jQuery('.edit_provider_popup').show();
|
647 |
//console.log(provider_name);
|
648 |
},
|
@@ -724,7 +778,7 @@ jQuery(document).on("click", ".reset_active", function(){
|
|
724 |
var r = confirm( 'Do you really want to change all provider status to active?' );
|
725 |
if (r === true) {
|
726 |
} else {
|
727 |
-
|
728 |
return;
|
729 |
}
|
730 |
|
@@ -760,7 +814,7 @@ jQuery(document).on("click", ".reset_inactive", function(){
|
|
760 |
var r = confirm( 'Do you really want to change all provider status to inactive?' );
|
761 |
if (r === true) {
|
762 |
} else {
|
763 |
-
|
764 |
return;
|
765 |
}
|
766 |
|
@@ -799,27 +853,32 @@ jQuery(document).on("click", ".sync_providers_btn", function(){
|
|
799 |
data: ajax_data,
|
800 |
type: 'POST',
|
801 |
dataType: "json",
|
802 |
-
success: function(response) {
|
803 |
-
console.log(response.updated_data);
|
804 |
jQuery('.sync_provider_popup .spinner').removeClass('active');
|
805 |
jQuery(".provider_list").replaceWith(response.html);
|
806 |
jQuery('.status_filter a').removeClass('active');
|
807 |
jQuery("[data-status=active]").addClass('active');
|
808 |
|
809 |
-
|
810 |
-
|
811 |
-
jQuery( ".
|
812 |
-
}
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
|
|
|
|
|
|
|
|
|
|
822 |
}
|
|
|
823 |
jQuery(".synch_result").show();
|
824 |
jQuery(".sync_providers_btn").hide();
|
825 |
jQuery(".close_synch_popup").show();
|
@@ -881,7 +940,25 @@ jQuery(document).on("change", "#wcast_enable_delivered_email", function(){
|
|
881 |
}
|
882 |
componentHandler.upgradeAllRegistered();
|
883 |
});
|
884 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
885 |
|
886 |
jQuery(document).click(function(){
|
887 |
var $trigger = jQuery(".dropdown");
|
@@ -964,19 +1041,201 @@ jQuery(document).on("click", ".bulk_shipment_status_button_for_empty_balance", f
|
|
964 |
return false;
|
965 |
});
|
966 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
967 |
jQuery(document).on("click", ".tab_input", function(){
|
968 |
var tab = jQuery(this).data('tab');
|
969 |
var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
|
970 |
window.history.pushState({path:url},'',url);
|
971 |
});
|
|
|
|
|
|
|
|
|
|
|
972 |
|
973 |
jQuery(document).on("click", ".open_video_popup", function(){
|
974 |
jQuery('.how_to_video_popup').show();
|
975 |
});
|
976 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
977 |
jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
|
978 |
jQuery('#how_to_video').each(function(index) {
|
979 |
jQuery(this).attr('src', jQuery(this).attr('src'));
|
980 |
return false;
|
981 |
});
|
982 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
var $wc_ast_settings_form = $("#wc_ast_settings_form");
|
9 |
var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
|
10 |
+
var $wc_ast_addons_form = $("#wc_ast_addons_form");
|
11 |
|
12 |
|
13 |
var wc_table_rate_rows = {
|
29 |
|
30 |
$wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
|
31 |
$wc_ast_trackship_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
|
32 |
+
$wc_ast_addons_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_addons_form );
|
33 |
|
34 |
$(".tipTip").tipTip();
|
35 |
|
61 |
$wc_ast_trackship_form.find(".spinner").removeClass("active");
|
62 |
var snackbarContainer = document.querySelector('#demo-toast-example');
|
63 |
var data = {message: 'Data saved successfully.'};
|
64 |
+
snackbarContainer.MaterialSnackbar.showSnackbar(data);
|
65 |
+
});
|
66 |
+
|
67 |
+
},
|
68 |
+
|
69 |
+
save_wc_ast_addons_form: function( event ) {
|
70 |
+
event.preventDefault();
|
71 |
+
|
72 |
+
$wc_ast_addons_form.find(".spinner").addClass("active");
|
73 |
+
jQuery('.pesan').hide();
|
74 |
+
var action = jQuery('#ast-license-action').val();
|
75 |
+
//$wc_ast_settings_form.find(".success_msg").hide();
|
76 |
+
var ajax_data = $wc_ast_addons_form.serialize();
|
77 |
+
|
78 |
+
$.post( ajaxurl, ajax_data, function(data) {
|
79 |
+
$wc_ast_addons_form.find(".spinner").removeClass("active");
|
80 |
+
jQuery('.pesan').show();
|
81 |
+
//console.log(data);
|
82 |
+
var btn_value = 'Activate';
|
83 |
+
if(data.success == 'true'){
|
84 |
+
if(action == 'ast_product_license_activate'){
|
85 |
+
var btn_value = 'Deactivate';
|
86 |
+
jQuery('#ast-license-action').val('esre_license_deactivate');
|
87 |
+
jQuery('.pesan').html('Congratulation, your license successful activated');
|
88 |
+
jQuery('.activated').show();
|
89 |
+
window.location.reload();
|
90 |
+
} else {
|
91 |
+
jQuery('#ast-license-action').val('esre_license_activate');
|
92 |
+
jQuery('#ast_product_license_key').val('');
|
93 |
+
jQuery('#ast_product_license_email').val('');
|
94 |
+
jQuery('.pesan').html('<span style="color:green;">Congratulation, your license successful deactivated</span>');
|
95 |
+
jQuery('.activated').hide();
|
96 |
+
window.location.reload();
|
97 |
+
}
|
98 |
+
} else {
|
99 |
+
jQuery('.pesan').html('<span style="color:red;">'+data.message+'</span>');
|
100 |
+
}
|
101 |
+
|
102 |
+
jQuery('#saveS').prop('disabled', false).val(btn_value);
|
103 |
//$wc_ast_settings_form.find(".success_msg").show();
|
104 |
});
|
105 |
|
241 |
});
|
242 |
jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
|
243 |
jQuery('.csv_upload_status li').remove();
|
244 |
+
jQuery('.bulk_upload_status_tr').hide();
|
245 |
jQuery('.progress_title').hide();
|
246 |
var form = jQuery('#wc_ast_upload_csv_form');
|
247 |
var error;
|
281 |
var reader = new FileReader();
|
282 |
reader.onload = function (e) {
|
283 |
var trackings = new Array();
|
284 |
+
var rows = e.target.result.split("\r\n");
|
285 |
+
if(rows.length <= 1){
|
286 |
+
alert('There are some issue with CSV file.');
|
287 |
+
return false;
|
288 |
+
}
|
289 |
for (var i = 1; i < rows.length; i++) {
|
290 |
var cells = rows[i].split(",");
|
291 |
if (cells.length > 1) {
|
300 |
}
|
301 |
}
|
302 |
}
|
303 |
+
var csv_length = trackings.length;
|
304 |
+
|
305 |
jQuery("#wc_ast_upload_csv_form")[0].reset();
|
306 |
jQuery("#p1 .progressbar").css('background-color','rgb(63,81,181)');
|
307 |
var querySelector = document.querySelector('#p1');
|
337 |
|
338 |
jQuery('.csv_upload_status').append(data);
|
339 |
var progress = (index+1)*100/csv_length;
|
340 |
+
jQuery('.bulk_upload_status_tr').show();
|
341 |
jQuery('.progress_title').show();
|
342 |
querySelector.MaterialProgress.setProgress(progress);
|
343 |
if(progress == 100){
|
517 |
data: ajax_data,
|
518 |
type: 'POST',
|
519 |
success: function(response) {
|
520 |
+
jQuery(".provider_list").replaceWith(response);
|
521 |
+
componentHandler.upgradeAllRegistered();
|
522 |
+
var provider_found = false;
|
523 |
var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
|
524 |
jQuery('.provider').each(function() {
|
525 |
var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
|
529 |
var hascountry= country.indexOf(searchvalue)!==-1;
|
530 |
|
531 |
if (hasprovider || hascountry) {
|
532 |
+
jQuery(this).show();
|
533 |
+
provider_found = true;
|
534 |
+
} else {
|
535 |
jQuery(this).hide();
|
536 |
}
|
537 |
});
|
538 |
+
if(provider_found == false){
|
539 |
+
jQuery(".provider_list").append('<h3 class="not_found_label">No Shipping Providers Found.</h3>');
|
540 |
+
} else{
|
541 |
+
jQuery(".not_found_label").remove();
|
542 |
+
}
|
543 |
},
|
544 |
error: function(response) {
|
545 |
}
|
554 |
jQuery('.edit_provider_popup').hide();
|
555 |
jQuery('.sync_provider_popup').hide();
|
556 |
jQuery('.how_to_video_popup').hide();
|
557 |
+
jQuery('.ts_video_popup').hide();
|
558 |
+
jQuery('.tracking_item_video_popup').hide();
|
559 |
});
|
560 |
jQuery(document).on("click", ".close_synch_popup", function(){
|
561 |
jQuery('.sync_provider_popup').hide();
|
646 |
var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
|
647 |
if (r === true) {
|
648 |
} else {
|
649 |
+
jQuery("#content1").unblock();
|
650 |
return;
|
651 |
}
|
652 |
var id = jQuery(this).data('pid');
|
696 |
jQuery('.edit_provider_popup #thumb_url').val(image);
|
697 |
jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
|
698 |
jQuery('.edit_provider_popup #provider_id').val(id);
|
699 |
+
jQuery(".edit_provider_popup #shipping_country").val(shipping_country);
|
700 |
jQuery('.edit_provider_popup').show();
|
701 |
//console.log(provider_name);
|
702 |
},
|
778 |
var r = confirm( 'Do you really want to change all provider status to active?' );
|
779 |
if (r === true) {
|
780 |
} else {
|
781 |
+
jQuery("#content1").unblock();
|
782 |
return;
|
783 |
}
|
784 |
|
814 |
var r = confirm( 'Do you really want to change all provider status to inactive?' );
|
815 |
if (r === true) {
|
816 |
} else {
|
817 |
+
jQuery("#content1").unblock();
|
818 |
return;
|
819 |
}
|
820 |
|
853 |
data: ajax_data,
|
854 |
type: 'POST',
|
855 |
dataType: "json",
|
856 |
+
success: function(response) {
|
|
|
857 |
jQuery('.sync_provider_popup .spinner').removeClass('active');
|
858 |
jQuery(".provider_list").replaceWith(response.html);
|
859 |
jQuery('.status_filter a').removeClass('active');
|
860 |
jQuery("[data-status=active]").addClass('active');
|
861 |
|
862 |
+
if(response.sync_error == 1 ){
|
863 |
+
jQuery( ".sync_message" ).text( response.message );
|
864 |
+
jQuery( ".sync_providers_btn" ).text( 'Retry' );
|
865 |
+
} else{
|
866 |
+
jQuery(".providers_added span").text(response.added);
|
867 |
+
if(response.added > 0 ){
|
868 |
+
jQuery( ".providers_added" ).append( response.added_html );
|
869 |
+
}
|
870 |
+
|
871 |
+
jQuery(".providers_updated span").text(response.updated);
|
872 |
+
if(response.updated > 0 ){
|
873 |
+
jQuery( ".providers_updated" ).append( response.updated_html );
|
874 |
+
}
|
875 |
+
|
876 |
+
jQuery(".providers_deleted span").text(response.deleted);
|
877 |
+
if(response.deleted > 0 ){
|
878 |
+
jQuery( ".providers_deleted" ).append( response.deleted_html );
|
879 |
+
}
|
880 |
}
|
881 |
+
|
882 |
jQuery(".synch_result").show();
|
883 |
jQuery(".sync_providers_btn").hide();
|
884 |
jQuery(".close_synch_popup").show();
|
940 |
}
|
941 |
componentHandler.upgradeAllRegistered();
|
942 |
});
|
943 |
+
jQuery(document).on("change", "#wc_ast_status_delivered", function(){
|
944 |
+
if(jQuery(this).prop("checked") == false){
|
945 |
+
jQuery('#wcast_enable_delivered_email')[0].checked = false;
|
946 |
+
}
|
947 |
+
if(jQuery(this).prop("checked") == true && jQuery("#wcast_enable_delivered_email").prop("checked") == true){
|
948 |
+
jQuery('.delivered_shipment_label').addClass('delivered_enabel');
|
949 |
+
jQuery('.delivered_shipment_label .email_heading').addClass('disabled_link');
|
950 |
+
jQuery('.delivered_shipment_label .edit_customizer_a').addClass('disabled_link');
|
951 |
+
jQuery('.delivered_shipment_label .delivered_message').addClass('disable_delivered');
|
952 |
+
jQuery('#wcast_enable_delivered_status_email').prop('disabled', true);
|
953 |
+
} else{
|
954 |
+
jQuery('.delivered_shipment_label').removeClass('delivered_enabel');
|
955 |
+
jQuery('.delivered_shipment_label .email_heading').removeClass('disabled_link');
|
956 |
+
jQuery('.delivered_shipment_label .edit_customizer_a').removeClass('disabled_link');
|
957 |
+
jQuery('.delivered_shipment_label .delivered_message').removeClass('disable_delivered');
|
958 |
+
jQuery('#wcast_enable_delivered_status_email').removeAttr('disabled');
|
959 |
+
}
|
960 |
+
componentHandler.upgradeAllRegistered();
|
961 |
+
});
|
962 |
|
963 |
jQuery(document).click(function(){
|
964 |
var $trigger = jQuery(".dropdown");
|
1041 |
return false;
|
1042 |
});
|
1043 |
|
1044 |
+
jQuery(document).on("click", ".bulk_shipment_status_button_for_do_connection", function(){
|
1045 |
+
jQuery("#content3").block({
|
1046 |
+
message: null,
|
1047 |
+
overlayCSS: {
|
1048 |
+
background: "#fff",
|
1049 |
+
opacity: .6
|
1050 |
+
}
|
1051 |
+
});
|
1052 |
+
var ajax_data = {
|
1053 |
+
action: 'bulk_shipment_status_for_do_connection_from_settings',
|
1054 |
+
};
|
1055 |
+
jQuery.ajax({
|
1056 |
+
url: ajaxurl,
|
1057 |
+
data: ajax_data,
|
1058 |
+
type: 'POST',
|
1059 |
+
success: function(response) {
|
1060 |
+
jQuery("#content3").unblock();
|
1061 |
+
jQuery( '.bulk_shipment_status_button_for_do_connection' ).after( "<div class='bulk_shipment_status_success'>Tracking info sent to Trackship for all Orders.</div>" );
|
1062 |
+
jQuery( '.bulk_shipment_status_button_for_do_connection' ).attr("disabled", true);
|
1063 |
+
},
|
1064 |
+
error: function(response) {
|
1065 |
+
console.log(response);
|
1066 |
+
}
|
1067 |
+
});
|
1068 |
+
return false;
|
1069 |
+
});
|
1070 |
+
|
1071 |
jQuery(document).on("click", ".tab_input", function(){
|
1072 |
var tab = jQuery(this).data('tab');
|
1073 |
var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
|
1074 |
window.history.pushState({path:url},'',url);
|
1075 |
});
|
1076 |
+
jQuery(document).on("click", ".inner_tab_input", function(){
|
1077 |
+
var tab = jQuery(this).data('tab');
|
1078 |
+
var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
|
1079 |
+
window.history.pushState({path:url},'',url);
|
1080 |
+
});
|
1081 |
|
1082 |
jQuery(document).on("click", ".open_video_popup", function(){
|
1083 |
jQuery('.how_to_video_popup').show();
|
1084 |
});
|
1085 |
|
1086 |
+
jQuery(document).on("click", ".ts_addons_header", function(){
|
1087 |
+
jQuery('.ts_video_popup').show();
|
1088 |
+
});
|
1089 |
+
jQuery(document).on("click", ".tracking_item_addons_header", function(){
|
1090 |
+
jQuery('.tracking_item_video_popup').show();
|
1091 |
+
});
|
1092 |
+
|
1093 |
jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
|
1094 |
jQuery('#how_to_video').each(function(index) {
|
1095 |
jQuery(this).attr('src', jQuery(this).attr('src'));
|
1096 |
return false;
|
1097 |
});
|
1098 |
+
});
|
1099 |
+
jQuery(document).on("click", ".ts_video_popup .popupclose", function(){
|
1100 |
+
jQuery('#ts_video').each(function(index) {
|
1101 |
+
jQuery(this).attr('src', jQuery(this).attr('src'));
|
1102 |
+
return false;
|
1103 |
+
});
|
1104 |
+
});
|
1105 |
+
jQuery(document).on("click", ".tracking_item_video_popup .popupclose", function(){
|
1106 |
+
jQuery('#trackin_per_item_video').each(function(index) {
|
1107 |
+
jQuery(this).attr('src', jQuery(this).attr('src'));
|
1108 |
+
return false;
|
1109 |
+
});
|
1110 |
+
});
|
1111 |
+
jQuery(document).on("change", "#wc_ast_use_tracking_page", function(){
|
1112 |
+
if(jQuery(this).prop("checked") == true){
|
1113 |
+
jQuery('.tracking_page_table').show();
|
1114 |
+
jQuery('#tracking_preview_iframe').height( '' );
|
1115 |
+
jQuery(this).closest('table').removeClass('disable_tracking_page');
|
1116 |
+
setTimeout(
|
1117 |
+
function()
|
1118 |
+
{
|
1119 |
+
var iframe = document.getElementById("tracking_preview_iframe");
|
1120 |
+
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
|
1121 |
+
}, 1000);
|
1122 |
+
} else{
|
1123 |
+
jQuery('.tracking_page_table').hide();
|
1124 |
+
jQuery(this).closest('table').addClass('disable_tracking_page');
|
1125 |
+
}
|
1126 |
+
});
|
1127 |
+
|
1128 |
+
jQuery(document).on("change", ".select_t_layout_section .radio-img", function(){
|
1129 |
+
jQuery('#tracking_preview_iframe').height( '' );
|
1130 |
+
var val = jQuery(this).val();
|
1131 |
+
if(val == 't_layout_1'){
|
1132 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').show();
|
1133 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').hide();
|
1134 |
+
} else{
|
1135 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').hide();
|
1136 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').show();
|
1137 |
+
}
|
1138 |
+
var iframe = document.getElementById("tracking_preview_iframe");
|
1139 |
+
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
|
1140 |
+
});
|
1141 |
+
|
1142 |
+
jQuery('#tracking_preview_iframe').load(function(){
|
1143 |
+
var iframe = jQuery('#tracking_preview_iframe').contents();
|
1144 |
+
iframe.find(".view_old_details").click(function(){
|
1145 |
+
jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').show();
|
1146 |
+
jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeIn();
|
1147 |
+
jQuery('#tracking_preview_iframe').height( '' );
|
1148 |
+
var iframe1 = document.getElementById("tracking_preview_iframe");
|
1149 |
+
iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
|
1150 |
+
});
|
1151 |
+
});
|
1152 |
+
|
1153 |
+
jQuery('#tracking_preview_iframe').load(function(){
|
1154 |
+
var iframe = jQuery('#tracking_preview_iframe').contents();
|
1155 |
+
iframe.find(".hide_old_details").click(function(){
|
1156 |
+
jQuery('#tracking_preview_iframe').contents().find('.view_old_details').show();
|
1157 |
+
jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeOut();
|
1158 |
+
jQuery('#tracking_preview_iframe').height( '' );
|
1159 |
+
var iframe1 = document.getElementById("tracking_preview_iframe");
|
1160 |
+
iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
|
1161 |
+
});
|
1162 |
+
});
|
1163 |
+
|
1164 |
+
jQuery(document).on("click", "#wc_ast_hide_tracking_provider_image", function(){
|
1165 |
+
if(jQuery(this).prop("checked") == true){
|
1166 |
+
jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').hide();
|
1167 |
+
} else{
|
1168 |
+
jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').show();
|
1169 |
+
}
|
1170 |
+
});
|
1171 |
+
jQuery(document).on("click", "#wc_ast_hide_tracking_events", function(){
|
1172 |
+
jQuery('#tracking_preview_iframe').height( '' );
|
1173 |
+
if(jQuery(this).prop("checked") == true){
|
1174 |
+
jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').hide();
|
1175 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-details').hide();
|
1176 |
+
} else{
|
1177 |
+
jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').show();
|
1178 |
+
jQuery('#tracking_preview_iframe').contents().find('.tracking-details').show();
|
1179 |
+
}
|
1180 |
+
var iframe = document.getElementById("tracking_preview_iframe");
|
1181 |
+
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
|
1182 |
+
});
|
1183 |
+
jQuery(document).on("click", "#wc_ast_remove_trackship_branding", function(){
|
1184 |
+
jQuery('#tracking_preview_iframe').height( '' );
|
1185 |
+
if(jQuery(this).prop("checked") == true){
|
1186 |
+
jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').hide();
|
1187 |
+
} else{
|
1188 |
+
jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').show();
|
1189 |
+
}
|
1190 |
+
var iframe = document.getElementById("tracking_preview_iframe");
|
1191 |
+
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
|
1192 |
+
});
|
1193 |
+
jQuery(document).on("click", ".tracking_page_label", function(){
|
1194 |
+
setTimeout(
|
1195 |
+
function()
|
1196 |
+
{
|
1197 |
+
jQuery('#tracking_preview_iframe').height( '' );
|
1198 |
+
var iframe = document.getElementById("tracking_preview_iframe");
|
1199 |
+
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
|
1200 |
+
}, 1000);
|
1201 |
+
});
|
1202 |
+
jQuery( document ).ready(function() {
|
1203 |
+
if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
|
1204 |
+
jQuery('.tracking_page_table').show();
|
1205 |
+
} else{
|
1206 |
+
jQuery('.tracking_page_table').hide();
|
1207 |
+
}
|
1208 |
+
if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
|
1209 |
+
jQuery('#wc_ast_use_tracking_page').closest('table').removeClass('disable_tracking_page');
|
1210 |
+
} else{
|
1211 |
+
jQuery('#wc_ast_use_tracking_page').closest('table').addClass('disable_tracking_page');
|
1212 |
+
}
|
1213 |
+
});
|
1214 |
+
jQuery(function(){
|
1215 |
+
jQuery('#tracking_preview_iframe').load(function(){
|
1216 |
+
var tab = getUrlParameter('tab');
|
1217 |
+
if(tab == 'tracking-page'){
|
1218 |
+
jQuery(this).show();
|
1219 |
+
var iframe = document.getElementById("tracking_preview_iframe");
|
1220 |
+
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
|
1221 |
+
} else{
|
1222 |
+
jQuery(this).show();
|
1223 |
+
}
|
1224 |
+
});
|
1225 |
+
});
|
1226 |
+
|
1227 |
+
var getUrlParameter = function getUrlParameter(sParam) {
|
1228 |
+
var sPageURL = window.location.search.substring(1),
|
1229 |
+
sURLVariables = sPageURL.split('&'),
|
1230 |
+
sParameterName,
|
1231 |
+
i;
|
1232 |
+
|
1233 |
+
for (i = 0; i < sURLVariables.length; i++) {
|
1234 |
+
sParameterName = sURLVariables[i].split('=');
|
1235 |
+
|
1236 |
+
if (sParameterName[0] === sParam) {
|
1237 |
+
return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
|
1238 |
+
}
|
1239 |
+
}
|
1240 |
+
};
|
1241 |
+
|
assets/js/welcome.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).on("click", ".ast-save-setup-settings", function(){
|
2 |
+
jQuery(".ast-onboarding-step-welcome").hide();
|
3 |
+
jQuery(".ast-onboarding-step-shipping").show();
|
4 |
+
jQuery(".ast-onboarding-step-delivered").hide();
|
5 |
+
jQuery(".ast-onboarding-step-trackship").hide();
|
6 |
+
jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
|
7 |
+
jQuery(".step-welcome").addClass('ast-onboarding-wizard-step-completed');
|
8 |
+
jQuery(".step-shipping").addClass('ast-onboarding-wizard-step-active');
|
9 |
+
|
10 |
+
var $wc_ast_settings_form = jQuery('#wc_ast_settings_form');
|
11 |
+
var ajax_data = $wc_ast_settings_form.serialize();
|
12 |
+
|
13 |
+
jQuery.post( ajaxurl, ajax_data, function(response) {
|
14 |
+
});
|
15 |
+
});
|
16 |
+
|
17 |
+
jQuery(document).on("click", ".ast-save-setup-providers", function(){
|
18 |
+
jQuery(".ast-onboarding-step-welcome").hide();
|
19 |
+
jQuery(".ast-onboarding-step-shipping").hide();
|
20 |
+
jQuery(".ast-onboarding-step-delivered").show();
|
21 |
+
jQuery(".ast-onboarding-step-trackship").hide();
|
22 |
+
jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
|
23 |
+
jQuery(".step-shipping").addClass('ast-onboarding-wizard-step-completed');
|
24 |
+
jQuery(".step-delivered").addClass('ast-onboarding-wizard-step-active');
|
25 |
+
});
|
26 |
+
|
27 |
+
jQuery(document).on("click", ".ast-save-setup-delivered", function(){
|
28 |
+
jQuery(".ast-onboarding-step-welcome").hide();
|
29 |
+
jQuery(".ast-onboarding-step-shipping").hide();
|
30 |
+
jQuery(".ast-onboarding-step-delivered").hide();
|
31 |
+
jQuery(".ast-onboarding-step-trackship").show();
|
32 |
+
jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
|
33 |
+
jQuery(".step-delivered").addClass('ast-onboarding-wizard-step-completed');
|
34 |
+
jQuery(".step-trackship").addClass('ast-onboarding-wizard-step-active');
|
35 |
+
|
36 |
+
var $wc_ast_settings_form = jQuery('#wc_ast_delivered_settings_form');
|
37 |
+
var ajax_data = $wc_ast_settings_form.serialize();
|
38 |
+
|
39 |
+
jQuery.post( ajaxurl, ajax_data, function(response) {
|
40 |
+
});
|
41 |
+
});
|
assets/shipment-provider-img/7-eleven.png
CHANGED
Binary file
|
assets/shipment-provider-img/apc-overnight.png
ADDED
Binary file
|
assets/shipment-provider-img/bpost.png
ADDED
Binary file
|
assets/shipment-provider-img/brt.png
ADDED
Binary file
|
assets/shipment-provider-img/ceska-posta.png
CHANGED
Binary file
|
assets/shipment-provider-img/cj-logistics.png
ADDED
Binary file
|
assets/shipment-provider-img/cj-packet.png
ADDED
Binary file
|
assets/shipment-provider-img/cjpacket.png
ADDED
Binary file
|
assets/shipment-provider-img/collectplus.png
ADDED
Binary file
|
assets/shipment-provider-img/correos-espana.png
ADDED
Binary file
|
assets/shipment-provider-img/dpd-fr.png
ADDED
Binary file
|
assets/shipment-provider-img/ekart.png
ADDED
Binary file
|
assets/shipment-provider-img/ethiopia-post.png
ADDED
Binary file
|
assets/shipment-provider-img/gls-spain.png
ADDED
Binary file
|
assets/shipment-provider-img/jcex.png
ADDED
Binary file
|
assets/shipment-provider-img/kerry-express.png
ADDED
Binary file
|
assets/shipment-provider-img/landmark-global.png
ADDED
Binary file
|
assets/shipment-provider-img/lion-parcel.png
ADDED
Binary file
|
assets/shipment-provider-img/lithuania-post.png
ADDED
Binary file
|
assets/shipment-provider-img/loomis-express.png
ADDED
Binary file
|
assets/shipment-provider-img/magyar-posta.png
ADDED
Binary file
|
assets/shipment-provider-img/ontime.png
ADDED
Binary file
|
assets/shipment-provider-img/poste-italiane.png
ADDED
Binary file
|
assets/shipment-provider-img/redpack.png
ADDED
Binary file
|
assets/shipment-provider-img/russian-post.png
ADDED
Binary file
|
assets/shipment-provider-img/sagawa.png
ADDED
Binary file
|
assets/shipment-provider-img/saudi-post.png
ADDED
Binary file
|
assets/shipment-provider-img/serbia-post.png
ADDED
Binary file
|
assets/shipment-provider-img/shadowfax.png
ADDED
Binary file
|
assets/shipment-provider-img/spee-dee.png
ADDED
Binary file
|
assets/shipment-provider-img/thailand-post.png
ADDED
Binary file
|
assets/shipment-provider-img/toll-ipec.png
ADDED
Binary file
|
assets/shipment-provider-img/toll.png
ADDED
Binary file
|
assets/shipment-provider-img/trackon.png
ADDED
Binary file
|
assets/shipment-provider-img/yodel.png
ADDED
Binary file
|
assets/tracking.csv
CHANGED
@@ -2,9 +2,3 @@ order_id,tracking_provider,tracking_number,date_shipped,status_shipped
|
|
2 |
1,UPS,number123,12-03-2019,1
|
3 |
2,USPS,dfsdf23123,12-03-2019,1
|
4 |
3,DHL,dfsdf45swd,12-03-2019,0
|
5 |
-
,,,,
|
6 |
-
,,,,
|
7 |
-
,,,,
|
8 |
-
,,,,
|
9 |
-
,,,,
|
10 |
-
,,,,
|
2 |
1,UPS,number123,12-03-2019,1
|
3 |
2,USPS,dfsdf23123,12-03-2019,1
|
4 |
3,DHL,dfsdf45swd,12-03-2019,0
|
|
|
|
|
|
|
|
|
|
|
|
includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php
CHANGED
@@ -82,7 +82,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
82 |
'schema' => array( $this, 'get_public_item_schema' ),
|
83 |
) );
|
84 |
|
85 |
-
register_rest_route( $this->namespace, '/update_user_key', array(
|
86 |
array(
|
87 |
'methods' => WP_REST_Server::CREATABLE,
|
88 |
'callback' => array( $this, 'update_user_key' ),
|
@@ -94,7 +94,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
94 |
) ),
|
95 |
),
|
96 |
'schema' => array( $this, 'get_public_item_schema' ),
|
97 |
-
) )
|
98 |
|
99 |
//disconnect_from_trackship
|
100 |
register_rest_route( $this->namespace, '/disconnect_from_trackship', array(
|
@@ -132,6 +132,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
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',
|
@@ -153,12 +154,12 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
153 |
return rest_ensure_response( $data );
|
154 |
}
|
155 |
|
156 |
-
|
157 |
* check_wcast_installed
|
158 |
*/
|
159 |
public function check_wcast_installed( $request ){
|
160 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
161 |
-
$wc_ast_api_enabled = get_option('wc_ast_api_enabled');
|
162 |
if(empty($wc_ast_api_key)){
|
163 |
update_option('wc_ast_api_key',$request['user_key']);
|
164 |
}
|
@@ -166,6 +167,13 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
166 |
update_option('wc_ast_api_enabled',1);
|
167 |
}
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
$data = array(
|
170 |
'status' => 'installed'
|
171 |
);
|
@@ -199,10 +207,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
199 |
|
200 |
if( is_string($shipment_status) )$shipment_status = array();
|
201 |
|
202 |
-
$st->trigger_tracking_email( $order_id, $shipment_status[$key]['status'], $tracking_event_status );
|
203 |
-
//$logger->error( "order_id \n\n".$order_id."\n\n", $context );
|
204 |
-
//$logger->error( "old_status \n\n".$shipment_status[$key]['status']."\n\n", $context );
|
205 |
-
//$logger->error( "new_status \n\n".$tracking_event_status."\n\n", $context );
|
206 |
$shipment_status[$key]['status'] = $tracking_event_status;
|
207 |
$shipment_status[$key]['status_date'] = $tracking_event_date;
|
208 |
if($tracking_est_delivery_date){
|
@@ -301,26 +306,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
301 |
public function update_user_key($request){
|
302 |
$add_key = update_option( 'wc_ast_api_key', $request['user_key'] );
|
303 |
$wc_ast_api_enabled = update_option( 'wc_ast_api_enabled', 1 );
|
304 |
-
$trackers_balance = update_option( 'trackers_balance', $request['trackers_balance'] );
|
305 |
-
|
306 |
-
$new_page_title = 'Shipment Tracking';
|
307 |
-
$new_page_slug = 'ts-shipment-tracking';
|
308 |
-
$new_page_content = '[wcast-track-order]';
|
309 |
-
//don't change the code below, unless you know what you're doing
|
310 |
-
$page_check = get_page_by_title($new_page_title);
|
311 |
-
//echo $page_check;exit;
|
312 |
-
$new_page = array(
|
313 |
-
'post_type' => 'page',
|
314 |
-
'post_title' => $new_page_title,
|
315 |
-
'post_name' => $new_page_slug,
|
316 |
-
'post_content' => $new_page_content,
|
317 |
-
'post_status' => 'publish',
|
318 |
-
'post_author' => 1,
|
319 |
-
);
|
320 |
-
if(!isset($page_check->ID)){
|
321 |
-
$new_page_id = wp_insert_post($new_page);
|
322 |
-
update_option( 'wc_ast_trackship_page_id', $new_page_id );
|
323 |
-
}
|
324 |
}
|
325 |
|
326 |
/*
|
@@ -379,7 +365,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
379 |
*/
|
380 |
public function create_item( $request ) {
|
381 |
if ( ! empty( $request['tracking_id'] ) ) {
|
382 |
-
return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', '
|
383 |
}
|
384 |
|
385 |
$order_id = (int) $request['order_id'];
|
@@ -388,11 +374,23 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
|
|
388 |
$order_id = $wast->get_formated_order_id($order_id);
|
389 |
|
390 |
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
391 |
-
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', '
|
392 |
}
|
393 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
$args = array(
|
395 |
-
'tracking_provider' => wc_clean(
|
396 |
'custom_tracking_provider' => wc_clean( $request['custom_tracking_provider'] ),
|
397 |
'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
|
398 |
'tracking_number' => wc_clean( $request['tracking_number'] ),
|
82 |
'schema' => array( $this, 'get_public_item_schema' ),
|
83 |
) );
|
84 |
|
85 |
+
/*register_rest_route( $this->namespace, '/update_user_key', array(
|
86 |
array(
|
87 |
'methods' => WP_REST_Server::CREATABLE,
|
88 |
'callback' => array( $this, 'update_user_key' ),
|
94 |
) ),
|
95 |
),
|
96 |
'schema' => array( $this, 'get_public_item_schema' ),
|
97 |
+
) );*/
|
98 |
|
99 |
//disconnect_from_trackship
|
100 |
register_rest_route( $this->namespace, '/disconnect_from_trackship', array(
|
132 |
) );
|
133 |
|
134 |
//check_wcast_installed_from_third_party_tool
|
135 |
+
// this is use for sendle
|
136 |
register_rest_route( $this->namespace, '/check_wcast_installed_from_third_party_tool', array(
|
137 |
array(
|
138 |
'methods' => 'GET',
|
154 |
return rest_ensure_response( $data );
|
155 |
}
|
156 |
|
157 |
+
/*
|
158 |
* check_wcast_installed
|
159 |
*/
|
160 |
public function check_wcast_installed( $request ){
|
161 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
162 |
+
$wc_ast_api_enabled = get_option('wc_ast_api_enabled');
|
163 |
if(empty($wc_ast_api_key)){
|
164 |
update_option('wc_ast_api_key',$request['user_key']);
|
165 |
}
|
167 |
update_option('wc_ast_api_enabled',1);
|
168 |
}
|
169 |
|
170 |
+
if($request['trackers_balance']){
|
171 |
+
update_option( 'trackers_balance', $request['trackers_balance'] );
|
172 |
+
}
|
173 |
+
|
174 |
+
$ast_install = new WC_Advanced_Shipment_Tracking_Install;
|
175 |
+
$ast_install->create_tracking_page();
|
176 |
+
|
177 |
$data = array(
|
178 |
'status' => 'installed'
|
179 |
);
|
207 |
|
208 |
if( is_string($shipment_status) )$shipment_status = array();
|
209 |
|
210 |
+
$st->trigger_tracking_email( $order_id, $shipment_status[$key]['status'], $tracking_event_status );
|
|
|
|
|
|
|
211 |
$shipment_status[$key]['status'] = $tracking_event_status;
|
212 |
$shipment_status[$key]['status_date'] = $tracking_event_date;
|
213 |
if($tracking_est_delivery_date){
|
306 |
public function update_user_key($request){
|
307 |
$add_key = update_option( 'wc_ast_api_key', $request['user_key'] );
|
308 |
$wc_ast_api_enabled = update_option( 'wc_ast_api_enabled', 1 );
|
309 |
+
$trackers_balance = update_option( 'trackers_balance', $request['trackers_balance'] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
}
|
311 |
|
312 |
/*
|
365 |
*/
|
366 |
public function create_item( $request ) {
|
367 |
if ( ! empty( $request['tracking_id'] ) ) {
|
368 |
+
return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', 'woo-advanced-shipment-tracking' ), array( 'status' => 400 ) );
|
369 |
}
|
370 |
|
371 |
$order_id = (int) $request['order_id'];
|
374 |
$order_id = $wast->get_formated_order_id($order_id);
|
375 |
|
376 |
if ( ! $this->is_valid_order_id( $order_id ) ) {
|
377 |
+
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
378 |
}
|
379 |
+
|
380 |
+
if(preg_match('/[^a-z0-9- \b]+/i', $request['tracking_number'])){
|
381 |
+
return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Special character not allowd in tracking number', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
|
382 |
+
}
|
383 |
+
|
384 |
+
global $wpdb;
|
385 |
+
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
386 |
+
$tracking_provider = $wpdb->get_var( "SELECT ts_slug FROM $ast_admin->table WHERE provider_name = '".$request['tracking_provider']."'" );
|
387 |
+
|
388 |
+
if(!$tracking_provider){
|
389 |
+
$tracking_provider = sanitize_title( $request['tracking_provider'] );
|
390 |
+
}
|
391 |
+
|
392 |
$args = array(
|
393 |
+
'tracking_provider' => wc_clean( $tracking_provider ),
|
394 |
'custom_tracking_provider' => wc_clean( $request['custom_tracking_provider'] ),
|
395 |
'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
|
396 |
'tracking_number' => wc_clean( $request['tracking_number'] ),
|
includes/class-wc-advanced-shipment-tracking-admin.php
CHANGED
@@ -5,11 +5,21 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
5 |
|
6 |
class WC_Advanced_Shipment_Tracking_Admin {
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Initialize the main plugin function
|
10 |
*/
|
11 |
public function __construct() {
|
12 |
-
|
|
|
|
|
|
|
|
|
13 |
global $wpdb;
|
14 |
if( is_multisite() ){
|
15 |
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
@@ -55,44 +65,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
55 |
|
56 |
//database check
|
57 |
add_action( 'init', array( $this, 'database_table_check') );
|
58 |
-
|
59 |
-
//rename order status + rename bulk action + rename filter
|
60 |
-
add_filter( 'wc_order_statuses', array( $this, 'wc_renaming_order_status') );
|
61 |
-
add_filter( 'woocommerce_register_shop_order_post_statuses', array( $this, 'filter_woocommerce_register_shop_order_post_statuses'), 10, 1 );
|
62 |
-
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'modify_bulk_actions'), 50, 1 );
|
63 |
-
|
64 |
-
//new order status
|
65 |
-
$newstatus = get_option( "wc_ast_status_delivered", 0);
|
66 |
-
if( $newstatus == true ){
|
67 |
-
//register order status
|
68 |
-
add_action( 'init', array( $this, 'register_order_status') );
|
69 |
-
//add status after completed
|
70 |
-
add_filter( 'wc_order_statuses', array( $this, 'add_delivered_to_order_statuses') );
|
71 |
-
//Custom Statuses in admin reports
|
72 |
-
add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_custom_order_status_to_reports'), 20, 1 );
|
73 |
-
// for automate woo to check order is paid
|
74 |
-
add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'delivered_woocommerce_order_is_paid_statuses' ) );
|
75 |
-
//add bulk action
|
76 |
-
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions'), 50, 1 );
|
77 |
-
}
|
78 |
-
|
79 |
//cron_schedules
|
80 |
-
add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
|
81 |
-
//cron hook
|
82 |
-
//add_action( WC_Advanced_Shipment_Tracking_Cron::CRON_HOOK, array( $this, 'wc_ast_cron_callback' ) );
|
83 |
-
|
84 |
-
//filter in shipped orders
|
85 |
-
add_filter( 'is_order_shipped', array( $this, "check_tracking_exist" ),10,2);
|
86 |
-
add_filter( 'is_order_shipped', array( $this, "check_order_status" ),5,2);
|
87 |
-
|
88 |
-
$wc_ast_status_delivered = get_option('wc_ast_status_delivered');
|
89 |
-
if($wc_ast_status_delivered == 1){
|
90 |
-
add_action( 'woocommerce_order_actions', array( $this, 'add_order_meta_box_actions' ) );
|
91 |
-
add_action( 'woocommerce_order_action_resend_delivered_order_notification', array( $this, 'process_order_meta_box_actions' ) );
|
92 |
-
}
|
93 |
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
96 |
|
97 |
$api_enabled = get_option( "wc_ast_api_enabled", 0);
|
98 |
if( $api_enabled == true ){
|
@@ -113,6 +94,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
113 |
// Bulk shipment status sync for empty balance ajax call from settings
|
114 |
add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
|
115 |
|
|
|
|
|
|
|
116 |
// The results notice from bulk action on orders
|
117 |
add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
|
118 |
|
@@ -122,9 +106,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
122 |
|
123 |
// add bulk order filter for exported / non-exported orders
|
124 |
add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
|
125 |
-
add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
|
126 |
|
127 |
-
|
|
|
128 |
}
|
129 |
|
130 |
// trigger when order status changed to shipped or completed
|
@@ -141,7 +126,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
141 |
|
142 |
add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
|
143 |
|
144 |
-
add_action( 'admin_footer', array( $this, 'footer_function') );
|
145 |
|
146 |
// filter for shipment status
|
147 |
add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
|
@@ -173,12 +158,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
173 |
|
174 |
add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
|
175 |
|
176 |
-
add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
|
177 |
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
|
182 |
}
|
183 |
|
184 |
/*
|
@@ -199,143 +183,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
199 |
require_once ABSPATH . '/wp-admin/includes/upgrade.php';
|
200 |
}
|
201 |
maybe_create_table( $table_name, $sql );
|
202 |
-
}
|
203 |
-
|
204 |
-
/*
|
205 |
-
* Add class in admin settings page
|
206 |
-
*/
|
207 |
-
public function ahipment_tracking_admin_body_class($classes){
|
208 |
-
if( $_GET['page'] == 'woocommerce-advanced-shipment-tracking') {
|
209 |
-
$classes .= 'shipment_tracking_admin_settings';
|
210 |
-
}
|
211 |
-
return $classes;
|
212 |
-
}
|
213 |
-
|
214 |
-
/*
|
215 |
-
* Rename WooCommerce Order Status
|
216 |
-
*/
|
217 |
-
function wc_renaming_order_status( $order_statuses ) {
|
218 |
-
|
219 |
-
$enable = get_option( "wc_ast_status_shipped", 0);
|
220 |
-
if( $enable == false )return $order_statuses;
|
221 |
-
|
222 |
-
foreach ( $order_statuses as $key => $status ) {
|
223 |
-
$new_order_statuses[ $key ] = $status;
|
224 |
-
if ( 'wc-completed' === $key ) {
|
225 |
-
$order_statuses['wc-completed'] = esc_html__( 'Shipped','woo-advanced-shipment-tracking' );
|
226 |
-
}
|
227 |
-
}
|
228 |
-
return $order_statuses;
|
229 |
-
}
|
230 |
-
|
231 |
-
/*
|
232 |
-
* define the woocommerce_register_shop_order_post_statuses callback
|
233 |
-
* rename filter
|
234 |
-
* rename from completed to shipped
|
235 |
-
*/
|
236 |
-
function filter_woocommerce_register_shop_order_post_statuses( $array ) {
|
237 |
-
|
238 |
-
$enable = get_option( "wc_ast_status_shipped", 0);
|
239 |
-
if( $enable == false )return $array;
|
240 |
-
|
241 |
-
if( isset( $array[ 'wc-completed' ] ) ){
|
242 |
-
$array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
|
243 |
-
}
|
244 |
-
return $array;
|
245 |
-
}
|
246 |
-
|
247 |
-
/*
|
248 |
-
* rename bulk action
|
249 |
-
*/
|
250 |
-
function modify_bulk_actions($bulk_actions) {
|
251 |
-
|
252 |
-
$enable = get_option( "wc_ast_status_shipped", 0);
|
253 |
-
if( $enable == false )return $bulk_actions;
|
254 |
-
|
255 |
-
if( isset( $bulk_actions['mark_completed'] ) ){
|
256 |
-
$bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
|
257 |
-
}
|
258 |
-
return $bulk_actions;
|
259 |
-
}
|
260 |
-
|
261 |
-
/**
|
262 |
-
* Register new status : Delivered
|
263 |
-
**/
|
264 |
-
function register_order_status() {
|
265 |
-
register_post_status( 'wc-delivered', array(
|
266 |
-
'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
|
267 |
-
'public' => true,
|
268 |
-
'show_in_admin_status_list' => true,
|
269 |
-
'show_in_admin_all_list' => true,
|
270 |
-
'exclude_from_search' => false,
|
271 |
-
'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
272 |
-
) );
|
273 |
-
$wc_ast_api_key = get_option('wc_ast_api_key');
|
274 |
-
$api_enabled = get_option( "wc_ast_api_enabled", 0);
|
275 |
-
if($wc_ast_api_key && $api_enabled){
|
276 |
-
register_post_status( 'wc-updated-tracking', array(
|
277 |
-
'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
|
278 |
-
'public' => true,
|
279 |
-
'show_in_admin_status_list' => true,
|
280 |
-
'show_in_admin_all_list' => true,
|
281 |
-
'exclude_from_search' => false,
|
282 |
-
'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
283 |
-
) );
|
284 |
-
}
|
285 |
-
}
|
286 |
-
|
287 |
-
/*
|
288 |
-
* add status after completed
|
289 |
-
*/
|
290 |
-
function add_delivered_to_order_statuses( $order_statuses ) {
|
291 |
-
$new_order_statuses = array();
|
292 |
-
foreach ( $order_statuses as $key => $status ) {
|
293 |
-
$new_order_statuses[ $key ] = $status;
|
294 |
-
if ( 'wc-completed' === $key ) {
|
295 |
-
$new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
|
296 |
-
//$new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
|
297 |
-
}
|
298 |
-
}
|
299 |
-
$wc_ast_api_key = get_option('wc_ast_api_key');
|
300 |
-
$api_enabled = get_option( "wc_ast_api_enabled", 0);
|
301 |
-
if($wc_ast_api_key && $api_enabled){
|
302 |
-
foreach ( $order_statuses as $key => $status ) {
|
303 |
-
$new_order_statuses[ $key ] = $status;
|
304 |
-
if ( 'wc-completed' === $key ) {
|
305 |
-
//$new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
|
306 |
-
$new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
|
307 |
-
}
|
308 |
-
}
|
309 |
-
}
|
310 |
-
return $new_order_statuses;
|
311 |
-
}
|
312 |
-
|
313 |
-
/*
|
314 |
-
* Adding the custom order status to the default woocommerce order statuses
|
315 |
-
*/
|
316 |
-
function include_custom_order_status_to_reports( $statuses ){
|
317 |
-
if($statuses)$statuses[] = 'delivered';
|
318 |
-
if($statuses)$statuses[] = 'updated-tracking';
|
319 |
-
return $statuses;
|
320 |
-
}
|
321 |
-
|
322 |
-
/*
|
323 |
-
* mark status as a paid.
|
324 |
-
*/
|
325 |
-
function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
|
326 |
-
$statuses[] = 'delivered';
|
327 |
-
$statuses[] = 'updated-tracking';
|
328 |
-
return $statuses;
|
329 |
-
}
|
330 |
-
|
331 |
-
/*
|
332 |
-
* add bulk action
|
333 |
-
* Change order status to delivered
|
334 |
-
*/
|
335 |
-
function add_bulk_actions( $bulk_actions ){
|
336 |
-
$bulk_actions['mark_delivered'] = __( 'Change status to delivered', 'woo-advanced-shipment-tracking' );
|
337 |
-
return $bulk_actions;
|
338 |
-
}
|
339 |
|
340 |
/*
|
341 |
* add_cron_interval
|
@@ -390,61 +239,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
390 |
}
|
391 |
//$orders = wc_get_orders( $args );print_r($orders);exit;
|
392 |
return $orders = wc_get_orders( $args );
|
393 |
-
}
|
394 |
-
|
395 |
-
/*
|
396 |
-
* cron callback
|
397 |
-
*/
|
398 |
-
function wc_ast_cron_callback(){
|
399 |
-
|
400 |
-
//get shipped orders
|
401 |
-
$orders = $this->get_shipped_orders();
|
402 |
-
|
403 |
-
foreach( $orders as $order ){
|
404 |
-
$order_shipped = apply_filters( 'is_order_shipped', true, $order );
|
405 |
-
|
406 |
-
if( $order_shipped ){
|
407 |
-
$this->add_in_batch_process( $order->get_id() );
|
408 |
-
}
|
409 |
-
}
|
410 |
-
|
411 |
-
if ( ! wp_next_scheduled( 'wc_ast_batch_process' ) ) {
|
412 |
-
wp_schedule_event( time(), 'wc_ast_2min', 'wc_ast_batch_process' );
|
413 |
-
}
|
414 |
-
}
|
415 |
-
|
416 |
-
/*
|
417 |
-
* tracking number filter
|
418 |
-
* if number not found. return false
|
419 |
-
* if number found. return true
|
420 |
-
*/
|
421 |
-
function check_tracking_exist( $value, $order ){
|
422 |
-
|
423 |
-
if($value == true){
|
424 |
-
|
425 |
-
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
426 |
-
if( $tracking_items ){
|
427 |
-
return true;
|
428 |
-
} else {
|
429 |
-
return false;
|
430 |
-
}
|
431 |
-
}
|
432 |
-
return $value;
|
433 |
-
}
|
434 |
-
|
435 |
-
/*
|
436 |
-
* If order status is "Updated Tracking" or "Completed" than retrn true else return false
|
437 |
-
*/
|
438 |
-
function check_order_status($value, $order){
|
439 |
-
$order_status = $order->get_status();
|
440 |
-
|
441 |
-
if($order_status == 'updated-tracking' || $order_status == 'completed'){
|
442 |
-
return true;
|
443 |
-
} else {
|
444 |
-
return false;
|
445 |
-
}
|
446 |
-
return $value;
|
447 |
-
}
|
448 |
|
449 |
/*
|
450 |
* add in batch process
|
@@ -466,30 +261,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
466 |
global $wpdb;
|
467 |
$table_name = $wpdb->prefix.'shipment_batch_process';
|
468 |
$wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
|
469 |
-
}
|
470 |
-
|
471 |
-
/*
|
472 |
-
* batch process cron func
|
473 |
-
* this will run when data in table "shipment_batch_process"
|
474 |
-
* if no data cron clear
|
475 |
-
*/
|
476 |
-
function wc_ast_batch_process_callback(){
|
477 |
-
error_reporting(E_ALL); ini_set('display_errors', 1);
|
478 |
-
global $wpdb;
|
479 |
-
$table_name = $wpdb->prefix.'shipment_batch_process';
|
480 |
-
$result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 30", ARRAY_A );
|
481 |
-
$result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 2", ARRAY_A );
|
482 |
-
|
483 |
-
foreach( (array)$result as $row ){
|
484 |
-
$order_id = $row['order_id'];
|
485 |
-
$array = $this->shipment_api_call( $order_id );
|
486 |
-
$this->remove_from_batch_process( $row['id'] );
|
487 |
-
}
|
488 |
-
|
489 |
-
if( count($result) == 0 ){
|
490 |
-
wp_clear_scheduled_hook( 'wc_ast_batch_process' );
|
491 |
-
}
|
492 |
-
}
|
493 |
|
494 |
/*
|
495 |
* shipment api call
|
@@ -531,15 +303,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
531 |
|
532 |
foreach ( $columns as $column_name => $column_info ) {
|
533 |
|
534 |
-
$new_columns[ $column_name ] = $column_info;
|
535 |
-
|
536 |
-
/*if ( 'order_status' === $column_name ) {
|
537 |
-
$new_columns['woocommerce-advanced-shipment-tracking'] = __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' );
|
538 |
-
$new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
|
539 |
-
}*/
|
540 |
|
541 |
-
if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
|
542 |
-
//$new_columns['shipment_status_old'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
|
543 |
$new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
|
544 |
}
|
545 |
}
|
@@ -579,9 +345,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
579 |
|
580 |
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
581 |
$tracking_items = $ast->get_tracking_items( $post->ID );
|
582 |
-
$shipment_status = get_post_meta( $post->ID, "shipment_status", true);
|
583 |
-
|
584 |
-
|
|
|
|
|
|
|
|
|
585 |
if ( count( $tracking_items ) > 0 ) {
|
586 |
?>
|
587 |
<ul class="wcast-shipment-status-list">
|
@@ -593,11 +363,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
593 |
$status = $shipment_status[$key]['status'];
|
594 |
$status_date = $shipment_status[$key]['status_date'];
|
595 |
if(isset($shipment_status[$key]['est_delivery_date'])){
|
596 |
-
$est_delivery_date = $shipment_status[$key]['est_delivery_date'];
|
597 |
}
|
598 |
if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
|
599 |
$has_est_delivery = true;
|
600 |
-
}
|
601 |
?>
|
602 |
<li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
|
603 |
<div class="wcast-shipment-status-icon">
|
@@ -605,10 +375,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
605 |
</div>
|
606 |
<div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
|
607 |
<span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
|
608 |
-
<span class="showif_has_est_delivery_1 ft11">(<?php echo date(
|
609 |
-
<span class="showif_has_est_delivery_0 ft11">on <?php echo date(
|
610 |
<?php if( $has_est_delivery){?>
|
611 |
-
<span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date(
|
612 |
<?php } ?>
|
613 |
</div>
|
614 |
</li>
|
@@ -648,6 +418,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
648 |
|
649 |
wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
650 |
|
|
|
|
|
651 |
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);
|
652 |
|
653 |
wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
|
@@ -682,6 +454,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
682 |
|
683 |
wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
684 |
|
|
|
|
|
685 |
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 );
|
686 |
wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
|
687 |
'i18n' => array(
|
@@ -701,7 +475,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
701 |
* WC sub menu
|
702 |
*/
|
703 |
public function register_woocommerce_menu() {
|
704 |
-
add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', '
|
705 |
}
|
706 |
|
707 |
/*
|
@@ -762,9 +536,12 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
762 |
<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'; } ?>>
|
763 |
<label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
|
764 |
|
765 |
-
<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'; } ?>>
|
766 |
<label for="tab3" class="tab_label">TrackShip</label>
|
767 |
|
|
|
|
|
|
|
768 |
<div class="nav_doc_section">
|
769 |
<a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
|
770 |
<a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
|
@@ -774,6 +551,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
774 |
<?php require_once( 'views/admin_options_settings.php' );?>
|
775 |
<?php require_once( 'views/admin_options_trackship_integration.php' );?>
|
776 |
<?php require_once( 'views/admin_options_bulk_upload.php' );?>
|
|
|
|
|
777 |
</div>
|
778 |
</div>
|
779 |
<div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
|
@@ -786,8 +565,25 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
786 |
<iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
|
787 |
</div>
|
788 |
</div>
|
789 |
-
|
790 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
791 |
<?php
|
792 |
if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
|
793 |
<script>
|
@@ -799,7 +595,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
799 |
/*
|
800 |
* get html of fields
|
801 |
*/
|
802 |
-
|
803 |
|
804 |
$checked = '';
|
805 |
?>
|
@@ -828,12 +624,22 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
828 |
<?php if( $array['type'] == 'checkbox' ){
|
829 |
if($id === 'wcast_enable_delivered_email'){
|
830 |
$wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
|
831 |
-
|
|
|
|
|
832 |
$checked = 'checked';
|
833 |
} else{
|
834 |
-
$checked = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
835 |
}
|
836 |
-
} else{
|
837 |
if(get_option($id)){
|
838 |
$checked = 'checked';
|
839 |
} else{
|
@@ -858,56 +664,49 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
858 |
<?php
|
859 |
$op = 1;
|
860 |
foreach((array)$array['options'] as $key => $val ){
|
861 |
-
if($val['type'] == 'default'){
|
862 |
$multi_checkbox_data = get_option($id);
|
863 |
-
if(
|
864 |
-
$multi_checkbox_data = array();
|
865 |
-
$multi_checkbox_data['show_in_completed'] = 1;
|
866 |
-
$data_array = array('show_in_completed' => 1);
|
867 |
-
update_option( 'wc_ast_unclude_tracking_info', $data_array );
|
868 |
-
}
|
869 |
-
if(isset($multi_checkbox_data[$key])){
|
870 |
$checked="checked";
|
871 |
} else{
|
872 |
$checked="";
|
873 |
}?>
|
874 |
-
<span class="
|
875 |
-
<label class="
|
876 |
-
<input type="
|
|
|
877 |
<span class="multiple_label"><?php echo $val['status']; ?></span>
|
878 |
</br>
|
879 |
</label>
|
880 |
</span>
|
881 |
-
<?php }
|
|
|
|
|
882 |
if($val['type'] == 'custom'){
|
883 |
-
$multi_checkbox_data = get_option($id);
|
884 |
-
if(
|
885 |
-
$multi_checkbox_data = array();
|
886 |
-
$multi_checkbox_data['show_in_completed'] = 1;
|
887 |
-
$data_array = array('show_in_completed' => 1);
|
888 |
-
update_option( 'wc_ast_unclude_tracking_info', $data_array );
|
889 |
-
}
|
890 |
-
if(isset($multi_checkbox_data[$key])){
|
891 |
$checked="checked";
|
892 |
} else{
|
893 |
$checked="";
|
894 |
}
|
895 |
if($op == 1){ ?>
|
896 |
-
<div style="margin: 10px 0
|
897 |
<strong style="font-weight: 700;padding-bottom: 3px;">
|
898 |
<?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
|
899 |
</strong>
|
900 |
</div>
|
901 |
<?php } ?>
|
902 |
-
<span class="
|
903 |
-
<label class="
|
904 |
-
<input type="
|
|
|
905 |
<span class="multiple_label"><?php echo $val['status']; ?></span>
|
906 |
</br>
|
907 |
</label>
|
908 |
</span>
|
909 |
<?php $op++; }
|
910 |
-
}
|
|
|
911 |
|
912 |
<?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
|
913 |
<?php
|
@@ -937,8 +736,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
937 |
<?php } elseif( $array['type'] == 'title' ){?>
|
938 |
<?php }
|
939 |
elseif( $array['type'] == 'key_field' ){ ?>
|
940 |
-
<fieldset>
|
941 |
-
<!--input class="input-text regular-input " type="text" name="<?php echo $id?>" id="<?php echo $id?>" style="" value="<?php echo get_option($id)?>" placeholder="" readonly-->
|
942 |
<?php if($array['connected'] == true){ ?>
|
943 |
<a href="https://my.trackship.info/" target="_blank">
|
944 |
<span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
|
@@ -1036,6 +834,31 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1036 |
} else{
|
1037 |
$disable_bulk_sync_zero_balance = true;
|
1038 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1039 |
|
1040 |
$wc_ast_status_shipped = get_option('wc_ast_status_shipped');
|
1041 |
|
@@ -1064,6 +887,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1064 |
'button_class' => 'bulk_shipment_status_button_for_empty_balance',
|
1065 |
'class' => '',
|
1066 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1067 |
);
|
1068 |
return $form_data;
|
1069 |
}
|
@@ -1153,6 +985,17 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1153 |
'show' => $show_trackship_field,
|
1154 |
'class' => '',
|
1155 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1156 |
'wc_ast_select_primary_color' => array(
|
1157 |
'type' => 'color',
|
1158 |
'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
|
@@ -1164,7 +1007,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1164 |
'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
|
1165 |
'class' => 'color_field',
|
1166 |
'show' => $show_trackship_field,
|
1167 |
-
),
|
|
|
|
|
|
|
|
|
|
|
|
|
1168 |
'wc_ast_hide_tracking_events' => array(
|
1169 |
'type' => 'checkbox',
|
1170 |
'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
|
@@ -1181,6 +1030,23 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1181 |
return $form_data;
|
1182 |
|
1183 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1184 |
|
1185 |
/*
|
1186 |
* settings form save
|
@@ -1203,6 +1069,132 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1203 |
}
|
1204 |
}
|
1205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1206 |
/*
|
1207 |
* trigger when order status changed to shipped or completed or update tracking
|
1208 |
* param $order_id
|
@@ -1248,6 +1240,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1248 |
'wc-on-hold' => 'On hold',
|
1249 |
'wc-completed' => 'Completed',
|
1250 |
'wc-delivered' => 'Delivered',
|
|
|
1251 |
'wc-cancelled' => 'Cancelled',
|
1252 |
'wc-refunded' => 'Refunded',
|
1253 |
'wc-failed' => 'Failed'
|
@@ -1344,8 +1337,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1344 |
$form_data = array(
|
1345 |
'wc_ast_status_delivered' => array(
|
1346 |
'type' => 'checkbox',
|
1347 |
-
'title' => __( 'Enable custom order status “Delivered"', 'woo-advanced-shipment-tracking' ),
|
1348 |
-
'tooltip' => __( 'if you enable the delivered item, you will have the option to send delivered email notifications.', 'woo-advanced-shipment-tracking' ),
|
1349 |
'show' => true,
|
1350 |
'class' => '',
|
1351 |
),
|
@@ -1376,6 +1368,88 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1376 |
);
|
1377 |
return $form_data;
|
1378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1379 |
}
|
1380 |
|
1381 |
/*
|
@@ -1383,31 +1457,98 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1383 |
*/
|
1384 |
function wc_ast_settings_form_update_callback(){
|
1385 |
if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
|
1386 |
-
|
1387 |
$data = $this->get_settings_data();
|
1388 |
|
1389 |
-
foreach( $data as $key => $val ){
|
1390 |
-
|
|
|
|
|
1391 |
}
|
1392 |
|
1393 |
$data = $this->get_delivered_data();
|
1394 |
|
1395 |
foreach( $data as $key => $val ){
|
1396 |
-
if($key == 'wcast_enable_delivered_email'){
|
1397 |
-
$wcast_enable_delivered_email
|
1398 |
-
|
1399 |
-
$
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1409 |
}
|
1410 |
-
update_option( $key, $_POST[ $key ] );
|
1411 |
}
|
1412 |
|
1413 |
echo json_encode( array('success' => 'true') );die();
|
@@ -1419,16 +1560,32 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1419 |
* change style of delivered order label
|
1420 |
*/
|
1421 |
function footer_function(){
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1428 |
color: <?php echo $color; ?>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1429 |
}
|
1430 |
-
</style>
|
1431 |
-
<?php
|
1432 |
}
|
1433 |
|
1434 |
/*
|
@@ -1454,13 +1611,14 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1454 |
$woo_shippment_table_name = $this->table;
|
1455 |
$shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
|
1456 |
|
|
|
1457 |
if($shippment_provider == 0){
|
1458 |
echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
|
1459 |
}
|
1460 |
if(empty($tracking_number)){
|
1461 |
echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
|
1462 |
}
|
1463 |
-
if(preg_match('/[^a-z0-9 \b]+/i', $tracking_number)){
|
1464 |
echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
|
1465 |
}
|
1466 |
if(empty($date_shipped)){
|
@@ -1479,20 +1637,27 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1479 |
if ( count( $tracking_items ) > 0 ) {
|
1480 |
foreach ( $tracking_items as $key => $item ) {
|
1481 |
$tracking_number = $item['tracking_number'];
|
1482 |
-
|
|
|
1483 |
|
1484 |
} else{
|
1485 |
-
|
1486 |
-
}
|
1487 |
}
|
1488 |
$wast->save_tracking_items( $order_id, $tracking_items );
|
1489 |
}
|
1490 |
}
|
1491 |
}
|
1492 |
if($tracking_provider && $tracking_number && $date_shipped){
|
1493 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1494 |
$args = array(
|
1495 |
-
'tracking_provider' => wc_clean(
|
1496 |
'tracking_number' => wc_clean( $_POST['tracking_number'] ),
|
1497 |
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
1498 |
'status_shipped' => wc_clean( $_POST['status_shipped'] ),
|
@@ -1588,9 +1753,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1588 |
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
1589 |
$tracking_items = $ast->get_tracking_items( $order_id, true );
|
1590 |
if($tracking_items){
|
1591 |
-
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
1592 |
-
//echo '<pre>';print_r($shipment_status);echo '</pre>';
|
1593 |
-
//echo '<pre>';print_r($tracking_items);echo '</pre>';exit;
|
1594 |
foreach ( $tracking_items as $key => $tracking_item ) {
|
1595 |
if( !isset($shipment_status[$key]) ){
|
1596 |
wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
|
@@ -1632,6 +1795,36 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1632 |
echo $url;die();
|
1633 |
}
|
1634 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1635 |
/**
|
1636 |
* Add 'get_shipment_status' link to order actions select box on edit order page
|
1637 |
*
|
@@ -1662,8 +1855,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1662 |
$count = intval( $_REQUEST['processed_count'] );
|
1663 |
|
1664 |
printf( '<div id="message" class="updated fade"><p>' .
|
1665 |
-
_n( '
|
1666 |
-
'
|
1667 |
$count,
|
1668 |
'get_shipment_status'
|
1669 |
) . '</p></div>', $count );
|
@@ -1780,26 +1973,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
1780 |
$this->trigger_woocommerce_order_status_completed( $order_id );
|
1781 |
}
|
1782 |
|
1783 |
-
/*
|
1784 |
-
* define the item in the meta box by adding an item to the $actions array
|
1785 |
-
*/
|
1786 |
-
function add_order_meta_box_actions( $actions ) {
|
1787 |
-
$actions['resend_delivered_order_notification'] = __( 'Resend delivered order notification', 'woo-advanced-shipment-tracking' );
|
1788 |
-
return $actions;
|
1789 |
-
}
|
1790 |
-
|
1791 |
-
/*
|
1792 |
-
* function call when resend delivered order email notification trigger
|
1793 |
-
*/
|
1794 |
-
function process_order_meta_box_actions($order){
|
1795 |
-
require_once( 'email-manager.php' );
|
1796 |
-
$old_status = 'in_transit';
|
1797 |
-
$new_status = 'delivered';
|
1798 |
-
$order_id = $order->get_id();
|
1799 |
-
//wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
|
1800 |
-
WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
|
1801 |
-
}
|
1802 |
-
|
1803 |
/*
|
1804 |
* update preview order id in customizer
|
1805 |
*/
|
@@ -2006,10 +2179,19 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
2006 |
</div>
|
2007 |
</div>
|
2008 |
<?php } } else{
|
2009 |
-
$
|
2010 |
?>
|
2011 |
-
<h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $
|
2012 |
-
<?php }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013 |
</div>
|
2014 |
<?php
|
2015 |
}
|
@@ -2041,6 +2223,35 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
2041 |
exit;
|
2042 |
}
|
2043 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2044 |
/**
|
2045 |
* Add custom shipping provider function
|
2046 |
*/
|
@@ -2049,20 +2260,25 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
2049 |
global $wpdb;
|
2050 |
|
2051 |
$woo_shippment_table_name = $this->table;
|
2052 |
-
|
|
|
|
|
|
|
|
|
2053 |
$data_array = array(
|
2054 |
'shipping_country' => sanitize_text_field($_POST['shipping_country']),
|
2055 |
'provider_name' => sanitize_text_field($_POST['shipping_provider']),
|
2056 |
-
'ts_slug' =>
|
2057 |
'provider_url' => sanitize_text_field($_POST['tracking_url']),
|
2058 |
'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
|
2059 |
'display_in_order' => 1,
|
2060 |
'shipping_default' => 0,
|
2061 |
);
|
|
|
2062 |
$result = $wpdb->insert( $woo_shippment_table_name, $data_array );
|
2063 |
|
2064 |
$status = 'custom';
|
2065 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
|
2066 |
$html = $this->get_provider_html($default_shippment_providers,$status);
|
2067 |
echo $html;exit;
|
2068 |
}
|
@@ -2158,168 +2374,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
2158 |
exit;
|
2159 |
}
|
2160 |
|
2161 |
-
/**
|
2162 |
-
* Synch provider function
|
2163 |
-
*/
|
2164 |
-
public function sync_providers_fun(){
|
2165 |
-
global $wpdb;
|
2166 |
-
|
2167 |
-
$url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
|
2168 |
-
$resp = wp_remote_get( $url );
|
2169 |
-
$providers = json_decode($resp['body'],true);
|
2170 |
-
|
2171 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
|
2172 |
-
|
2173 |
-
foreach ( $default_shippment_providers as $key => $val ){
|
2174 |
-
$shippment_providers[ $val->provider_name ] = $val;
|
2175 |
-
}
|
2176 |
-
|
2177 |
-
foreach ( $providers as $key => $val ){
|
2178 |
-
$providers_name[ $val['provider_name'] ] = $val;
|
2179 |
-
}
|
2180 |
-
|
2181 |
-
$added = 0;
|
2182 |
-
$updated = 0;
|
2183 |
-
$deleted = 0;
|
2184 |
-
$added_html = '';
|
2185 |
-
$updated_html = '';
|
2186 |
-
$deleted_html = '';
|
2187 |
-
|
2188 |
-
foreach($providers as $provider){
|
2189 |
-
|
2190 |
-
$provider_name = $provider['shipping_provider'];
|
2191 |
-
$provider_url = $provider['provider_url'];
|
2192 |
-
$shipping_country = $provider['shipping_country'];
|
2193 |
-
$ts_slug = $provider['shipping_provider_slug'];
|
2194 |
-
|
2195 |
-
if($shippment_providers[$provider_name]){
|
2196 |
-
$db_provider_url = $shippment_providers[$provider_name]->provider_url;
|
2197 |
-
$db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
|
2198 |
-
$db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
|
2199 |
-
if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
|
2200 |
-
$data_array = array(
|
2201 |
-
'ts_slug' => $ts_slug,
|
2202 |
-
'provider_url' => $provider_url,
|
2203 |
-
'shipping_country' => $shipping_country,
|
2204 |
-
);
|
2205 |
-
$where_array = array(
|
2206 |
-
'provider_name' => $provider_name,
|
2207 |
-
);
|
2208 |
-
$wpdb->update( $this->table, $data_array, $where_array);
|
2209 |
-
$updated_data[$updated] = array('provider_name' => $provider_name);
|
2210 |
-
$updated++;
|
2211 |
-
}
|
2212 |
-
} else{
|
2213 |
-
$img_url = $provider['img_url'];
|
2214 |
-
|
2215 |
-
$img_slug = sanitize_title($provider_name);
|
2216 |
-
$img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
|
2217 |
-
|
2218 |
-
$ch = curl_init();
|
2219 |
-
|
2220 |
-
curl_setopt($ch, CURLOPT_HEADER, 0);
|
2221 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
2222 |
-
curl_setopt($ch, CURLOPT_URL, $img_url);
|
2223 |
-
|
2224 |
-
$data = curl_exec($ch);
|
2225 |
-
curl_close($ch);
|
2226 |
-
|
2227 |
-
file_put_contents($img, $data);
|
2228 |
-
|
2229 |
-
|
2230 |
-
$data_array = array(
|
2231 |
-
'shipping_country' => sanitize_text_field($shipping_country),
|
2232 |
-
'provider_name' => sanitize_text_field($provider_name),
|
2233 |
-
'ts_slug' => $ts_slug,
|
2234 |
-
'provider_url' => sanitize_text_field($provider_url),
|
2235 |
-
'display_in_order' => 0,
|
2236 |
-
'shipping_default' => 1,
|
2237 |
-
);
|
2238 |
-
$result = $wpdb->insert( $this->table, $data_array );
|
2239 |
-
$added_data[$added] = array('provider_name' => $provider_name);
|
2240 |
-
$added++;
|
2241 |
-
}
|
2242 |
-
}
|
2243 |
-
foreach($default_shippment_providers as $db_provider){
|
2244 |
-
if(!isset($providers_name[$db_provider->provider_name])){
|
2245 |
-
$where = array(
|
2246 |
-
'provider_name' => $db_provider->provider_name,
|
2247 |
-
'shipping_default' => 1
|
2248 |
-
);
|
2249 |
-
$wpdb->delete( $this->table, $where );
|
2250 |
-
$deleted_data[$deleted] = array('provider_name' => $db_provider->provider_name);
|
2251 |
-
$deleted++;
|
2252 |
-
}
|
2253 |
-
}
|
2254 |
-
if($added > 0){
|
2255 |
-
ob_start();
|
2256 |
-
$added_html = $this->added_html($added_data);
|
2257 |
-
$added_html = ob_get_clean();
|
2258 |
-
}
|
2259 |
-
if($updated > 0){
|
2260 |
-
ob_start();
|
2261 |
-
$updated_html = $this->updated_html($updated_data);
|
2262 |
-
$updated_html = ob_get_clean();
|
2263 |
-
}
|
2264 |
-
if($deleted > 0){
|
2265 |
-
ob_start();
|
2266 |
-
$deleted_html = $this->deleted_html($deleted_data);
|
2267 |
-
$deleted_html = ob_get_clean();
|
2268 |
-
}
|
2269 |
-
|
2270 |
-
$status = 'active';
|
2271 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
|
2272 |
-
ob_start();
|
2273 |
-
$html = $this->get_provider_html($default_shippment_providers,$status);
|
2274 |
-
$html = ob_get_clean();
|
2275 |
-
echo json_encode( array('added' => $added,'added_html' =>$added_html,'updated' => $updated,'updated_html' =>$updated_html,'deleted' => $deleted,'deleted_html' =>$deleted_html,'html' => $html) );exit;
|
2276 |
-
}
|
2277 |
-
|
2278 |
-
/**
|
2279 |
-
* Output html of added provider from sync providers
|
2280 |
-
*/
|
2281 |
-
public function added_html($added_data){ ?>
|
2282 |
-
<ul class="updated_details" id="added_providers">
|
2283 |
-
<?php
|
2284 |
-
foreach ( $added_data as $added ){ ?>
|
2285 |
-
<li><?php echo $added['provider_name']; ?></li>
|
2286 |
-
<?php }
|
2287 |
-
?>
|
2288 |
-
</ul>
|
2289 |
-
<a class="view_synch_details" id="view_added_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
|
2290 |
-
<a class="view_synch_details" id="hide_added_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
|
2291 |
-
<?php }
|
2292 |
-
|
2293 |
-
/**
|
2294 |
-
* Output html of updated provider from sync providers
|
2295 |
-
*/
|
2296 |
-
public function updated_html($updated_data){ ?>
|
2297 |
-
<ul class="updated_details" id="updated_providers">
|
2298 |
-
<?php
|
2299 |
-
foreach ( $updated_data as $updated ){ ?>
|
2300 |
-
<li><?php echo $updated['provider_name']; ?></li>
|
2301 |
-
<?php }
|
2302 |
-
?>
|
2303 |
-
</ul>
|
2304 |
-
<a class="view_synch_details" id="view_updated_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
|
2305 |
-
<a class="view_synch_details" id="hide_updated_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
|
2306 |
-
<?php }
|
2307 |
-
|
2308 |
-
/**
|
2309 |
-
* Output html of deleted provider from sync providers
|
2310 |
-
*/
|
2311 |
-
public function deleted_html($deleted_data){ ?>
|
2312 |
-
<ul class="updated_details" id="deleted_providers">
|
2313 |
-
<?php
|
2314 |
-
foreach ( $deleted_data as $deleted ){ ?>
|
2315 |
-
<li><?php echo $deleted['provider_name']; ?></li>
|
2316 |
-
<?php }
|
2317 |
-
?>
|
2318 |
-
</ul>
|
2319 |
-
<a class="view_synch_details" id="view_deleted_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
|
2320 |
-
<a class="view_synch_details" id="hide_deleted_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
|
2321 |
-
<?php }
|
2322 |
-
|
2323 |
/**
|
2324 |
* Add bulk filter for Shipment status in orders list
|
2325 |
*
|
@@ -2357,7 +2411,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
2357 |
</select>
|
2358 |
<?php
|
2359 |
}
|
2360 |
-
}
|
2361 |
|
2362 |
/**
|
2363 |
* Get the order count for orders by shipment status
|
@@ -2434,215 +2488,16 @@ class WC_Advanced_Shipment_Tracking_Admin {
|
|
2434 |
|
2435 |
return $vars;
|
2436 |
}
|
|
|
2437 |
/**
|
2438 |
-
|
2439 |
-
|
2440 |
-
|
2441 |
-
|
2442 |
-
|
2443 |
-
|
2444 |
-
|
2445 |
-
|
2446 |
-
|
2447 |
-
|
2448 |
-
|
2449 |
-
wp_enqueue_script( 'amcharts-light-theme');
|
2450 |
-
|
2451 |
-
// Get orders completed.
|
2452 |
-
$args = array(
|
2453 |
-
//'status' => 'wc-completed',
|
2454 |
-
'limit' => -1,
|
2455 |
-
'date_created' => '>' . ( time() - 2592000 ),
|
2456 |
-
);
|
2457 |
-
$orders = wc_get_orders( $args );
|
2458 |
-
$shipment_trackers = 0;
|
2459 |
-
$shipment_status_merge = array();
|
2460 |
-
$tracking_item_merge = array();
|
2461 |
-
foreach($orders as $order){
|
2462 |
-
$order_id = $order->get_id();
|
2463 |
-
|
2464 |
-
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
2465 |
-
$tracking_items = $ast->get_tracking_items( $order_id, true );
|
2466 |
-
|
2467 |
-
if($tracking_items){
|
2468 |
-
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
2469 |
-
$shipment_status_merge = array_merge($shipment_status_merge, $shipment_status);
|
2470 |
-
foreach ( $tracking_items as $key => $tracking_item ) {
|
2471 |
-
if( isset($shipment_status[$key]) ){
|
2472 |
-
|
2473 |
-
$tracking_item_merge[] = $tracking_item;
|
2474 |
-
$shipment_trackers++;
|
2475 |
-
}
|
2476 |
-
}
|
2477 |
-
}
|
2478 |
-
}
|
2479 |
-
|
2480 |
-
//echo '<pre>';print_r($tracking_item_merge);echo '</pre>';
|
2481 |
-
$shipment_status_arr = array();
|
2482 |
-
|
2483 |
-
foreach ($shipment_status_merge as $key => $item) {
|
2484 |
-
$shipment_status_arr[$item['status']][$key] = $item;
|
2485 |
-
}
|
2486 |
-
|
2487 |
-
$tracking_provider_arr = array();
|
2488 |
-
|
2489 |
-
foreach ($tracking_item_merge as $key => $item) {
|
2490 |
-
$tracking_provider_arr[$item['formatted_tracking_provider']][$key] = $item;
|
2491 |
-
}
|
2492 |
-
|
2493 |
-
ksort($shipment_status_arr, SORT_NUMERIC);
|
2494 |
-
ksort($tracking_provider_arr, SORT_NUMERIC);
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
?>
|
2499 |
-
<script type="text/javascript">
|
2500 |
-
AmCharts.makeChart("ast_dashboard_status_chart",
|
2501 |
-
{
|
2502 |
-
"type": "serial",
|
2503 |
-
"categoryField": "shipment_status",
|
2504 |
-
"startDuration": 1,
|
2505 |
-
"handDrawScatter": 4,
|
2506 |
-
"theme": "light",
|
2507 |
-
"categoryAxis": {
|
2508 |
-
"autoRotateAngle": 61.2,
|
2509 |
-
"autoRotateCount": 0,
|
2510 |
-
"autoWrap": true,
|
2511 |
-
"gridPosition": "start",
|
2512 |
-
"minHorizontalGap": 10,
|
2513 |
-
"offset": 1
|
2514 |
-
},
|
2515 |
-
"trendLines": [],
|
2516 |
-
"graphs": [
|
2517 |
-
{
|
2518 |
-
"balloonText": " [[shipment_status]] : [[value]]",
|
2519 |
-
"bulletBorderThickness": 7,
|
2520 |
-
"colorField": "color",
|
2521 |
-
"fillAlphas": 1,
|
2522 |
-
"id": "AmGraph-1",
|
2523 |
-
"lineColorField": "color",
|
2524 |
-
"title": "graph 1",
|
2525 |
-
"type": "column",
|
2526 |
-
"valueField": "count"
|
2527 |
-
}
|
2528 |
-
],
|
2529 |
-
"guides": [],
|
2530 |
-
"valueAxes": [
|
2531 |
-
{
|
2532 |
-
"id": "ValueAxis-1",
|
2533 |
-
"title": ""
|
2534 |
-
}
|
2535 |
-
],
|
2536 |
-
"allLabels": [],
|
2537 |
-
"balloon": {},
|
2538 |
-
"titles": [
|
2539 |
-
{
|
2540 |
-
"id": "Title-1",
|
2541 |
-
"size": 15,
|
2542 |
-
"text": ""
|
2543 |
-
}
|
2544 |
-
],
|
2545 |
-
"dataProvider": [
|
2546 |
-
<?php
|
2547 |
-
foreach($shipment_status_arr as $status => $array){ ?>
|
2548 |
-
{
|
2549 |
-
"shipment_status": "<?php echo apply_filters("trackship_status_filter",$status); ?>",
|
2550 |
-
"count": <?php echo count($array); ?>,
|
2551 |
-
"color": "#BBE285",
|
2552 |
-
},
|
2553 |
-
<?php
|
2554 |
-
} ?>
|
2555 |
-
]
|
2556 |
-
}
|
2557 |
-
);
|
2558 |
-
</script>
|
2559 |
-
<script type="text/javascript">
|
2560 |
-
AmCharts.makeChart("ast_dashboard_providers_chart",
|
2561 |
-
{
|
2562 |
-
"type": "serial",
|
2563 |
-
"categoryField": "shipment_provider",
|
2564 |
-
"startDuration": 1,
|
2565 |
-
"handDrawScatter": 4,
|
2566 |
-
"theme": "light",
|
2567 |
-
"categoryAxis": {
|
2568 |
-
"autoRotateAngle": 61.2,
|
2569 |
-
"autoRotateCount": 0,
|
2570 |
-
"autoWrap": true,
|
2571 |
-
"gridPosition": "start",
|
2572 |
-
"minHorizontalGap": 10,
|
2573 |
-
"offset": 1
|
2574 |
-
},
|
2575 |
-
"trendLines": [],
|
2576 |
-
"graphs": [
|
2577 |
-
{
|
2578 |
-
"balloonText": " [[shipment_provider]] : [[value]]",
|
2579 |
-
"bulletBorderThickness": 7,
|
2580 |
-
"colorField": "color",
|
2581 |
-
"fillAlphas": 1,
|
2582 |
-
"id": "AmGraph-1",
|
2583 |
-
"lineColorField": "color",
|
2584 |
-
"title": "graph 1",
|
2585 |
-
"type": "column",
|
2586 |
-
"valueField": "count"
|
2587 |
-
}
|
2588 |
-
],
|
2589 |
-
"guides": [],
|
2590 |
-
"valueAxes": [
|
2591 |
-
{
|
2592 |
-
"id": "ValueAxis-1",
|
2593 |
-
"title": ""
|
2594 |
-
}
|
2595 |
-
],
|
2596 |
-
"allLabels": [],
|
2597 |
-
"balloon": {},
|
2598 |
-
"titles": [
|
2599 |
-
{
|
2600 |
-
"id": "Title-1",
|
2601 |
-
"size": 15,
|
2602 |
-
"text": ""
|
2603 |
-
}
|
2604 |
-
],
|
2605 |
-
"dataProvider": [
|
2606 |
-
<?php
|
2607 |
-
foreach($tracking_provider_arr as $provider => $array){ ?>
|
2608 |
-
{
|
2609 |
-
"shipment_provider": "<?php echo $provider; ?>",
|
2610 |
-
"count": <?php echo count($array); ?>,
|
2611 |
-
"color": "#BBE285",
|
2612 |
-
},
|
2613 |
-
<?php
|
2614 |
-
} ?>
|
2615 |
-
]
|
2616 |
-
}
|
2617 |
-
);
|
2618 |
-
</script>
|
2619 |
-
<div class="ast-dashborad-widget">
|
2620 |
-
|
2621 |
-
<input id="tab_s_providers" type="radio" name="tabs" class="widget_tab_input" checked>
|
2622 |
-
<label for="tab_s_providers" class="widget_tab_label first_label"><?php _e('Shipment Providers', 'woo-advanced-shipment-tracking'); ?></label>
|
2623 |
-
|
2624 |
-
<input id="tab_s_status" type="radio" name="tabs" class="widget_tab_input">
|
2625 |
-
<label for="tab_s_status" class="widget_tab_label"><?php _e('Shipment Status', 'woo-advanced-shipment-tracking'); ?></label>
|
2626 |
-
|
2627 |
-
<section id="content_s_providers" class="widget_tab_section">
|
2628 |
-
<?php if($tracking_provider_arr){ ?>
|
2629 |
-
<div id="ast_dashboard_providers_chart" class="" style="width: 100%;height: 300px;"></div>
|
2630 |
-
<?php } else{ ?>
|
2631 |
-
<p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
|
2632 |
-
<?php } ?>
|
2633 |
-
</section>
|
2634 |
-
|
2635 |
-
<section id="content_s_status" class="widget_tab_section">
|
2636 |
-
<?php if($shipment_status_arr){ ?>
|
2637 |
-
<div id="ast_dashboard_status_chart" class="" style="width: 100%;height: 300px;"></div>
|
2638 |
-
<?php } else{ ?>
|
2639 |
-
<p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
|
2640 |
-
<?php } ?>
|
2641 |
-
</section>
|
2642 |
-
|
2643 |
-
</div>
|
2644 |
-
<div class="widget_footer">
|
2645 |
-
<a class="" href="https://my.trackship.info/analytics/" target="blank"><?php _e( 'View More Details In Trackship','woo-advanced-shipment-tracking' ); ?></a>
|
2646 |
-
</div>
|
2647 |
-
<?php }
|
2648 |
-
}
|
5 |
|
6 |
class WC_Advanced_Shipment_Tracking_Admin {
|
7 |
|
8 |
+
var $item_code = 'ast_per_product';
|
9 |
+
var $store_url = 'https://www.zorem.com/';
|
10 |
+
var $license_status;
|
11 |
+
var $license_key;
|
12 |
+
var $license_email;
|
13 |
+
|
14 |
/**
|
15 |
* Initialize the main plugin function
|
16 |
*/
|
17 |
public function __construct() {
|
18 |
+
|
19 |
+
$this->license_status = 'ast_product_license_status';
|
20 |
+
$this->license_key = 'ast_product_license_key';
|
21 |
+
$this->license_email = 'ast_product_license_email';
|
22 |
+
|
23 |
global $wpdb;
|
24 |
if( is_multisite() ){
|
25 |
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
65 |
|
66 |
//database check
|
67 |
add_action( 'init', array( $this, 'database_table_check') );
|
68 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
//cron_schedules
|
70 |
+
add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
+
add_filter( 'cron_schedules', array( $this, 'ast_product_license_cron_schedule') );
|
73 |
+
add_action( 'ast_license_cron_hook', array( $this, 'check_license_valid' ) );
|
74 |
+
if (!wp_next_scheduled( 'ast_license_cron_hook' ) ) {
|
75 |
+
wp_schedule_event( time(), 'ast_product_license_cron_events', 'ast_license_cron_hook' );
|
76 |
+
}
|
77 |
|
78 |
$api_enabled = get_option( "wc_ast_api_enabled", 0);
|
79 |
if( $api_enabled == true ){
|
94 |
// Bulk shipment status sync for empty balance ajax call from settings
|
95 |
add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
|
96 |
|
97 |
+
// Bulk shipment status sync for please do connection status ajax call from settings
|
98 |
+
add_action( 'wp_ajax_bulk_shipment_status_for_do_connection_from_settings', array( $this, 'bulk_shipment_status_for_do_connection_from_settings_fun' ) );
|
99 |
+
|
100 |
// The results notice from bulk action on orders
|
101 |
add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
|
102 |
|
106 |
|
107 |
// add bulk order filter for exported / non-exported orders
|
108 |
add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
|
109 |
+
add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
|
110 |
|
111 |
+
// add bulk order tracking number filter for exported / non-exported orders
|
112 |
+
add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
|
113 |
}
|
114 |
|
115 |
// trigger when order status changed to shipped or completed
|
126 |
|
127 |
add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
|
128 |
|
129 |
+
add_action( 'admin_footer', array( $this, 'footer_function'),1 );
|
130 |
|
131 |
// filter for shipment status
|
132 |
add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
|
158 |
|
159 |
add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
|
160 |
|
161 |
+
add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
|
162 |
|
163 |
+
if ( is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
|
164 |
+
if( $this->licence_valid() != 'true' )add_action( 'admin_notices', array( $this, 'ast_product_licence_notice') );
|
165 |
+
}
|
|
|
166 |
}
|
167 |
|
168 |
/*
|
183 |
require_once ABSPATH . '/wp-admin/includes/upgrade.php';
|
184 |
}
|
185 |
maybe_create_table( $table_name, $sql );
|
186 |
+
}
|
187 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
|
189 |
/*
|
190 |
* add_cron_interval
|
239 |
}
|
240 |
//$orders = wc_get_orders( $args );print_r($orders);exit;
|
241 |
return $orders = wc_get_orders( $args );
|
242 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
|
244 |
/*
|
245 |
* add in batch process
|
261 |
global $wpdb;
|
262 |
$table_name = $wpdb->prefix.'shipment_batch_process';
|
263 |
$wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
|
264 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
|
266 |
/*
|
267 |
* shipment api call
|
303 |
|
304 |
foreach ( $columns as $column_name => $column_info ) {
|
305 |
|
306 |
+
$new_columns[ $column_name ] = $column_info;
|
|
|
|
|
|
|
|
|
|
|
307 |
|
308 |
+
if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
|
|
|
309 |
$new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
|
310 |
}
|
311 |
}
|
345 |
|
346 |
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
347 |
$tracking_items = $ast->get_tracking_items( $post->ID );
|
348 |
+
$shipment_status = get_post_meta( $post->ID, "shipment_status", true);
|
349 |
+
$wp_date_format = get_option( 'date_format' );
|
350 |
+
if($wp_date_format == 'd/m/Y'){
|
351 |
+
$date_format = 'd/m';
|
352 |
+
} else{
|
353 |
+
$date_format = 'm/d';
|
354 |
+
}
|
355 |
if ( count( $tracking_items ) > 0 ) {
|
356 |
?>
|
357 |
<ul class="wcast-shipment-status-list">
|
363 |
$status = $shipment_status[$key]['status'];
|
364 |
$status_date = $shipment_status[$key]['status_date'];
|
365 |
if(isset($shipment_status[$key]['est_delivery_date'])){
|
366 |
+
$est_delivery_date = $shipment_status[$key]['est_delivery_date'];
|
367 |
}
|
368 |
if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
|
369 |
$has_est_delivery = true;
|
370 |
+
}
|
371 |
?>
|
372 |
<li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
|
373 |
<div class="wcast-shipment-status-icon">
|
375 |
</div>
|
376 |
<div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
|
377 |
<span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
|
378 |
+
<span class="showif_has_est_delivery_1 ft11">(<?php echo date( $date_format, strtotime($status_date))?>)</span>
|
379 |
+
<span class="showif_has_est_delivery_0 ft11">on <?php echo date( $date_format, strtotime($status_date))?></span>
|
380 |
<?php if( $has_est_delivery){?>
|
381 |
+
<span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( $date_format, strtotime($est_delivery_date)); ?>)</span>
|
382 |
<?php } ?>
|
383 |
</div>
|
384 |
</li>
|
418 |
|
419 |
wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
420 |
|
421 |
+
wp_enqueue_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
|
422 |
+
|
423 |
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);
|
424 |
|
425 |
wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
|
454 |
|
455 |
wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
456 |
|
457 |
+
wp_enqueue_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
458 |
+
|
459 |
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 );
|
460 |
wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
|
461 |
'i18n' => array(
|
475 |
* WC sub menu
|
476 |
*/
|
477 |
public function register_woocommerce_menu() {
|
478 |
+
add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_woocommerce', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
|
479 |
}
|
480 |
|
481 |
/*
|
536 |
<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'; } ?>>
|
537 |
<label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
|
538 |
|
539 |
+
<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' || $_GET['tab'] == 'trackship-dashboard' || $_GET['tab'] == 'tools')){ echo 'checked'; } ?>>
|
540 |
<label for="tab3" class="tab_label">TrackShip</label>
|
541 |
|
542 |
+
<input id="tab6" type="radio" name="tabs" class="tab_input" data-tab="addons" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'addons')){ echo 'checked'; } ?>>
|
543 |
+
<label for="tab6" class="tab_label"><?php _e('Add-ons', 'woo-advanced-shipment-tracking'); ?></label>
|
544 |
+
|
545 |
<div class="nav_doc_section">
|
546 |
<a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
|
547 |
<a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
|
551 |
<?php require_once( 'views/admin_options_settings.php' );?>
|
552 |
<?php require_once( 'views/admin_options_trackship_integration.php' );?>
|
553 |
<?php require_once( 'views/admin_options_bulk_upload.php' );?>
|
554 |
+
<?php require_once( 'views/admin_options_addons.php' );?>
|
555 |
+
|
556 |
</div>
|
557 |
</div>
|
558 |
<div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
|
565 |
<iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
|
566 |
</div>
|
567 |
</div>
|
568 |
+
<div class="popupclose"></div>
|
569 |
+
</div>
|
570 |
+
|
571 |
+
<div id="" class="popupwrapper ts_video_popup" style="display:none;">
|
572 |
+
<div class="popuprow">
|
573 |
+
<div class="videoWrapper">
|
574 |
+
<iframe id="ts_video" src="https://www.youtube.com/embed/PhnqDorKN_c" frameborder="0" allowfullscreen></iframe>
|
575 |
+
</div>
|
576 |
+
</div>
|
577 |
+
<div class="popupclose"></div>
|
578 |
+
</div>
|
579 |
+
<div id="" class="popupwrapper tracking_item_video_popup" style="display:none;">
|
580 |
+
<div class="popuprow">
|
581 |
+
<div class="videoWrapper">
|
582 |
+
<iframe id="trackin_per_item_video" src="https://www.youtube.com/embed/L8uWc2sY_Go" frameborder="0" allowfullscreen></iframe>
|
583 |
+
</div>
|
584 |
+
</div>
|
585 |
+
<div class="popupclose"></div>
|
586 |
+
</div>
|
587 |
<?php
|
588 |
if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
|
589 |
<script>
|
595 |
/*
|
596 |
* get html of fields
|
597 |
*/
|
598 |
+
public function get_html( $arrays ){
|
599 |
|
600 |
$checked = '';
|
601 |
?>
|
624 |
<?php if( $array['type'] == 'checkbox' ){
|
625 |
if($id === 'wcast_enable_delivered_email'){
|
626 |
$wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
|
627 |
+
//echo '<pre>';print_r($wcast_enable_delivered_email);echo '</pre>';
|
628 |
+
|
629 |
+
if($wcast_enable_delivered_email['enabled'] == 'yes' || $wcast_enable_delivered_email['enabled'] == 1){
|
630 |
$checked = 'checked';
|
631 |
} else{
|
632 |
+
$checked = '';
|
633 |
+
}
|
634 |
+
} elseif($id === 'wcast_enable_partial_shipped_email'){
|
635 |
+
$wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
|
636 |
+
|
637 |
+
if($wcast_enable_partial_shipped_email['enabled'] == 'yes' || $wcast_enable_partial_shipped_email['enabled'] == 1){
|
638 |
+
$checked = 'checked';
|
639 |
+
} else{
|
640 |
+
$checked = '';
|
641 |
}
|
642 |
+
} else{
|
643 |
if(get_option($id)){
|
644 |
$checked = 'checked';
|
645 |
} else{
|
664 |
<?php
|
665 |
$op = 1;
|
666 |
foreach((array)$array['options'] as $key => $val ){
|
667 |
+
if($val['type'] == 'default'){
|
668 |
$multi_checkbox_data = get_option($id);
|
669 |
+
if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
|
|
|
|
|
|
|
|
|
|
|
|
|
670 |
$checked="checked";
|
671 |
} else{
|
672 |
$checked="";
|
673 |
}?>
|
674 |
+
<span class=" multiple_checkbox">
|
675 |
+
<label class="" for="<?php echo $key?>">
|
676 |
+
<input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
|
677 |
+
<input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
|
678 |
<span class="multiple_label"><?php echo $val['status']; ?></span>
|
679 |
</br>
|
680 |
</label>
|
681 |
</span>
|
682 |
+
<?php }
|
683 |
+
}
|
684 |
+
foreach((array)$array['options'] as $key => $val ){
|
685 |
if($val['type'] == 'custom'){
|
686 |
+
$multi_checkbox_data = get_option($id);
|
687 |
+
if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
$checked="checked";
|
689 |
} else{
|
690 |
$checked="";
|
691 |
}
|
692 |
if($op == 1){ ?>
|
693 |
+
<div style="margin: 10px 0;">
|
694 |
<strong style="font-weight: 700;padding-bottom: 3px;">
|
695 |
<?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
|
696 |
</strong>
|
697 |
</div>
|
698 |
<?php } ?>
|
699 |
+
<span class="multiple_checkbox">
|
700 |
+
<label class="" for="<?php echo $key?>">
|
701 |
+
<input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
|
702 |
+
<input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
|
703 |
<span class="multiple_label"><?php echo $val['status']; ?></span>
|
704 |
</br>
|
705 |
</label>
|
706 |
</span>
|
707 |
<?php $op++; }
|
708 |
+
}
|
709 |
+
?>
|
710 |
|
711 |
<?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
|
712 |
<?php
|
736 |
<?php } elseif( $array['type'] == 'title' ){?>
|
737 |
<?php }
|
738 |
elseif( $array['type'] == 'key_field' ){ ?>
|
739 |
+
<fieldset>
|
|
|
740 |
<?php if($array['connected'] == true){ ?>
|
741 |
<a href="https://my.trackship.info/" target="_blank">
|
742 |
<span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
|
834 |
} else{
|
835 |
$disable_bulk_sync_zero_balance = true;
|
836 |
}
|
837 |
+
|
838 |
+
$completed_order_with_do_connection = 0;
|
839 |
+
|
840 |
+
foreach($orders as $order){
|
841 |
+
$order_id = $order->get_id();
|
842 |
+
|
843 |
+
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
844 |
+
$tracking_items = $ast->get_tracking_items( $order_id, true );
|
845 |
+
if($tracking_items){
|
846 |
+
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
847 |
+
foreach ( $tracking_items as $key => $tracking_item ) {
|
848 |
+
if(isset($shipment_status[$key]['status']) && $shipment_status[$key]['status'] == 'Please do connection'){
|
849 |
+
$completed_order_with_do_connection++;
|
850 |
+
}
|
851 |
+
}
|
852 |
+
}
|
853 |
+
}
|
854 |
+
|
855 |
+
if($completed_order_with_do_connection > 0){
|
856 |
+
$disable_bulk_sync_do_connection = false;
|
857 |
+
$show_bulk_sync_do_connection = true;
|
858 |
+
} else{
|
859 |
+
$disable_bulk_sync_do_connection = true;
|
860 |
+
$show_bulk_sync_do_connection = false;
|
861 |
+
}
|
862 |
|
863 |
$wc_ast_status_shipped = get_option('wc_ast_status_shipped');
|
864 |
|
887 |
'button_class' => 'bulk_shipment_status_button_for_empty_balance',
|
888 |
'class' => '',
|
889 |
),
|
890 |
+
'wc_ast_bulk_shipment_status_for_please_do_connection' => array(
|
891 |
+
'type' => 'button',
|
892 |
+
'title' => sprintf(__('%s %s orders with “Please do connection”', 'woo-advanced-shipment-tracking'), $completed_order_with_do_connection , $completed_order_label),
|
893 |
+
'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
|
894 |
+
'show' => $show_bulk_sync_do_connection,
|
895 |
+
'disable' => $disable_bulk_sync_do_connection,
|
896 |
+
'button_class' => 'bulk_shipment_status_button_for_do_connection',
|
897 |
+
'class' => '',
|
898 |
+
),
|
899 |
);
|
900 |
return $form_data;
|
901 |
}
|
985 |
'show' => $show_trackship_field,
|
986 |
'class' => '',
|
987 |
),
|
988 |
+
'wc_ast_select_tracking_page_layout' => array(
|
989 |
+
'type' => 'radio',
|
990 |
+
'title' => __( 'Tracking Page Layout', 'woo-advanced-shipment-tracking' ),
|
991 |
+
'show' => $show_trackship_field,
|
992 |
+
'options' => array(
|
993 |
+
"" =>__( 'Select', 'woocommerce' ),
|
994 |
+
"t_layout_1" =>__( 'Layout 1', '' ),
|
995 |
+
"t_layout_2" =>__( 'Layout 2', '' ),
|
996 |
+
),
|
997 |
+
'class' => '',
|
998 |
+
),
|
999 |
'wc_ast_select_primary_color' => array(
|
1000 |
'type' => 'color',
|
1001 |
'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
|
1007 |
'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
|
1008 |
'class' => 'color_field',
|
1009 |
'show' => $show_trackship_field,
|
1010 |
+
),
|
1011 |
+
'wc_ast_hide_tracking_provider_image' => array(
|
1012 |
+
'type' => 'checkbox',
|
1013 |
+
'title' => __( 'Hide Shipping Provider Image', 'woo-advanced-shipment-tracking' ),
|
1014 |
+
'show' => $show_trackship_field,
|
1015 |
+
'class' => '',
|
1016 |
+
),
|
1017 |
'wc_ast_hide_tracking_events' => array(
|
1018 |
'type' => 'checkbox',
|
1019 |
'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
|
1030 |
return $form_data;
|
1031 |
|
1032 |
}
|
1033 |
+
|
1034 |
+
/*
|
1035 |
+
* get ast per product addons licence data
|
1036 |
+
* return array
|
1037 |
+
*/
|
1038 |
+
function get_ast_product_license_data(){
|
1039 |
+
$form_data = array(
|
1040 |
+
'ast_product_license_key' => array(
|
1041 |
+
'type' => 'text',
|
1042 |
+
'title' => __( 'License Key', 'woo-advanced-shipment-tracking' ),
|
1043 |
+
'show' => true,
|
1044 |
+
'tooltip' => __( 'Valid License to make All feature work correctly', 'woo-advanced-shipment-tracking' ),
|
1045 |
+
'class' => '',
|
1046 |
+
),
|
1047 |
+
);
|
1048 |
+
return $form_data;
|
1049 |
+
}
|
1050 |
|
1051 |
/*
|
1052 |
* settings form save
|
1069 |
}
|
1070 |
}
|
1071 |
|
1072 |
+
/*
|
1073 |
+
* AST per Product licence activate
|
1074 |
+
*/
|
1075 |
+
function ast_product_license_activate_callback(){
|
1076 |
+
|
1077 |
+
if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_addons_form', 'wc_ast_addons_form' ) ) {
|
1078 |
+
|
1079 |
+
$data = $this->get_ast_product_license_data();
|
1080 |
+
|
1081 |
+
foreach( $data as $key => $val ){
|
1082 |
+
update_option( $key, sanitize_text_field( $_POST[ $key ] ) );
|
1083 |
+
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
$return = $this->license_authorize_action( sanitize_text_field($_POST['ast_product_license_key']), 'activate' );
|
1087 |
+
|
1088 |
+
if($return->success == 'true'){
|
1089 |
+
update_option( $this->license_key, sanitize_text_field($_POST['ast_product_license_key']));
|
1090 |
+
}
|
1091 |
+
header('Content-type: application/json');
|
1092 |
+
echo json_encode($return, JSON_PRETTY_PRINT);
|
1093 |
+
die();
|
1094 |
+
}
|
1095 |
+
}
|
1096 |
+
|
1097 |
+
/*
|
1098 |
+
* AST per Product licence deactivate
|
1099 |
+
*/
|
1100 |
+
function ast_product_license_deactivate_callback(){
|
1101 |
+
|
1102 |
+
if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_addons_form', 'wc_ast_addons_form' ) ) {
|
1103 |
+
|
1104 |
+
if(isset($_POST['ast_product_license_key'])){
|
1105 |
+
$return = $this->license_authorize_action( sanitize_text_field($_POST['ast_product_license_key']), 'deactivate' );
|
1106 |
+
if($return->success == 'true'){
|
1107 |
+
update_option( $this->license_key, '');
|
1108 |
+
update_option( $this->license_status, false);
|
1109 |
+
}
|
1110 |
+
header('Content-type: application/json');
|
1111 |
+
echo json_encode($return, JSON_PRETTY_PRINT);
|
1112 |
+
die();
|
1113 |
+
}
|
1114 |
+
}
|
1115 |
+
}
|
1116 |
+
|
1117 |
+
/*
|
1118 |
+
* License authorize with server
|
1119 |
+
*/
|
1120 |
+
public function license_authorize_action( $purchase_code = '', $action = 'validate' ) {
|
1121 |
+
global $wp_version;
|
1122 |
+
|
1123 |
+
$domain = home_url();
|
1124 |
+
|
1125 |
+
$api_params = array(
|
1126 |
+
'wc-api' => 'validate_serial_key',
|
1127 |
+
'serial' => $purchase_code,
|
1128 |
+
'sku' => 'tracking-per-item-ast-add-on',
|
1129 |
+
'uuid' => $domain,
|
1130 |
+
);
|
1131 |
+
|
1132 |
+
$request = add_query_arg( $api_params, $this->store_url );
|
1133 |
+
|
1134 |
+
$response = wp_remote_get( $request, array( 'timeout' => 15, 'sslverify' => false ) );
|
1135 |
+
|
1136 |
+
if ( is_wp_error( $response ) )
|
1137 |
+
return false;
|
1138 |
+
|
1139 |
+
$authorize_data = json_decode( wp_remote_retrieve_body( $response ) );
|
1140 |
+
|
1141 |
+
if(empty($authorize_data) || $authorize_data === NULL || $authorize_data === false) return false;
|
1142 |
+
update_option( $this->license_status, $authorize_data->success);
|
1143 |
+
return $authorize_data;
|
1144 |
+
}
|
1145 |
+
|
1146 |
+
/*
|
1147 |
+
* Check license valid
|
1148 |
+
*/
|
1149 |
+
public function check_license_valid($action = 'validate') {
|
1150 |
+
$license = $this->get_license_key();
|
1151 |
+
$authorize = $this->license_authorize_action($license, $action);
|
1152 |
+
if($authorize->success == 'true'){
|
1153 |
+
return true;
|
1154 |
+
}
|
1155 |
+
return false;
|
1156 |
+
}
|
1157 |
+
|
1158 |
+
/*
|
1159 |
+
* return licence valid
|
1160 |
+
* return licence status
|
1161 |
+
* return licence key
|
1162 |
+
* return licence email
|
1163 |
+
*/
|
1164 |
+
public function licence_valid() {
|
1165 |
+
return get_option( $this->license_status, false);
|
1166 |
+
}
|
1167 |
+
public function get_license_status() {
|
1168 |
+
return get_option( $this->license_status, false);
|
1169 |
+
}
|
1170 |
+
public function get_license_key() {
|
1171 |
+
return get_option( $this->license_key, false);
|
1172 |
+
}
|
1173 |
+
public function get_license_email() {
|
1174 |
+
return get_option( $this->license_email, false);
|
1175 |
+
}
|
1176 |
+
|
1177 |
+
/*
|
1178 |
+
* cron function for License schedule
|
1179 |
+
*/
|
1180 |
+
function ast_product_license_cron_schedule( $schedules ){
|
1181 |
+
$schedules[ 'ast_product_license_cron_events' ] = array(
|
1182 |
+
'interval' => 86400,//
|
1183 |
+
'display' => __( 'Every day' ),
|
1184 |
+
);
|
1185 |
+
return $schedules;
|
1186 |
+
}
|
1187 |
+
|
1188 |
+
/*
|
1189 |
+
* License notice
|
1190 |
+
*/
|
1191 |
+
function ast_product_licence_notice() {
|
1192 |
+
$class = 'notice notice-error';
|
1193 |
+
$message = __( 'Opps! your <strong>Tracking Per Item Add-on for AST</strong> licence key is not activated. To buy license <a href="'.admin_url( '/admin.php?page=woocommerce-advanced-shipment-tracking&tab=addons' ).'">click here</a> to activate it.', 'woo-advanced-shipment-tracking' );
|
1194 |
+
|
1195 |
+
printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), $message );
|
1196 |
+
}
|
1197 |
+
|
1198 |
/*
|
1199 |
* trigger when order status changed to shipped or completed or update tracking
|
1200 |
* param $order_id
|
1240 |
'wc-on-hold' => 'On hold',
|
1241 |
'wc-completed' => 'Completed',
|
1242 |
'wc-delivered' => 'Delivered',
|
1243 |
+
//'wc-partial-shipped' => 'Partially Shipped',
|
1244 |
'wc-cancelled' => 'Cancelled',
|
1245 |
'wc-refunded' => 'Refunded',
|
1246 |
'wc-failed' => 'Failed'
|
1337 |
$form_data = array(
|
1338 |
'wc_ast_status_delivered' => array(
|
1339 |
'type' => 'checkbox',
|
1340 |
+
'title' => __( 'Enable custom order status “Delivered"', 'woo-advanced-shipment-tracking' ),
|
|
|
1341 |
'show' => true,
|
1342 |
'class' => '',
|
1343 |
),
|
1368 |
);
|
1369 |
return $form_data;
|
1370 |
|
1371 |
+
}
|
1372 |
+
|
1373 |
+
/*
|
1374 |
+
* get updated tracking status settings array data
|
1375 |
+
* return array
|
1376 |
+
*/
|
1377 |
+
function get_updated_tracking_data(){
|
1378 |
+
$form_data = array(
|
1379 |
+
'wc_ast_status_updated_tracking' => array(
|
1380 |
+
'type' => 'checkbox',
|
1381 |
+
'title' => __( 'Enable custom order status “Updated Tracking"', 'woo-advanced-shipment-tracking' ),
|
1382 |
+
'show' => true,
|
1383 |
+
'class' => '',
|
1384 |
+
),
|
1385 |
+
'wc_ast_status_updated_tracking_label_color' => array(
|
1386 |
+
'type' => 'color',
|
1387 |
+
'title' => __( 'Updated Tracking Label color', 'woo-advanced-shipment-tracking' ),
|
1388 |
+
'class' => 'updated_tracking_status_label_color_th',
|
1389 |
+
'show' => true,
|
1390 |
+
),
|
1391 |
+
'wc_ast_status_updated_tracking_label_font_color' => array(
|
1392 |
+
'type' => 'dropdown',
|
1393 |
+
'title' => __( 'Updated Tracking Label font color', 'woo-advanced-shipment-tracking' ),
|
1394 |
+
'options' => array(
|
1395 |
+
"" =>__( 'Select', 'woocommerce' ),
|
1396 |
+
"#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
|
1397 |
+
"#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
|
1398 |
+
),
|
1399 |
+
'class' => 'updated_tracking_status_label_color_th',
|
1400 |
+
'show' => true,
|
1401 |
+
),
|
1402 |
+
'wcast_enable_updated_tracking_email' => array(
|
1403 |
+
'type' => 'checkbox',
|
1404 |
+
'title' => __( 'Enable the Updated Tracking order status email', 'woo-advanced-shipment-tracking' ),
|
1405 |
+
'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_updated_tracking_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
|
1406 |
+
'class' => 'updated_tracking_status_label_color_th',
|
1407 |
+
'show' => true,
|
1408 |
+
),
|
1409 |
+
);
|
1410 |
+
return $form_data;
|
1411 |
+
|
1412 |
+
}
|
1413 |
+
|
1414 |
+
/*
|
1415 |
+
* get Partially Shipped array data
|
1416 |
+
* return array
|
1417 |
+
*/
|
1418 |
+
function get_partial_shipped_data(){
|
1419 |
+
$form_data = array(
|
1420 |
+
'wc_ast_status_partial_shipped' => array(
|
1421 |
+
'type' => 'checkbox',
|
1422 |
+
'title' => __( 'Enable custom order status “Partially Shipped"', 'woo-advanced-shipment-tracking' ),
|
1423 |
+
'show' => true,
|
1424 |
+
'class' => '',
|
1425 |
+
),
|
1426 |
+
'wc_ast_status_partial_shipped_label_color' => array(
|
1427 |
+
'type' => 'color',
|
1428 |
+
'title' => __( 'Partially Shipped Label color', 'woo-advanced-shipment-tracking' ),
|
1429 |
+
'class' => 'partial_shipped_status_label_color_th',
|
1430 |
+
'show' => true,
|
1431 |
+
),
|
1432 |
+
'wc_ast_status_partial_shipped_label_font_color' => array(
|
1433 |
+
'type' => 'dropdown',
|
1434 |
+
'title' => __( 'Partially Shipped Label font color', 'woo-advanced-shipment-tracking' ),
|
1435 |
+
'options' => array(
|
1436 |
+
"" =>__( 'Select', 'woocommerce' ),
|
1437 |
+
"#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
|
1438 |
+
"#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
|
1439 |
+
),
|
1440 |
+
'class' => 'partial_shipped_status_label_color_th',
|
1441 |
+
'show' => true,
|
1442 |
+
),
|
1443 |
+
'wcast_enable_partial_shipped_email' => array(
|
1444 |
+
'type' => 'checkbox',
|
1445 |
+
'title' => __( 'Enable the Partially Shipped order status email', 'woo-advanced-shipment-tracking' ),
|
1446 |
+
'title_link'=> "<a class='settings_edit' href='".wcast_partial_shipped_customizer_email::get_customizer_url('customer_partial_shipped_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
|
1447 |
+
'class' => 'partial_shipped_status_label_color_th',
|
1448 |
+
'show' => true,
|
1449 |
+
),
|
1450 |
+
);
|
1451 |
+
return $form_data;
|
1452 |
+
|
1453 |
}
|
1454 |
|
1455 |
/*
|
1457 |
*/
|
1458 |
function wc_ast_settings_form_update_callback(){
|
1459 |
if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
|
1460 |
+
|
1461 |
$data = $this->get_settings_data();
|
1462 |
|
1463 |
+
foreach( $data as $key => $val ){
|
1464 |
+
if(isset($_POST[ $key ])){
|
1465 |
+
update_option( $key, $_POST[ $key ] );
|
1466 |
+
}
|
1467 |
}
|
1468 |
|
1469 |
$data = $this->get_delivered_data();
|
1470 |
|
1471 |
foreach( $data as $key => $val ){
|
1472 |
+
if($key == 'wcast_enable_delivered_email'){
|
1473 |
+
if(isset($_POST['wcast_enable_delivered_email'])){
|
1474 |
+
$wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
|
1475 |
+
if($_POST['wcast_enable_delivered_email'] == 1){
|
1476 |
+
update_option( 'customizer_delivered_order_settings_enabled',$_POST['wcast_enable_delivered_email']);
|
1477 |
+
$enabled = 'yes';
|
1478 |
+
} else{
|
1479 |
+
update_option( 'customizer_delivered_order_settings_enabled','');
|
1480 |
+
$enabled = 'no';
|
1481 |
+
}
|
1482 |
+
$opt = array(
|
1483 |
+
'enabled' => $enabled,
|
1484 |
+
'subject' => $wcast_enable_delivered_email['subject'],
|
1485 |
+
'heading' => $wcast_enable_delivered_email['heading'],
|
1486 |
+
'recipient' => $wcast_enable_delivered_email['recipient'],
|
1487 |
+
'email_type' => $wcast_enable_delivered_email['email_type'],
|
1488 |
+
);
|
1489 |
+
update_option( 'woocommerce_customer_delivered_order_settings', $opt );
|
1490 |
+
}
|
1491 |
+
}
|
1492 |
+
if(isset($_POST[ $key ])){
|
1493 |
+
update_option( $key, $_POST[ $key ] );
|
1494 |
+
}
|
1495 |
+
}
|
1496 |
+
|
1497 |
+
$data = $this->get_partial_shipped_data();
|
1498 |
+
|
1499 |
+
foreach( $data as $key => $val ){
|
1500 |
+
if($key == 'wcast_enable_partial_shipped_email'){
|
1501 |
+
if(isset($_POST['wcast_enable_partial_shipped_email'])){
|
1502 |
+
$wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
|
1503 |
+
if($_POST['wcast_enable_partial_shipped_email'] == 1){
|
1504 |
+
update_option( 'customizer_partial_shipped_order_settings_enabled',$_POST['wcast_enable_partial_shipped_email']);
|
1505 |
+
$enabled = 'yes';
|
1506 |
+
} else{
|
1507 |
+
update_option( 'customizer_partial_shipped_order_settings_enabled','');
|
1508 |
+
$enabled = 'no';
|
1509 |
+
}
|
1510 |
+
|
1511 |
+
$opt = array(
|
1512 |
+
'enabled' => $enabled,
|
1513 |
+
'subject' => $wcast_enable_partial_shipped_email['subject'],
|
1514 |
+
'heading' => $wcast_enable_partial_shipped_email['heading'],
|
1515 |
+
'email_type' => $wcast_enable_partial_shipped_email['email_type'],
|
1516 |
+
);
|
1517 |
+
update_option( 'woocommerce_customer_partial_shipped_order_settings', $opt );
|
1518 |
+
}
|
1519 |
+
}
|
1520 |
+
if(isset($_POST[ $key ])){
|
1521 |
+
update_option( $key, $_POST[ $key ] );
|
1522 |
+
}
|
1523 |
+
}
|
1524 |
+
|
1525 |
+
$data = $this->get_updated_tracking_data();
|
1526 |
+
|
1527 |
+
foreach( $data as $key => $val ){
|
1528 |
+
if($key == 'wcast_enable_updated_tracking_email'){
|
1529 |
+
|
1530 |
+
if(isset($_POST['wcast_enable_updated_tracking_email'])){
|
1531 |
+
$wcast_enable_updated_tracking_email = get_option('woocommerce_customer_updated_tracking_order_settings');
|
1532 |
+
if($_POST['wcast_enable_updated_tracking_email'] == 1){
|
1533 |
+
update_option( 'customizer_updated_tracking_order_settings_enabled',$_POST['wcast_enable_updated_tracking_email']);
|
1534 |
+
$enabled = 'yes';
|
1535 |
+
} else{
|
1536 |
+
update_option( 'customizer_updated_tracking_order_settings_enabled','');
|
1537 |
+
$enabled = 'no';
|
1538 |
+
}
|
1539 |
+
|
1540 |
+
$opt = array(
|
1541 |
+
'enabled' => $enabled,
|
1542 |
+
'subject' => $wcast_enable_updated_tracking_email['subject'],
|
1543 |
+
'heading' => $wcast_enable_updated_tracking_email['heading'],
|
1544 |
+
'email_type' => $wcast_enable_updated_tracking_email['email_type'],
|
1545 |
+
);
|
1546 |
+
update_option( 'woocommerce_customer_updated_tracking_order_settings', $opt );
|
1547 |
+
}
|
1548 |
+
}
|
1549 |
+
if(isset($_POST[ $key ])){
|
1550 |
+
update_option( $key, $_POST[ $key ] );
|
1551 |
}
|
|
|
1552 |
}
|
1553 |
|
1554 |
echo json_encode( array('success' => 'true') );die();
|
1560 |
* change style of delivered order label
|
1561 |
*/
|
1562 |
function footer_function(){
|
1563 |
+
if ( !is_plugin_active( 'woocommerce-order-status-manager/woocommerce-order-status-manager.php' ) ) {
|
1564 |
+
$bg_color = get_option('wc_ast_status_label_color','#212c42');
|
1565 |
+
$color = get_option('wc_ast_status_label_font_color','#fff');
|
1566 |
+
|
1567 |
+
$ps_bg_color = get_option('wc_ast_status_partial_shipped_label_color','#0c0c0c');
|
1568 |
+
$ps_color = get_option('wc_ast_status_partial_shipped_label_font_color','#fff');
|
1569 |
+
|
1570 |
+
$ut_bg_color = get_option('wc_ast_status_updated_tracking_label_color','#d6d6d6');
|
1571 |
+
$ut_color = get_option('wc_ast_status_updated_tracking_label_font_color','#000');
|
1572 |
+
?>
|
1573 |
+
<style>
|
1574 |
+
.order-status.status-delivered,.order-status-table .order-label.wc-delivered{
|
1575 |
+
background: <?php echo $bg_color; ?>;
|
1576 |
color: <?php echo $color; ?>;
|
1577 |
+
}
|
1578 |
+
.order-status.status-partial-shipped,.order-status-table .order-label.wc-partially-shipped{
|
1579 |
+
background: <?php echo $ps_bg_color; ?>;
|
1580 |
+
color: <?php echo $ps_color; ?>;
|
1581 |
+
}
|
1582 |
+
.order-status.status-updated-tracking,.order-status-table .order-label.wc-updated-tracking{
|
1583 |
+
background: <?php echo $ut_bg_color; ?>;
|
1584 |
+
color: <?php echo $ut_color; ?>;
|
1585 |
+
}
|
1586 |
+
</style>
|
1587 |
+
<?php
|
1588 |
}
|
|
|
|
|
1589 |
}
|
1590 |
|
1591 |
/*
|
1611 |
$woo_shippment_table_name = $this->table;
|
1612 |
$shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
|
1613 |
|
1614 |
+
|
1615 |
if($shippment_provider == 0){
|
1616 |
echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
|
1617 |
}
|
1618 |
if(empty($tracking_number)){
|
1619 |
echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
|
1620 |
}
|
1621 |
+
if(preg_match('/[^a-z0-9- \b]+/i', $tracking_number)){
|
1622 |
echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
|
1623 |
}
|
1624 |
if(empty($date_shipped)){
|
1637 |
if ( count( $tracking_items ) > 0 ) {
|
1638 |
foreach ( $tracking_items as $key => $item ) {
|
1639 |
$tracking_number = $item['tracking_number'];
|
1640 |
+
unset( $tracking_items[ $key ] );
|
1641 |
+
/*if(in_array($tracking_number, array_column($_POST['trackings'], 'tracking_number'))) {
|
1642 |
|
1643 |
} else{
|
1644 |
+
|
1645 |
+
} */
|
1646 |
}
|
1647 |
$wast->save_tracking_items( $order_id, $tracking_items );
|
1648 |
}
|
1649 |
}
|
1650 |
}
|
1651 |
if($tracking_provider && $tracking_number && $date_shipped){
|
1652 |
+
|
1653 |
+
$tracking_provider = $wpdb->get_var( "SELECT ts_slug FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
|
1654 |
+
|
1655 |
+
if(!$tracking_provider){
|
1656 |
+
$tracking_provider = sanitize_title($_POST['tracking_provider']);
|
1657 |
+
}
|
1658 |
+
|
1659 |
$args = array(
|
1660 |
+
'tracking_provider' => wc_clean( $tracking_provider ),
|
1661 |
'tracking_number' => wc_clean( $_POST['tracking_number'] ),
|
1662 |
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
1663 |
'status_shipped' => wc_clean( $_POST['status_shipped'] ),
|
1753 |
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
1754 |
$tracking_items = $ast->get_tracking_items( $order_id, true );
|
1755 |
if($tracking_items){
|
1756 |
+
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
|
|
|
|
1757 |
foreach ( $tracking_items as $key => $tracking_item ) {
|
1758 |
if( !isset($shipment_status[$key]) ){
|
1759 |
wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
|
1795 |
echo $url;die();
|
1796 |
}
|
1797 |
|
1798 |
+
/*
|
1799 |
+
* bulk shipment status action for "TrackShip balance is 0" status
|
1800 |
+
*/
|
1801 |
+
public static function bulk_shipment_status_for_do_connection_from_settings_fun(){
|
1802 |
+
$args = array(
|
1803 |
+
'status' => 'wc-completed',
|
1804 |
+
'limit' => -1,
|
1805 |
+
'date_created' => '>' . ( time() - 2592000 ),
|
1806 |
+
);
|
1807 |
+
$orders = wc_get_orders( $args );
|
1808 |
+
|
1809 |
+
foreach($orders as $order){
|
1810 |
+
$order_id = $order->get_id();
|
1811 |
+
|
1812 |
+
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
1813 |
+
$tracking_items = $ast->get_tracking_items( $order_id, true );
|
1814 |
+
if($tracking_items){
|
1815 |
+
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
1816 |
+
foreach ( $tracking_items as $key => $tracking_item ) {
|
1817 |
+
if($shipment_status[$key]['status'] == 'Please do connection'){
|
1818 |
+
wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
|
1819 |
+
}
|
1820 |
+
}
|
1821 |
+
}
|
1822 |
+
}
|
1823 |
+
|
1824 |
+
$url = admin_url('/edit.php?post_type=shop_order');
|
1825 |
+
echo $url;die();
|
1826 |
+
}
|
1827 |
+
|
1828 |
/**
|
1829 |
* Add 'get_shipment_status' link to order actions select box on edit order page
|
1830 |
*
|
1855 |
$count = intval( $_REQUEST['processed_count'] );
|
1856 |
|
1857 |
printf( '<div id="message" class="updated fade"><p>' .
|
1858 |
+
_n( 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
|
1859 |
+
'The shipment status updates will run in the background, please refresh the page in a few minutes.',
|
1860 |
$count,
|
1861 |
'get_shipment_status'
|
1862 |
) . '</p></div>', $count );
|
1973 |
$this->trigger_woocommerce_order_status_completed( $order_id );
|
1974 |
}
|
1975 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1976 |
/*
|
1977 |
* update preview order id in customizer
|
1978 |
*/
|
2179 |
</div>
|
2180 |
</div>
|
2181 |
<?php } } else{
|
2182 |
+
$p_status = 'active';
|
2183 |
?>
|
2184 |
+
<h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $p_status); ?></h3>
|
2185 |
+
<?php }
|
2186 |
+
if($status == 'custom'){ ?>
|
2187 |
+
<div class="provider">
|
2188 |
+
<div class="provider_inner add_custom_provider_div">
|
2189 |
+
<div class="add_custom_p_a"><?php _e("Add Custom Provider", "woo-advanced-shipment-tracking")?></div>
|
2190 |
+
<a href="javascript:void(0);" class="add_custom_inner add_custom_provider"><span class="dashicons dashicons-plus-alt"></span></a>
|
2191 |
+
</div>
|
2192 |
+
</div>
|
2193 |
+
<?php }
|
2194 |
+
?>
|
2195 |
</div>
|
2196 |
<?php
|
2197 |
}
|
2223 |
exit;
|
2224 |
}
|
2225 |
|
2226 |
+
/**
|
2227 |
+
* Create slug from title
|
2228 |
+
*/
|
2229 |
+
public static function create_slug($text){
|
2230 |
+
// replace non letter or digits by -
|
2231 |
+
$text = preg_replace('~[^\pL\d]+~u', '-', $text);
|
2232 |
+
|
2233 |
+
// transliterate
|
2234 |
+
$text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
|
2235 |
+
|
2236 |
+
// remove unwanted characters
|
2237 |
+
$text = preg_replace('~[^-\w]+~', '', $text);
|
2238 |
+
|
2239 |
+
// trim
|
2240 |
+
$text = trim($text, '-');
|
2241 |
+
|
2242 |
+
// remove duplicate -
|
2243 |
+
$text = preg_replace('~-+~', '-', $text);
|
2244 |
+
|
2245 |
+
// lowercase
|
2246 |
+
$text = strtolower($text);
|
2247 |
+
|
2248 |
+
if (empty($text)) {
|
2249 |
+
return '';
|
2250 |
+
}
|
2251 |
+
|
2252 |
+
return $text;
|
2253 |
+
}
|
2254 |
+
|
2255 |
/**
|
2256 |
* Add custom shipping provider function
|
2257 |
*/
|
2260 |
global $wpdb;
|
2261 |
|
2262 |
$woo_shippment_table_name = $this->table;
|
2263 |
+
$provider_slug = $this->create_slug($_POST['shipping_provider']);
|
2264 |
+
if($provider_slug == ''){
|
2265 |
+
$provider_slug = sanitize_text_field($_POST['shipping_provider']);
|
2266 |
+
}
|
2267 |
+
|
2268 |
$data_array = array(
|
2269 |
'shipping_country' => sanitize_text_field($_POST['shipping_country']),
|
2270 |
'provider_name' => sanitize_text_field($_POST['shipping_provider']),
|
2271 |
+
'ts_slug' => $provider_slug,
|
2272 |
'provider_url' => sanitize_text_field($_POST['tracking_url']),
|
2273 |
'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
|
2274 |
'display_in_order' => 1,
|
2275 |
'shipping_default' => 0,
|
2276 |
);
|
2277 |
+
|
2278 |
$result = $wpdb->insert( $woo_shippment_table_name, $data_array );
|
2279 |
|
2280 |
$status = 'custom';
|
2281 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
|
2282 |
$html = $this->get_provider_html($default_shippment_providers,$status);
|
2283 |
echo $html;exit;
|
2284 |
}
|
2374 |
exit;
|
2375 |
}
|
2376 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2377 |
/**
|
2378 |
* Add bulk filter for Shipment status in orders list
|
2379 |
*
|
2411 |
</select>
|
2412 |
<?php
|
2413 |
}
|
2414 |
+
}
|
2415 |
|
2416 |
/**
|
2417 |
* Get the order count for orders by shipment status
|
2488 |
|
2489 |
return $vars;
|
2490 |
}
|
2491 |
+
|
2492 |
/**
|
2493 |
+
* Process bulk filter action for shipment status orders
|
2494 |
+
*
|
2495 |
+
* @since 2.7.4
|
2496 |
+
* @param array $vars query vars without filtering
|
2497 |
+
* @return array $vars query vars with (maybe) filtering
|
2498 |
+
*/
|
2499 |
+
public function filter_orders_by_tracking_number_query( $search_fields ){
|
2500 |
+
$search_fields[] = '_wc_shipment_tracking_items';
|
2501 |
+
return $search_fields;
|
2502 |
+
}
|
2503 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wc-advanced-shipment-tracking-front.php
CHANGED
@@ -80,34 +80,32 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
80 |
$success_color = get_option('wc_ast_select_success_color');
|
81 |
$warning_color = get_option('wc_ast_select_warning_color');
|
82 |
$border_color = get_option('wc_ast_select_border_color');
|
83 |
-
$hide_tracking_events = get_option('wc_ast_hide_tracking_events');
|
|
|
|
|
84 |
?>
|
85 |
-
<style>
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
}
|
103 |
-
.view_table_rows,.hide_table_rows{
|
104 |
-
color: <?php echo $primary_color; ?> !important;
|
105 |
-
}
|
106 |
<?php } ?>
|
107 |
<?php if($border_color){ ?>
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
<?php } ?>
|
112 |
</style>
|
113 |
<?php
|
@@ -117,28 +115,26 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
117 |
if(isset($_GET['order_id']) && isset($_GET['order_key'])){
|
118 |
|
119 |
$order_id = $_GET['order_id'];
|
120 |
-
$order
|
121 |
$order_key = $order->get_order_key();
|
122 |
|
123 |
if($order_key != $_GET['order_key']){
|
124 |
return;
|
125 |
}
|
126 |
-
|
127 |
-
if(
|
128 |
return;
|
129 |
-
}
|
130 |
|
131 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
132 |
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
133 |
-
} else {
|
134 |
-
$order = new WC_Order( $order_id );
|
135 |
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
136 |
}
|
137 |
|
138 |
if(!$tracking_items){
|
139 |
unset($order_id);
|
140 |
-
}
|
141 |
-
|
142 |
}
|
143 |
|
144 |
?>
|
@@ -207,183 +203,49 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
207 |
if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
|
208 |
$tracking_detail_org = json_decode($tracker->tracking_detail);
|
209 |
$trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
|
210 |
-
}
|
211 |
-
|
212 |
-
if(!empty($decoded_data)){
|
213 |
-
|
214 |
-
if($tracker->est_delivery_date){
|
215 |
-
$unixTimestamp = strtotime($tracker->est_delivery_date);
|
216 |
-
$day = date("l", $unixTimestamp);
|
217 |
}
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
$state2_class = 'out_for_delivery';
|
229 |
-
}
|
230 |
-
?>
|
231 |
|
232 |
<div class="tracking-detail col">
|
233 |
<?php if($total_trackings > 1 ){ ?>
|
234 |
<p class="shipment_heading"><?php
|
235 |
echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
|
236 |
-
<?php }
|
237 |
-
|
238 |
-
|
239 |
-
<?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
|
240 |
-
<?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
|
241 |
-
<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>
|
242 |
-
</div>
|
243 |
-
<div class="col-md col-md-6">
|
244 |
-
<?php
|
245 |
-
if($tracker->est_delivery_date){
|
246 |
-
?>
|
247 |
-
<div class="text-muted text-right">
|
248 |
-
<?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number"><?php echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date)); ?></span>
|
249 |
-
</div>
|
250 |
-
<?php } else{ ?>
|
251 |
-
<div class="text-muted text-right">
|
252 |
-
<?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
|
253 |
-
</div>
|
254 |
-
<?php } ?>
|
255 |
-
</div>
|
256 |
-
</div>
|
257 |
-
<?php
|
258 |
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'){
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
</span>
|
283 |
-
|
284 |
-
<span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
|
285 |
-
<span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
|
286 |
-
<?php
|
287 |
-
if($tracker->ep_status == "return_to_sender"){
|
288 |
-
echo apply_filters("trackship_status_filter",'return_to_sender');
|
289 |
-
} elseif($tracker->ep_status == "failure"){
|
290 |
-
echo apply_filters("trackship_status_filter",'failure');
|
291 |
-
} else{
|
292 |
-
echo apply_filters("trackship_status_filter",'out_for_delivery');
|
293 |
-
}
|
294 |
-
?>
|
295 |
-
</span>
|
296 |
-
|
297 |
-
<span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
|
298 |
-
<span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
|
299 |
-
<?php echo apply_filters("trackship_status_filter",'delivered'); ?>
|
300 |
-
</span>
|
301 |
-
</div>
|
302 |
-
</div>
|
303 |
-
</div>
|
304 |
-
|
305 |
-
<div class="status-section mobile-section">
|
306 |
-
<div class="tracker-progress-bar tracker-progress-bar-with-dots">
|
307 |
-
<div class="progress">
|
308 |
-
<div class="progress-bar <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-secondary';} ?>"></div>
|
309 |
-
</div>
|
310 |
-
<div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
|
311 |
-
|
312 |
-
<div class="dot-div">
|
313 |
-
<span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
|
314 |
-
<span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
|
315 |
-
<?php
|
316 |
-
if($tracker->ep_status == "unknown"){
|
317 |
-
echo apply_filters("trackship_status_filter",'unknown');
|
318 |
-
} else{
|
319 |
-
echo apply_filters("trackship_status_filter",'pre_transit');
|
320 |
-
}
|
321 |
-
?>
|
322 |
-
</span>
|
323 |
-
</div>
|
324 |
-
|
325 |
-
<div class="dot-div">
|
326 |
-
<span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
|
327 |
-
<span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
|
328 |
-
<?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
|
329 |
-
</span>
|
330 |
-
</div>
|
331 |
-
|
332 |
-
<div class="dot-div">
|
333 |
-
<span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
|
334 |
-
<span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo ' past-state'; } ?>">
|
335 |
-
<?php
|
336 |
-
if($tracker->ep_status == "return_to_sender"){
|
337 |
-
echo apply_filters("trackship_status_filter",'return_to_sender');
|
338 |
-
} elseif($tracker->ep_status == "failure"){
|
339 |
-
echo apply_filters("trackship_status_filter",'failure');
|
340 |
-
} else{
|
341 |
-
echo apply_filters("trackship_status_filter",'out_for_delivery');
|
342 |
-
}
|
343 |
-
?>
|
344 |
-
</span>
|
345 |
-
</div>
|
346 |
-
|
347 |
-
<div class="dot-div">
|
348 |
-
<span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
|
349 |
-
<span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
|
350 |
-
<?php echo apply_filters("trackship_status_filter",'delivered'); ?>
|
351 |
-
</span>
|
352 |
-
</div>
|
353 |
-
|
354 |
-
</div>
|
355 |
-
</div>
|
356 |
-
</div>
|
357 |
-
<?php } ?>
|
358 |
-
<?php if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
|
359 |
-
<div class="shipment_progress_div">
|
360 |
-
<div class="shipment_progress_heading_div">
|
361 |
-
<h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
|
362 |
-
</div>
|
363 |
-
<table class="tracking-table">
|
364 |
-
<tbody>
|
365 |
-
<?php
|
366 |
-
$i=0;
|
367 |
-
foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
|
368 |
-
<tr>
|
369 |
-
<td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
|
370 |
-
<?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
|
371 |
-
<td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
|
372 |
-
<td><?php echo $status_detail->message; ?></td>
|
373 |
-
</tr>
|
374 |
-
<?php }
|
375 |
-
?>
|
376 |
-
</tbody>
|
377 |
-
</table>
|
378 |
-
<?php if(count($trackind_detail_by_status_rev) > 2){ ?>
|
379 |
-
|
380 |
-
<a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
|
381 |
-
<a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
|
382 |
-
<?php } ?>
|
383 |
-
</div>
|
384 |
-
<?php } ?>
|
385 |
-
</div>
|
386 |
-
<?php } else{ ?>
|
387 |
<div class="tracking-detail col">
|
388 |
<h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking # '.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
|
389 |
<h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
|
@@ -409,39 +271,70 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
409 |
|
410 |
global $wpdb;
|
411 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
412 |
-
$
|
413 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
if(!$wc_ast_api_key){
|
415 |
return;
|
416 |
}
|
417 |
|
418 |
-
$order_id = $_POST['order_id'];
|
419 |
-
|
420 |
$email = $_POST['order_email'];
|
421 |
|
422 |
$wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
423 |
$order_id = $wast->get_formated_order_id($order_id);
|
424 |
|
425 |
-
|
|
|
|
|
426 |
echo '';
|
427 |
exit;
|
428 |
}
|
429 |
-
|
430 |
-
$order = new WC_Order( $order_id );
|
431 |
$order_email = $order->get_billing_email();
|
432 |
|
433 |
-
if($order_email != $email){
|
434 |
echo '';
|
435 |
exit;
|
436 |
}
|
437 |
|
438 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
439 |
-
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
440 |
-
|
441 |
-
|
442 |
-
$order = new WC_Order( $order_id );
|
443 |
-
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
444 |
-
$order_key = $order->order_key;
|
445 |
}
|
446 |
|
447 |
if(!$tracking_items){
|
@@ -459,7 +352,7 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
459 |
$tracking_provider = $item['tracking_provider'];
|
460 |
$results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
|
461 |
$tracking_provider = $results->provider_name;
|
462 |
-
|
463 |
/*** Update in 2.4.1
|
464 |
* Change URL
|
465 |
* Add User Key
|
@@ -471,83 +364,180 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
471 |
'domain' => get_home_url(),
|
472 |
'user_key' => $wc_ast_api_key,
|
473 |
);
|
474 |
-
|
475 |
$response = wp_remote_post( $url, $args );
|
476 |
-
|
477 |
$data = $response['body'];
|
478 |
$decoded_data = json_decode($data);
|
479 |
-
|
480 |
-
$tracker->ep_status = '';
|
481 |
|
482 |
-
$tracker =
|
|
|
|
|
|
|
|
|
483 |
|
484 |
$tracking_detail_org = '';
|
485 |
$trackind_detail_by_status_rev = '';
|
486 |
|
487 |
-
if(
|
488 |
-
|
489 |
-
exit;
|
490 |
-
}
|
491 |
-
|
492 |
-
$tracking_detail_org = '';
|
493 |
-
if($tracker->tracking_detail != 'null'){
|
494 |
-
$tracking_detail_org = json_decode($tracker->tracking_detail);
|
495 |
$trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
|
496 |
-
}
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
$state2_class = 'out_for_delivery';
|
508 |
-
}
|
509 |
-
|
510 |
-
$unixTimestamp = strtotime($decoded_data[0]->est_delivery_date);
|
511 |
-
|
512 |
-
//Get the day of the week using PHP's date function.
|
513 |
-
$day = date("l", $unixTimestamp);
|
514 |
-
if($decoded_data){ ?>
|
515 |
|
516 |
<div class="tracking-detail col">
|
517 |
<?php if($total_trackings > 1 ){ ?>
|
518 |
<p class="shipment_heading"><?php
|
519 |
echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
|
520 |
-
<?php }
|
521 |
-
|
522 |
-
<div class="col-md col-md-6">
|
523 |
-
<?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
|
524 |
-
<?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
|
525 |
-
<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>
|
526 |
-
</div>
|
527 |
-
<div class="col-md col-md-6">
|
528 |
-
<?php
|
529 |
-
if($tracker->est_delivery_date){
|
530 |
-
?>
|
531 |
-
<div class="text-muted text-right">
|
532 |
-
<?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number"><?php echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date)); ?></span>
|
533 |
-
</div>
|
534 |
-
<?php } else{ ?>
|
535 |
-
<div class="text-muted text-right">
|
536 |
-
<?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
|
537 |
-
</div>
|
538 |
-
<?php } ?>
|
539 |
-
</div>
|
540 |
-
</div>
|
541 |
-
<?php
|
542 |
|
543 |
-
if(
|
|
|
|
|
|
|
544 |
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
551 |
<span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
|
552 |
<span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
|
553 |
<?php
|
@@ -558,141 +548,248 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
558 |
}
|
559 |
?>
|
560 |
</span>
|
561 |
-
|
|
|
|
|
562 |
<span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
|
563 |
<span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
|
564 |
-
|
565 |
</span>
|
566 |
-
|
|
|
|
|
567 |
<span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
|
568 |
-
<span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
</span>
|
579 |
-
|
|
|
|
|
580 |
<span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
|
581 |
<span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
|
582 |
<?php echo apply_filters("trackship_status_filter",'delivered'); ?>
|
583 |
</span>
|
584 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
585 |
</div>
|
|
|
586 |
</div>
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
<
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
</div>
|
|
|
638 |
</div>
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
647 |
</div>
|
648 |
-
|
649 |
-
|
650 |
-
<?php
|
651 |
-
$i=0;
|
652 |
-
foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
|
653 |
-
<tr>
|
654 |
-
<td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
|
655 |
-
<?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
|
656 |
-
<td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
|
657 |
-
<td><?php echo $status_detail->message; ?></td>
|
658 |
-
</tr>
|
659 |
-
<?php }
|
660 |
-
?>
|
661 |
-
</tbody>
|
662 |
-
</table>
|
663 |
-
<?php if(count($trackind_detail_by_status_rev) > 2){ ?>
|
664 |
-
|
665 |
-
<a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
|
666 |
-
<a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
|
667 |
-
<?php } ?>
|
668 |
-
</div>
|
669 |
-
<?php } ?>
|
670 |
-
|
671 |
</div>
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
678 |
</div>
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
$remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
|
685 |
-
|
686 |
-
if($remove_trackship_branding != 1){ ?>
|
687 |
-
|
688 |
-
<div class="trackship_branding">
|
689 |
-
<p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
|
690 |
-
</div>
|
691 |
-
|
692 |
-
<?php }
|
693 |
-
|
694 |
-
exit;
|
695 |
-
}
|
696 |
|
697 |
/**
|
698 |
* convert string to date
|
@@ -710,36 +807,43 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
710 |
}
|
711 |
|
712 |
public static function preview_tracking_page(){
|
713 |
-
|
714 |
-
if($
|
715 |
-
|
716 |
-
get_header();
|
717 |
|
718 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
719 |
$primary_color = get_option('wc_ast_select_primary_color');
|
720 |
$border_color = get_option('wc_ast_select_border_color');
|
721 |
-
$
|
|
|
|
|
722 |
?>
|
723 |
|
724 |
<style>
|
|
|
|
|
|
|
725 |
<?php if($primary_color){ ?>
|
726 |
.bg-secondary{
|
727 |
-
background-color:<?php echo $primary_color;
|
728 |
}
|
729 |
.tracker-progress-bar-with-dots .secondary .dot {
|
730 |
border-color: <?php echo $primary_color; ?>;
|
731 |
}
|
732 |
.text-secondary{
|
733 |
-
color: <?php echo $primary_color;
|
734 |
}
|
735 |
.progress-bar.bg-secondary:before{
|
736 |
background-color: <?php echo $primary_color; ?>;
|
737 |
}
|
738 |
.tracking-number{
|
739 |
-
color: <?php echo $primary_color;
|
740 |
}
|
741 |
-
.
|
742 |
-
color: <?php echo $primary_color;
|
|
|
|
|
|
|
743 |
}
|
744 |
<?php }
|
745 |
if($border_color){ ?>
|
@@ -749,118 +853,280 @@ class WC_Advanced_Shipment_Tracking_Front {
|
|
749 |
<?php } ?>
|
750 |
</style>
|
751 |
|
752 |
-
<div class="tracking-detail col">
|
753 |
-
<div class="tracking-header">
|
754 |
-
<div class="col-md col-md-6">
|
755 |
-
|
756 |
-
|
757 |
-
<h1 class="shipment_status_heading text-success">
|
|
|
758 |
</div>
|
759 |
-
<div class="col-md col-md-6">
|
760 |
-
<div class="text-
|
761 |
-
<?php
|
762 |
</div>
|
763 |
</div>
|
764 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
765 |
<div class="status-section desktop-section">
|
766 |
<div class="tracker-progress-bar tracker-progress-bar-with-dots">
|
767 |
<div class="progress">
|
768 |
-
<div class="progress-bar bg-success" style=""></div>
|
769 |
</div>
|
770 |
<div style="background-color: transparent;" class="success">
|
771 |
-
<span class="dot state-0 pre_transit past-state"></span>
|
772 |
-
|
773 |
-
Pre Transit
|
774 |
-
</span>
|
775 |
<span class="dot state-1 in_transit past-state"></span>
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
<span class="dot state-
|
780 |
-
|
781 |
-
Out for delivery
|
782 |
-
</span>
|
783 |
-
<span class="dot state-3 delivered current-state"></span>
|
784 |
-
<span class="state-label state-3 current-state">
|
785 |
-
Delivered </span>
|
786 |
</div>
|
787 |
</div>
|
788 |
</div>
|
789 |
<div class="status-section mobile-section">
|
790 |
<div class="tracker-progress-bar tracker-progress-bar-with-dots">
|
791 |
-
<div class="progress">
|
792 |
-
<div class="progress-bar
|
793 |
</div>
|
794 |
<div style="background-color: transparent;" class="success">
|
795 |
<div class="dot-div">
|
796 |
-
|
797 |
-
|
798 |
-
Pre Transit
|
799 |
-
</span>
|
800 |
</div>
|
801 |
<div class="dot-div">
|
802 |
-
|
803 |
-
|
804 |
-
In Transit
|
805 |
-
</span>
|
806 |
</div>
|
807 |
<div class="dot-div">
|
808 |
-
|
809 |
-
|
810 |
-
Out for delivery
|
811 |
-
</span>
|
812 |
</div>
|
813 |
<div class="dot-div">
|
814 |
-
|
815 |
-
|
816 |
-
Delivered </span>
|
817 |
</div>
|
818 |
</div>
|
819 |
</div>
|
820 |
-
</div>
|
821 |
-
|
822 |
-
<?php if($hide_tracking_events != 1){ ?>
|
823 |
|
824 |
-
<div class="
|
825 |
-
<div class="shipment_progress_heading_div">
|
826 |
-
<h4 class="tracking-number h4-heading"
|
827 |
</div>
|
828 |
-
<
|
829 |
-
<
|
830 |
-
<
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
<
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
853 |
</div>
|
854 |
-
<?php
|
855 |
-
|
856 |
-
$remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
|
857 |
|
858 |
-
if($
|
859 |
-
<div class="
|
860 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
861 |
</div>
|
862 |
-
|
863 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
864 |
exit;
|
865 |
}
|
866 |
}
|
80 |
$success_color = get_option('wc_ast_select_success_color');
|
81 |
$warning_color = get_option('wc_ast_select_warning_color');
|
82 |
$border_color = get_option('wc_ast_select_border_color');
|
83 |
+
$hide_tracking_events = get_option('wc_ast_hide_tracking_events');
|
84 |
+
$hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
|
85 |
+
$tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
|
86 |
?>
|
87 |
+
<style>
|
88 |
+
<?php if($primary_color){ ?>
|
89 |
+
.tracker-progress-bar-with-dots .secondary .dot {
|
90 |
+
border-color: <?php echo $primary_color; ?>;
|
91 |
+
}
|
92 |
+
.progress-bar.bg-secondary:before{
|
93 |
+
background-color: <?php echo $primary_color; ?>;
|
94 |
+
}
|
95 |
+
.tracking-number{
|
96 |
+
color: <?php echo $primary_color; ?> !important;
|
97 |
+
}
|
98 |
+
.tracking-detail.tracking-layout-2{
|
99 |
+
color: <?php echo $primary_color; ?>;
|
100 |
+
}
|
101 |
+
.tracking-detail .tracking-details{
|
102 |
+
color: <?php echo $primary_color; ?>;
|
103 |
+
}
|
|
|
|
|
|
|
|
|
104 |
<?php } ?>
|
105 |
<?php if($border_color){ ?>
|
106 |
+
.col.tracking-detail{
|
107 |
+
border: 1px solid <?php echo $border_color; ?>;
|
108 |
+
}
|
109 |
<?php } ?>
|
110 |
</style>
|
111 |
<?php
|
115 |
if(isset($_GET['order_id']) && isset($_GET['order_key'])){
|
116 |
|
117 |
$order_id = $_GET['order_id'];
|
118 |
+
$order = wc_get_order( $order_id );
|
119 |
$order_key = $order->get_order_key();
|
120 |
|
121 |
if($order_key != $_GET['order_key']){
|
122 |
return;
|
123 |
}
|
124 |
+
|
125 |
+
if(empty($order)){
|
126 |
return;
|
127 |
+
}
|
128 |
|
129 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
130 |
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
131 |
+
} else {
|
|
|
132 |
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
133 |
}
|
134 |
|
135 |
if(!$tracking_items){
|
136 |
unset($order_id);
|
137 |
+
}
|
|
|
138 |
}
|
139 |
|
140 |
?>
|
203 |
if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
|
204 |
$tracking_detail_org = json_decode($tracker->tracking_detail);
|
205 |
$trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
}
|
207 |
+
$tracking_details_by_date = array();
|
208 |
+
foreach((array)$trackind_detail_by_status_rev as $key => $details){
|
209 |
+
if(isset($details->datetime)){
|
210 |
+
$date = date('Y-m-d', strtotime($details->datetime));
|
211 |
+
$tracking_details_by_date[$date][] = $details;
|
212 |
+
}
|
213 |
+
}
|
214 |
+
|
215 |
+
if(!empty($decoded_data)){
|
216 |
+
if($tracking_page_layout == 't_layout_1'){ ?>
|
|
|
|
|
|
|
217 |
|
218 |
<div class="tracking-detail col">
|
219 |
<?php if($total_trackings > 1 ){ ?>
|
220 |
<p class="shipment_heading"><?php
|
221 |
echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
|
222 |
+
<?php }
|
223 |
+
echo $this->tracking_page_header($order_id,$tracking_provider,$tracker);
|
224 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
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'){
|
226 |
+
} elseif(isset($tracker->ep_status)){
|
227 |
+
echo $this->layout1_progress_bar($tracker);
|
228 |
+
}
|
229 |
+
|
230 |
+
if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
|
231 |
+
echo $this->layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
|
232 |
+
} ?>
|
233 |
+
</div>
|
234 |
+
<?php } else{
|
235 |
+
?>
|
236 |
+
<div class="tracking-detail tracking-layout-2 col">
|
237 |
+
<?php if($total_trackings > 1 ){ ?>
|
238 |
+
<p class="shipment_heading"><?php echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
|
239 |
+
<?php }
|
240 |
+
echo $tracking_header = $this->tracking_page_header($order_id,$tracking_provider,$tracker);
|
241 |
+
echo $layout2_progress_bar = $this->layout2_progress_bar($tracker);
|
242 |
+
|
243 |
+
if($hide_tracking_events != 1){
|
244 |
+
echo $this->layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
|
245 |
+
} ?>
|
246 |
+
|
247 |
+
</div>
|
248 |
+
<?php } } else{ ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
<div class="tracking-detail col">
|
250 |
<h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking # '.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
|
251 |
<h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
|
271 |
|
272 |
global $wpdb;
|
273 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
274 |
+
$primary_color = get_option('wc_ast_select_primary_color');
|
275 |
+
$success_color = get_option('wc_ast_select_success_color');
|
276 |
+
$warning_color = get_option('wc_ast_select_warning_color');
|
277 |
+
$border_color = get_option('wc_ast_select_border_color');
|
278 |
+
$hide_tracking_events = get_option('wc_ast_hide_tracking_events');
|
279 |
+
$hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
|
280 |
+
$tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
|
281 |
+
?>
|
282 |
+
<style>
|
283 |
+
<?php if($primary_color){ ?>
|
284 |
+
.tracker-progress-bar-with-dots .secondary .dot {
|
285 |
+
border-color: <?php echo $primary_color; ?>;
|
286 |
+
}
|
287 |
+
.text-secondary{
|
288 |
+
color: <?php echo $primary_color; ?> !important;
|
289 |
+
}
|
290 |
+
.progress-bar.bg-secondary:before{
|
291 |
+
background-color: <?php echo $primary_color; ?>;
|
292 |
+
}
|
293 |
+
.tracking-number{
|
294 |
+
color: <?php echo $primary_color; ?> !important;
|
295 |
+
}
|
296 |
+
.tracking-detail.tracking-layout-2{
|
297 |
+
color: <?php echo $primary_color; ?>;
|
298 |
+
}
|
299 |
+
.tracking-detail .tracking-details{
|
300 |
+
color: <?php echo $primary_color; ?>;
|
301 |
+
}
|
302 |
+
<?php } ?>
|
303 |
+
<?php if($border_color){ ?>
|
304 |
+
.col.tracking-detail{
|
305 |
+
border: 1px solid <?php echo $border_color; ?>;
|
306 |
+
}
|
307 |
+
<?php } ?>
|
308 |
+
</style>
|
309 |
+
<?php
|
310 |
if(!$wc_ast_api_key){
|
311 |
return;
|
312 |
}
|
313 |
|
314 |
+
$order_id = $_POST['order_id'];
|
|
|
315 |
$email = $_POST['order_email'];
|
316 |
|
317 |
$wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
|
318 |
$order_id = $wast->get_formated_order_id($order_id);
|
319 |
|
320 |
+
$order = wc_get_order( $order_id );
|
321 |
+
|
322 |
+
if(empty($order)){
|
323 |
echo '';
|
324 |
exit;
|
325 |
}
|
326 |
+
|
|
|
327 |
$order_email = $order->get_billing_email();
|
328 |
|
329 |
+
if(strtolower($order_email) != strtolower($email)){
|
330 |
echo '';
|
331 |
exit;
|
332 |
}
|
333 |
|
334 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
335 |
+
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
336 |
+
} else {
|
337 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
|
|
|
|
|
|
338 |
}
|
339 |
|
340 |
if(!$tracking_items){
|
352 |
$tracking_provider = $item['tracking_provider'];
|
353 |
$results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
|
354 |
$tracking_provider = $results->provider_name;
|
355 |
+
|
356 |
/*** Update in 2.4.1
|
357 |
* Change URL
|
358 |
* Add User Key
|
364 |
'domain' => get_home_url(),
|
365 |
'user_key' => $wc_ast_api_key,
|
366 |
);
|
|
|
367 |
$response = wp_remote_post( $url, $args );
|
|
|
368 |
$data = $response['body'];
|
369 |
$decoded_data = json_decode($data);
|
|
|
|
|
370 |
|
371 |
+
$tracker = new \stdClass();
|
372 |
+
$tracker->ep_status = '';
|
373 |
+
if(!empty($decoded_data)){
|
374 |
+
$tracker = $decoded_data[0];
|
375 |
+
}
|
376 |
|
377 |
$tracking_detail_org = '';
|
378 |
$trackind_detail_by_status_rev = '';
|
379 |
|
380 |
+
if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
|
381 |
+
$tracking_detail_org = json_decode($tracker->tracking_detail);
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
$trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
|
383 |
+
}
|
384 |
+
$tracking_details_by_date = array();
|
385 |
+
foreach((array)$trackind_detail_by_status_rev as $key => $details){
|
386 |
+
if(isset($details->datetime)){
|
387 |
+
$date = date('Y-m-d', strtotime($details->datetime));
|
388 |
+
$tracking_details_by_date[$date][] = $details;
|
389 |
+
}
|
390 |
+
}
|
391 |
+
|
392 |
+
if(!empty($decoded_data)){
|
393 |
+
if($tracking_page_layout == 't_layout_1'){ ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
|
395 |
<div class="tracking-detail col">
|
396 |
<?php if($total_trackings > 1 ){ ?>
|
397 |
<p class="shipment_heading"><?php
|
398 |
echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
|
399 |
+
<?php }
|
400 |
+
echo $this->tracking_page_header($order_id,$tracking_provider,$tracker);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
|
402 |
+
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'){
|
403 |
+
} elseif(isset($tracker->ep_status)){
|
404 |
+
echo $this->layout1_progress_bar($tracker);
|
405 |
+
}
|
406 |
|
407 |
+
if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
|
408 |
+
echo $this->layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
|
409 |
+
} ?>
|
410 |
+
</div>
|
411 |
+
<?php } else{ ?>
|
412 |
+
<div class="tracking-detail tracking-layout-2 col">
|
413 |
+
<?php
|
414 |
+
if($total_trackings > 1 ){ ?>
|
415 |
+
<p class="shipment_heading"><?php echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
|
416 |
+
<?php }
|
417 |
+
echo $tracking_header = $this->tracking_page_header($order_id,$tracking_provider,$tracker);
|
418 |
+
echo $layout2_progress_bar = $this->layout2_progress_bar($tracker);
|
419 |
+
|
420 |
+
if($hide_tracking_events != 1){
|
421 |
+
echo $this->layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
|
422 |
+
} ?>
|
423 |
+
|
424 |
+
</div>
|
425 |
+
<?php } } else{ ?>
|
426 |
+
<div class="tracking-detail col">
|
427 |
+
<h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking # '.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
|
428 |
+
<h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
|
429 |
+
</div>
|
430 |
+
<?php }
|
431 |
+
$num++;
|
432 |
+
}
|
433 |
+
|
434 |
+
$remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
|
435 |
+
|
436 |
+
if($remove_trackship_branding != 1){ ?>
|
437 |
+
|
438 |
+
<div class="trackship_branding">
|
439 |
+
<p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
|
440 |
+
</div>
|
441 |
+
|
442 |
+
<?php }
|
443 |
+
|
444 |
+
exit;
|
445 |
+
}
|
446 |
+
|
447 |
+
public function tracking_page_header($order_id,$tracking_provider,$tracker){
|
448 |
+
if($tracker->est_delivery_date){
|
449 |
+
$unixTimestamp = strtotime($tracker->est_delivery_date);
|
450 |
+
$day = date("l", $unixTimestamp);
|
451 |
+
}
|
452 |
+
$hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
|
453 |
+
?>
|
454 |
+
<div class="tracking-header tracking-desktop-header">
|
455 |
+
<div class="col-md col-md-6">
|
456 |
+
<span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></strong></span><br>
|
457 |
+
<span class="tracking-number"><?php echo $tracking_provider; ?>: <strong><?php echo $tracker->tracking_code; ?></strong></span>
|
458 |
+
<h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered" || $tracker->ep_status == "available_for_pickup") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-warning'; } else{ echo 'text-secondary'; } ?>">
|
459 |
+
<?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?>
|
460 |
+
</h1>
|
461 |
+
<span class="tracking-number">
|
462 |
+
<?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>
|
463 |
+
<?php
|
464 |
+
if($tracker->est_delivery_date){
|
465 |
+
echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date));
|
466 |
+
} else{
|
467 |
+
echo 'N/A';
|
468 |
+
} ?></strong>
|
469 |
+
</span>
|
470 |
+
</div>
|
471 |
+
<div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
|
472 |
+
<div class="text-right">
|
473 |
+
<img class="provider_image" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($tracking_provider); ?>.png">
|
474 |
+
</div>
|
475 |
+
</div>
|
476 |
+
</div>
|
477 |
+
<div class="tracking-header tracking-mobile-header">
|
478 |
+
<div class="d-flex align-items-center header_top1">
|
479 |
+
<div class="header_top_left">
|
480 |
+
<img class="provider_image" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($tracking_provider); ?>.png">
|
481 |
+
</div>
|
482 |
+
<div class="header_top_right">
|
483 |
+
<span class="tracking-number"><?php echo $tracking_provider; ?>: <strong><?php echo $tracker->tracking_code; ?></strong></span><br>
|
484 |
+
<span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></strong></span>
|
485 |
+
</div>
|
486 |
+
</div>
|
487 |
+
<div class="col-md col-md-6 header_top2">
|
488 |
+
<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-warning'; } else{ echo 'text-secondary'; } ?>">
|
489 |
+
<?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?>
|
490 |
+
</h1>
|
491 |
+
<span class="tracking-number">
|
492 |
+
<?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>
|
493 |
+
<?php
|
494 |
+
if($tracker->est_delivery_date){
|
495 |
+
echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date));
|
496 |
+
} else{
|
497 |
+
echo 'N/A';
|
498 |
+
} ?></strong>
|
499 |
+
</span>
|
500 |
+
</div>
|
501 |
+
</div>
|
502 |
+
<?php }
|
503 |
+
|
504 |
+
public function layout1_progress_bar($tracker){
|
505 |
+
if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
|
506 |
+
|
507 |
+
if($tracker->ep_status == "return_to_sender" ){
|
508 |
+
$state2_class = 'return_to_sender';
|
509 |
+
} elseif($tracker->ep_status == "failure"){
|
510 |
+
$state2_class = 'failure';
|
511 |
+
} elseif($tracker->ep_status == "available_for_pickup"){
|
512 |
+
$state2_class = 'available_for_pickup';
|
513 |
+
} else{
|
514 |
+
$state2_class = 'out_for_delivery';
|
515 |
+
}
|
516 |
+
?>
|
517 |
+
<div class="status-section desktop-section">
|
518 |
+
<div class="tracker-progress-bar tracker-progress-bar-with-dots">
|
519 |
+
<div class="progress">
|
520 |
+
<div class="progress-bar <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-success';} ?>" style="<?php if($tracker->ep_status == "in_transit") { echo 'width:33%;'; } elseif($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'width:67%';} elseif($tracker->ep_status == "delivered") { echo 'width:100%'; } ?>"></div>
|
521 |
+
</div>
|
522 |
+
<div class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
|
523 |
+
<span class="dot state-0 <?php echo $state0_class; echo ' '; if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
|
524 |
+
|
525 |
+
<span class="dot state-1 <?php echo 'in_transit'; echo ' '; if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
|
526 |
+
|
527 |
+
<span class="dot state-2 <?php echo $state2_class; echo ' '; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
|
528 |
+
|
529 |
+
<span class="dot state-3 <?php echo 'delivered'; echo ' '; if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; } ?>"></span>
|
530 |
+
|
531 |
+
</div>
|
532 |
+
</div>
|
533 |
+
</div>
|
534 |
+
<div class="status-section mobile-section">
|
535 |
+
<div class="tracker-progress-bar tracker-progress-bar-with-dots">
|
536 |
+
<div class="progress <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-secondary';} ?>" style="<?php if($tracker->ep_status == "in_transit") { echo 'height:33%;'; } elseif($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'height:67%';} elseif($tracker->ep_status == "delivered") { echo 'height:100%'; } ?>">
|
537 |
+
<div class="progress-bar" style=""></div>
|
538 |
+
</div>
|
539 |
+
<div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
|
540 |
+
<div class="dot-div">
|
541 |
<span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
|
542 |
<span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
|
543 |
<?php
|
548 |
}
|
549 |
?>
|
550 |
</span>
|
551 |
+
</div>
|
552 |
+
|
553 |
+
<div class="dot-div">
|
554 |
<span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
|
555 |
<span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
|
556 |
+
<?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
|
557 |
</span>
|
558 |
+
</div>
|
559 |
+
|
560 |
+
<div class="dot-div">
|
561 |
<span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
|
562 |
+
<span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo ' past-state'; } ?>">
|
563 |
+
<?php
|
564 |
+
if($tracker->ep_status == "return_to_sender"){
|
565 |
+
echo apply_filters("trackship_status_filter",'return_to_sender');
|
566 |
+
} elseif($tracker->ep_status == "failure"){
|
567 |
+
echo apply_filters("trackship_status_filter",'failure');
|
568 |
+
} else{
|
569 |
+
echo apply_filters("trackship_status_filter",'out_for_delivery');
|
570 |
+
}
|
571 |
+
?>
|
572 |
</span>
|
573 |
+
</div>
|
574 |
+
|
575 |
+
<div class="dot-div">
|
576 |
<span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
|
577 |
<span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
|
578 |
<?php echo apply_filters("trackship_status_filter",'delivered'); ?>
|
579 |
</span>
|
580 |
+
</div>
|
581 |
+
</div>
|
582 |
+
</div>
|
583 |
+
</div>
|
584 |
+
<?php }
|
585 |
+
|
586 |
+
public function layout2_progress_bar($tracker){
|
587 |
+
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' || $tracker->ep_status == 'unknown' || $tracker->ep_status == 'pre_transit'){
|
588 |
+
$width = '0';
|
589 |
+
$progress_bar_class = 'bg-secondary';
|
590 |
+
} else if($tracker->ep_status == 'in_transit'){
|
591 |
+
$width = '33%';
|
592 |
+
$progress_bar_class = 'bg-secondary';
|
593 |
+
} else if($tracker->ep_status == 'out_for_delivery'){
|
594 |
+
$width = '67%';
|
595 |
+
$progress_bar_class = 'bg-secondary';
|
596 |
+
} else if($tracker->ep_status == 'available_for_pickup'){
|
597 |
+
$width = '67%';
|
598 |
+
$progress_bar_class = 'bg-success';
|
599 |
+
} else if($tracker->ep_status == 'return_to_sender'){
|
600 |
+
$width = '67%';
|
601 |
+
$progress_bar_class = 'bg-warning';
|
602 |
+
} else if($tracker->ep_status == 'delivered'){
|
603 |
+
$width = '100%';
|
604 |
+
$progress_bar_class = 'bg-success';
|
605 |
+
}
|
606 |
+
?>
|
607 |
+
<div class="tracker-progress-bar tracker-progress-bar-flat">
|
608 |
+
<div class="progress">
|
609 |
+
<div class="progress-bar <?php echo $progress_bar_class; ?>" style="width: <?php echo $width; ?>;"></div>
|
610 |
+
</div>
|
611 |
+
</div>
|
612 |
+
<?php }
|
613 |
+
|
614 |
+
public function layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date){
|
615 |
+
?>
|
616 |
+
<div class="tracking-details" style="">
|
617 |
+
<div class="shipment_progress_heading_div">
|
618 |
+
<h4 class="tracking-number h4-heading text-uppercase"><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
|
619 |
+
</div>
|
620 |
+
<?php if(!empty($tracking_details_by_date)){ ?>
|
621 |
+
<div class="tracking_details_desktop">
|
622 |
+
<div class="tracking_group_by_date">
|
623 |
+
<?php
|
624 |
+
$a = 1;
|
625 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
626 |
+
if($a > 1)break;
|
627 |
+
foreach($date_details as $key => $value){
|
628 |
+
?>
|
629 |
+
<div class="d-flex mb-3">
|
630 |
+
<div class="d-md-flex w-100">
|
631 |
+
<div class="date text-uppercase font-weight-demi-bold"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
|
632 |
+
<div class="time mr-md-2"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
633 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
634 |
+
<div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
|
635 |
+
</div>
|
636 |
+
</div>
|
637 |
+
<?php } $a++; } ?>
|
638 |
+
</div>
|
639 |
+
<div class="old-details" style="">
|
640 |
+
<?php
|
641 |
+
$a = 1;
|
642 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
643 |
+
if($a == 1){
|
644 |
+
$a++;
|
645 |
+
continue;
|
646 |
+
} ?>
|
647 |
+
<div class="tracking_group_by_date">
|
648 |
+
<?php foreach($date_details as $key => $value){ ?>
|
649 |
+
<div class="d-flex mb-3">
|
650 |
+
<div class="d-md-flex w-100">
|
651 |
+
<div class="date text-uppercase font-weight-demi-bold"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
|
652 |
+
<div class="time mr-md-2"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
653 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
654 |
+
<div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
|
655 |
+
</div>
|
656 |
+
</div>
|
657 |
+
<?php } ?>
|
658 |
</div>
|
659 |
+
<?php } ?>
|
660 |
</div>
|
661 |
+
</div>
|
662 |
+
<div class="tracking_details_mobile">
|
663 |
+
<?php
|
664 |
+
$a = 1;
|
665 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
666 |
+
if($a > 1)break;
|
667 |
+
foreach($date_details as $key => $value){ ?>
|
668 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
669 |
+
<div class="d-md-flex w-100">
|
670 |
+
<div class="time mr-md-2"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
671 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
672 |
+
<div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
|
673 |
+
</div>
|
674 |
+
</div>
|
675 |
+
<?php }
|
676 |
+
$a++;
|
677 |
+
}
|
678 |
+
?>
|
679 |
+
<div class="old-details" style="">
|
680 |
+
<?php
|
681 |
+
$a = 1;
|
682 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
683 |
+
if($a == 1){
|
684 |
+
$a++;
|
685 |
+
continue;
|
686 |
+
}
|
687 |
+
foreach($date_details as $key => $value){
|
688 |
+
?>
|
689 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
690 |
+
<div class="d-md-flex w-100">
|
691 |
+
<div class="time mr-md-2"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
692 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
693 |
+
<div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
|
694 |
+
</div>
|
695 |
+
</div>
|
696 |
+
<?php } } ?>
|
697 |
+
</div>
|
698 |
+
</div>
|
699 |
+
<a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
|
700 |
+
<a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
|
701 |
+
<?php } ?>
|
702 |
+
</div>
|
703 |
+
<?php }
|
704 |
+
|
705 |
+
public function layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date){ ?>
|
706 |
+
<div class="tracking-details">
|
707 |
+
<div class="shipment_progress_heading_div">
|
708 |
+
<h4 class="tracking-number h4-heading text-uppercase" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
|
709 |
+
</div>
|
710 |
+
<div class="tracking_details_desktop">
|
711 |
+
<?php
|
712 |
+
$a = 1;
|
713 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
714 |
+
if($a > 1)break;
|
715 |
+
?>
|
716 |
+
<div class="tracking_group_by_date">
|
717 |
+
<div class="date text-uppercase font-weight-bold mb-3"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
|
718 |
+
<?php foreach($date_details as $key => $value){ ?>
|
719 |
+
<div class="d-flex mb-3">
|
720 |
+
<div class="d-md-flex w-100">
|
721 |
+
<div class="time mr-md-2"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
722 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
723 |
+
<div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
|
724 |
+
</div>
|
725 |
</div>
|
726 |
+
<?php } ?>
|
727 |
</div>
|
728 |
+
<?php $a++; } ?>
|
729 |
+
<div class="old-details" style="">
|
730 |
+
<?php
|
731 |
+
$a = 1;
|
732 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
733 |
+
if($a == 1){
|
734 |
+
$a++;
|
735 |
+
continue;
|
736 |
+
} ?>
|
737 |
+
<div class="tracking_group_by_date">
|
738 |
+
<div class="date text-uppercase font-weight-bold mb-3"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
|
739 |
+
<?php foreach($date_details as $key => $value){ ?>
|
740 |
+
<div class="d-flex mb-3">
|
741 |
+
<div class="d-md-flex w-100">
|
742 |
+
<div class="time text-gray-300 mr-md-2 text-success"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
743 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
744 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
|
745 |
+
</div>
|
746 |
+
</div>
|
747 |
+
<?php } ?>
|
748 |
</div>
|
749 |
+
<?php } ?>
|
750 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
751 |
</div>
|
752 |
+
<div class="tracking_details_mobile">
|
753 |
+
<?php
|
754 |
+
$a = 1;
|
755 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
756 |
+
if($a > 1)break;
|
757 |
+
foreach($date_details as $key => $value){ ?>
|
758 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
759 |
+
<div class="d-md-flex w-100">
|
760 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
761 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
762 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
|
763 |
+
</div>
|
764 |
+
</div>
|
765 |
+
<?php }
|
766 |
+
$a++;
|
767 |
+
}
|
768 |
+
?>
|
769 |
+
<div class="old-details" style="">
|
770 |
+
<?php
|
771 |
+
$a = 1;
|
772 |
+
foreach($tracking_details_by_date as $date => $date_details){
|
773 |
+
if($a == 1){
|
774 |
+
$a++;
|
775 |
+
continue;
|
776 |
+
}
|
777 |
+
foreach($date_details as $key => $value){
|
778 |
+
?>
|
779 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
780 |
+
<div class="d-md-flex w-100">
|
781 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
|
782 |
+
<div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
|
783 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
|
784 |
+
</div>
|
785 |
+
</div>
|
786 |
+
<?php } } ?>
|
787 |
+
</div>
|
788 |
</div>
|
789 |
+
<a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
|
790 |
+
<a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
|
791 |
+
</div>
|
792 |
+
<?php }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
793 |
|
794 |
/**
|
795 |
* convert string to date
|
807 |
}
|
808 |
|
809 |
public static function preview_tracking_page(){
|
810 |
+
$action = (isset($_REQUEST["action"])?$_REQUEST["action"]:"");
|
811 |
+
if($action != 'preview_tracking_page')return;
|
812 |
+
wp_head();
|
|
|
813 |
|
814 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
815 |
$primary_color = get_option('wc_ast_select_primary_color');
|
816 |
$border_color = get_option('wc_ast_select_border_color');
|
817 |
+
$hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
|
818 |
+
$hide_tracking_events = get_option('wc_ast_hide_tracking_events');
|
819 |
+
$tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
|
820 |
?>
|
821 |
|
822 |
<style>
|
823 |
+
html{
|
824 |
+
background-color:#fff;
|
825 |
+
}
|
826 |
<?php if($primary_color){ ?>
|
827 |
.bg-secondary{
|
828 |
+
background-color:<?php echo $primary_color; ?>;
|
829 |
}
|
830 |
.tracker-progress-bar-with-dots .secondary .dot {
|
831 |
border-color: <?php echo $primary_color; ?>;
|
832 |
}
|
833 |
.text-secondary{
|
834 |
+
color: <?php echo $primary_color; ?>;
|
835 |
}
|
836 |
.progress-bar.bg-secondary:before{
|
837 |
background-color: <?php echo $primary_color; ?>;
|
838 |
}
|
839 |
.tracking-number{
|
840 |
+
color: <?php echo $primary_color; ?>;
|
841 |
}
|
842 |
+
.tracking-detail .tracking-number{
|
843 |
+
color: <?php echo $primary_color; ?>;
|
844 |
+
}
|
845 |
+
.tracking-detail.tracking-layout-2{
|
846 |
+
color: <?php echo $primary_color; ?>;
|
847 |
}
|
848 |
<?php }
|
849 |
if($border_color){ ?>
|
853 |
<?php } ?>
|
854 |
</style>
|
855 |
|
856 |
+
<div class="tracking-detail tracking-layout-1 col" style="<?php if($tracking_page_layout != 't_layout_1'){ echo 'display:none;'; } ?>">
|
857 |
+
<div class="tracking-header tracking-desktop-header">
|
858 |
+
<div class="col-md col-md-6">
|
859 |
+
<span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span><br>
|
860 |
+
<span class="tracking-number">UPS: <strong>6A17149676461</strong></span>
|
861 |
+
<h1 class="shipment_status_heading text-success">Out For Delivery</h1>
|
862 |
+
<span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
|
863 |
</div>
|
864 |
+
<div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
|
865 |
+
<div class="text-right">
|
866 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png">
|
867 |
</div>
|
868 |
</div>
|
869 |
</div>
|
870 |
+
<div class="tracking-header tracking-mobile-header">
|
871 |
+
<div class="d-flex align-items-center header_top1">
|
872 |
+
<div class="header_top_left"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png"></div>
|
873 |
+
<div class="header_top_right">
|
874 |
+
<span class="tracking-number">UPS: <strong>6A17149676461</strong></span><br>
|
875 |
+
<span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span>
|
876 |
+
</div>
|
877 |
+
</div>
|
878 |
+
<div class="col-md col-md-6 header_top2">
|
879 |
+
<h1 class="shipment_status_heading text-success">Out For Delivery</h1>
|
880 |
+
<span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
|
881 |
+
</div>
|
882 |
+
</div>
|
883 |
<div class="status-section desktop-section">
|
884 |
<div class="tracker-progress-bar tracker-progress-bar-with-dots">
|
885 |
<div class="progress">
|
886 |
+
<div class="progress-bar bg-success bg-success" style="width:67%"></div>
|
887 |
</div>
|
888 |
<div style="background-color: transparent;" class="success">
|
889 |
+
<span class="dot state-0 pre_transit past-state"></span>
|
890 |
+
|
|
|
|
|
891 |
<span class="dot state-1 in_transit past-state"></span>
|
892 |
+
|
893 |
+
<span class="dot state-2 out_for_delivery current-state"></span>
|
894 |
+
|
895 |
+
<span class="dot state-3 delivered future-state"></span>
|
896 |
+
|
|
|
|
|
|
|
|
|
|
|
897 |
</div>
|
898 |
</div>
|
899 |
</div>
|
900 |
<div class="status-section mobile-section">
|
901 |
<div class="tracker-progress-bar tracker-progress-bar-with-dots">
|
902 |
+
<div class="progress bg-success" style="height: 62%;">
|
903 |
+
<div class="progress-bar" style=""></div>
|
904 |
</div>
|
905 |
<div style="background-color: transparent;" class="success">
|
906 |
<div class="dot-div">
|
907 |
+
<span class="dot state-0 pre_transit past-state"></span>
|
908 |
+
<span class="state-label past-state">Pre Transit</span>
|
|
|
|
|
909 |
</div>
|
910 |
<div class="dot-div">
|
911 |
+
<span class="dot state-1 in_transit past-state"></span>
|
912 |
+
<span class="state-label state-1 past-state">In Transit</span>
|
|
|
|
|
913 |
</div>
|
914 |
<div class="dot-div">
|
915 |
+
<span class="dot state-2 out_for_delivery current-state"></span>
|
916 |
+
<span class="state-label state-2 past-state">Out for delivery</span>
|
|
|
|
|
917 |
</div>
|
918 |
<div class="dot-div">
|
919 |
+
<span class="dot state-3 delivered future-state"></span>
|
920 |
+
<span class="state-label state-3 current-state">Delivered</span>
|
|
|
921 |
</div>
|
922 |
</div>
|
923 |
</div>
|
924 |
+
</div>
|
|
|
|
|
925 |
|
926 |
+
<div class="tracking-details" style="<?php if($hide_tracking_events == 1){ echo 'display:none'; } ?>">
|
927 |
+
<div class="shipment_progress_heading_div">
|
928 |
+
<h4 class="tracking-number h4-heading text-uppercase" style="">Tracking Details</h4>
|
929 |
</div>
|
930 |
+
<div class="tracking_details_desktop">
|
931 |
+
<div class="tracking_group_by_date">
|
932 |
+
<div class="d-flex mb-3">
|
933 |
+
<div class="d-md-flex w-100">
|
934 |
+
<div class="date text-uppercase font-weight-demi-bold">December 23, 2019</div>
|
935 |
+
<div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
|
936 |
+
<div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
|
937 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
938 |
+
</div>
|
939 |
+
</div>
|
940 |
+
<div class="d-flex mb-3">
|
941 |
+
<div class="d-md-flex w-100">
|
942 |
+
<div class="date text-uppercase font-weight-demi-bold">December 23, 2019</div>
|
943 |
+
<div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
|
944 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
945 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
946 |
+
</div>
|
947 |
+
</div>
|
948 |
+
</div>
|
949 |
+
<div class="old-details" style="">
|
950 |
+
<div class="tracking_group_by_date">
|
951 |
+
<div class="d-flex mb-3">
|
952 |
+
<div class="d-md-flex w-100">
|
953 |
+
<div class="date text-uppercase font-weight-demi-bold">December 22, 2019</div>
|
954 |
+
<div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
|
955 |
+
<div class="message font-weight-demi-bold mr-md-3">In Transit</div>
|
956 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
957 |
+
</div>
|
958 |
+
</div>
|
959 |
+
<div class="d-flex mb-3">
|
960 |
+
<div class="d-md-flex w-100">
|
961 |
+
<div class="date text-uppercase font-weight-demi-bold">December 22, 2019</div>
|
962 |
+
<div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
|
963 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
964 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
965 |
+
</div>
|
966 |
+
</div>
|
967 |
+
</div>
|
968 |
+
</div>
|
969 |
+
</div>
|
970 |
+
<div class="tracking_details_mobile">
|
971 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
972 |
+
<div class="d-md-flex w-100">
|
973 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 11:52am</div>
|
974 |
+
<div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
|
975 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
976 |
+
</div>
|
977 |
+
</div>
|
978 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
979 |
+
<div class="d-md-flex w-100">
|
980 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 08:55am</div>
|
981 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
982 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
983 |
+
</div>
|
984 |
+
</div>
|
985 |
+
<div class="old-details" style="">
|
986 |
+
<div class="tracking_group_by_date">
|
987 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
988 |
+
<div class="d-md-flex w-100">
|
989 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 11:52am</div>
|
990 |
+
<div class="message font-weight-demi-bold mr-md-3">In Transit</div>
|
991 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
992 |
+
</div>
|
993 |
+
</div>
|
994 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
995 |
+
<div class="d-md-flex w-100">
|
996 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 08:55am</div>
|
997 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
998 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
999 |
+
</div>
|
1000 |
+
</div>
|
1001 |
+
</div>
|
1002 |
+
</div>
|
1003 |
+
</div>
|
1004 |
+
<a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
|
1005 |
+
<a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
|
1006 |
+
</div>
|
1007 |
</div>
|
|
|
|
|
|
|
1008 |
|
1009 |
+
<div class="tracking-detail tracking-layout-2 col" style="<?php if($tracking_page_layout != 't_layout_2'){ echo 'display:none;'; } ?>">
|
1010 |
+
<div class="tracking-header tracking-desktop-header">
|
1011 |
+
<div class="col-md col-md-6">
|
1012 |
+
<span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span><br>
|
1013 |
+
<span class="tracking-number">UPS: <strong>6A17149676461</strong></span>
|
1014 |
+
<h1 class="shipment_status_heading text-success">Out For Delivery</h1>
|
1015 |
+
<span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
|
1016 |
+
</div>
|
1017 |
+
<div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
|
1018 |
+
<div class="text-right">
|
1019 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png">
|
1020 |
+
</div>
|
1021 |
+
</div>
|
1022 |
+
</div>
|
1023 |
+
<div class="tracking-header tracking-mobile-header">
|
1024 |
+
<div class="d-flex align-items-center header_top1">
|
1025 |
+
<div class="header_top_left"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png"></div>
|
1026 |
+
<div class="header_top_right">
|
1027 |
+
<span class="tracking-number">UPS: <strong>6A17149676461</strong></span><br>
|
1028 |
+
<span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span>
|
1029 |
+
</div>
|
1030 |
+
</div>
|
1031 |
+
<div class="col-md col-md-6 header_top2">
|
1032 |
+
<h1 class="shipment_status_heading text-success">Out For Delivery</h1>
|
1033 |
+
<span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
|
1034 |
+
</div>
|
1035 |
</div>
|
1036 |
+
|
1037 |
+
<div class="tracker-progress-bar tracker-progress-bar-flat">
|
1038 |
+
<div class="progress">
|
1039 |
+
<div class="progress-bar bg-success" style="width: 67%;"></div>
|
1040 |
+
</div>
|
1041 |
+
</div>
|
1042 |
+
<div class="tracking-details" style="<?php if($hide_tracking_events == 1){ echo 'display:none'; } ?>">
|
1043 |
+
<div class="shipment_progress_heading_div">
|
1044 |
+
<h4 class="tracking-number h4-heading text-uppercase" style="">Tracking Details</h4>
|
1045 |
+
</div>
|
1046 |
+
<div class="tracking_details_desktop">
|
1047 |
+
<div class="tracking_group_by_date">
|
1048 |
+
<div class="date text-uppercase font-weight-bold mb-3">December 23, 2019</div>
|
1049 |
+
<div class="d-flex mb-3">
|
1050 |
+
<div class="d-md-flex w-100">
|
1051 |
+
<div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
|
1052 |
+
<div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
|
1053 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1054 |
+
</div>
|
1055 |
+
</div>
|
1056 |
+
<div class="d-flex mb-3">
|
1057 |
+
<div class="d-md-flex w-100">
|
1058 |
+
<div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
|
1059 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
1060 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1061 |
+
</div>
|
1062 |
+
</div>
|
1063 |
+
</div>
|
1064 |
+
<div class="old-details" style="">
|
1065 |
+
<div class="tracking_group_by_date">
|
1066 |
+
<div class="date text-uppercase font-weight-bold mb-3">December 22, 2019</div>
|
1067 |
+
<div class="d-flex mb-3">
|
1068 |
+
<div class="d-md-flex w-100">
|
1069 |
+
<div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
|
1070 |
+
<div class="message font-weight-demi-bold mr-md-3">In Transit</div>
|
1071 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1072 |
+
</div>
|
1073 |
+
</div>
|
1074 |
+
<div class="d-flex mb-3">
|
1075 |
+
<div class="d-md-flex w-100">
|
1076 |
+
<div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
|
1077 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
1078 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1079 |
+
</div>
|
1080 |
+
</div>
|
1081 |
+
</div>
|
1082 |
+
</div>
|
1083 |
+
</div>
|
1084 |
+
<div class="tracking_details_mobile">
|
1085 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
1086 |
+
<div class="d-md-flex w-100">
|
1087 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 11:52am</div>
|
1088 |
+
<div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
|
1089 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1090 |
+
</div>
|
1091 |
+
</div>
|
1092 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
1093 |
+
<div class="d-md-flex w-100">
|
1094 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 08:55am</div>
|
1095 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
1096 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1097 |
+
</div>
|
1098 |
+
</div>
|
1099 |
+
<div class="old-details" style="">
|
1100 |
+
<div class="tracking_group_by_date">
|
1101 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
1102 |
+
<div class="d-md-flex w-100">
|
1103 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 11:52am</div>
|
1104 |
+
<div class="message font-weight-demi-bold mr-md-3">In Transit</div>
|
1105 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1106 |
+
</div>
|
1107 |
+
</div>
|
1108 |
+
<div class="d-flex mb-3 tracking_details_mobile_row">
|
1109 |
+
<div class="d-md-flex w-100">
|
1110 |
+
<div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 08:55am</div>
|
1111 |
+
<div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
|
1112 |
+
<div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
|
1113 |
+
</div>
|
1114 |
+
</div>
|
1115 |
+
</div>
|
1116 |
+
</div>
|
1117 |
+
</div>
|
1118 |
+
<a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
|
1119 |
+
<a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
|
1120 |
+
</div>
|
1121 |
+
</div>
|
1122 |
+
<?php
|
1123 |
+
$remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
|
1124 |
+
?>
|
1125 |
+
<div class="trackship_branding" style="<?php if($remove_trackship_branding == 1){ echo 'display:none'; }?>">
|
1126 |
+
<p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
|
1127 |
+
</div>
|
1128 |
+
<?php
|
1129 |
+
//wp_footer();
|
1130 |
exit;
|
1131 |
}
|
1132 |
}
|
includes/class-wc-advanced-shipment-tracking-install.php
CHANGED
@@ -54,11 +54,19 @@ class WC_Advanced_Shipment_Tracking_Install {
|
|
54 |
* init from parent mail class
|
55 |
*/
|
56 |
public function init(){
|
57 |
-
add_action( 'init', array( $this, 'update_database_check'));
|
|
|
58 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
if(!$wc_ast_api_key){
|
60 |
-
|
61 |
-
//add_action( 'admin_init', array( 'PAnD', 'init' ) );
|
62 |
//add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
|
63 |
}
|
64 |
}
|
@@ -76,29 +84,10 @@ class WC_Advanced_Shipment_Tracking_Install {
|
|
76 |
|
77 |
global $wpdb;
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
$charset_collate = $wpdb->get_charset_collate();
|
84 |
-
|
85 |
-
$sql = "CREATE TABLE $woo_shippment_status_email_table (
|
86 |
-
id int(11) NOT NULL AUTO_INCREMENT,
|
87 |
-
enable int(11) NOT NULL DEFAULT '1',
|
88 |
-
email_trigger text NOT NULL,
|
89 |
-
email_label text NOT NULL,
|
90 |
-
email_to text NOT NULL,
|
91 |
-
shippment_status text NOT NULL,
|
92 |
-
order_status text NOT NULL,
|
93 |
-
email_subject text NOT NULL,
|
94 |
-
email_heading text NOT NULL,
|
95 |
-
email_content text NOT NULL,
|
96 |
-
PRIMARY KEY (id)
|
97 |
-
) $charset_collate;";
|
98 |
-
//echo $sql;exit;
|
99 |
-
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
100 |
-
dbDelta( $sql );
|
101 |
-
}
|
102 |
if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
|
103 |
{
|
104 |
$charset_collate = $wpdb->get_charset_collate();
|
@@ -107,15 +96,14 @@ class WC_Advanced_Shipment_Tracking_Install {
|
|
107 |
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
108 |
provider_name varchar(500) DEFAULT '' NOT NULL,
|
109 |
ts_slug text NULL DEFAULT NULL,
|
110 |
-
provider_url varchar(500) DEFAULT ''
|
111 |
-
shipping_country varchar(45)
|
112 |
-
shipping_default tinyint(4)
|
113 |
custom_thumb_id int(11) NOT NULL DEFAULT '0',
|
114 |
display_in_order tinyint(4) NOT NULL DEFAULT '1',
|
115 |
sort_order int(11) NOT NULL DEFAULT '0',
|
116 |
PRIMARY KEY (id)
|
117 |
-
) $charset_collate;";
|
118 |
-
//echo $sql;exit;
|
119 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
120 |
dbDelta( $sql );
|
121 |
|
@@ -1502,6 +1490,71 @@ class WC_Advanced_Shipment_Tracking_Install {
|
|
1502 |
$this->update_shipping_providers();
|
1503 |
update_option( 'wc_advanced_shipment_tracking', '3.3');
|
1504 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1505 |
}
|
1506 |
}
|
1507 |
|
@@ -1512,82 +1565,191 @@ class WC_Advanced_Shipment_Tracking_Install {
|
|
1512 |
global $wpdb;
|
1513 |
$url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
|
1514 |
$resp = wp_remote_get( $url );
|
1515 |
-
$providers = json_decode($resp['body'],true);
|
1516 |
|
1517 |
-
$
|
1518 |
-
|
1519 |
-
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
|
1520 |
-
|
1521 |
-
foreach ( $default_shippment_providers as $key => $val ){
|
1522 |
-
$shippment_providers[ $val->provider_name ] = $val;
|
1523 |
-
}
|
1524 |
-
|
1525 |
-
foreach ( $providers as $key => $val ){
|
1526 |
-
$providers_name[ $val['provider_name'] ] = $val;
|
1527 |
-
}
|
1528 |
|
1529 |
-
|
1530 |
|
1531 |
-
$
|
1532 |
-
$provider_url = $provider['provider_url'];
|
1533 |
-
$shipping_country = $provider['shipping_country'];
|
1534 |
-
$ts_slug = $provider['shipping_provider_slug'];
|
1535 |
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
$
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
);
|
1546 |
-
$where_array = array(
|
1547 |
-
'provider_name' => $provider_name,
|
1548 |
-
);
|
1549 |
-
$wpdb->update( $this->table, $data_array, $where_array);
|
1550 |
-
}
|
1551 |
-
} else{
|
1552 |
-
$img_url = $provider['img_url'];
|
1553 |
-
$img_slug = sanitize_title($provider_name);
|
1554 |
-
$img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
|
1555 |
-
|
1556 |
-
$ch = curl_init();
|
1557 |
-
|
1558 |
-
curl_setopt($ch, CURLOPT_HEADER, 0);
|
1559 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
1560 |
-
curl_setopt($ch, CURLOPT_URL, $img_url);
|
1561 |
|
1562 |
-
|
1563 |
-
|
|
|
|
|
|
|
|
|
1564 |
|
1565 |
-
|
1566 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1567 |
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
|
|
|
|
1577 |
}
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
}
|
1588 |
-
}
|
1589 |
}
|
1590 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1591 |
/*
|
1592 |
* Display admin notice on plugin install or update
|
1593 |
*/
|
@@ -1694,5 +1856,234 @@ class WC_Advanced_Shipment_Tracking_Install {
|
|
1694 |
</div>
|
1695 |
</div>
|
1696 |
<?php
|
1697 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1698 |
}
|
54 |
* init from parent mail class
|
55 |
*/
|
56 |
public function init(){
|
57 |
+
add_action( 'init', array( $this, 'update_database_check'));
|
58 |
+
add_action( 'wp_ajax_ast_hide_admin_menu_tooltip', array( $this, 'ast_mark_admin_menu_tooltip_hidden') );
|
59 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
60 |
+
|
61 |
+
require_once( 'vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
|
62 |
+
add_action( 'admin_init', array( 'PAnD', 'init' ) );
|
63 |
+
|
64 |
+
if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
|
65 |
+
add_action( 'admin_notices', array( $this, 'admin_notice_for_addon' ) );
|
66 |
+
}
|
67 |
+
|
68 |
if(!$wc_ast_api_key){
|
69 |
+
add_action( 'adminmenu', array( $this, 'admin_notice_menu_tooltip') );
|
|
|
70 |
//add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
|
71 |
}
|
72 |
}
|
84 |
|
85 |
global $wpdb;
|
86 |
|
87 |
+
// Add transient to trigger redirect.
|
88 |
+
set_transient( '_ast_activation_redirect', 1, 30 );
|
89 |
+
|
90 |
+
$woo_shippment_table_name = $this->table;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
|
92 |
{
|
93 |
$charset_collate = $wpdb->get_charset_collate();
|
96 |
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
97 |
provider_name varchar(500) DEFAULT '' NOT NULL,
|
98 |
ts_slug text NULL DEFAULT NULL,
|
99 |
+
provider_url varchar(500) DEFAULT '' NULL,
|
100 |
+
shipping_country varchar(45) DEFAULT '' NULL,
|
101 |
+
shipping_default tinyint(4) NULL DEFAULT '0',
|
102 |
custom_thumb_id int(11) NOT NULL DEFAULT '0',
|
103 |
display_in_order tinyint(4) NOT NULL DEFAULT '1',
|
104 |
sort_order int(11) NOT NULL DEFAULT '0',
|
105 |
PRIMARY KEY (id)
|
106 |
+
) $charset_collate;";
|
|
|
107 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
108 |
dbDelta( $sql );
|
109 |
|
1490 |
$this->update_shipping_providers();
|
1491 |
update_option( 'wc_advanced_shipment_tracking', '3.3');
|
1492 |
}
|
1493 |
+
if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.4', '<') ){
|
1494 |
+
$multi_checkbox_data = get_option('wc_ast_unclude_tracking_info');
|
1495 |
+
$data_array = array('completed' => 1);
|
1496 |
+
if($multi_checkbox_data){
|
1497 |
+
$data_array = array_merge($multi_checkbox_data,$data_array);
|
1498 |
+
}
|
1499 |
+
update_option( 'wc_ast_unclude_tracking_info', $data_array );
|
1500 |
+
update_option( 'wc_advanced_shipment_tracking', '3.4');
|
1501 |
+
}
|
1502 |
+
if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.5', '<') ){
|
1503 |
+
$multi_checkbox_data = get_option('wc_ast_unclude_tracking_info');
|
1504 |
+
$data_array = array('partial-shipped' => 1);
|
1505 |
+
if($multi_checkbox_data){
|
1506 |
+
$data_array = array_merge($multi_checkbox_data,$data_array);
|
1507 |
+
}
|
1508 |
+
update_option( 'wc_ast_unclude_tracking_info', $data_array );
|
1509 |
+
update_option( 'wc_advanced_shipment_tracking', '3.5');
|
1510 |
+
}
|
1511 |
+
if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.6', '<') ){
|
1512 |
+
set_theme_mod('display_shipment_provider_name', 1);
|
1513 |
+
set_theme_mod('select_tracking_template', 'default_table');
|
1514 |
+
set_theme_mod('simple_provider_font_size', '14');
|
1515 |
+
set_theme_mod('simple_provider_font_color', '#575f6d');
|
1516 |
+
set_theme_mod('show_provider_border', 1);
|
1517 |
+
set_theme_mod('provider_border_color', '#e0e0e0');
|
1518 |
+
update_option( 'wc_advanced_shipment_tracking', '3.6');
|
1519 |
+
}
|
1520 |
+
if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.7', '<') ){
|
1521 |
+
global $wpdb;
|
1522 |
+
|
1523 |
+
$woo_shippment_table_name = $this->table;
|
1524 |
+
if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
|
1525 |
+
{
|
1526 |
+
$charset_collate = $wpdb->get_charset_collate();
|
1527 |
+
|
1528 |
+
$sql = "CREATE TABLE $woo_shippment_table_name (
|
1529 |
+
id mediumint(9) NOT NULL AUTO_INCREMENT,
|
1530 |
+
provider_name varchar(500) DEFAULT '' NOT NULL,
|
1531 |
+
ts_slug text NULL DEFAULT NULL,
|
1532 |
+
provider_url varchar(500) DEFAULT '' NULL,
|
1533 |
+
shipping_country varchar(45) DEFAULT '' NULL,
|
1534 |
+
shipping_default tinyint(4) NULL DEFAULT '0',
|
1535 |
+
custom_thumb_id int(11) NOT NULL DEFAULT '0',
|
1536 |
+
display_in_order tinyint(4) NOT NULL DEFAULT '1',
|
1537 |
+
sort_order int(11) NOT NULL DEFAULT '0',
|
1538 |
+
PRIMARY KEY (id)
|
1539 |
+
) $charset_collate;";
|
1540 |
+
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
1541 |
+
dbDelta( $sql );
|
1542 |
+
|
1543 |
+
$providers = $this->provider_list();
|
1544 |
+
|
1545 |
+
foreach($providers as $shipping_provider){
|
1546 |
+
$shipping_provider['provider_name'];
|
1547 |
+
$success = $wpdb->insert($woo_shippment_table_name, array(
|
1548 |
+
"provider_name" => $shipping_provider['provider_name'],
|
1549 |
+
"ts_slug" => $shipping_provider['ts_slug'],
|
1550 |
+
"provider_url" => $shipping_provider['provider_url'],
|
1551 |
+
"shipping_country" => $shipping_provider['shipping_country'],
|
1552 |
+
"shipping_default" => $shipping_provider['shipping_default'],
|
1553 |
+
));
|
1554 |
+
}
|
1555 |
+
}
|
1556 |
+
update_option( 'wc_advanced_shipment_tracking', '3.7');
|
1557 |
+
}
|
1558 |
}
|
1559 |
}
|
1560 |
|
1565 |
global $wpdb;
|
1566 |
$url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
|
1567 |
$resp = wp_remote_get( $url );
|
|
|
1568 |
|
1569 |
+
if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1570 |
|
1571 |
+
$providers = json_decode($resp['body'],true);
|
1572 |
|
1573 |
+
$providers_name = array();
|
|
|
|
|
|
|
1574 |
|
1575 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
|
1576 |
+
|
1577 |
+
foreach ( $default_shippment_providers as $key => $val ){
|
1578 |
+
$shippment_providers[ $val->provider_name ] = $val;
|
1579 |
+
}
|
1580 |
+
|
1581 |
+
foreach ( $providers as $key => $val ){
|
1582 |
+
$providers_name[ $val['provider_name'] ] = $val;
|
1583 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1584 |
|
1585 |
+
foreach($providers as $provider){
|
1586 |
+
|
1587 |
+
$provider_name = $provider['shipping_provider'];
|
1588 |
+
$provider_url = $provider['provider_url'];
|
1589 |
+
$shipping_country = $provider['shipping_country'];
|
1590 |
+
$ts_slug = $provider['shipping_provider_slug'];
|
1591 |
|
1592 |
+
if(isset($shippment_providers[$provider_name])){
|
1593 |
+
$db_provider_url = $shippment_providers[$provider_name]->provider_url;
|
1594 |
+
$db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
|
1595 |
+
$db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
|
1596 |
+
if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
|
1597 |
+
$data_array = array(
|
1598 |
+
'ts_slug' => $ts_slug,
|
1599 |
+
'provider_url' => $provider_url,
|
1600 |
+
'shipping_country' => $shipping_country,
|
1601 |
+
);
|
1602 |
+
$where_array = array(
|
1603 |
+
'provider_name' => $provider_name,
|
1604 |
+
);
|
1605 |
+
$wpdb->update( $this->table, $data_array, $where_array);
|
1606 |
+
}
|
1607 |
+
} else{
|
1608 |
+
$img_url = $provider['img_url'];
|
1609 |
+
$img_slug = sanitize_title($provider_name);
|
1610 |
+
$img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
|
1611 |
+
|
1612 |
+
$ch = curl_init();
|
1613 |
+
|
1614 |
+
curl_setopt($ch, CURLOPT_HEADER, 0);
|
1615 |
+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
1616 |
+
curl_setopt($ch, CURLOPT_URL, $img_url);
|
1617 |
+
|
1618 |
+
$data = curl_exec($ch);
|
1619 |
+
curl_close($ch);
|
1620 |
+
|
1621 |
+
file_put_contents($img, $data);
|
1622 |
|
1623 |
+
|
1624 |
+
$data_array = array(
|
1625 |
+
'shipping_country' => sanitize_text_field($shipping_country),
|
1626 |
+
'provider_name' => sanitize_text_field($provider_name),
|
1627 |
+
'ts_slug' => $ts_slug,
|
1628 |
+
'provider_url' => sanitize_text_field($provider_url),
|
1629 |
+
'display_in_order' => 0,
|
1630 |
+
'shipping_default' => 1,
|
1631 |
+
);
|
1632 |
+
$result = $wpdb->insert( $this->table, $data_array );
|
1633 |
+
}
|
1634 |
}
|
1635 |
+
foreach($default_shippment_providers as $db_provider){
|
1636 |
+
|
1637 |
+
if(!isset($providers_name[$db_provider->provider_name])){
|
1638 |
+
$where = array(
|
1639 |
+
'provider_name' => $db_provider->provider_name,
|
1640 |
+
'shipping_default' => 1
|
1641 |
+
);
|
1642 |
+
$wpdb->delete( $this->table, $where );
|
1643 |
+
}
|
1644 |
}
|
1645 |
+
}
|
1646 |
}
|
1647 |
+
|
1648 |
+
/*
|
1649 |
+
* Display admin notice addons
|
1650 |
+
*/
|
1651 |
+
public function admin_notice_for_addon(){
|
1652 |
+
if ( ! PAnD::is_admin_notice_active( 'disable-ast-addon-forever' ) ) {
|
1653 |
+
return;
|
1654 |
+
}
|
1655 |
+
?>
|
1656 |
+
<style>
|
1657 |
+
.notice.addon-admin-notice {
|
1658 |
+
padding: 20px;
|
1659 |
+
background: #F6FBFF;
|
1660 |
+
border: 1px solid #eee;
|
1661 |
+
border-left: 4px solid #005B9A !important;
|
1662 |
+
}
|
1663 |
+
.rtl .notice.addon-admin-notice {
|
1664 |
+
border-right-color: #83bd31 !important;
|
1665 |
+
}
|
1666 |
+
.notice.addon-admin-notice .ast-admin-notice-inner {
|
1667 |
+
display: table;
|
1668 |
+
width: 100%;
|
1669 |
+
}
|
1670 |
+
.notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
|
1671 |
+
.notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-content,
|
1672 |
+
.notice.addon-admin-notice .ast-admin-notice-inner .trackship-install-now {
|
1673 |
+
display: table-cell;
|
1674 |
+
vertical-align: middle;
|
1675 |
+
}
|
1676 |
+
.notice.addon-admin-notice .ast-admin-notice-icon {
|
1677 |
+
color: #83bd31;
|
1678 |
+
}
|
1679 |
+
.notice.addon-admin-notice .ast-admin-notice-icon .notice-logo{
|
1680 |
+
width: 200px;
|
1681 |
+
}
|
1682 |
+
.notice.addon-admin-notice .ast-admin-notice-content {
|
1683 |
+
padding: 0 20px;
|
1684 |
+
}
|
1685 |
+
.notice.addon-admin-notice p {
|
1686 |
+
padding: 0;
|
1687 |
+
margin: 0;
|
1688 |
+
}
|
1689 |
+
.notice.addon-admin-notice h3 {
|
1690 |
+
margin: 0 0 5px;
|
1691 |
+
color: #005B9A;
|
1692 |
+
}
|
1693 |
+
.notice.addon-admin-notice .trackship-install-now {
|
1694 |
+
text-align: center;
|
1695 |
+
}
|
1696 |
+
.notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button {
|
1697 |
+
padding: 5px 30px;
|
1698 |
+
height: auto;
|
1699 |
+
line-height: 20px;
|
1700 |
+
text-transform: capitalize;
|
1701 |
+
}
|
1702 |
+
.notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
|
1703 |
+
padding-right: 5px;
|
1704 |
+
}
|
1705 |
+
.rtl .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
|
1706 |
+
padding-right: 0;
|
1707 |
+
padding-left: 5px;
|
1708 |
+
}
|
1709 |
+
.notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button:active {
|
1710 |
+
transform: translateY(1px);
|
1711 |
+
}
|
1712 |
+
.addon-admin-notice .notice-dismiss:before{
|
1713 |
+
color: #005B9A;
|
1714 |
+
font: normal 20px/20px dashicons;
|
1715 |
+
}
|
1716 |
+
.wp-core-ui .btn_blue {
|
1717 |
+
background: #005B9A;
|
1718 |
+
text-shadow: none;
|
1719 |
+
border-color: #005B9A;
|
1720 |
+
box-shadow: none;
|
1721 |
+
font-size: 14px;
|
1722 |
+
line-height: 32px;
|
1723 |
+
height: 35px;
|
1724 |
+
padding: 0 20px;
|
1725 |
+
}
|
1726 |
+
.wp-core-ui .btn_blue:hover, .wp-core-ui .btn_blue:focus {
|
1727 |
+
background: #005B9A;
|
1728 |
+
border-color: rgba(0,0,0,0.05);
|
1729 |
+
color: #fff;
|
1730 |
+
text-shadow: none;
|
1731 |
+
box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
|
1732 |
+
}
|
1733 |
+
</style>
|
1734 |
+
<div data-dismissible="disable-ast-addon-forever" class="notice updated is-dismissible addon-admin-notice">
|
1735 |
+
<div class="ast-admin-notice-inner">
|
1736 |
+
<div class="ast-admin-notice-icon">
|
1737 |
+
<img class="notice-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url().'/assets/images/ast-addons-notice-image.jpg'; ?>" alt="Tracking Per Item Add-on" />
|
1738 |
+
</div>
|
1739 |
+
|
1740 |
+
<div class="ast-admin-notice-content">
|
1741 |
+
<h3>New AST Add-on!</h3>
|
1742 |
+
<p>The Tracking Per Item add-on allows attaching the tracking numbers to specific order items.</p>
|
1743 |
+
</div>
|
1744 |
+
|
1745 |
+
<div data-dismissible="disable-ast-addon-forever" class="trackship-install-now">
|
1746 |
+
<a class="button button-primary btn_blue btn_large" href="<?php echo admin_url( '/admin.php?page=woocommerce-advanced-shipment-tracking&tab=addons' )?>">For more info</a>
|
1747 |
+
</div>
|
1748 |
+
</div>
|
1749 |
+
</div>
|
1750 |
+
<?php
|
1751 |
+
}
|
1752 |
+
|
1753 |
/*
|
1754 |
* Display admin notice on plugin install or update
|
1755 |
*/
|
1856 |
</div>
|
1857 |
</div>
|
1858 |
<?php
|
1859 |
+
}
|
1860 |
+
/**
|
1861 |
+
* Admin menu tooltip.
|
1862 |
+
*/
|
1863 |
+
function admin_notice_menu_tooltip() {
|
1864 |
+
|
1865 |
+
$show_tooltip = get_option( 'ast_admin_menu_tooltip', 0 );
|
1866 |
+
|
1867 |
+
if ( $show_tooltip ) {
|
1868 |
+
// Dismissed less than 30 days ago.
|
1869 |
+
return;
|
1870 |
+
}
|
1871 |
+
|
1872 |
+
$url = 'https://trackship.info/?utm_source=wpadmin&utm_campaign=astpopup';
|
1873 |
+
?>
|
1874 |
+
<div id="ast-admin-menu-tooltip" class="ast-admin-menu-tooltip-hide">
|
1875 |
+
<div class="ast-admin-menu-tooltip-header">
|
1876 |
+
<!--span class="ast-admin-menu-tooltip-icon"><span class="dashicons dashicons-megaphone"></span></span-->
|
1877 |
+
Automate your Post-Shipping Operations
|
1878 |
+
<a href="#" class="ast-admin-menu-tooltip-close"><span class="dashicons dashicons-dismiss"></span></a>
|
1879 |
+
</div>
|
1880 |
+
<div class="ast-admin-menu-tooltip-content">
|
1881 |
+
<img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="sidebar_ts_logo" style="max-width: 50%;">
|
1882 |
+
<p>TrackShip will auto-track your shipments with 140+ carriers around the globe and display real-time shipment status on your orders admin. You can automate the order management flow, direct customers to a tracking page on your store, automatically send shipment status notifications to your customer and more…</p>
|
1883 |
+
<p>
|
1884 |
+
<a href="<?php echo esc_url( $url ); ?>" target="blank" class="button button-primary btn_green2 btn_large">Try TrackShip for free!</a>
|
1885 |
+
</p>
|
1886 |
+
</div>
|
1887 |
+
</div>
|
1888 |
+
<style type="text/css">
|
1889 |
+
#ast-admin-menu-tooltip {
|
1890 |
+
position: absolute;
|
1891 |
+
left: 100%;
|
1892 |
+
top: 100%;
|
1893 |
+
background: #fff;
|
1894 |
+
margin-left: 16px;
|
1895 |
+
width: 350px;
|
1896 |
+
box-shadow: 0px 4px 7px 0px #ccc;
|
1897 |
+
}
|
1898 |
+
|
1899 |
+
#ast-admin-menu-tooltip:before {
|
1900 |
+
content: '';
|
1901 |
+
width: 0;
|
1902 |
+
height: 0;
|
1903 |
+
border-style: solid;
|
1904 |
+
border-width: 12px 12px 12px 0;
|
1905 |
+
border-color: transparent #fff transparent transparent;
|
1906 |
+
position: absolute;
|
1907 |
+
right: 100%;
|
1908 |
+
top: 130px;
|
1909 |
+
z-index: 10;
|
1910 |
+
}
|
1911 |
+
|
1912 |
+
#ast-admin-menu-tooltip:after {
|
1913 |
+
content: '';
|
1914 |
+
width: 0;
|
1915 |
+
height: 0;
|
1916 |
+
border-style: solid;
|
1917 |
+
border-width: 13px 13px 13px 0;
|
1918 |
+
border-color: transparent #ccc transparent transparent;
|
1919 |
+
position: absolute;
|
1920 |
+
right: 100%;
|
1921 |
+
margin-left: -1px;
|
1922 |
+
top: 129px;
|
1923 |
+
z-index: 5;
|
1924 |
+
}
|
1925 |
+
|
1926 |
+
#ast-admin-menu-tooltip.ast-tooltip-arrow-top:before {
|
1927 |
+
top: 55px;
|
1928 |
+
}
|
1929 |
+
|
1930 |
+
#ast-admin-menu-tooltip.ast-tooltip-arrow-top:after {
|
1931 |
+
top: 54px;
|
1932 |
+
}
|
1933 |
+
|
1934 |
+
.ast-admin-menu-tooltip-header {
|
1935 |
+
background: #83bd31;
|
1936 |
+
padding: 10px 12px;
|
1937 |
+
font-size: 14px;
|
1938 |
+
font-weight: 700;
|
1939 |
+
font-family: Arial, Helvetica, "Trebuchet MS", sans-serif;
|
1940 |
+
color: #fff;
|
1941 |
+
line-height: 1.6;
|
1942 |
+
}
|
1943 |
+
|
1944 |
+
.ast-admin-menu-tooltip-icon {
|
1945 |
+
background: #fff;
|
1946 |
+
border-radius: 50%;
|
1947 |
+
width: 28px;
|
1948 |
+
height: 25px;
|
1949 |
+
display: inline-block;
|
1950 |
+
color: #83bd31;
|
1951 |
+
text-align: center;
|
1952 |
+
padding: 3px 0 0;
|
1953 |
+
margin-right: 6px;
|
1954 |
+
}
|
1955 |
+
|
1956 |
+
.ast-admin-menu-tooltip-hide {
|
1957 |
+
display: none;
|
1958 |
+
}
|
1959 |
+
|
1960 |
+
.ast-admin-menu-tooltip-content {
|
1961 |
+
padding: 20px 15px 7px;
|
1962 |
+
}
|
1963 |
+
|
1964 |
+
.ast-admin-menu-tooltip-content strong {
|
1965 |
+
font-size: 14px;
|
1966 |
+
}
|
1967 |
+
|
1968 |
+
.ast-admin-menu-tooltip-content p strong {
|
1969 |
+
font-size: 13px;
|
1970 |
+
}
|
1971 |
+
|
1972 |
+
.ast-admin-menu-tooltip-close {
|
1973 |
+
color: #fff;
|
1974 |
+
text-decoration: none;
|
1975 |
+
position: absolute;
|
1976 |
+
right: 10px;
|
1977 |
+
top: 14px;
|
1978 |
+
display: block;
|
1979 |
+
}
|
1980 |
+
|
1981 |
+
.ast-admin-menu-tooltip-close:hover {
|
1982 |
+
color: #fff;
|
1983 |
+
text-decoration: none;
|
1984 |
+
}
|
1985 |
+
|
1986 |
+
.ast-admin-menu-tooltip-close .dashicons {
|
1987 |
+
font-size: 14px;
|
1988 |
+
}
|
1989 |
+
|
1990 |
+
@media ( max-width: 782px ) {
|
1991 |
+
#ast-admin-menu-tooltip {
|
1992 |
+
display: none;
|
1993 |
+
}
|
1994 |
+
}
|
1995 |
+
</style>
|
1996 |
+
<script type="text/javascript">
|
1997 |
+
if ( 'undefined' !== typeof jQuery ) {
|
1998 |
+
jQuery( function ( $ ) {
|
1999 |
+
var $tooltip = $( document.getElementById( 'ast-admin-menu-tooltip' ) );
|
2000 |
+
var $menuwrapper = $( document.getElementById( 'adminmenuwrap' ) );
|
2001 |
+
var $menuitem = $( document.getElementById( 'toplevel_page_woocommerce' ) );
|
2002 |
+
|
2003 |
+
if ( $menuitem.length ) {
|
2004 |
+
$menuwrapper.append( $tooltip );
|
2005 |
+
$tooltip.removeClass( 'ast-admin-menu-tooltip-hide' );
|
2006 |
+
}
|
2007 |
+
|
2008 |
+
function alignTooltip() {
|
2009 |
+
var sticky = $( 'body' ).hasClass( 'sticky-menu' );
|
2010 |
+
|
2011 |
+
var menuitem_pos = $menuitem.position();
|
2012 |
+
|
2013 |
+
var tooltip_top = menuitem_pos.top - 124;
|
2014 |
+
|
2015 |
+
if ( sticky && $( window ).height() > $menuwrapper.height() + 150 ) {
|
2016 |
+
$tooltip.removeClass( 'ast-tooltip-arrow-top' );
|
2017 |
+
} else {
|
2018 |
+
tooltip_top = menuitem_pos.top - 50;
|
2019 |
+
$tooltip.addClass( 'ast-tooltip-arrow-top' );
|
2020 |
+
}
|
2021 |
+
|
2022 |
+
$tooltip.css( {
|
2023 |
+
top: tooltip_top + 'px'
|
2024 |
+
} );
|
2025 |
+
}
|
2026 |
+
|
2027 |
+
var $document = $( document );
|
2028 |
+
var timeout = setTimeout( alignTooltip, 10 );
|
2029 |
+
$document.on( 'wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu', function () {
|
2030 |
+
if ( timeout ) {
|
2031 |
+
clearTimeout( timeout );
|
2032 |
+
}
|
2033 |
+
timeout = setTimeout( alignTooltip, 10 );
|
2034 |
+
} );
|
2035 |
+
|
2036 |
+
$( '.ast-admin-menu-tooltip-close' ).on( 'click', function ( e ) {
|
2037 |
+
e.preventDefault();
|
2038 |
+
hideTooltip();
|
2039 |
+
} );
|
2040 |
+
|
2041 |
+
function hideTooltip() {
|
2042 |
+
$tooltip.addClass( 'ast-admin-menu-tooltip-hide' );
|
2043 |
+
$.post( ajaxurl, {
|
2044 |
+
action: 'ast_hide_admin_menu_tooltip',
|
2045 |
+
nonce: '<?php echo esc_js( wp_create_nonce( 'ast-admin-tooltip-nonce' ) ); ?>',
|
2046 |
+
} );
|
2047 |
+
}
|
2048 |
+
} );
|
2049 |
+
}
|
2050 |
+
</script>
|
2051 |
+
<?php
|
2052 |
+
}
|
2053 |
+
|
2054 |
+
/**
|
2055 |
+
* Store the time when the float bar was hidden so it won't show again for 14 days.
|
2056 |
+
*/
|
2057 |
+
function ast_mark_admin_menu_tooltip_hidden() {
|
2058 |
+
check_ajax_referer( 'ast-admin-tooltip-nonce', 'nonce' );
|
2059 |
+
update_option( 'ast_admin_menu_tooltip', time() );
|
2060 |
+
wp_send_json_success();
|
2061 |
+
}
|
2062 |
+
|
2063 |
+
/**
|
2064 |
+
* Create tracking page after store is connected
|
2065 |
+
*/
|
2066 |
+
public function create_tracking_page(){
|
2067 |
+
if(version_compare(get_option( 'wc_advanced_shipment_tracking_ts_page' ),'1.0', '<') ){
|
2068 |
+
$new_page_title = 'Shipment Tracking';
|
2069 |
+
$new_page_slug = 'ts-shipment-tracking';
|
2070 |
+
$new_page_content = '[wcast-track-order]';
|
2071 |
+
//don't change the code below, unless you know what you're doing
|
2072 |
+
$page_check = get_page_by_title($new_page_title);
|
2073 |
+
|
2074 |
+
if(!isset($page_check->ID)){
|
2075 |
+
$new_page = array(
|
2076 |
+
'post_type' => 'page',
|
2077 |
+
'post_title' => $new_page_title,
|
2078 |
+
'post_name' => $new_page_slug,
|
2079 |
+
'post_content' => $new_page_content,
|
2080 |
+
'post_status' => 'publish',
|
2081 |
+
'post_author' => 1,
|
2082 |
+
);
|
2083 |
+
$new_page_id = wp_insert_post($new_page);
|
2084 |
+
update_option( 'wc_ast_trackship_page_id', $new_page_id );
|
2085 |
+
}
|
2086 |
+
update_option( 'wc_advanced_shipment_tracking_ts_page', '1.0');
|
2087 |
+
}
|
2088 |
+
}
|
2089 |
}
|
includes/class-wc-advanced-shipment-tracking-settings.php
ADDED
@@ -0,0 +1,959 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
+
exit;
|
4 |
+
}
|
5 |
+
|
6 |
+
class WC_Advanced_Shipment_Tracking_Settings {
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Initialize the main plugin function
|
10 |
+
*/
|
11 |
+
public function __construct() {
|
12 |
+
|
13 |
+
global $wpdb;
|
14 |
+
if( is_multisite() ){
|
15 |
+
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
16 |
+
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
17 |
+
}
|
18 |
+
if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
|
19 |
+
$main_blog_prefix = $wpdb->get_blog_prefix(BLOG_ID_CURRENT_SITE);
|
20 |
+
$this->table = $main_blog_prefix."woo_shippment_provider";
|
21 |
+
} else{
|
22 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
23 |
+
}
|
24 |
+
} else{
|
25 |
+
$this->table = $wpdb->prefix."woo_shippment_provider";
|
26 |
+
}
|
27 |
+
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Instance of this class.
|
32 |
+
*
|
33 |
+
* @var object Class Instance
|
34 |
+
*/
|
35 |
+
private static $instance;
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Get the class instance
|
39 |
+
*
|
40 |
+
* @return WC_Advanced_Shipment_Tracking_Settings
|
41 |
+
*/
|
42 |
+
public static function get_instance() {
|
43 |
+
|
44 |
+
if ( null === self::$instance ) {
|
45 |
+
self::$instance = new self;
|
46 |
+
}
|
47 |
+
|
48 |
+
return self::$instance;
|
49 |
+
}
|
50 |
+
|
51 |
+
/*
|
52 |
+
* init from parent mail class
|
53 |
+
*/
|
54 |
+
public function init(){
|
55 |
+
|
56 |
+
//rename order status + rename bulk action + rename filter
|
57 |
+
add_filter( 'wc_order_statuses', array( $this, 'wc_renaming_order_status') );
|
58 |
+
add_filter( 'woocommerce_register_shop_order_post_statuses', array( $this, 'filter_woocommerce_register_shop_order_post_statuses'), 10, 1 );
|
59 |
+
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'modify_bulk_actions'), 50, 1 );
|
60 |
+
|
61 |
+
add_action( 'woocommerce_update_options_email_customer_delivered_order', array( $this, 'save_delivered_email' ) ,100, 1);
|
62 |
+
add_action( 'woocommerce_update_options_email_customer_partial_shipped_order', array( $this, 'save_partial_shipped_email' ) ,100, 1);
|
63 |
+
add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun') );
|
64 |
+
|
65 |
+
//new order status
|
66 |
+
$newstatus = get_option( "wc_ast_status_delivered", 0);
|
67 |
+
if( $newstatus == true ){
|
68 |
+
//register order status
|
69 |
+
add_action( 'init', array( $this, 'register_order_status') );
|
70 |
+
//add status after completed
|
71 |
+
add_filter( 'wc_order_statuses', array( $this, 'add_delivered_to_order_statuses') );
|
72 |
+
//Custom Statuses in admin reports
|
73 |
+
add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_custom_order_status_to_reports'), 20, 1 );
|
74 |
+
// for automate woo to check order is paid
|
75 |
+
add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'delivered_woocommerce_order_is_paid_statuses' ) );
|
76 |
+
//add bulk action
|
77 |
+
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions'), 50, 1 );
|
78 |
+
}
|
79 |
+
|
80 |
+
//new order status
|
81 |
+
$updated_tracking_status = get_option( "wc_ast_status_updated_tracking", 0);
|
82 |
+
if( $updated_tracking_status == true ){
|
83 |
+
//register order status
|
84 |
+
add_action( 'init', array( $this, 'register_updated_tracking_order_status') );
|
85 |
+
//add status after completed
|
86 |
+
add_filter( 'wc_order_statuses', array( $this, 'add_updated_tracking_to_order_statuses') );
|
87 |
+
//Custom Statuses in admin reports
|
88 |
+
add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_updated_tracking_order_status_to_reports'), 20, 1 );
|
89 |
+
// for automate woo to check order is paid
|
90 |
+
add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'updated_tracking_woocommerce_order_is_paid_statuses' ) );
|
91 |
+
//add bulk action
|
92 |
+
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_updated_tracking'), 50, 1 );
|
93 |
+
}
|
94 |
+
|
95 |
+
//new order status
|
96 |
+
$partial_shipped_status = get_option( "wc_ast_status_partial_shipped", 0);
|
97 |
+
if( $partial_shipped_status == true ){
|
98 |
+
//register order status
|
99 |
+
add_action( 'init', array( $this, 'register_partial_shipped_order_status') );
|
100 |
+
//add status after completed
|
101 |
+
add_filter( 'wc_order_statuses', array( $this, 'add_partial_shipped_to_order_statuses') );
|
102 |
+
//Custom Statuses in admin reports
|
103 |
+
add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_partial_shipped_order_status_to_reports'), 20, 1 );
|
104 |
+
// for automate woo to check order is paid
|
105 |
+
add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'partial_shipped_woocommerce_order_is_paid_statuses' ) );
|
106 |
+
//add bulk action
|
107 |
+
add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_partial_shipped'), 50, 1 );
|
108 |
+
}
|
109 |
+
|
110 |
+
//filter in shipped orders
|
111 |
+
add_filter( 'is_order_shipped', array( $this, "check_tracking_exist" ),10,2);
|
112 |
+
add_filter( 'is_order_shipped', array( $this, "check_order_status" ),5,2);
|
113 |
+
|
114 |
+
// Hook for add admin body class in settings page
|
115 |
+
add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
|
116 |
+
|
117 |
+
// Ajax hook for open inline tracking form
|
118 |
+
add_action( 'wp_ajax_ast_open_inline_tracking_form', array( $this, 'ast_open_inline_tracking_form_fun' ) );
|
119 |
+
|
120 |
+
$wc_ast_status_delivered = get_option('wc_ast_status_delivered');
|
121 |
+
if($wc_ast_status_delivered == 1){
|
122 |
+
add_action( 'woocommerce_order_actions', array( $this, 'add_order_meta_box_actions' ) );
|
123 |
+
add_action( 'woocommerce_order_action_resend_delivered_order_notification', array( $this, 'process_order_meta_box_actions' ) );
|
124 |
+
}
|
125 |
+
|
126 |
+
$api_enabled = get_option( "wc_ast_api_enabled", 0);
|
127 |
+
if( $api_enabled == true ){
|
128 |
+
add_action( 'wp_dashboard_setup', array( $this, 'ast_add_dashboard_widgets') );
|
129 |
+
}
|
130 |
+
}
|
131 |
+
|
132 |
+
/**
|
133 |
+
* Register new status : Delivered
|
134 |
+
**/
|
135 |
+
function register_order_status() {
|
136 |
+
register_post_status( 'wc-delivered', array(
|
137 |
+
'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
|
138 |
+
'public' => true,
|
139 |
+
'show_in_admin_status_list' => true,
|
140 |
+
'show_in_admin_all_list' => true,
|
141 |
+
'exclude_from_search' => false,
|
142 |
+
'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
143 |
+
) );
|
144 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Register new status : Updated Tracking
|
148 |
+
**/
|
149 |
+
function register_updated_tracking_order_status() {
|
150 |
+
register_post_status( 'wc-updated-tracking', array(
|
151 |
+
'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
|
152 |
+
'public' => true,
|
153 |
+
'show_in_admin_status_list' => true,
|
154 |
+
'show_in_admin_all_list' => true,
|
155 |
+
'exclude_from_search' => false,
|
156 |
+
'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
157 |
+
) );
|
158 |
+
}
|
159 |
+
|
160 |
+
/**
|
161 |
+
* Register new status : Partially Shipped
|
162 |
+
**/
|
163 |
+
function register_partial_shipped_order_status() {
|
164 |
+
register_post_status( 'wc-partial-shipped', array(
|
165 |
+
'label' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
|
166 |
+
'public' => true,
|
167 |
+
'show_in_admin_status_list' => true,
|
168 |
+
'show_in_admin_all_list' => true,
|
169 |
+
'exclude_from_search' => false,
|
170 |
+
'label_count' => _n_noop( 'Partially Shipped <span class="count">(%s)</span>', 'Partially Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
|
171 |
+
) );
|
172 |
+
}
|
173 |
+
|
174 |
+
/*
|
175 |
+
* add status after completed
|
176 |
+
*/
|
177 |
+
function add_delivered_to_order_statuses( $order_statuses ) {
|
178 |
+
$new_order_statuses = array();
|
179 |
+
foreach ( $order_statuses as $key => $status ) {
|
180 |
+
$new_order_statuses[ $key ] = $status;
|
181 |
+
if ( 'wc-completed' === $key ) {
|
182 |
+
$new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
|
183 |
+
}
|
184 |
+
}
|
185 |
+
|
186 |
+
return $new_order_statuses;
|
187 |
+
}
|
188 |
+
|
189 |
+
/*
|
190 |
+
* add status after completed
|
191 |
+
*/
|
192 |
+
function add_updated_tracking_to_order_statuses( $order_statuses ) {
|
193 |
+
$new_order_statuses = array();
|
194 |
+
foreach ( $order_statuses as $key => $status ) {
|
195 |
+
$new_order_statuses[ $key ] = $status;
|
196 |
+
if ( 'wc-completed' === $key ) {
|
197 |
+
$new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
|
198 |
+
}
|
199 |
+
}
|
200 |
+
return $new_order_statuses;
|
201 |
+
}
|
202 |
+
|
203 |
+
/*
|
204 |
+
* add status after completed
|
205 |
+
*/
|
206 |
+
function add_partial_shipped_to_order_statuses( $order_statuses ) {
|
207 |
+
$new_order_statuses = array();
|
208 |
+
foreach ( $order_statuses as $key => $status ) {
|
209 |
+
$new_order_statuses[ $key ] = $status;
|
210 |
+
if ( 'wc-completed' === $key ) {
|
211 |
+
$new_order_statuses['wc-partial-shipped'] = __( 'Partially Shipped', 'woo-advanced-shipment-tracking' );
|
212 |
+
}
|
213 |
+
}
|
214 |
+
return $new_order_statuses;
|
215 |
+
}
|
216 |
+
|
217 |
+
/*
|
218 |
+
* Adding the custom order status to the default woocommerce order statuses
|
219 |
+
*/
|
220 |
+
function include_custom_order_status_to_reports( $statuses ){
|
221 |
+
if($statuses)$statuses[] = 'delivered';
|
222 |
+
return $statuses;
|
223 |
+
}
|
224 |
+
|
225 |
+
/*
|
226 |
+
* Adding the updated-tracking order status to the default woocommerce order statuses
|
227 |
+
*/
|
228 |
+
function include_updated_tracking_order_status_to_reports( $statuses ){
|
229 |
+
if($statuses)$statuses[] = 'updated-tracking';
|
230 |
+
return $statuses;
|
231 |
+
}
|
232 |
+
|
233 |
+
/*
|
234 |
+
* Adding the partial-shipped order status to the default woocommerce order statuses
|
235 |
+
*/
|
236 |
+
function include_partial_shipped_order_status_to_reports( $statuses ){
|
237 |
+
if($statuses)$statuses[] = 'partial-shipped';
|
238 |
+
return $statuses;
|
239 |
+
}
|
240 |
+
|
241 |
+
/*
|
242 |
+
* mark status as a paid.
|
243 |
+
*/
|
244 |
+
function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
|
245 |
+
$statuses[] = 'delivered';
|
246 |
+
return $statuses;
|
247 |
+
}
|
248 |
+
|
249 |
+
/*
|
250 |
+
* mark status as a paid.
|
251 |
+
*/
|
252 |
+
function updated_tracking_woocommerce_order_is_paid_statuses( $statuses ) {
|
253 |
+
$statuses[] = 'updated-tracking';
|
254 |
+
return $statuses;
|
255 |
+
}
|
256 |
+
|
257 |
+
/*
|
258 |
+
* mark status as a paid.
|
259 |
+
*/
|
260 |
+
function partial_shipped_woocommerce_order_is_paid_statuses( $statuses ) {
|
261 |
+
$statuses[] = 'partial-shipped';
|
262 |
+
return $statuses;
|
263 |
+
}
|
264 |
+
|
265 |
+
/*
|
266 |
+
* add bulk action
|
267 |
+
* Change order status to delivered
|
268 |
+
*/
|
269 |
+
function add_bulk_actions( $bulk_actions ){
|
270 |
+
$bulk_actions['mark_delivered'] = __( 'Change status to delivered', 'woo-advanced-shipment-tracking' );
|
271 |
+
return $bulk_actions;
|
272 |
+
}
|
273 |
+
|
274 |
+
/*
|
275 |
+
* add bulk action
|
276 |
+
* Change order status to Updated Tracking
|
277 |
+
*/
|
278 |
+
function add_bulk_actions_updated_tracking( $bulk_actions ){
|
279 |
+
$bulk_actions['mark_updated-tracking'] = __( 'Change status to Updated Tracking', 'woo-advanced-shipment-tracking' );
|
280 |
+
return $bulk_actions;
|
281 |
+
}
|
282 |
+
|
283 |
+
/*
|
284 |
+
* add bulk action
|
285 |
+
* Change order status to Partially Shipped
|
286 |
+
*/
|
287 |
+
function add_bulk_actions_partial_shipped( $bulk_actions ){
|
288 |
+
$bulk_actions['mark_partial-shipped'] = __( 'Change status to Partially Shipped', 'woo-advanced-shipment-tracking' );
|
289 |
+
return $bulk_actions;
|
290 |
+
}
|
291 |
+
|
292 |
+
/*
|
293 |
+
* Rename WooCommerce Order Status
|
294 |
+
*/
|
295 |
+
function wc_renaming_order_status( $order_statuses ) {
|
296 |
+
|
297 |
+
$enable = get_option( "wc_ast_status_shipped", 0);
|
298 |
+
if( $enable == false )return $order_statuses;
|
299 |
+
|
300 |
+
foreach ( $order_statuses as $key => $status ) {
|
301 |
+
$new_order_statuses[ $key ] = $status;
|
302 |
+
if ( 'wc-completed' === $key ) {
|
303 |
+
$order_statuses['wc-completed'] = esc_html__( 'Shipped','woo-advanced-shipment-tracking' );
|
304 |
+
}
|
305 |
+
}
|
306 |
+
return $order_statuses;
|
307 |
+
}
|
308 |
+
|
309 |
+
/*
|
310 |
+
* define the woocommerce_register_shop_order_post_statuses callback
|
311 |
+
* rename filter
|
312 |
+
* rename from completed to shipped
|
313 |
+
*/
|
314 |
+
function filter_woocommerce_register_shop_order_post_statuses( $array ) {
|
315 |
+
|
316 |
+
$enable = get_option( "wc_ast_status_shipped", 0);
|
317 |
+
if( $enable == false )return $array;
|
318 |
+
|
319 |
+
if( isset( $array[ 'wc-completed' ] ) ){
|
320 |
+
$array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
|
321 |
+
}
|
322 |
+
return $array;
|
323 |
+
}
|
324 |
+
|
325 |
+
/*
|
326 |
+
* rename bulk action
|
327 |
+
*/
|
328 |
+
function modify_bulk_actions($bulk_actions) {
|
329 |
+
|
330 |
+
$enable = get_option( "wc_ast_status_shipped", 0);
|
331 |
+
if( $enable == false )return $bulk_actions;
|
332 |
+
|
333 |
+
if( isset( $bulk_actions['mark_completed'] ) ){
|
334 |
+
$bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
|
335 |
+
}
|
336 |
+
return $bulk_actions;
|
337 |
+
}
|
338 |
+
|
339 |
+
/*
|
340 |
+
* tracking number filter
|
341 |
+
* if number not found. return false
|
342 |
+
* if number found. return true
|
343 |
+
*/
|
344 |
+
function check_tracking_exist( $value, $order ){
|
345 |
+
|
346 |
+
if($value == true){
|
347 |
+
|
348 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
349 |
+
if( $tracking_items ){
|
350 |
+
return true;
|
351 |
+
} else {
|
352 |
+
return false;
|
353 |
+
}
|
354 |
+
}
|
355 |
+
return $value;
|
356 |
+
}
|
357 |
+
|
358 |
+
/*
|
359 |
+
* If order status is "Updated Tracking" or "Completed" than retrn true else return false
|
360 |
+
*/
|
361 |
+
function check_order_status($value, $order){
|
362 |
+
$order_status = $order->get_status();
|
363 |
+
|
364 |
+
$all_order_status = wc_get_order_statuses();
|
365 |
+
|
366 |
+
$default_order_status = array(
|
367 |
+
'wc-pending' => 'Pending payment',
|
368 |
+
'wc-processing' => 'Processing',
|
369 |
+
'wc-on-hold' => 'On hold',
|
370 |
+
'wc-completed' => 'Completed',
|
371 |
+
'wc-delivered' => 'Delivered',
|
372 |
+
'wc-cancelled' => 'Cancelled',
|
373 |
+
'wc-refunded' => 'Refunded',
|
374 |
+
'wc-failed' => 'Failed'
|
375 |
+
);
|
376 |
+
|
377 |
+
foreach($default_order_status as $key=>$value){
|
378 |
+
unset($all_order_status[$key]);
|
379 |
+
}
|
380 |
+
|
381 |
+
$custom_order_status = $all_order_status;
|
382 |
+
|
383 |
+
foreach($custom_order_status as $key=>$value){
|
384 |
+
unset($custom_order_status[$key]);
|
385 |
+
$key = str_replace("wc-", "", $key);
|
386 |
+
$custom_order_status[] = $key;
|
387 |
+
}
|
388 |
+
|
389 |
+
if($order_status == 'updated-tracking' || $order_status == 'completed' || in_array($order_status, $custom_order_status)){
|
390 |
+
return true;
|
391 |
+
} else {
|
392 |
+
return false;
|
393 |
+
}
|
394 |
+
return $value;
|
395 |
+
}
|
396 |
+
|
397 |
+
/*
|
398 |
+
* Add class in admin settings page
|
399 |
+
*/
|
400 |
+
public function ahipment_tracking_admin_body_class($classes){
|
401 |
+
$page = (isset($_REQUEST["page"])?$_REQUEST["page"]:"");
|
402 |
+
if( $page == 'woocommerce-advanced-shipment-tracking') {
|
403 |
+
$classes .= 'shipment_tracking_admin_settings';
|
404 |
+
}
|
405 |
+
return $classes;
|
406 |
+
}
|
407 |
+
|
408 |
+
public function ast_open_inline_tracking_form_fun(){
|
409 |
+
$order_id = wc_clean($_POST['order_id']);
|
410 |
+
global $wpdb;
|
411 |
+
$WC_Countries = new WC_Countries();
|
412 |
+
$countries = $WC_Countries->get_countries();
|
413 |
+
|
414 |
+
$woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
|
415 |
+
|
416 |
+
if( is_multisite() ){
|
417 |
+
if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
|
418 |
+
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
419 |
+
}
|
420 |
+
if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
|
421 |
+
$main_blog_prefix = $wpdb->get_blog_prefix(BLOG_ID_CURRENT_SITE);
|
422 |
+
$woo_shippment_table_name = $main_blog_prefix."woo_shippment_provider";
|
423 |
+
} else{
|
424 |
+
$woo_shippment_table_name = $wpdb->prefix."woo_shippment_provider";
|
425 |
+
}
|
426 |
+
} else{
|
427 |
+
$woo_shippment_table_name = $wpdb->prefix."woo_shippment_provider";
|
428 |
+
}
|
429 |
+
$shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $woo_shippment_table_name WHERE display_in_order = 1 GROUP BY shipping_country" );
|
430 |
+
|
431 |
+
$shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name" );
|
432 |
+
|
433 |
+
$default_provider = get_option("wc_ast_default_provider" );
|
434 |
+
$wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
|
435 |
+
|
436 |
+
$wc_ast_status_shipped = get_option('wc_ast_status_shipped');
|
437 |
+
if($wc_ast_status_shipped == 1){
|
438 |
+
$change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
|
439 |
+
$shipped_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
|
440 |
+
} else{
|
441 |
+
$change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
|
442 |
+
$shipped_label = __( 'Completed', 'woo-advanced-shipment-tracking' );
|
443 |
+
}
|
444 |
+
|
445 |
+
$wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
|
446 |
+
ob_start();
|
447 |
+
?>
|
448 |
+
<div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
|
449 |
+
<div class="trackingpopup_row">
|
450 |
+
<h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
|
451 |
+
<form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
|
452 |
+
<p class="form-field">
|
453 |
+
<label for="tracking_number"><?php _e( 'Provider:', 'woo-advanced-shipment-tracking'); ?></label>
|
454 |
+
<select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 100%;max-width:100%;">
|
455 |
+
<option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
|
456 |
+
<?php
|
457 |
+
foreach($shippment_countries as $s_c){
|
458 |
+
if($s_c->shipping_country != 'Global'){
|
459 |
+
$country_name = esc_attr( $WC_Countries->countries[$s_c->shipping_country] );
|
460 |
+
} else{
|
461 |
+
$country_name = 'Global';
|
462 |
+
}
|
463 |
+
echo '<optgroup label="' . $country_name . '">';
|
464 |
+
$country = $s_c->shipping_country;
|
465 |
+
$shippment_providers_by_country = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name WHERE shipping_country = '$country' AND display_in_order = 1" );
|
466 |
+
foreach ( $shippment_providers_by_country as $providers ) {
|
467 |
+
$selected = ( $default_provider == esc_attr( $providers->ts_slug ) ) ? 'selected' : '';
|
468 |
+
echo '<option value="' . esc_attr( $providers->ts_slug ) . '" '.$selected. '>' . esc_html( $providers->provider_name ) . '</option>';
|
469 |
+
}
|
470 |
+
echo '</optgroup>';
|
471 |
+
} ?>
|
472 |
+
</select>
|
473 |
+
</p>
|
474 |
+
<p class="form-field tracking_number_field ">
|
475 |
+
<label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
|
476 |
+
<input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
|
477 |
+
</p>
|
478 |
+
<p class="form-field date_shipped_field">
|
479 |
+
<label for="date_shipped"><?php _e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
|
480 |
+
<input type="text" class="date-picker-field" style="" name="date_shipped" id="date_shipped" value="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ); ?>" placeholder="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ); ?>">
|
481 |
+
</p>
|
482 |
+
<?php
|
483 |
+
|
484 |
+
do_action("ast_tracking_form_between_form", $order_id);
|
485 |
+
|
486 |
+
if($wc_ast_status_partial_shipped){ ?>
|
487 |
+
<fieldset class="form-field change_order_to_shipped_field">
|
488 |
+
<span><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></span>
|
489 |
+
<ul class="wc-radios">
|
490 |
+
<li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short mark_shipped_checkbox" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
|
491 |
+
<li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short mark_shipped_checkbox"><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
|
492 |
+
</ul>
|
493 |
+
</fieldset>
|
494 |
+
<?php } else{ ?>
|
495 |
+
<p class="form-field change_order_to_shipped_field ">
|
496 |
+
<label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
|
497 |
+
<input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
|
498 |
+
</p>
|
499 |
+
<?php } ?>
|
500 |
+
<p class="" style="text-align:left;">
|
501 |
+
<input type="hidden" name="action" value="add_inline_tracking_number">
|
502 |
+
<input type="hidden" name="order_id" id="order_id" value="<?php echo $order_id; ?>">
|
503 |
+
<input type="submit" name="Submit" value="Save Tracking" class="button-primary btn_green">
|
504 |
+
</p>
|
505 |
+
</form>
|
506 |
+
</div>
|
507 |
+
<div class="popupclose"></div>
|
508 |
+
</div>
|
509 |
+
<?php
|
510 |
+
$html = ob_get_clean();
|
511 |
+
echo $html;exit;
|
512 |
+
}
|
513 |
+
|
514 |
+
/*
|
515 |
+
* define the item in the meta box by adding an item to the $actions array
|
516 |
+
*/
|
517 |
+
function add_order_meta_box_actions( $actions ) {
|
518 |
+
$actions['resend_delivered_order_notification'] = __( 'Resend delivered order notification', 'woo-advanced-shipment-tracking' );
|
519 |
+
return $actions;
|
520 |
+
}
|
521 |
+
|
522 |
+
/*
|
523 |
+
* function call when resend delivered order email notification trigger
|
524 |
+
*/
|
525 |
+
function process_order_meta_box_actions($order){
|
526 |
+
require_once( 'email-manager.php' );
|
527 |
+
$old_status = 'in_transit';
|
528 |
+
$new_status = 'delivered';
|
529 |
+
$order_id = $order->get_id();
|
530 |
+
//wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
|
531 |
+
WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
|
532 |
+
}
|
533 |
+
|
534 |
+
/**
|
535 |
+
* Add a new dashboard widget.
|
536 |
+
*/
|
537 |
+
public function ast_add_dashboard_widgets() {
|
538 |
+
wp_add_dashboard_widget( 'trackship_dashboard_widget', 'Tracking Analytics <small>(last 30 days)</small>', array( $this, 'dashboard_widget_function') );
|
539 |
+
}
|
540 |
+
|
541 |
+
/**
|
542 |
+
* Output the contents of the dashboard widget
|
543 |
+
*/
|
544 |
+
public function dashboard_widget_function( $post, $callback_args ) {
|
545 |
+
|
546 |
+
wp_enqueue_script( 'amcharts');
|
547 |
+
wp_enqueue_script( 'amcharts-light-theme');
|
548 |
+
|
549 |
+
// Get orders completed.
|
550 |
+
$args = array(
|
551 |
+
//'status' => 'wc-completed',
|
552 |
+
'limit' => -1,
|
553 |
+
'date_created' => '>' . ( time() - 2592000 ),
|
554 |
+
);
|
555 |
+
$orders = wc_get_orders( $args );
|
556 |
+
$shipment_trackers = 0;
|
557 |
+
$shipment_status = array();
|
558 |
+
$shipment_status_merge = array();
|
559 |
+
$tracking_item_merge = array();
|
560 |
+
foreach($orders as $order){
|
561 |
+
$order_id = $order->get_id();
|
562 |
+
|
563 |
+
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
564 |
+
$tracking_items = $ast->get_tracking_items( $order_id, true );
|
565 |
+
|
566 |
+
if($tracking_items){
|
567 |
+
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
568 |
+
|
569 |
+
if(is_array($shipment_status)){
|
570 |
+
$shipment_status_merge = array_merge($shipment_status_merge, $shipment_status);
|
571 |
+
}
|
572 |
+
//echo '<pre>';print_r($shipment_status_merge);echo '</pre>';
|
573 |
+
foreach ( $tracking_items as $key => $tracking_item ) {
|
574 |
+
if( isset($shipment_status[$key]) ){
|
575 |
+
$tracking_item_merge[] = $tracking_item;
|
576 |
+
$shipment_trackers++;
|
577 |
+
}
|
578 |
+
}
|
579 |
+
}
|
580 |
+
}
|
581 |
+
|
582 |
+
$shipment_status_arr = array();
|
583 |
+
|
584 |
+
foreach ((array)$shipment_status_merge as $key => $item) {
|
585 |
+
$shipment_status_arr[$item['status']][$key] = $item;
|
586 |
+
}
|
587 |
+
|
588 |
+
$tracking_provider_arr = array();
|
589 |
+
|
590 |
+
foreach ($tracking_item_merge as $key => $item) {
|
591 |
+
$tracking_provider_arr[$item['formatted_tracking_provider']][$key] = $item;
|
592 |
+
}
|
593 |
+
|
594 |
+
$tracking_issue_array = array();
|
595 |
+
foreach($shipment_status_arr as $status => $val){
|
596 |
+
if($status == 'carrier_unsupported' || $status == 'INVALID_TRACKING_NUM' || $status == 'unknown' || $status == 'wrong_shipping_provider'){
|
597 |
+
$tracking_issue_array[$status] = $val;
|
598 |
+
}
|
599 |
+
}
|
600 |
+
|
601 |
+
ksort($shipment_status_arr, SORT_NUMERIC);
|
602 |
+
ksort($tracking_provider_arr, SORT_NUMERIC);
|
603 |
+
|
604 |
+
|
605 |
+
|
606 |
+
?>
|
607 |
+
<script type="text/javascript">
|
608 |
+
AmCharts.makeChart("ast_dashboard_status_chart",
|
609 |
+
{
|
610 |
+
"type": "serial",
|
611 |
+
"categoryField": "shipment_status",
|
612 |
+
"startDuration": 1,
|
613 |
+
"handDrawScatter": 4,
|
614 |
+
"theme": "light",
|
615 |
+
"categoryAxis": {
|
616 |
+
"autoRotateAngle": 0,
|
617 |
+
"autoRotateCount": 0,
|
618 |
+
"autoWrap": true,
|
619 |
+
"gridPosition": "start",
|
620 |
+
"minHorizontalGap": 10,
|
621 |
+
"offset": 1
|
622 |
+
},
|
623 |
+
"trendLines": [],
|
624 |
+
"graphs": [
|
625 |
+
{
|
626 |
+
"balloonText": " [[shipment_status]] : [[value]]",
|
627 |
+
"bulletBorderThickness": 7,
|
628 |
+
"colorField": "color",
|
629 |
+
"fillAlphas": 1,
|
630 |
+
"id": "AmGraph-1",
|
631 |
+
"lineColorField": "color",
|
632 |
+
"title": "graph 1",
|
633 |
+
"type": "column",
|
634 |
+
"valueField": "count"
|
635 |
+
}
|
636 |
+
],
|
637 |
+
"guides": [],
|
638 |
+
"valueAxes": [
|
639 |
+
{
|
640 |
+
"id": "ValueAxis-1",
|
641 |
+
"title": ""
|
642 |
+
}
|
643 |
+
],
|
644 |
+
"allLabels": [],
|
645 |
+
"balloon": {},
|
646 |
+
"titles": [
|
647 |
+
{
|
648 |
+
"id": "Title-1",
|
649 |
+
"size": 15,
|
650 |
+
"text": ""
|
651 |
+
}
|
652 |
+
],
|
653 |
+
"dataProvider": [
|
654 |
+
<?php
|
655 |
+
foreach($shipment_status_arr as $status => $array){ ?>
|
656 |
+
{
|
657 |
+
"shipment_status": "<?php echo apply_filters("trackship_status_filter",$status); ?>",
|
658 |
+
"count": <?php echo count($array); ?>,
|
659 |
+
"color": "#BBE285",
|
660 |
+
},
|
661 |
+
<?php
|
662 |
+
} ?>
|
663 |
+
]
|
664 |
+
}
|
665 |
+
);
|
666 |
+
</script>
|
667 |
+
<script type="text/javascript">
|
668 |
+
AmCharts.makeChart("ast_dashboard_providers_chart",
|
669 |
+
{
|
670 |
+
"type": "serial",
|
671 |
+
"categoryField": "shipment_provider",
|
672 |
+
"startDuration": 1,
|
673 |
+
"handDrawScatter": 4,
|
674 |
+
"theme": "light",
|
675 |
+
"categoryAxis": {
|
676 |
+
"autoRotateAngle": 0,
|
677 |
+
"autoRotateCount": 0,
|
678 |
+
"autoWrap": true,
|
679 |
+
"gridPosition": "start",
|
680 |
+
"minHorizontalGap": 10,
|
681 |
+
"offset": 1
|
682 |
+
},
|
683 |
+
"trendLines": [],
|
684 |
+
"graphs": [
|
685 |
+
{
|
686 |
+
"balloonText": " [[shipment_provider]] : [[value]]",
|
687 |
+
"bulletBorderThickness": 7,
|
688 |
+
"colorField": "color",
|
689 |
+
"fillAlphas": 1,
|
690 |
+
"id": "AmGraph-1",
|
691 |
+
"lineColorField": "color",
|
692 |
+
"title": "graph 1",
|
693 |
+
"type": "column",
|
694 |
+
"valueField": "count"
|
695 |
+
}
|
696 |
+
],
|
697 |
+
"guides": [],
|
698 |
+
"valueAxes": [
|
699 |
+
{
|
700 |
+
"id": "ValueAxis-1",
|
701 |
+
"title": ""
|
702 |
+
}
|
703 |
+
],
|
704 |
+
"allLabels": [],
|
705 |
+
"balloon": {},
|
706 |
+
"titles": [
|
707 |
+
{
|
708 |
+
"id": "Title-1",
|
709 |
+
"size": 15,
|
710 |
+
"text": ""
|
711 |
+
}
|
712 |
+
],
|
713 |
+
"dataProvider": [
|
714 |
+
<?php
|
715 |
+
foreach($tracking_provider_arr as $provider => $array){ ?>
|
716 |
+
{
|
717 |
+
"shipment_provider": "<?php echo $provider; ?>",
|
718 |
+
"count": <?php echo count($array); ?>,
|
719 |
+
"color": "#BBE285",
|
720 |
+
},
|
721 |
+
<?php
|
722 |
+
} ?>
|
723 |
+
]
|
724 |
+
}
|
725 |
+
);
|
726 |
+
</script>
|
727 |
+
<div class="ast-dashborad-widget">
|
728 |
+
|
729 |
+
<input id="tab_s_providers" type="radio" name="tabs" class="widget_tab_input" checked>
|
730 |
+
<label for="tab_s_providers" class="widget_tab_label first_label"><?php _e('Shipment Providers', 'woo-advanced-shipment-tracking'); ?></label>
|
731 |
+
|
732 |
+
<input id="tab_s_status" type="radio" name="tabs" class="widget_tab_input">
|
733 |
+
<label for="tab_s_status" class="widget_tab_label"><?php _e('Shipment Status', 'woo-advanced-shipment-tracking'); ?></label>
|
734 |
+
|
735 |
+
<input id="tab_t_issues" type="radio" name="tabs" class="widget_tab_input">
|
736 |
+
<label for="tab_t_issues" class="widget_tab_label"><?php _e('Tracking issues', 'woo-advanced-shipment-tracking'); ?></label>
|
737 |
+
|
738 |
+
<section id="content_s_providers" class="widget_tab_section">
|
739 |
+
<?php if($tracking_provider_arr){ ?>
|
740 |
+
<div id="ast_dashboard_providers_chart" class="" style="width: 100%;height: 300px;"></div>
|
741 |
+
<?php } else{ ?>
|
742 |
+
<p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
|
743 |
+
<?php } ?>
|
744 |
+
</section>
|
745 |
+
|
746 |
+
<section id="content_s_status" class="widget_tab_section">
|
747 |
+
<?php if($shipment_status_arr){ ?>
|
748 |
+
<div id="ast_dashboard_status_chart" class="" style="width: 100%;height: 300px;"></div>
|
749 |
+
<?php } else{ ?>
|
750 |
+
<p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
|
751 |
+
<?php } ?>
|
752 |
+
</section>
|
753 |
+
|
754 |
+
<section id="content_t_issues" class="widget_tab_section">
|
755 |
+
<?php if($tracking_issue_array){ ?>
|
756 |
+
<table class="table widefat fixed striped" style="border: 0;border-bottom: 1px solid #e5e5e5;">
|
757 |
+
<tbody>
|
758 |
+
<?php foreach($tracking_issue_array as $status => $array){ ?>
|
759 |
+
<tr>
|
760 |
+
<td><a href="<?php echo get_site_url(); ?>/wp-admin/edit.php?s&post_status=all&post_type=shop_order&_shop_order_shipment_status=<?php echo $status; ?>"><?php echo apply_filters("trackship_status_filter",$status); ?></a></td>
|
761 |
+
<td><?php echo count($array); ?></td>
|
762 |
+
</tr>
|
763 |
+
<?php } ?>
|
764 |
+
</tbody>
|
765 |
+
</table>
|
766 |
+
<?php } else{ ?>
|
767 |
+
<p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
|
768 |
+
<?php } ?>
|
769 |
+
</section>
|
770 |
+
|
771 |
+
</div>
|
772 |
+
<div class="widget_footer">
|
773 |
+
<a class="" href="https://my.trackship.info/analytics/" target="blank"><?php _e( 'View more on TrackShip','woo-advanced-shipment-tracking' ); ?></a>
|
774 |
+
</div>
|
775 |
+
<?php }
|
776 |
+
|
777 |
+
/**
|
778 |
+
* Update Delivered order email enable/disable in customizer
|
779 |
+
*/
|
780 |
+
public function save_delivered_email($data){
|
781 |
+
$woocommerce_customer_delivered_order_enabled = (isset($_POST["woocommerce_customer_delivered_order_enabled"])?$_REQUEST["woocommerce_customer_delivered_order_enabled"]:"");
|
782 |
+
update_option( 'customizer_delivered_order_settings_enabled',$woocommerce_customer_delivered_order_enabled);
|
783 |
+
}
|
784 |
+
|
785 |
+
/**
|
786 |
+
* Update Partially Shipped order email enable/disable in customizer
|
787 |
+
*/
|
788 |
+
public function save_partial_shipped_email($data){
|
789 |
+
$woocommerce_customer_partial_shipped_order_enabled = (isset($_POST["woocommerce_customer_partial_shipped_order_enabled"])?$_REQUEST["woocommerce_customer_partial_shipped_order_enabled"]:"");
|
790 |
+
update_option( 'customizer_partial_shipped_order_settings_enabled',$woocommerce_customer_partial_shipped_order_enabled);
|
791 |
+
}
|
792 |
+
|
793 |
+
/**
|
794 |
+
* Synch provider function
|
795 |
+
*/
|
796 |
+
public function sync_providers_fun(){
|
797 |
+
global $wpdb;
|
798 |
+
|
799 |
+
$url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
|
800 |
+
$resp = wp_remote_get( $url );
|
801 |
+
|
802 |
+
if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
|
803 |
+
$providers = json_decode($resp['body'],true);
|
804 |
+
|
805 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
|
806 |
+
|
807 |
+
foreach ( $default_shippment_providers as $key => $val ){
|
808 |
+
$shippment_providers[ $val->provider_name ] = $val;
|
809 |
+
}
|
810 |
+
|
811 |
+
foreach ( $providers as $key => $val ){
|
812 |
+
$providers_name[ $val['provider_name'] ] = $val;
|
813 |
+
}
|
814 |
+
|
815 |
+
$added = 0;
|
816 |
+
$updated = 0;
|
817 |
+
$deleted = 0;
|
818 |
+
$added_html = '';
|
819 |
+
$updated_html = '';
|
820 |
+
$deleted_html = '';
|
821 |
+
|
822 |
+
foreach($providers as $provider){
|
823 |
+
|
824 |
+
$provider_name = $provider['shipping_provider'];
|
825 |
+
$provider_url = $provider['provider_url'];
|
826 |
+
$shipping_country = $provider['shipping_country'];
|
827 |
+
$ts_slug = $provider['shipping_provider_slug'];
|
828 |
+
|
829 |
+
if(isset($shippment_providers[$provider_name])){
|
830 |
+
$db_provider_url = $shippment_providers[$provider_name]->provider_url;
|
831 |
+
$db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
|
832 |
+
$db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
|
833 |
+
if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
|
834 |
+
$data_array = array(
|
835 |
+
'ts_slug' => $ts_slug,
|
836 |
+
'provider_url' => $provider_url,
|
837 |
+
'shipping_country' => $shipping_country,
|
838 |
+
);
|
839 |
+
$where_array = array(
|
840 |
+
'provider_name' => $provider_name,
|
841 |
+
);
|
842 |
+
$wpdb->update( $this->table, $data_array, $where_array);
|
843 |
+
$updated_data[$updated] = array('provider_name' => $provider_name);
|
844 |
+
$updated++;
|
845 |
+
}
|
846 |
+
} else{
|
847 |
+
$img_url = $provider['img_url'];
|
848 |
+
$img_slug = sanitize_title($provider_name);
|
849 |
+
$img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
|
850 |
+
|
851 |
+
$ch = curl_init();
|
852 |
+
|
853 |
+
curl_setopt($ch, CURLOPT_HEADER, 0);
|
854 |
+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
855 |
+
curl_setopt($ch, CURLOPT_URL, $img_url);
|
856 |
+
|
857 |
+
$data = curl_exec($ch);
|
858 |
+
curl_close($ch);
|
859 |
+
|
860 |
+
file_put_contents($img, $data);
|
861 |
+
|
862 |
+
|
863 |
+
$data_array = array(
|
864 |
+
'shipping_country' => sanitize_text_field($shipping_country),
|
865 |
+
'provider_name' => sanitize_text_field($provider_name),
|
866 |
+
'ts_slug' => $ts_slug,
|
867 |
+
'provider_url' => sanitize_text_field($provider_url),
|
868 |
+
'display_in_order' => 0,
|
869 |
+
'shipping_default' => 1,
|
870 |
+
);
|
871 |
+
$result = $wpdb->insert( $this->table, $data_array );
|
872 |
+
$added_data[$added] = array('provider_name' => $provider_name);
|
873 |
+
$added++;
|
874 |
+
}
|
875 |
+
}
|
876 |
+
foreach($default_shippment_providers as $db_provider){
|
877 |
+
if(!isset($providers_name[$db_provider->provider_name])){
|
878 |
+
$where = array(
|
879 |
+
'provider_name' => $db_provider->provider_name,
|
880 |
+
'shipping_default' => 1
|
881 |
+
);
|
882 |
+
$wpdb->delete( $this->table, $where );
|
883 |
+
$deleted_data[$deleted] = array('provider_name' => $db_provider->provider_name);
|
884 |
+
$deleted++;
|
885 |
+
}
|
886 |
+
}
|
887 |
+
if($added > 0){
|
888 |
+
ob_start();
|
889 |
+
$added_html = $this->added_html($added_data);
|
890 |
+
$added_html = ob_get_clean();
|
891 |
+
}
|
892 |
+
if($updated > 0){
|
893 |
+
ob_start();
|
894 |
+
$updated_html = $this->updated_html($updated_data);
|
895 |
+
$updated_html = ob_get_clean();
|
896 |
+
}
|
897 |
+
if($deleted > 0){
|
898 |
+
ob_start();
|
899 |
+
$deleted_html = $this->deleted_html($deleted_data);
|
900 |
+
$deleted_html = ob_get_clean();
|
901 |
+
}
|
902 |
+
|
903 |
+
$status = 'active';
|
904 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
|
905 |
+
ob_start();
|
906 |
+
$admin = new WC_Advanced_Shipment_Tracking_Admin;
|
907 |
+
$html = $admin->get_provider_html($default_shippment_providers,$status);
|
908 |
+
$html = ob_get_clean();
|
909 |
+
echo json_encode( array('added' => $added,'added_html' =>$added_html,'updated' => $updated,'updated_html' =>$updated_html,'deleted' => $deleted,'deleted_html' =>$deleted_html,'html' => $html) );exit;
|
910 |
+
} else{
|
911 |
+
echo json_encode( array('sync_error' => 1, 'message' => __( 'There are some issue with sync, Please Retry.', 'woo-advanced-shipment-tracking')) );exit;
|
912 |
+
}
|
913 |
+
}
|
914 |
+
|
915 |
+
/**
|
916 |
+
* Output html of added provider from sync providers
|
917 |
+
*/
|
918 |
+
public function added_html($added_data){ ?>
|
919 |
+
<ul class="updated_details" id="added_providers">
|
920 |
+
<?php
|
921 |
+
foreach ( $added_data as $added ){ ?>
|
922 |
+
<li><?php echo $added['provider_name']; ?></li>
|
923 |
+
<?php }
|
924 |
+
?>
|
925 |
+
</ul>
|
926 |
+
<a class="view_synch_details" id="view_added_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
|
927 |
+
<a class="view_synch_details" id="hide_added_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
|
928 |
+
<?php }
|
929 |
+
|
930 |
+
/**
|
931 |
+
* Output html of updated provider from sync providers
|
932 |
+
*/
|
933 |
+
public function updated_html($updated_data){ ?>
|
934 |
+
<ul class="updated_details" id="updated_providers">
|
935 |
+
<?php
|
936 |
+
foreach ( $updated_data as $updated ){ ?>
|
937 |
+
<li><?php echo $updated['provider_name']; ?></li>
|
938 |
+
<?php }
|
939 |
+
?>
|
940 |
+
</ul>
|
941 |
+
<a class="view_synch_details" id="view_updated_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
|
942 |
+
<a class="view_synch_details" id="hide_updated_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
|
943 |
+
<?php }
|
944 |
+
|
945 |
+
/**
|
946 |
+
* Output html of deleted provider from sync providers
|
947 |
+
*/
|
948 |
+
public function deleted_html($deleted_data){ ?>
|
949 |
+
<ul class="updated_details" id="deleted_providers">
|
950 |
+
<?php
|
951 |
+
foreach ( $deleted_data as $deleted ){ ?>
|
952 |
+
<li><?php echo $deleted['provider_name']; ?></li>
|
953 |
+
<?php }
|
954 |
+
?>
|
955 |
+
</ul>
|
956 |
+
<a class="view_synch_details" id="view_deleted_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
|
957 |
+
<a class="view_synch_details" id="hide_deleted_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
|
958 |
+
<?php }
|
959 |
+
}
|
includes/class-wc-advanced-shipment-tracking.php
CHANGED
@@ -181,18 +181,25 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
181 |
|
182 |
$wc_ast_status_shipped = get_option('wc_ast_status_shipped');
|
183 |
if($wc_ast_status_shipped == 1){
|
184 |
-
$change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
|
|
|
185 |
} else{
|
186 |
$change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
|
|
|
187 |
}
|
|
|
|
|
188 |
?>
|
189 |
<div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
|
190 |
<div class="trackingpopup_row">
|
191 |
<h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
|
192 |
<form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
|
193 |
-
|
|
|
|
|
|
|
194 |
<p class="form-field">
|
195 |
-
<select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width:
|
196 |
<option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
|
197 |
<?php
|
198 |
foreach($shippment_countries as $s_c){
|
@@ -215,31 +222,40 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
215 |
<p class="form-field tracking_number_field ">
|
216 |
<label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
|
217 |
<input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
|
218 |
-
</p>
|
219 |
-
<?php
|
220 |
-
woocommerce_wp_text_input( array(
|
221 |
-
'id' => 'date_shipped',
|
222 |
-
'label' => __( 'Date shipped:', 'woo-advanced-shipment-tracking' ),
|
223 |
-
'placeholder' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ),
|
224 |
-
'description' => '',
|
225 |
-
'class' => 'date-picker-field',
|
226 |
-
'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
|
227 |
-
) );
|
228 |
-
?>
|
229 |
-
<p class="form-field change_order_to_shipped_field ">
|
230 |
-
<label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
|
231 |
-
<input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
|
232 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
<p class="" style="text-align:left;">
|
234 |
<input type="hidden" name="action" value="add_inline_tracking_number">
|
235 |
<input type="hidden" name="order_id" id="order_id" value="">
|
236 |
-
<input type="submit" name="Submit" value="
|
237 |
</p>
|
238 |
</form>
|
239 |
</div>
|
240 |
<div class="popupclose"></div>
|
241 |
</div>
|
242 |
<?php
|
|
|
243 |
}
|
244 |
|
245 |
/**
|
@@ -256,21 +272,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
256 |
$formatted = $this->get_formatted_tracking_item( $order_id, $item );
|
257 |
?>
|
258 |
<div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
|
259 |
-
<
|
260 |
-
<
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
|
|
271 |
<p class="meta">
|
272 |
<?php /* translators: 1: shipping date */ ?>
|
273 |
-
<?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( '
|
274 |
<a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
|
275 |
</p>
|
276 |
</div>
|
@@ -284,6 +301,12 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
284 |
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
285 |
$tracking_id = $item['tracking_id'];
|
286 |
$tracking_items = $this->get_tracking_items( $order_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
if ( count( $tracking_items ) > 0 ) {
|
288 |
foreach ( $tracking_items as $key => $tracking_item ) {
|
289 |
if( $tracking_id == $tracking_item['tracking_id'] ){
|
@@ -298,14 +321,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
298 |
if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
|
299 |
$has_est_delivery = true;
|
300 |
}
|
301 |
-
?>
|
302 |
-
|
303 |
<span class="ast-shipment-status shipment-<?php echo sanitize_title($status)?>"><?php echo apply_filters( "trackship_status_icon_filter", "", $status )?> <strong><?php echo apply_filters("trackship_status_filter",$status)?></strong></span>
|
304 |
-
<span class="">on <?php echo date(
|
305 |
<br>
|
306 |
<?php if( $has_est_delivery ){?>
|
307 |
-
<span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date(
|
308 |
<?php } ?>
|
|
|
309 |
<?php
|
310 |
}
|
311 |
}
|
@@ -347,23 +371,31 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
347 |
|
348 |
$default_provider = get_option("wc_ast_default_provider" );
|
349 |
$wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
|
|
|
350 |
$value = 1;
|
351 |
$cbvalue = '';
|
352 |
if($wc_ast_default_mark_shipped == 1){
|
353 |
-
$
|
|
|
|
|
|
|
|
|
354 |
}
|
355 |
|
356 |
$wc_ast_status_shipped = get_option('wc_ast_status_shipped');
|
357 |
if($wc_ast_status_shipped == 1){
|
358 |
-
$change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
|
|
|
359 |
} else{
|
360 |
$change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
|
|
|
361 |
}
|
362 |
|
|
|
363 |
|
364 |
echo '<div id="tracking-items">';
|
365 |
if ( count( $tracking_items ) > 0 ) {
|
366 |
-
foreach ( $tracking_items as $tracking_item ) {
|
367 |
$this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
|
368 |
}
|
369 |
}
|
@@ -424,18 +456,31 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
424 |
'description' => '',
|
425 |
'class' => 'date-picker-field',
|
426 |
'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
|
427 |
-
) );
|
|
|
|
|
428 |
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
|
440 |
echo '</div>';
|
441 |
$provider_array = array();
|
@@ -493,6 +538,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
493 |
|
494 |
wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
495 |
wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
|
|
|
|
|
496 |
}
|
497 |
|
498 |
/**
|
@@ -554,11 +601,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
554 |
|
555 |
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
556 |
|
557 |
-
if($_POST['change_order_to_shipped'] == '
|
558 |
$order = new WC_Order($order_id);
|
559 |
$order->update_status('completed');
|
560 |
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
561 |
$ast_admin->trigger_woocommerce_order_status_completed( $order_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
562 |
}
|
563 |
|
564 |
$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
|
@@ -573,8 +631,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
573 |
* Function for saving tracking items via AJAX
|
574 |
*/
|
575 |
public function save_inline_tracking_number() {
|
576 |
-
if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
|
577 |
-
|
578 |
$order_id = wc_clean( $_POST['order_id'] );
|
579 |
$args = array(
|
580 |
'tracking_provider' => $_POST['tracking_provider'],
|
@@ -582,16 +639,26 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
582 |
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
583 |
);
|
584 |
|
585 |
-
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
586 |
|
587 |
-
if($_POST['change_order_to_shipped'] == 'yes'){
|
588 |
$order = new WC_Order($order_id);
|
589 |
$order->update_status('completed');
|
590 |
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
591 |
$ast_admin->trigger_woocommerce_order_status_completed( $order_id );
|
592 |
-
}
|
593 |
-
|
594 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
595 |
}
|
596 |
}
|
597 |
|
@@ -645,7 +712,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
645 |
* Display Shipment info in the frontend (order view/tracking page).
|
646 |
*/
|
647 |
public function show_tracking_info_order( $order_id ) {
|
648 |
-
wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
649 |
}
|
650 |
|
651 |
/**
|
@@ -681,21 +748,21 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
681 |
|
682 |
$order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
|
683 |
$order = wc_get_order( $order_id );
|
684 |
-
$order_status = $order->get_status();
|
685 |
-
//echo '<pre>';print_r($wc_ast_unclude_tracking_info);echo '</pre>';exit;
|
686 |
|
687 |
-
if ( is_a( $email, 'WC_Email_Customer_Invoice' ) &&
|
688 |
return;
|
689 |
-
}
|
|
|
690 |
return;
|
691 |
}
|
692 |
-
|
693 |
$tracking_items = $this->get_tracking_items( $order_id, true );
|
694 |
|
695 |
if ( true === $plain_text ) {
|
696 |
-
wc_get_template( 'emails/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
697 |
} else {
|
698 |
-
wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
699 |
}
|
700 |
}
|
701 |
|
@@ -805,6 +872,20 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
805 |
*/
|
806 |
public function get_formatted_tracking_item( $order_id, $tracking_item ) {
|
807 |
$formatted = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
808 |
|
809 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
810 |
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
@@ -823,7 +904,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
823 |
$formatted['formatted_tracking_provider'] = '';
|
824 |
$formatted['formatted_tracking_link'] = '';
|
825 |
|
826 |
-
if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider']
|
827 |
$formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
|
828 |
$formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
|
829 |
} else {
|
@@ -846,7 +927,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
846 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
847 |
$use_tracking_page = get_option('wc_ast_use_tracking_page');
|
848 |
|
849 |
-
if( $wc_ast_api_key && $use_tracking_page){
|
850 |
$order_key = $order->get_order_key();
|
851 |
$formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
|
852 |
} else {
|
@@ -860,19 +941,39 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
860 |
$shipping_country = $order->get_shipping_country();
|
861 |
} else{
|
862 |
$shipping_country = $order->get_billing_country();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
863 |
}
|
864 |
|
865 |
if($order->get_shipping_postcode() != null){
|
866 |
$shipping_postal_code = $order->get_shipping_postcode();
|
867 |
} else{
|
868 |
$shipping_postal_code = $order->get_billing_postcode();
|
869 |
-
}
|
870 |
-
|
871 |
-
$
|
872 |
-
$link_format = str_replace(
|
873 |
-
|
874 |
-
$
|
875 |
-
|
|
|
|
|
|
|
|
|
876 |
|
877 |
$formatted['formatted_tracking_link'] = $link_format;
|
878 |
}
|
@@ -944,6 +1045,10 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
944 |
$tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
|
945 |
}
|
946 |
|
|
|
|
|
|
|
|
|
947 |
if(isset($args['status_shipped'])){
|
948 |
$tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
|
949 |
}
|
@@ -963,11 +1068,21 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
963 |
|
964 |
$this->save_tracking_items( $order_id, $tracking_items );
|
965 |
|
966 |
-
|
|
|
|
|
967 |
$order = new WC_Order( $order_id );
|
968 |
$order->update_status('completed');
|
969 |
}
|
970 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
971 |
$formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
972 |
$tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
|
973 |
|
@@ -1029,10 +1144,17 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
1029 |
$this->save_tracking_items( $order_id, $tracking_items );
|
1030 |
}
|
1031 |
|
1032 |
-
|
|
|
|
|
1033 |
$order = new WC_Order( $order_id );
|
1034 |
$order->update_status('completed');
|
1035 |
}
|
|
|
|
|
|
|
|
|
|
|
1036 |
return $tracking_item;
|
1037 |
}
|
1038 |
|
@@ -1171,7 +1293,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
1171 |
tracking_number.css( "border-color", "red" );
|
1172 |
error = true;
|
1173 |
} else {
|
1174 |
-
var pattern = /^[
|
1175 |
if(!pattern.test(tracking_number.val())){
|
1176 |
tracking_number.css( "border-color", "red" );
|
1177 |
error = true;
|
@@ -1200,7 +1322,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
1200 |
wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
|
1201 |
} elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
|
1202 |
wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
|
1203 |
-
}
|
|
|
1204 |
}
|
1205 |
}
|
1206 |
|
@@ -1292,11 +1415,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
|
|
1292 |
'post_type' => 'shop_order',
|
1293 |
'posts_per_page' => '1',
|
1294 |
'meta_query' => array(
|
1295 |
-
'relation' => '
|
1296 |
array(
|
1297 |
-
|
1298 |
-
|
1299 |
),
|
|
|
|
|
|
|
|
|
1300 |
),
|
1301 |
'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
|
1302 |
);
|
181 |
|
182 |
$wc_ast_status_shipped = get_option('wc_ast_status_shipped');
|
183 |
if($wc_ast_status_shipped == 1){
|
184 |
+
$change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
|
185 |
+
$shipped_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
|
186 |
} else{
|
187 |
$change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
|
188 |
+
$shipped_label = __( 'Completed', 'woo-advanced-shipment-tracking' );
|
189 |
}
|
190 |
+
|
191 |
+
$wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
|
192 |
?>
|
193 |
<div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
|
194 |
<div class="trackingpopup_row">
|
195 |
<h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
|
196 |
<form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
|
197 |
+
<p class="form-field tracking_number_field ">
|
198 |
+
<label for="tracking_number"><?php _e( 'Provider:', 'woo-advanced-shipment-tracking'); ?></label>
|
199 |
+
<input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
|
200 |
+
</p>
|
201 |
<p class="form-field">
|
202 |
+
<select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 100%;max-width: 100%;">
|
203 |
<option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
|
204 |
<?php
|
205 |
foreach($shippment_countries as $s_c){
|
222 |
<p class="form-field tracking_number_field ">
|
223 |
<label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
|
224 |
<input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
</p>
|
226 |
+
<p class="form-field date_shipped_field">
|
227 |
+
<label for="date_shipped"><?php _e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
|
228 |
+
<input type="text" class="date-picker-field" style="" name="date_shipped" id="date_shipped" value="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ); ?>" placeholder="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ); ?>">
|
229 |
+
</p>
|
230 |
+
<?php
|
231 |
+
|
232 |
+
//do_action("ast_tracking_form_between_form", $post->ID);
|
233 |
+
|
234 |
+
if($wc_ast_status_partial_shipped){ ?>
|
235 |
+
<fieldset class="form-field change_order_to_shipped_field ">
|
236 |
+
<legend><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></legend>
|
237 |
+
<ul class="wc-radios">
|
238 |
+
<li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short" style=""><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
|
239 |
+
<li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short" style=""><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
|
240 |
+
</ul>
|
241 |
+
</fieldset>
|
242 |
+
<?php } else{ ?>
|
243 |
+
<p class="form-field change_order_to_shipped_field ">
|
244 |
+
<label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
|
245 |
+
<input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
|
246 |
+
</p>
|
247 |
+
<?php } ?>
|
248 |
<p class="" style="text-align:left;">
|
249 |
<input type="hidden" name="action" value="add_inline_tracking_number">
|
250 |
<input type="hidden" name="order_id" id="order_id" value="">
|
251 |
+
<input type="submit" name="Submit" value="Save Tracking" class="button-primary btn_green">
|
252 |
</p>
|
253 |
</form>
|
254 |
</div>
|
255 |
<div class="popupclose"></div>
|
256 |
</div>
|
257 |
<?php
|
258 |
+
//wp_enqueue_script( 'wc-admin-meta-boxes' );
|
259 |
}
|
260 |
|
261 |
/**
|
272 |
$formatted = $this->get_formatted_tracking_item( $order_id, $item );
|
273 |
?>
|
274 |
<div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
|
275 |
+
<div class="tracking-content">
|
276 |
+
<div class="tracking-content-div">
|
277 |
+
<strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
|
278 |
+
<?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
|
279 |
+
- <?php
|
280 |
+
$url = str_replace('%number%',$item['tracking_number'],$formatted['formatted_tracking_link']);
|
281 |
+
echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . __( $item['tracking_number'] ) . '</a>', esc_url( $url ) ); ?>
|
282 |
+
<?php endif; ?>
|
283 |
+
</div>
|
284 |
+
<?php do_action('ast_after_tracking_number',$order_id,$item['tracking_id']); ?>
|
285 |
+
<?php
|
286 |
+
$this->display_shipment_tracking_info( $order_id, $item );?>
|
287 |
+
</div>
|
288 |
<p class="meta">
|
289 |
<?php /* translators: 1: shipping date */ ?>
|
290 |
+
<?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( get_option( 'date_format' ), $item['date_shipped'] ) ) ); ?>
|
291 |
<a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
|
292 |
</p>
|
293 |
</div>
|
301 |
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
302 |
$tracking_id = $item['tracking_id'];
|
303 |
$tracking_items = $this->get_tracking_items( $order_id );
|
304 |
+
$wp_date_format = get_option( 'date_format' );
|
305 |
+
if($wp_date_format == 'd/m/Y'){
|
306 |
+
$date_format = 'd/m';
|
307 |
+
} else{
|
308 |
+
$date_format = 'm/d';
|
309 |
+
}
|
310 |
if ( count( $tracking_items ) > 0 ) {
|
311 |
foreach ( $tracking_items as $key => $tracking_item ) {
|
312 |
if( $tracking_id == $tracking_item['tracking_id'] ){
|
321 |
if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
|
322 |
$has_est_delivery = true;
|
323 |
}
|
324 |
+
?>
|
325 |
+
<div class="ast-shipment-status-div">
|
326 |
<span class="ast-shipment-status shipment-<?php echo sanitize_title($status)?>"><?php echo apply_filters( "trackship_status_icon_filter", "", $status )?> <strong><?php echo apply_filters("trackship_status_filter",$status)?></strong></span>
|
327 |
+
<span class="">on <?php echo date( $date_format, strtotime($status_date))?></span>
|
328 |
<br>
|
329 |
<?php if( $has_est_delivery ){?>
|
330 |
+
<span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( $date_format, strtotime($est_delivery_date))?>)</span>
|
331 |
<?php } ?>
|
332 |
+
</div>
|
333 |
<?php
|
334 |
}
|
335 |
}
|
371 |
|
372 |
$default_provider = get_option("wc_ast_default_provider" );
|
373 |
$wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
|
374 |
+
$wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
|
375 |
$value = 1;
|
376 |
$cbvalue = '';
|
377 |
if($wc_ast_default_mark_shipped == 1){
|
378 |
+
if($wc_ast_status_partial_shipped){
|
379 |
+
$cbvalue = 'change_order_to_shipped';
|
380 |
+
} else{
|
381 |
+
$cbvalue = 1;
|
382 |
+
}
|
383 |
}
|
384 |
|
385 |
$wc_ast_status_shipped = get_option('wc_ast_status_shipped');
|
386 |
if($wc_ast_status_shipped == 1){
|
387 |
+
$change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
|
388 |
+
$shipped_label = 'Shipped';
|
389 |
} else{
|
390 |
$change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
|
391 |
+
$shipped_label = 'Completed';
|
392 |
}
|
393 |
|
394 |
+
|
395 |
|
396 |
echo '<div id="tracking-items">';
|
397 |
if ( count( $tracking_items ) > 0 ) {
|
398 |
+
foreach ( $tracking_items as $tracking_item ) {
|
399 |
$this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
|
400 |
}
|
401 |
}
|
456 |
'description' => '',
|
457 |
'class' => 'date-picker-field',
|
458 |
'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
|
459 |
+
) );
|
460 |
+
|
461 |
+
do_action("ast_tracking_form_between_form", $post->ID);
|
462 |
|
463 |
+
if($wc_ast_status_partial_shipped){
|
464 |
+
?>
|
465 |
+
<fieldset class="form-field change_order_to_shipped_field" style="margin-bottom: 10px;">
|
466 |
+
<span><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></span>
|
467 |
+
<ul class="wc-radios">
|
468 |
+
<li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short mark_shipped_checkbox" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
|
469 |
+
<li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short mark_shipped_checkbox"><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
|
470 |
+
</ul>
|
471 |
+
</fieldset>
|
472 |
+
<?php
|
473 |
+
} else{
|
474 |
+
woocommerce_wp_checkbox( array(
|
475 |
+
'id' => 'change_order_to_shipped',
|
476 |
+
'label' => __( $change_order_status_label, 'woo-advanced-shipment-tracking' ),
|
477 |
+
'description' => '',
|
478 |
+
'cbvalue' => $cbvalue,
|
479 |
+
'value' => $value,
|
480 |
+
) );
|
481 |
+
}
|
482 |
+
echo '<button class="button button-primary btn_green button-save-form">' . __( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
|
483 |
+
echo '<p class="preview_tracking_link">' . __( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
|
484 |
|
485 |
echo '</div>';
|
486 |
$provider_array = array();
|
538 |
|
539 |
wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
540 |
wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
|
541 |
+
|
542 |
+
do_action("ast_tracking_form_end_meta_box");
|
543 |
}
|
544 |
|
545 |
/**
|
601 |
|
602 |
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
603 |
|
604 |
+
if($_POST['change_order_to_shipped'] == 'change_order_to_shipped'){
|
605 |
$order = new WC_Order($order_id);
|
606 |
$order->update_status('completed');
|
607 |
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
608 |
$ast_admin->trigger_woocommerce_order_status_completed( $order_id );
|
609 |
+
} elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
|
610 |
+
$order = new WC_Order($order_id);
|
611 |
+
$previous_order_status = $order->get_status();
|
612 |
+
|
613 |
+
if('partial-shipped' == $previous_order_status){
|
614 |
+
WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
|
615 |
+
}
|
616 |
+
|
617 |
+
$order->update_status('partial-shipped');
|
618 |
+
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
619 |
+
$ast_admin->trigger_woocommerce_order_status_completed( $order_id );
|
620 |
}
|
621 |
|
622 |
$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
|
631 |
* Function for saving tracking items via AJAX
|
632 |
*/
|
633 |
public function save_inline_tracking_number() {
|
634 |
+
if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
|
|
|
635 |
$order_id = wc_clean( $_POST['order_id'] );
|
636 |
$args = array(
|
637 |
'tracking_provider' => $_POST['tracking_provider'],
|
639 |
'date_shipped' => wc_clean( $_POST['date_shipped'] ),
|
640 |
);
|
641 |
|
642 |
+
$tracking_item = $this->add_tracking_item( $order_id, $args );
|
643 |
|
644 |
+
if($_POST['change_order_to_shipped'] == 'change_order_to_shipped' || $_POST['change_order_to_shipped'] == 'yes'){
|
645 |
$order = new WC_Order($order_id);
|
646 |
$order->update_status('completed');
|
647 |
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
648 |
$ast_admin->trigger_woocommerce_order_status_completed( $order_id );
|
649 |
+
} elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
|
650 |
+
$order = new WC_Order($order_id);
|
651 |
+
|
652 |
+
$previous_order_status = $order->get_status();
|
653 |
+
|
654 |
+
if('partial-shipped' == $previous_order_status){
|
655 |
+
WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
|
656 |
+
}
|
657 |
+
|
658 |
+
$order->update_status('partial-shipped');
|
659 |
+
$ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
|
660 |
+
$ast_admin->trigger_woocommerce_order_status_completed( $order_id );
|
661 |
+
}
|
662 |
}
|
663 |
}
|
664 |
|
712 |
* Display Shipment info in the frontend (order view/tracking page).
|
713 |
*/
|
714 |
public function show_tracking_info_order( $order_id ) {
|
715 |
+
wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
716 |
}
|
717 |
|
718 |
/**
|
748 |
|
749 |
$order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
|
750 |
$order = wc_get_order( $order_id );
|
751 |
+
$order_status = $order->get_status();
|
|
|
752 |
|
753 |
+
if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && isset($wc_ast_unclude_tracking_info['show_in_customer_invoice']) && $wc_ast_unclude_tracking_info['show_in_customer_invoice'] == 0){
|
754 |
return;
|
755 |
+
}
|
756 |
+
if(isset($wc_ast_unclude_tracking_info[$order_status]) && $wc_ast_unclude_tracking_info[$order_status] == 0 && !is_a( $email, 'WC_Email_Customer_Invoice' )){
|
757 |
return;
|
758 |
}
|
759 |
+
|
760 |
$tracking_items = $this->get_tracking_items( $order_id, true );
|
761 |
|
762 |
if ( true === $plain_text ) {
|
763 |
+
wc_get_template( 'emails/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
764 |
} else {
|
765 |
+
wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
766 |
}
|
767 |
}
|
768 |
|
872 |
*/
|
873 |
public function get_formatted_tracking_item( $order_id, $tracking_item ) {
|
874 |
$formatted = array();
|
875 |
+
$tracking_items = $this->get_tracking_items( $order_id );
|
876 |
+
|
877 |
+
foreach($tracking_items as $key=>$item){
|
878 |
+
if($item['tracking_id'] == $tracking_item['tracking_id']){
|
879 |
+
$shipmet_key = $key;
|
880 |
+
}
|
881 |
+
}
|
882 |
+
|
883 |
+
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
884 |
+
|
885 |
+
$status = '';
|
886 |
+
if(isset($shipment_status[$shipmet_key])){
|
887 |
+
$status = $shipment_status[$shipmet_key]['status'];
|
888 |
+
}
|
889 |
|
890 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
891 |
$postcode = get_post_meta( $order_id, '_shipping_postcode', true );
|
904 |
$formatted['formatted_tracking_provider'] = '';
|
905 |
$formatted['formatted_tracking_link'] = '';
|
906 |
|
907 |
+
if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider']) ) {
|
908 |
$formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
|
909 |
$formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
|
910 |
} else {
|
927 |
$wc_ast_api_key = get_option('wc_ast_api_key');
|
928 |
$use_tracking_page = get_option('wc_ast_use_tracking_page');
|
929 |
|
930 |
+
if( $wc_ast_api_key && $use_tracking_page && $status != 'carrier_unsupported'){
|
931 |
$order_key = $order->get_order_key();
|
932 |
$formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
|
933 |
} else {
|
941 |
$shipping_country = $order->get_shipping_country();
|
942 |
} else{
|
943 |
$shipping_country = $order->get_billing_country();
|
944 |
+
}
|
945 |
+
|
946 |
+
if($shipping_country){
|
947 |
+
|
948 |
+
if($tracking_item['tracking_provider'] == 'jp-post' && $shipping_country != 'JP'){
|
949 |
+
$local_en = '&locale=en';
|
950 |
+
$link_format = $link_format.$local_en;
|
951 |
+
}
|
952 |
+
|
953 |
+
if($tracking_item['tracking_provider'] == 'dhl-ecommerce'){
|
954 |
+
$link_format = str_replace('us-en', strtolower($shipping_country).'-en', $link_format);
|
955 |
+
}
|
956 |
+
|
957 |
+
if($tracking_item['tracking_provider'] == 'dhl-freight'){
|
958 |
+
$link_format = str_replace('global-en', strtolower($shipping_country).'-en', $link_format);
|
959 |
+
}
|
960 |
}
|
961 |
|
962 |
if($order->get_shipping_postcode() != null){
|
963 |
$shipping_postal_code = $order->get_shipping_postcode();
|
964 |
} else{
|
965 |
$shipping_postal_code = $order->get_billing_postcode();
|
966 |
+
}
|
967 |
+
|
968 |
+
$shipping_country = str_replace(' ', '', $shipping_country);
|
969 |
+
$link_format = str_replace("%country_code%", $shipping_country, $link_format);
|
970 |
+
|
971 |
+
if($tracking_item['tracking_provider'] == 'apc-overnight'){
|
972 |
+
$shipping_postal_code = str_replace(' ', '+', $shipping_postal_code);
|
973 |
+
} else{
|
974 |
+
$shipping_postal_code = str_replace(' ', '', $shipping_postal_code);
|
975 |
+
}
|
976 |
+
$link_format = str_replace("%postal_code%", $shipping_postal_code, $link_format);
|
977 |
|
978 |
$formatted['formatted_tracking_link'] = $link_format;
|
979 |
}
|
1045 |
$tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
|
1046 |
}
|
1047 |
|
1048 |
+
if(isset($args['products_list'])){
|
1049 |
+
$tracking_item['products_list'] = $args['products_list'];
|
1050 |
+
}
|
1051 |
+
|
1052 |
if(isset($args['status_shipped'])){
|
1053 |
$tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
|
1054 |
}
|
1068 |
|
1069 |
$this->save_tracking_items( $order_id, $tracking_items );
|
1070 |
|
1071 |
+
$status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
|
1072 |
+
|
1073 |
+
if( $status_shipped == 1){
|
1074 |
$order = new WC_Order( $order_id );
|
1075 |
$order->update_status('completed');
|
1076 |
}
|
1077 |
|
1078 |
+
if( $status_shipped == 2){
|
1079 |
+
$wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
|
1080 |
+
if($wc_ast_status_partial_shipped){
|
1081 |
+
$order = new WC_Order( $order_id );
|
1082 |
+
$order->update_status('partial-shipped');
|
1083 |
+
}
|
1084 |
+
}
|
1085 |
+
|
1086 |
$formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
|
1087 |
$tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
|
1088 |
|
1144 |
$this->save_tracking_items( $order_id, $tracking_items );
|
1145 |
}
|
1146 |
|
1147 |
+
$status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
|
1148 |
+
|
1149 |
+
if( $status_shipped == 1){
|
1150 |
$order = new WC_Order( $order_id );
|
1151 |
$order->update_status('completed');
|
1152 |
}
|
1153 |
+
|
1154 |
+
if( $status_shipped == 2){
|
1155 |
+
$order = new WC_Order( $order_id );
|
1156 |
+
$order->update_status('partial-shipped');
|
1157 |
+
}
|
1158 |
return $tracking_item;
|
1159 |
}
|
1160 |
|
1293 |
tracking_number.css( "border-color", "red" );
|
1294 |
error = true;
|
1295 |
} else {
|
1296 |
+
var pattern = /^[0-9a-zA-Z- \b]+$/;
|
1297 |
if(!pattern.test(tracking_number.val())){
|
1298 |
tracking_number.css( "border-color", "red" );
|
1299 |
error = true;
|
1322 |
wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
|
1323 |
} elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
|
1324 |
wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
|
1325 |
+
}
|
1326 |
+
do_action( 'ast_trigger_ts_status_change',$order_id, $old_status, $new_status );
|
1327 |
}
|
1328 |
}
|
1329 |
|
1415 |
'post_type' => 'shop_order',
|
1416 |
'posts_per_page' => '1',
|
1417 |
'meta_query' => array(
|
1418 |
+
'relation' => 'OR',
|
1419 |
array(
|
1420 |
+
'key' => '_ebay_extended_order_id',
|
1421 |
+
'value' => $order_id
|
1422 |
),
|
1423 |
+
array(
|
1424 |
+
'key' => '_ebay_order_id',
|
1425 |
+
'value' => $order_id
|
1426 |
+
),
|
1427 |
),
|
1428 |
'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
|
1429 |
);
|
includes/class-wc-advanced-shipment-welcome.php
ADDED
@@ -0,0 +1,365 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class AST_Welcome
|
5 |
+
*/
|
6 |
+
class AST_Welcome {
|
7 |
+
|
8 |
+
/**
|
9 |
+
* AST_Welcome constructor.
|
10 |
+
*/
|
11 |
+
public function __construct() {
|
12 |
+
|
13 |
+
// If we are not in admin or admin ajax, return
|
14 |
+
if ( ! is_admin() ) {
|
15 |
+
return;
|
16 |
+
}
|
17 |
+
|
18 |
+
add_action( 'admin_init', array( $this, 'maybe_redirect' ), 9999 );
|
19 |
+
add_action( 'admin_menu', array( $this, 'register_welcome_page' ) );
|
20 |
+
add_action( 'admin_head', array( $this, 'hide_menu' ) );
|
21 |
+
|
22 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'welcome_scripts' ) );
|
23 |
+
add_action( 'in_admin_header', array( $this, 'remove_all_admin_notice' ), 1000 );
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Register the pages to be used for the Welcome screen.
|
28 |
+
*
|
29 |
+
* These pages will be removed from the Dashboard menu, so they will
|
30 |
+
* not actually show. Sneaky, sneaky.
|
31 |
+
*
|
32 |
+
* @since 1.0.0
|
33 |
+
*/
|
34 |
+
public function register_welcome_page() {
|
35 |
+
|
36 |
+
// Getting started - shows after installation.
|
37 |
+
add_dashboard_page(
|
38 |
+
esc_html__( 'Welcome to Advanced Shipment Tracking', 'woo-advanced-shipment-tracking' ),
|
39 |
+
esc_html__( 'Welcome to Advanced Shipment Tracking', 'woo-advanced-shipment-tracking' ),
|
40 |
+
apply_filters( 'ast_welcome_cap', 'manage_options' ),
|
41 |
+
'ast-getting-started',
|
42 |
+
array( $this, 'welcome_screen' )
|
43 |
+
);
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Removed the dashboard pages from the admin menu.
|
48 |
+
*
|
49 |
+
* This means the pages are still available to us, but hidden.
|
50 |
+
*
|
51 |
+
* @since 1.0.0
|
52 |
+
*/
|
53 |
+
public function hide_menu() {
|
54 |
+
remove_submenu_page( 'index.php', 'ast-getting-started' );
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Load the welcome screen content.
|
59 |
+
*/
|
60 |
+
public function welcome_screen() { ?>
|
61 |
+
<div class="ast-admin-welcome-page">
|
62 |
+
<header class="ast-onboarding-header">
|
63 |
+
<!--nav class="ast-header-navigation"><a href="https://www.inearu.com/wp-admin/admin.php?page=ast_settings" class="ast-exit-button"><i class="monstericon-times-circle"></i><span>Exit Setup</span></a></nav-->
|
64 |
+
<h1 class="ast-onboarding-wizard-logo"><div class="ast-logo"><div class="ast-bg-img"><img class="plugin-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ast-logo.png"></div></div></h1></header>
|
65 |
+
<div class="ast-onboarding-wizard-container">
|
66 |
+
<div class="ast-onboarding-wizard-steps">
|
67 |
+
<!---->
|
68 |
+
<div class="ast-onboarding-wizard-step step-welcome ast-onboarding-wizard-step-active"></div>
|
69 |
+
<div class="ast-onboarding-wizard-step-line"></div>
|
70 |
+
<div class="ast-onboarding-wizard-step step-shipping"></div>
|
71 |
+
<div class="ast-onboarding-wizard-step-line"></div>
|
72 |
+
<div class="ast-onboarding-wizard-step step-delivered"></div>
|
73 |
+
<div class="ast-onboarding-wizard-step-line"></div>
|
74 |
+
<div class="ast-onboarding-wizard-step step-trackship"></div>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
<div class="ast-onboarding-wizard-container">
|
78 |
+
<div class="woocommerce zorem_admin_layout ast-onboarding-wizard-content">
|
79 |
+
<div class="ast-onboarding-step-welcome">
|
80 |
+
<header>
|
81 |
+
<h2>General Settings</h2>
|
82 |
+
</header>
|
83 |
+
<div class="ast-onboarding-wizard-form">
|
84 |
+
<div class="ast-separator"></div>
|
85 |
+
<form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
|
86 |
+
<?php
|
87 |
+
$admin = new WC_Advanced_Shipment_Tracking_Admin;
|
88 |
+
$admin->get_html( $admin->get_settings_data() ); ?>
|
89 |
+
<div class="submit">
|
90 |
+
<button name="save" class="button-primary ast-save-setup-settings btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
|
91 |
+
<div class="spinner"></div>
|
92 |
+
<?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
|
93 |
+
<input type="hidden" name="action" value="wc_ast_settings_form_update">
|
94 |
+
</div>
|
95 |
+
</form>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
<div class="ast-onboarding-step-shipping">
|
99 |
+
<header>
|
100 |
+
<h2>Shipping Providers</h2>
|
101 |
+
</header>
|
102 |
+
<div class="ast-onboarding-wizard-form">
|
103 |
+
<div class="ast-separator"></div>
|
104 |
+
<?php
|
105 |
+
$admin = new WC_Advanced_Shipment_Tracking_Admin;
|
106 |
+
global $order;
|
107 |
+
$WC_Countries = new WC_Countries();
|
108 |
+
$countries = $WC_Countries->get_countries();
|
109 |
+
|
110 |
+
global $wpdb;
|
111 |
+
$woo_shippment_table_name = $admin->table;
|
112 |
+
|
113 |
+
$default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name WHERE display_in_order = 1" );
|
114 |
+
|
115 |
+
foreach($default_shippment_providers as $key => $value){
|
116 |
+
$search = array('(US)', '(UK)');
|
117 |
+
$replace = array('', '');
|
118 |
+
if($value->shipping_country && $value->shipping_country != 'Global'){
|
119 |
+
$country = str_replace($search, $replace, $WC_Countries->countries[$value->shipping_country]);
|
120 |
+
$default_shippment_providers[$key]->country = $country;
|
121 |
+
} elseif($value->shipping_country && $value->shipping_country == 'Global'){
|
122 |
+
$default_shippment_providers[$key]->country = 'Global';
|
123 |
+
}
|
124 |
+
}
|
125 |
+
//$admin->get_html( $admin->get_settings_data() );
|
126 |
+
require_once( 'views/admin_options_shipping_provider.php' );
|
127 |
+
?>
|
128 |
+
<div class="submit">
|
129 |
+
<button name="save" class="button-primary ast-save-setup-providers btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
|
130 |
+
<div class="spinner"></div>
|
131 |
+
<?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
|
132 |
+
<input type="hidden" name="action" value="wc_ast_settings_form_update">
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
<div class="ast-onboarding-step-delivered">
|
137 |
+
<header>
|
138 |
+
<h2>Delivered Order Status</h2>
|
139 |
+
</header>
|
140 |
+
<div class="ast-onboarding-wizard-form">
|
141 |
+
<div class="ast-separator"></div>
|
142 |
+
<form method="post" id="wc_ast_delivered_settings_form" action="" enctype="multipart/form-data">
|
143 |
+
<?php
|
144 |
+
$admin = new WC_Advanced_Shipment_Tracking_Admin;
|
145 |
+
$admin->get_html( $admin->get_delivered_data() );?>
|
146 |
+
<div class="submit">
|
147 |
+
<button name="save" class="button-primary ast-save-setup-delivered btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
|
148 |
+
<div class="spinner"></div>
|
149 |
+
<?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
|
150 |
+
<input type="hidden" name="action" value="wc_ast_settings_form_update">
|
151 |
+
</div>
|
152 |
+
</form>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
<div class="ast-onboarding-step-trackship">
|
156 |
+
|
157 |
+
<?php
|
158 |
+
$wc_ast_api_key = get_option('wc_ast_api_key');
|
159 |
+
if($wc_ast_api_key){
|
160 |
+
$url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
|
161 |
+
$args['body'] = array(
|
162 |
+
'user_key' => $wc_ast_api_key,
|
163 |
+
);
|
164 |
+
$response = wp_remote_post( $url, $args );
|
165 |
+
$plan_data = json_decode($response['body']);
|
166 |
+
?>
|
167 |
+
<header>
|
168 |
+
<?php if($wc_ast_api_key){ ?>
|
169 |
+
<h2>TrackShip</h2>
|
170 |
+
<?php } else{ ?>
|
171 |
+
<h2>Connect TrackShip to Your Website</h2>
|
172 |
+
<?php } ?>
|
173 |
+
</header>
|
174 |
+
<table class="form-table heading-table">
|
175 |
+
<tbody>
|
176 |
+
<tr valign="top">
|
177 |
+
<td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
|
178 |
+
</tr>
|
179 |
+
</tbody>
|
180 |
+
</table>
|
181 |
+
<table class="form-table">
|
182 |
+
<tbody>
|
183 |
+
<tr valign="top">
|
184 |
+
<td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
185 |
+
<td class="forminp">
|
186 |
+
<fieldset>
|
187 |
+
<a href="https://my.trackship.info/" target="_blank">
|
188 |
+
<span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
|
189 |
+
</a>
|
190 |
+
</fieldset>
|
191 |
+
</td>
|
192 |
+
</tr>
|
193 |
+
<tr valign="top">
|
194 |
+
<td><label><?php _e( 'Trackers Balance', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
195 |
+
<td class="forminp">
|
196 |
+
<fieldset>
|
197 |
+
<strong><?php echo get_option('trackers_balance'); ?></strong>
|
198 |
+
</fieldset>
|
199 |
+
</td>
|
200 |
+
</tr>
|
201 |
+
<tr valign="top">
|
202 |
+
<td><label><?php _e( 'Current Plan', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
203 |
+
<td class="forminp">
|
204 |
+
<fieldset>
|
205 |
+
<strong>
|
206 |
+
<?php
|
207 |
+
if(isset($plan_data->subscription_plan)){
|
208 |
+
echo $plan_data->subscription_plan;
|
209 |
+
}
|
210 |
+
?>
|
211 |
+
</strong>
|
212 |
+
</fieldset>
|
213 |
+
</td>
|
214 |
+
</tr>
|
215 |
+
<tr valign="top">
|
216 |
+
<td colspan="2">
|
217 |
+
<?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' ); ?>
|
218 |
+
</td>
|
219 |
+
</tr>
|
220 |
+
<tr valign="top">
|
221 |
+
<td colspan="2">
|
222 |
+
<a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
|
223 |
+
<a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
|
224 |
+
</td>
|
225 |
+
</tr>
|
226 |
+
</tbody>
|
227 |
+
</table>
|
228 |
+
|
229 |
+
<?php } else{ ?>
|
230 |
+
<div class="section-content trackship_section">
|
231 |
+
<div class="trackship-upsell-overlay">
|
232 |
+
<div class="trackship-upsell-top">
|
233 |
+
<h3><img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="trackship_logo"></h3>
|
234 |
+
<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>
|
235 |
+
<p class="trackship-upsell-subtitle">You must have account TracksShip and connect your store in order to activate these advanced features:</p>
|
236 |
+
</div>
|
237 |
+
<div class="trackship-upsell-content">
|
238 |
+
<ul>
|
239 |
+
<li>Automatically track your shipments with 100+ shipping providers.</li>
|
240 |
+
<li>Display Shipment Status and latest shipment status, update date and est. delivery date on WooCommerce orders admin.</li>
|
241 |
+
<li>Option to manually get shipment tracking updates for orders.</li>
|
242 |
+
<li>Automatically change order status to Delivered once the shipment is delivered to your customers.</li>
|
243 |
+
<li>Option to filter orders with invalid tracking numbers or by shipment status event in orders admin</li>
|
244 |
+
<li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
|
245 |
+
<li>Direct customers to a Tracking page on your store.</li>
|
246 |
+
</ul>
|
247 |
+
<div class="text-center"><a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
|
248 |
+
</div>
|
249 |
+
</div>
|
250 |
+
</div>
|
251 |
+
<?php } ?>
|
252 |
+
<div class="submit">
|
253 |
+
<a href="<?php echo admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' ); ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></a>
|
254 |
+
</div>
|
255 |
+
</div>
|
256 |
+
</div>
|
257 |
+
</div>
|
258 |
+
<!---->
|
259 |
+
</div>
|
260 |
+
<?php }
|
261 |
+
|
262 |
+
/**
|
263 |
+
* Check if we should do any redirect.
|
264 |
+
*/
|
265 |
+
public function maybe_redirect() {
|
266 |
+
|
267 |
+
// Bail if no activation redirect.
|
268 |
+
if ( ! get_transient( '_ast_activation_redirect' ) ) {
|
269 |
+
return;
|
270 |
+
}
|
271 |
+
|
272 |
+
// Delete the redirect transient.
|
273 |
+
delete_transient( '_ast_activation_redirect' );
|
274 |
+
|
275 |
+
// Bail if activating from network, or bulk.
|
276 |
+
if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) { // WPCS: CSRF ok, input var ok.
|
277 |
+
return;
|
278 |
+
}
|
279 |
+
|
280 |
+
$redirect = admin_url( 'index.php?page=ast-getting-started' );
|
281 |
+
wp_safe_redirect( $redirect );
|
282 |
+
exit;
|
283 |
+
}
|
284 |
+
|
285 |
+
/**
|
286 |
+
* Scripts for loading the welcome screen Vue instance.
|
287 |
+
*/
|
288 |
+
public function welcome_scripts() {
|
289 |
+
|
290 |
+
if(!isset($_GET['page'])) {
|
291 |
+
return;
|
292 |
+
}
|
293 |
+
|
294 |
+
if( $_GET['page'] != 'ast-getting-started') {
|
295 |
+
return;
|
296 |
+
}
|
297 |
+
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
298 |
+
|
299 |
+
wp_enqueue_style( 'font-awesome', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/font-awesome.min.css', array(), '4.7' );
|
300 |
+
|
301 |
+
wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
|
302 |
+
wp_enqueue_script( 'select2');
|
303 |
+
|
304 |
+
wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
|
305 |
+
|
306 |
+
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);
|
307 |
+
|
308 |
+
wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
|
309 |
+
'i18n' => array(
|
310 |
+
'get_shipment_status_message' => __( 'Get Shipment Status is limited to 100 orders at a time, please select up to 100 orders.', 'woo-advanced-shipment-tracking' ),
|
311 |
+
),
|
312 |
+
) );
|
313 |
+
|
314 |
+
wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
|
315 |
+
wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
|
316 |
+
wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
|
317 |
+
|
318 |
+
wp_enqueue_script( 'selectWoo');
|
319 |
+
wp_enqueue_script( 'wc-enhanced-select');
|
320 |
+
|
321 |
+
wp_register_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
|
322 |
+
wp_enqueue_style( 'woocommerce_admin_styles' );
|
323 |
+
|
324 |
+
wp_register_script( 'jquery-tiptip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery' ), WC_VERSION, true );
|
325 |
+
wp_enqueue_script( 'jquery-tiptip' );
|
326 |
+
wp_enqueue_script( 'jquery-blockui' );
|
327 |
+
wp_enqueue_script( 'wp-color-picker' );
|
328 |
+
wp_enqueue_script( 'jquery-ui-sortable' );
|
329 |
+
wp_enqueue_script('media-upload');
|
330 |
+
wp_enqueue_script('thickbox');
|
331 |
+
wp_enqueue_style('thickbox');
|
332 |
+
|
333 |
+
wp_enqueue_style( 'material-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/material.css', array(), wc_advanced_shipment_tracking()->version );
|
334 |
+
wp_enqueue_script( 'material-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/material.min.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
335 |
+
|
336 |
+
wp_enqueue_script( 'ajax-queue', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/jquery.ajax.queue.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version);
|
337 |
+
|
338 |
+
wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
339 |
+
|
340 |
+
wp_enqueue_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 );
|
341 |
+
wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
|
342 |
+
'i18n' => array(
|
343 |
+
'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
|
344 |
+
'delete_provider' => __( 'Really delete this entry? This will not be undo.', 'woo-advanced-shipment-tracking' ),
|
345 |
+
'upload_only_csv_file' => __( 'You can upload only csv file.', 'woo-advanced-shipment-tracking' ),
|
346 |
+
'browser_not_html' => __( 'This browser does not support HTML5.', 'woo-advanced-shipment-tracking' ),
|
347 |
+
'upload_valid_csv_file' => __( 'Please upload a valid CSV file.', 'woo-advanced-shipment-tracking' ),
|
348 |
+
),
|
349 |
+
'delete_rates_nonce' => wp_create_nonce( "delete-rate" ),
|
350 |
+
) );
|
351 |
+
wp_enqueue_media();
|
352 |
+
|
353 |
+
wp_enqueue_style( 'shipment_tracking_welcome_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/welcome.css', array(), wc_advanced_shipment_tracking()->version );
|
354 |
+
wp_enqueue_script( 'shipment_tracking_welcome_script', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/welcome.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
|
355 |
+
}
|
356 |
+
|
357 |
+
public function remove_all_admin_notice(){
|
358 |
+
if( isset($_GET['page']) && $_GET['page'] == 'ast-getting-started'){
|
359 |
+
remove_all_actions('admin_notices');
|
360 |
+
remove_all_actions('all_admin_notices');
|
361 |
+
}
|
362 |
+
}
|
363 |
+
}
|
364 |
+
|
365 |
+
new AST_Welcome();
|
includes/customizer/class-wc-availableforpickup-email-customizer.php
CHANGED
@@ -234,7 +234,7 @@ class wcast_availableforpickup_customizer_email {
|
|
234 |
'input_attrs' => array(
|
235 |
'class' => '',
|
236 |
'style' => '',
|
237 |
-
'placeholder' => __( '
|
238 |
),
|
239 |
)
|
240 |
);
|
@@ -243,7 +243,7 @@ class wcast_availableforpickup_customizer_email {
|
|
243 |
$wp_customize->add_setting( 'wcast_availableforpickup_email_heading',
|
244 |
array(
|
245 |
'default' => $this->defaults['wcast_availableforpickup_email_heading'],
|
246 |
-
'transport' => '
|
247 |
'sanitize_callback' => ''
|
248 |
)
|
249 |
);
|
@@ -256,7 +256,7 @@ class wcast_availableforpickup_customizer_email {
|
|
256 |
'input_attrs' => array(
|
257 |
'class' => '',
|
258 |
'style' => '',
|
259 |
-
'placeholder' => __( '
|
260 |
),
|
261 |
)
|
262 |
);
|
@@ -364,6 +364,7 @@ class wcast_availableforpickup_customizer_email {
|
|
364 |
'input_attrs' => array(
|
365 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
366 |
'mediaButtons' => true,
|
|
|
367 |
)
|
368 |
)
|
369 |
) );
|
@@ -378,7 +379,7 @@ class wcast_availableforpickup_customizer_email {
|
|
378 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_availableforpickup_email_code_block',
|
379 |
array(
|
380 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
381 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
382 |
'section' => 'customer_availableforpickup_email',
|
383 |
)
|
384 |
) );
|
@@ -410,11 +411,21 @@ class wcast_availableforpickup_customizer_email {
|
|
410 |
$preview_id = get_theme_mod('wcast_availableforpickup_email_preview_order_id');
|
411 |
|
412 |
|
413 |
-
$email_heading
|
|
|
|
|
|
|
|
|
|
|
414 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
415 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
416 |
|
417 |
-
$email_content
|
|
|
|
|
|
|
|
|
|
|
418 |
$wcast_show_tracking_details = get_theme_mod('wcast_availableforpickup_show_tracking_details');
|
419 |
$wcast_show_order_details = get_theme_mod('wcast_availableforpickup_show_order_details');
|
420 |
$wcast_show_billing_address = get_theme_mod('wcast_availableforpickup_show_billing_address');
|
@@ -429,6 +440,13 @@ class wcast_availableforpickup_customizer_email {
|
|
429 |
return;
|
430 |
}
|
431 |
$order = wc_get_order( $preview_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
$mailer = WC()->mailer();
|
433 |
|
434 |
// get the preview email subject
|
@@ -449,7 +467,8 @@ class wcast_availableforpickup_customizer_email {
|
|
449 |
if($wcast_show_tracking_details == 1){
|
450 |
ob_start();
|
451 |
wc_get_template( 'emails/tracking-info.php', array(
|
452 |
-
'tracking_items' => $wast->get_tracking_items( $preview_id, true )
|
|
|
453 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
454 |
$message .= ob_get_clean();
|
455 |
}
|
234 |
'input_attrs' => array(
|
235 |
'class' => '',
|
236 |
'style' => '',
|
237 |
+
'placeholder' => __( $this->defaults['wcast_availableforpickup_email_subject'], 'woo-advanced-shipment-tracking' ),
|
238 |
),
|
239 |
)
|
240 |
);
|
243 |
$wp_customize->add_setting( 'wcast_availableforpickup_email_heading',
|
244 |
array(
|
245 |
'default' => $this->defaults['wcast_availableforpickup_email_heading'],
|
246 |
+
'transport' => 'refresh',
|
247 |
'sanitize_callback' => ''
|
248 |
)
|
249 |
);
|
256 |
'input_attrs' => array(
|
257 |
'class' => '',
|
258 |
'style' => '',
|
259 |
+
'placeholder' => __( $this->defaults['wcast_availableforpickup_email_heading'], 'woo-advanced-shipment-tracking' ),
|
260 |
),
|
261 |
)
|
262 |
);
|
364 |
'input_attrs' => array(
|
365 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
366 |
'mediaButtons' => true,
|
367 |
+
'placeholder' => __( $this->defaults['wcast_availableforpickup_email_content'], 'woo-advanced-shipment-tracking' ),
|
368 |
)
|
369 |
)
|
370 |
) );
|
379 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_availableforpickup_email_code_block',
|
380 |
array(
|
381 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
382 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
383 |
'section' => 'customer_availableforpickup_email',
|
384 |
)
|
385 |
) );
|
411 |
$preview_id = get_theme_mod('wcast_availableforpickup_email_preview_order_id');
|
412 |
|
413 |
|
414 |
+
$email_heading = get_theme_mod('wcast_availableforpickup_email_heading',$this->defaults['wcast_availableforpickup_email_heading']);
|
415 |
+
|
416 |
+
if($email_heading == ''){
|
417 |
+
$email_heading = $this->defaults['wcast_availableforpickup_email_heading'];
|
418 |
+
}
|
419 |
+
|
420 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
421 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
422 |
|
423 |
+
$email_content = get_theme_mod('wcast_availableforpickup_email_content',$this->defaults['wcast_availableforpickup_email_content']);
|
424 |
+
|
425 |
+
if($email_content == ''){
|
426 |
+
$email_content = $this->defaults['wcast_availableforpickup_email_content'];
|
427 |
+
}
|
428 |
+
|
429 |
$wcast_show_tracking_details = get_theme_mod('wcast_availableforpickup_show_tracking_details');
|
430 |
$wcast_show_order_details = get_theme_mod('wcast_availableforpickup_show_order_details');
|
431 |
$wcast_show_billing_address = get_theme_mod('wcast_availableforpickup_show_billing_address');
|
440 |
return;
|
441 |
}
|
442 |
$order = wc_get_order( $preview_id );
|
443 |
+
|
444 |
+
if(!$order){
|
445 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
446 |
+
echo $content;
|
447 |
+
return;
|
448 |
+
}
|
449 |
+
|
450 |
$mailer = WC()->mailer();
|
451 |
|
452 |
// get the preview email subject
|
467 |
if($wcast_show_tracking_details == 1){
|
468 |
ob_start();
|
469 |
wc_get_template( 'emails/tracking-info.php', array(
|
470 |
+
'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
|
471 |
+
'order_id' => $preview_id,
|
472 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
473 |
$message .= ob_get_clean();
|
474 |
}
|
includes/customizer/class-wc-delivered-email-customizer.php
CHANGED
@@ -235,7 +235,7 @@ class wcast_delivered_customizer_email {
|
|
235 |
'input_attrs' => array(
|
236 |
'class' => '',
|
237 |
'style' => '',
|
238 |
-
'placeholder' => __( '
|
239 |
),
|
240 |
)
|
241 |
);
|
@@ -244,7 +244,7 @@ class wcast_delivered_customizer_email {
|
|
244 |
$wp_customize->add_setting( 'wcast_delivered_status_email_heading',
|
245 |
array(
|
246 |
'default' => $this->defaults['wcast_delivered_status_email_heading'],
|
247 |
-
'transport' => '
|
248 |
'sanitize_callback' => ''
|
249 |
)
|
250 |
);
|
@@ -257,7 +257,7 @@ class wcast_delivered_customizer_email {
|
|
257 |
'input_attrs' => array(
|
258 |
'class' => '',
|
259 |
'style' => '',
|
260 |
-
'placeholder' => __( '
|
261 |
),
|
262 |
)
|
263 |
);
|
@@ -365,6 +365,7 @@ class wcast_delivered_customizer_email {
|
|
365 |
'input_attrs' => array(
|
366 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
367 |
'mediaButtons' => true,
|
|
|
368 |
)
|
369 |
)
|
370 |
) );
|
@@ -380,7 +381,7 @@ class wcast_delivered_customizer_email {
|
|
380 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_delivered_status_email_code_block',
|
381 |
array(
|
382 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
383 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
384 |
'section' => 'customer_delivered_status_email',
|
385 |
)
|
386 |
) );
|
@@ -412,11 +413,21 @@ class wcast_delivered_customizer_email {
|
|
412 |
$preview_id = get_theme_mod('wcast_delivered_status_email_preview_order_id');
|
413 |
|
414 |
|
415 |
-
$email_heading = get_theme_mod('wcast_delivered_status_email_heading');
|
|
|
|
|
|
|
|
|
|
|
416 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
417 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
418 |
|
419 |
-
$email_content = get_theme_mod('wcast_delivered_status_email_content');
|
|
|
|
|
|
|
|
|
|
|
420 |
$wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
|
421 |
$wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
|
422 |
$wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
|
@@ -431,6 +442,13 @@ class wcast_delivered_customizer_email {
|
|
431 |
return;
|
432 |
}
|
433 |
$order = wc_get_order( $preview_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
$mailer = WC()->mailer();
|
435 |
|
436 |
// get the preview email subject
|
@@ -451,7 +469,8 @@ class wcast_delivered_customizer_email {
|
|
451 |
if($wcast_show_tracking_details == 1){
|
452 |
ob_start();
|
453 |
wc_get_template( 'emails/tracking-info.php', array(
|
454 |
-
'tracking_items' => $wast->get_tracking_items( $preview_id, true )
|
|
|
455 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
456 |
$message .= ob_get_clean();
|
457 |
}
|
235 |
'input_attrs' => array(
|
236 |
'class' => '',
|
237 |
'style' => '',
|
238 |
+
'placeholder' => __( $this->defaults['wcast_delivered_status_email_subject'], 'woo-advanced-shipment-tracking' ),
|
239 |
),
|
240 |
)
|
241 |
);
|
244 |
$wp_customize->add_setting( 'wcast_delivered_status_email_heading',
|
245 |
array(
|
246 |
'default' => $this->defaults['wcast_delivered_status_email_heading'],
|
247 |
+
'transport' => 'refresh',
|
248 |
'sanitize_callback' => ''
|
249 |
)
|
250 |
);
|
257 |
'input_attrs' => array(
|
258 |
'class' => '',
|
259 |
'style' => '',
|
260 |
+
'placeholder' => __( $this->defaults['wcast_delivered_status_email_heading'], 'woo-advanced-shipment-tracking' ),
|
261 |
),
|
262 |
)
|
263 |
);
|
365 |
'input_attrs' => array(
|
366 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
367 |
'mediaButtons' => true,
|
368 |
+
'placeholder' => __( $this->defaults['wcast_delivered_status_email_content'], 'woo-advanced-shipment-tracking' ),
|
369 |
)
|
370 |
)
|
371 |
) );
|
381 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_delivered_status_email_code_block',
|
382 |
array(
|
383 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
384 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
385 |
'section' => 'customer_delivered_status_email',
|
386 |
)
|
387 |
) );
|
413 |
$preview_id = get_theme_mod('wcast_delivered_status_email_preview_order_id');
|
414 |
|
415 |
|
416 |
+
$email_heading = get_theme_mod('wcast_delivered_status_email_heading',$this->defaults['wcast_delivered_status_email_heading']);
|
417 |
+
|
418 |
+
if($email_heading == ''){
|
419 |
+
$email_heading = $this->defaults['wcast_delivered_status_email_heading'];
|
420 |
+
}
|
421 |
+
|
422 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
423 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
424 |
|
425 |
+
$email_content = get_theme_mod('wcast_delivered_status_email_content',$this->defaults['wcast_delivered_status_email_content']);
|
426 |
+
|
427 |
+
if($email_content == ''){
|
428 |
+
$email_content = $this->defaults['wcast_delivered_status_email_content'];
|
429 |
+
}
|
430 |
+
|
431 |
$wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
|
432 |
$wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
|
433 |
$wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
|
442 |
return;
|
443 |
}
|
444 |
$order = wc_get_order( $preview_id );
|
445 |
+
|
446 |
+
if(!$order){
|
447 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
448 |
+
echo $content;
|
449 |
+
return;
|
450 |
+
}
|
451 |
+
|
452 |
$mailer = WC()->mailer();
|
453 |
|
454 |
// get the preview email subject
|
469 |
if($wcast_show_tracking_details == 1){
|
470 |
ob_start();
|
471 |
wc_get_template( 'emails/tracking-info.php', array(
|
472 |
+
'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
|
473 |
+
'order_id' => $preview_id,
|
474 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
475 |
$message .= ob_get_clean();
|
476 |
}
|
includes/customizer/class-wc-email-customizer.php
CHANGED
@@ -40,7 +40,7 @@ class wcast_initialise_customizer_email {
|
|
40 |
|
41 |
add_action( 'parse_request', array( $this, 'set_up_preview' ) );
|
42 |
|
43 |
-
add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
|
44 |
}
|
45 |
|
46 |
public function enqueue_preview_scripts() {
|
@@ -166,7 +166,7 @@ class wcast_initialise_customizer_email {
|
|
166 |
)
|
167 |
) );
|
168 |
// Display Shipment Provider image/thumbnail
|
169 |
-
$wp_customize->add_setting( '
|
170 |
array(
|
171 |
'default' => $this->defaults['wcast_enable_delivered_email'],
|
172 |
'transport' => 'postMessage',
|
@@ -174,7 +174,7 @@ class wcast_initialise_customizer_email {
|
|
174 |
'sanitize_callback' => ''
|
175 |
)
|
176 |
);
|
177 |
-
$wp_customize->add_control( '
|
178 |
array(
|
179 |
'label' => __( 'Enable Delivered order status email', 'woo-advanced-shipment-tracking' ),
|
180 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
@@ -246,7 +246,7 @@ class wcast_initialise_customizer_email {
|
|
246 |
'input_attrs' => array(
|
247 |
'class' => '',
|
248 |
'style' => '',
|
249 |
-
'placeholder' => __( '
|
250 |
),
|
251 |
)
|
252 |
);
|
@@ -269,7 +269,7 @@ class wcast_initialise_customizer_email {
|
|
269 |
'input_attrs' => array(
|
270 |
'class' => '',
|
271 |
'style' => '',
|
272 |
-
'placeholder' => __( '
|
273 |
),
|
274 |
)
|
275 |
);
|
@@ -291,6 +291,7 @@ class wcast_initialise_customizer_email {
|
|
291 |
'input_attrs' => array(
|
292 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
293 |
'mediaButtons' => true,
|
|
|
294 |
)
|
295 |
)
|
296 |
) );
|
@@ -411,7 +412,7 @@ class wcast_initialise_customizer_email {
|
|
411 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_email_code_block',
|
412 |
array(
|
413 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
414 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}</code>',
|
415 |
'section' => 'customer_delivered_email',
|
416 |
)
|
417 |
) );
|
@@ -543,10 +544,27 @@ class wcast_initialise_customizer_email {
|
|
543 |
return $order;
|
544 |
}
|
545 |
|
546 |
-
}
|
547 |
}
|
548 |
/**
|
549 |
* Initialise our Customizer settings
|
550 |
*/
|
551 |
|
552 |
-
$wcast_customizer_settings = new wcast_initialise_customizer_email();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
add_action( 'parse_request', array( $this, 'set_up_preview' ) );
|
42 |
|
43 |
+
add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
|
44 |
}
|
45 |
|
46 |
public function enqueue_preview_scripts() {
|
166 |
)
|
167 |
) );
|
168 |
// Display Shipment Provider image/thumbnail
|
169 |
+
$wp_customize->add_setting( 'customizer_delivered_order_settings_enabled',
|
170 |
array(
|
171 |
'default' => $this->defaults['wcast_enable_delivered_email'],
|
172 |
'transport' => 'postMessage',
|
174 |
'sanitize_callback' => ''
|
175 |
)
|
176 |
);
|
177 |
+
$wp_customize->add_control( 'customizer_delivered_order_settings_enabled',
|
178 |
array(
|
179 |
'label' => __( 'Enable Delivered order status email', 'woo-advanced-shipment-tracking' ),
|
180 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
246 |
'input_attrs' => array(
|
247 |
'class' => '',
|
248 |
'style' => '',
|
249 |
+
'placeholder' => __( $this->defaults['wcast_delivered_email_subject'], 'woo-advanced-shipment-tracking' ),
|
250 |
),
|
251 |
)
|
252 |
);
|
269 |
'input_attrs' => array(
|
270 |
'class' => '',
|
271 |
'style' => '',
|
272 |
+
'placeholder' => __( $this->defaults['wcast_delivered_email_heading'], 'woo-advanced-shipment-tracking' ),
|
273 |
),
|
274 |
)
|
275 |
);
|
291 |
'input_attrs' => array(
|
292 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
293 |
'mediaButtons' => true,
|
294 |
+
'placeholder' => __( $this->defaults['wcast_delivered_email_content'], 'woo-advanced-shipment-tracking' ),
|
295 |
)
|
296 |
)
|
297 |
) );
|
412 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_email_code_block',
|
413 |
array(
|
414 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
415 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}</code>',
|
416 |
'section' => 'customer_delivered_email',
|
417 |
)
|
418 |
) );
|
544 |
return $order;
|
545 |
}
|
546 |
|
547 |
+
}
|
548 |
}
|
549 |
/**
|
550 |
* Initialise our Customizer settings
|
551 |
*/
|
552 |
|
553 |
+
$wcast_customizer_settings = new wcast_initialise_customizer_email();
|
554 |
+
add_action( 'customize_save_customizer_delivered_order_settings_enabled', 'woocommerce_customer_delivered_order_settings_fun', 100, 1 );
|
555 |
+
|
556 |
+
/**
|
557 |
+
* Update Delivered order email enable/disable
|
558 |
+
*
|
559 |
+
*/
|
560 |
+
function woocommerce_customer_delivered_order_settings_fun($data){
|
561 |
+
$post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
|
562 |
+
$delivered_order_settings = get_option( 'woocommerce_customer_delivered_order_settings');
|
563 |
+
|
564 |
+
if(isset($post_values['customizer_delivered_order_settings_enabled']) && ($post_values['customizer_delivered_order_settings_enabled'] == 1)){
|
565 |
+
$delivered_order_settings['enabled'] = 'yes';
|
566 |
+
} else{
|
567 |
+
$delivered_order_settings['enabled'] = 'no';
|
568 |
+
}
|
569 |
+
update_option( 'woocommerce_customer_delivered_order_settings',$delivered_order_settings);
|
570 |
+
}
|
includes/customizer/class-wc-failure-email-customizer.php
CHANGED
@@ -234,7 +234,7 @@ class wcast_failure_customizer_email {
|
|
234 |
'input_attrs' => array(
|
235 |
'class' => '',
|
236 |
'style' => '',
|
237 |
-
'placeholder' => __( '
|
238 |
),
|
239 |
)
|
240 |
);
|
@@ -243,7 +243,7 @@ class wcast_failure_customizer_email {
|
|
243 |
$wp_customize->add_setting( 'wcast_failure_email_heading',
|
244 |
array(
|
245 |
'default' => $this->defaults['wcast_failure_email_heading'],
|
246 |
-
'transport' => '
|
247 |
'sanitize_callback' => ''
|
248 |
)
|
249 |
);
|
@@ -256,7 +256,7 @@ class wcast_failure_customizer_email {
|
|
256 |
'input_attrs' => array(
|
257 |
'class' => '',
|
258 |
'style' => '',
|
259 |
-
'placeholder' => __( '
|
260 |
),
|
261 |
)
|
262 |
);
|
@@ -364,6 +364,7 @@ class wcast_failure_customizer_email {
|
|
364 |
'input_attrs' => array(
|
365 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
366 |
'mediaButtons' => true,
|
|
|
367 |
)
|
368 |
)
|
369 |
) );
|
@@ -379,7 +380,7 @@ class wcast_failure_customizer_email {
|
|
379 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_failure_email_code_block',
|
380 |
array(
|
381 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
382 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
383 |
'section' => 'customer_failure_email',
|
384 |
)
|
385 |
) );
|
@@ -411,11 +412,21 @@ class wcast_failure_customizer_email {
|
|
411 |
$preview_id = get_theme_mod('wcast_failure_email_preview_order_id');
|
412 |
|
413 |
|
414 |
-
$email_heading
|
|
|
|
|
|
|
|
|
|
|
415 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
416 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
417 |
|
418 |
-
$email_content = get_theme_mod('wcast_failure_email_content');
|
|
|
|
|
|
|
|
|
|
|
419 |
$wcast_show_tracking_details = get_theme_mod('wcast_failure_show_tracking_details');
|
420 |
$wcast_show_order_details = get_theme_mod('wcast_failure_show_order_details');
|
421 |
$wcast_show_billing_address = get_theme_mod('wcast_failure_show_billing_address');
|
@@ -429,7 +440,15 @@ class wcast_failure_customizer_email {
|
|
429 |
echo $content;
|
430 |
return;
|
431 |
}
|
|
|
432 |
$order = wc_get_order( $preview_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
433 |
$mailer = WC()->mailer();
|
434 |
|
435 |
// get the preview email subject
|
@@ -450,7 +469,8 @@ class wcast_failure_customizer_email {
|
|
450 |
if($wcast_show_tracking_details == 1){
|
451 |
ob_start();
|
452 |
wc_get_template( 'emails/tracking-info.php', array(
|
453 |
-
'tracking_items' => $wast->get_tracking_items( $preview_id, true )
|
|
|
454 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
455 |
$message .= ob_get_clean();
|
456 |
}
|
234 |
'input_attrs' => array(
|
235 |
'class' => '',
|
236 |
'style' => '',
|
237 |
+
'placeholder' => __( $this->defaults['wcast_failure_email_subject'], 'woo-advanced-shipment-tracking' ),
|
238 |
),
|
239 |
)
|
240 |
);
|
243 |
$wp_customize->add_setting( 'wcast_failure_email_heading',
|
244 |
array(
|
245 |
'default' => $this->defaults['wcast_failure_email_heading'],
|
246 |
+
'transport' => 'refresh',
|
247 |
'sanitize_callback' => ''
|
248 |
)
|
249 |
);
|
256 |
'input_attrs' => array(
|
257 |
'class' => '',
|
258 |
'style' => '',
|
259 |
+
'placeholder' => __( $this->defaults['wcast_failure_email_heading'], 'woo-advanced-shipment-tracking' ),
|
260 |
),
|
261 |
)
|
262 |
);
|
364 |
'input_attrs' => array(
|
365 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
366 |
'mediaButtons' => true,
|
367 |
+
'placeholder' => __( $this->defaults['wcast_failure_email_content'], 'woo-advanced-shipment-tracking' ),
|
368 |
)
|
369 |
)
|
370 |
) );
|
380 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_failure_email_code_block',
|
381 |
array(
|
382 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
383 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
384 |
'section' => 'customer_failure_email',
|
385 |
)
|
386 |
) );
|
412 |
$preview_id = get_theme_mod('wcast_failure_email_preview_order_id');
|
413 |
|
414 |
|
415 |
+
$email_heading = get_theme_mod('wcast_failure_email_heading',$this->defaults['wcast_failure_email_heading']);
|
416 |
+
|
417 |
+
if($email_heading == ''){
|
418 |
+
$email_heading = $this->defaults['wcast_failure_email_heading'];
|
419 |
+
}
|
420 |
+
|
421 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
422 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
423 |
|
424 |
+
$email_content = get_theme_mod('wcast_failure_email_content',$this->defaults['wcast_failure_email_content']);
|
425 |
+
|
426 |
+
if($email_content == ''){
|
427 |
+
$email_content = $this->defaults['wcast_failure_email_content'];
|
428 |
+
}
|
429 |
+
|
430 |
$wcast_show_tracking_details = get_theme_mod('wcast_failure_show_tracking_details');
|
431 |
$wcast_show_order_details = get_theme_mod('wcast_failure_show_order_details');
|
432 |
$wcast_show_billing_address = get_theme_mod('wcast_failure_show_billing_address');
|
440 |
echo $content;
|
441 |
return;
|
442 |
}
|
443 |
+
|
444 |
$order = wc_get_order( $preview_id );
|
445 |
+
|
446 |
+
if(!$order){
|
447 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
448 |
+
echo $content;
|
449 |
+
return;
|
450 |
+
}
|
451 |
+
|
452 |
$mailer = WC()->mailer();
|
453 |
|
454 |
// get the preview email subject
|
469 |
if($wcast_show_tracking_details == 1){
|
470 |
ob_start();
|
471 |
wc_get_template( 'emails/tracking-info.php', array(
|
472 |
+
'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
|
473 |
+
'order_id' => $preview_id,
|
474 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
475 |
$message .= ob_get_clean();
|
476 |
}
|
includes/customizer/class-wc-intransit-email-customizer.php
CHANGED
@@ -238,7 +238,7 @@ class wcast_intransit_customizer_email {
|
|
238 |
'input_attrs' => array(
|
239 |
'class' => '',
|
240 |
'style' => '',
|
241 |
-
'placeholder' => __( '
|
242 |
),
|
243 |
)
|
244 |
);
|
@@ -247,7 +247,7 @@ class wcast_intransit_customizer_email {
|
|
247 |
$wp_customize->add_setting( 'wcast_intransit_email_heading',
|
248 |
array(
|
249 |
'default' => $this->defaults['wcast_intransit_email_heading'],
|
250 |
-
'transport' => '
|
251 |
'sanitize_callback' => ''
|
252 |
)
|
253 |
);
|
@@ -260,7 +260,7 @@ class wcast_intransit_customizer_email {
|
|
260 |
'input_attrs' => array(
|
261 |
'class' => '',
|
262 |
'style' => '',
|
263 |
-
'placeholder' => __( '
|
264 |
),
|
265 |
)
|
266 |
);
|
@@ -347,6 +347,7 @@ class wcast_intransit_customizer_email {
|
|
347 |
'input_attrs' => array(
|
348 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
349 |
'mediaButtons' => true,
|
|
|
350 |
)
|
351 |
)
|
352 |
) );
|
@@ -383,7 +384,7 @@ class wcast_intransit_customizer_email {
|
|
383 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_intransit_email_code_block',
|
384 |
array(
|
385 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
386 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
387 |
'section' => 'customer_intransit_email',
|
388 |
)
|
389 |
) );
|
@@ -414,11 +415,21 @@ class wcast_intransit_customizer_email {
|
|
414 |
$emails = $wc_emails->get_emails();
|
415 |
$preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
|
416 |
|
417 |
-
$email_heading = get_theme_mod('wcast_intransit_email_heading');
|
|
|
|
|
|
|
|
|
|
|
418 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
419 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
420 |
|
421 |
-
$email_content = get_theme_mod('wcast_intransit_email_content');
|
|
|
|
|
|
|
|
|
|
|
422 |
$wcast_show_tracking_details = get_theme_mod('wcast_intransit_show_tracking_details');
|
423 |
$wcast_show_order_details = get_theme_mod('wcast_intransit_show_order_details');
|
424 |
$wcast_show_billing_address = get_theme_mod('wcast_intransit_show_billing_address');
|
@@ -434,6 +445,13 @@ class wcast_intransit_customizer_email {
|
|
434 |
}
|
435 |
|
436 |
$order = wc_get_order( $preview_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
437 |
$mailer = WC()->mailer();
|
438 |
|
439 |
// get the preview email subject
|
@@ -454,7 +472,8 @@ class wcast_intransit_customizer_email {
|
|
454 |
if($wcast_show_tracking_details == 1){
|
455 |
ob_start();
|
456 |
wc_get_template( 'emails/tracking-info.php', array(
|
457 |
-
'tracking_items' => $wast->get_tracking_items( $preview_id, true )
|
|
|
458 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
459 |
$message .= ob_get_clean();
|
460 |
}
|
238 |
'input_attrs' => array(
|
239 |
'class' => '',
|
240 |
'style' => '',
|
241 |
+
'placeholder' => __( $this->defaults['wcast_intransit_email_subject'], 'woo-advanced-shipment-tracking' ),
|
242 |
),
|
243 |
)
|
244 |
);
|
247 |
$wp_customize->add_setting( 'wcast_intransit_email_heading',
|
248 |
array(
|
249 |
'default' => $this->defaults['wcast_intransit_email_heading'],
|
250 |
+
'transport' => 'refresh',
|
251 |
'sanitize_callback' => ''
|
252 |
)
|
253 |
);
|
260 |
'input_attrs' => array(
|
261 |
'class' => '',
|
262 |
'style' => '',
|
263 |
+
'placeholder' => __( $this->defaults['wcast_intransit_email_heading'], 'woo-advanced-shipment-tracking' ),
|
264 |
),
|
265 |
)
|
266 |
);
|
347 |
'input_attrs' => array(
|
348 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
349 |
'mediaButtons' => true,
|
350 |
+
'placeholder' => __( $this->defaults['wcast_intransit_email_content'], 'woo-advanced-shipment-tracking' ),
|
351 |
)
|
352 |
)
|
353 |
) );
|
384 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_intransit_email_code_block',
|
385 |
array(
|
386 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
387 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
388 |
'section' => 'customer_intransit_email',
|
389 |
)
|
390 |
) );
|
415 |
$emails = $wc_emails->get_emails();
|
416 |
$preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
|
417 |
|
418 |
+
$email_heading = get_theme_mod('wcast_intransit_email_heading',$this->defaults['wcast_intransit_email_heading']);
|
419 |
+
|
420 |
+
if($email_heading == ''){
|
421 |
+
$email_heading = $this->defaults['wcast_intransit_email_heading'];
|
422 |
+
}
|
423 |
+
|
424 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
425 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
426 |
|
427 |
+
$email_content = get_theme_mod('wcast_intransit_email_content',$this->defaults['wcast_intransit_email_content']);
|
428 |
+
|
429 |
+
if($email_content == ''){
|
430 |
+
$email_content = $this->defaults['wcast_intransit_email_content'];
|
431 |
+
}
|
432 |
+
|
433 |
$wcast_show_tracking_details = get_theme_mod('wcast_intransit_show_tracking_details');
|
434 |
$wcast_show_order_details = get_theme_mod('wcast_intransit_show_order_details');
|
435 |
$wcast_show_billing_address = get_theme_mod('wcast_intransit_show_billing_address');
|
445 |
}
|
446 |
|
447 |
$order = wc_get_order( $preview_id );
|
448 |
+
|
449 |
+
if(!$order){
|
450 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
451 |
+
echo $content;
|
452 |
+
return;
|
453 |
+
}
|
454 |
+
|
455 |
$mailer = WC()->mailer();
|
456 |
|
457 |
// get the preview email subject
|
472 |
if($wcast_show_tracking_details == 1){
|
473 |
ob_start();
|
474 |
wc_get_template( 'emails/tracking-info.php', array(
|
475 |
+
'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
|
476 |
+
'order_id' => $preview_id,
|
477 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
478 |
$message .= ob_get_clean();
|
479 |
}
|
includes/customizer/class-wc-outfordelivery-email-customizer.php
CHANGED
@@ -236,7 +236,7 @@ class wcast_outfordelivery_customizer_email {
|
|
236 |
'input_attrs' => array(
|
237 |
'class' => '',
|
238 |
'style' => '',
|
239 |
-
'placeholder' => __( '
|
240 |
),
|
241 |
)
|
242 |
);
|
@@ -245,7 +245,7 @@ class wcast_outfordelivery_customizer_email {
|
|
245 |
$wp_customize->add_setting( 'wcast_outfordelivery_email_heading',
|
246 |
array(
|
247 |
'default' => $this->defaults['wcast_outfordelivery_email_heading'],
|
248 |
-
'transport' => '
|
249 |
'sanitize_callback' => ''
|
250 |
)
|
251 |
);
|
@@ -258,7 +258,7 @@ class wcast_outfordelivery_customizer_email {
|
|
258 |
'input_attrs' => array(
|
259 |
'class' => '',
|
260 |
'style' => '',
|
261 |
-
'placeholder' => __( '
|
262 |
),
|
263 |
)
|
264 |
);
|
@@ -366,6 +366,7 @@ class wcast_outfordelivery_customizer_email {
|
|
366 |
'input_attrs' => array(
|
367 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
368 |
'mediaButtons' => true,
|
|
|
369 |
)
|
370 |
)
|
371 |
) );
|
@@ -381,7 +382,7 @@ class wcast_outfordelivery_customizer_email {
|
|
381 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_outfordelivery_email_code_block',
|
382 |
array(
|
383 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
384 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
385 |
'section' => 'customer_outfordelivery_email',
|
386 |
)
|
387 |
) );
|
@@ -412,11 +413,21 @@ class wcast_outfordelivery_customizer_email {
|
|
412 |
$emails = $wc_emails->get_emails();
|
413 |
$preview_id = get_theme_mod('wcast_outfordelivery_email_preview_order_id');
|
414 |
|
415 |
-
$email_heading = get_theme_mod('wcast_outfordelivery_email_heading');
|
|
|
|
|
|
|
|
|
|
|
416 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
417 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
418 |
|
419 |
-
$email_content = get_theme_mod('wcast_outfordelivery_email_content');
|
|
|
|
|
|
|
|
|
|
|
420 |
$wcast_show_tracking_details = get_theme_mod('wcast_outfordelivery_show_tracking_details');
|
421 |
$wcast_show_order_details = get_theme_mod('wcast_outfordelivery_show_order_details');
|
422 |
$wcast_show_billing_address = get_theme_mod('wcast_outfordelivery_show_billing_address');
|
@@ -432,6 +443,13 @@ class wcast_outfordelivery_customizer_email {
|
|
432 |
}
|
433 |
|
434 |
$order = wc_get_order( $preview_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
$mailer = WC()->mailer();
|
436 |
|
437 |
// get the preview email subject
|
@@ -452,7 +470,8 @@ class wcast_outfordelivery_customizer_email {
|
|
452 |
if($wcast_show_tracking_details == 1){
|
453 |
ob_start();
|
454 |
wc_get_template( 'emails/tracking-info.php', array(
|
455 |
-
'tracking_items' => $wast->get_tracking_items( $preview_id, true )
|
|
|
456 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
457 |
$message .= ob_get_clean();
|
458 |
}
|
236 |
'input_attrs' => array(
|
237 |
'class' => '',
|
238 |
'style' => '',
|
239 |
+
'placeholder' => __( $this->defaults['wcast_outfordelivery_email_subject'], 'woo-advanced-shipment-tracking' ),
|
240 |
),
|
241 |
)
|
242 |
);
|
245 |
$wp_customize->add_setting( 'wcast_outfordelivery_email_heading',
|
246 |
array(
|
247 |
'default' => $this->defaults['wcast_outfordelivery_email_heading'],
|
248 |
+
'transport' => 'refresh',
|
249 |
'sanitize_callback' => ''
|
250 |
)
|
251 |
);
|
258 |
'input_attrs' => array(
|
259 |
'class' => '',
|
260 |
'style' => '',
|
261 |
+
'placeholder' => __( $this->defaults['wcast_outfordelivery_email_heading'], 'woo-advanced-shipment-tracking' ),
|
262 |
),
|
263 |
)
|
264 |
);
|
366 |
'input_attrs' => array(
|
367 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
368 |
'mediaButtons' => true,
|
369 |
+
'placeholder' => __( $this->defaults['wcast_outfordelivery_email_content'], 'woo-advanced-shipment-tracking' ),
|
370 |
)
|
371 |
)
|
372 |
) );
|
382 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_outfordelivery_email_code_block',
|
383 |
array(
|
384 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
385 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
386 |
'section' => 'customer_outfordelivery_email',
|
387 |
)
|
388 |
) );
|
413 |
$emails = $wc_emails->get_emails();
|
414 |
$preview_id = get_theme_mod('wcast_outfordelivery_email_preview_order_id');
|
415 |
|
416 |
+
$email_heading = get_theme_mod('wcast_outfordelivery_email_heading',$this->defaults['wcast_outfordelivery_email_heading']);
|
417 |
+
|
418 |
+
if($email_heading == ''){
|
419 |
+
$email_heading = $this->defaults['wcast_outfordelivery_email_heading'];
|
420 |
+
}
|
421 |
+
|
422 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
423 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
424 |
|
425 |
+
$email_content = get_theme_mod('wcast_outfordelivery_email_content',$this->defaults['wcast_outfordelivery_email_content']);
|
426 |
+
|
427 |
+
if($email_content == ''){
|
428 |
+
$email_content = $this->defaults['wcast_outfordelivery_email_content'];
|
429 |
+
}
|
430 |
+
|
431 |
$wcast_show_tracking_details = get_theme_mod('wcast_outfordelivery_show_tracking_details');
|
432 |
$wcast_show_order_details = get_theme_mod('wcast_outfordelivery_show_order_details');
|
433 |
$wcast_show_billing_address = get_theme_mod('wcast_outfordelivery_show_billing_address');
|
443 |
}
|
444 |
|
445 |
$order = wc_get_order( $preview_id );
|
446 |
+
|
447 |
+
if(!$order){
|
448 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
449 |
+
echo $content;
|
450 |
+
return;
|
451 |
+
}
|
452 |
+
|
453 |
$mailer = WC()->mailer();
|
454 |
|
455 |
// get the preview email subject
|
470 |
if($wcast_show_tracking_details == 1){
|
471 |
ob_start();
|
472 |
wc_get_template( 'emails/tracking-info.php', array(
|
473 |
+
'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
|
474 |
+
'order_id' => $preview_id,
|
475 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
476 |
$message .= ob_get_clean();
|
477 |
}
|
includes/customizer/class-wc-partial-shipped-email-customizer.php
ADDED
@@ -0,0 +1,421 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Customizer Setup and Custom Controls
|
4 |
+
*
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Adds the individual sections, settings, and controls to the theme customizer
|
9 |
+
*/
|
10 |
+
class wcast_partial_shipped_customizer_email {
|
11 |
+
// Get our default values
|
12 |
+
public function __construct() {
|
13 |
+
// Get our Customizer defaults
|
14 |
+
$this->defaults = $this->wcast_generate_defaults();
|
15 |
+
|
16 |
+
// Register our sample default controls
|
17 |
+
add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
|
18 |
+
|
19 |
+
// Only proceed if this is own request.
|
20 |
+
if ( ! wcast_partial_shipped_customizer_email::is_own_customizer_request() && ! wcast_partial_shipped_customizer_email::is_own_preview_request() ) {
|
21 |
+
return;
|
22 |
+
}
|
23 |
+
add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_panels' ) );
|
24 |
+
// Register our sections
|
25 |
+
add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
|
26 |
+
|
27 |
+
// Remove unrelated components.
|
28 |
+
add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
|
29 |
+
|
30 |
+
// Remove unrelated sections.
|
31 |
+
add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
|
32 |
+
|
33 |
+
// Unhook divi front end.
|
34 |
+
add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
|
35 |
+
|
36 |
+
// Unhook Flatsome js
|
37 |
+
add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
|
38 |
+
|
39 |
+
add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
|
40 |
+
|
41 |
+
add_action( 'parse_request', array( $this, 'set_up_preview' ) );
|
42 |
+
|
43 |
+
add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
|
44 |
+
}
|
45 |
+
|
46 |
+
public function enqueue_preview_scripts() {
|
47 |
+
wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
|
48 |
+
wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
|
49 |
+
// Send variables to Javascript
|
50 |
+
$preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
|
51 |
+
wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
|
52 |
+
'site_title' => $this->get_blogname(),
|
53 |
+
'order_number' => $preview_id,
|
54 |
+
));
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Get blog name formatted for emails.
|
59 |
+
*
|
60 |
+
* @return string
|
61 |
+
*/
|
62 |
+
public function get_blogname() {
|
63 |
+
return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Checks to see if we are opening our custom customizer preview
|
68 |
+
*
|
69 |
+
* @access public
|
70 |
+
* @return bool
|
71 |
+
*/
|
72 |
+
public static function is_own_preview_request() {
|
73 |
+
return isset( $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-partial-shipped-email-customizer-preview'];
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Checks to see if we are opening our custom customizer controls
|
78 |
+
*
|
79 |
+
* @access public
|
80 |
+
* @return bool
|
81 |
+
*/
|
82 |
+
public static function is_own_customizer_request() {
|
83 |
+
return isset( $_REQUEST['email'] ) && $_REQUEST['email'] === 'customer_partial_shipped_email';
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Get Customizer URL
|
88 |
+
*
|
89 |
+
*/
|
90 |
+
public static function get_customizer_url($email) {
|
91 |
+
$customizer_url = add_query_arg( array(
|
92 |
+
'wcast-customizer' => '1',
|
93 |
+
'email' => $email,
|
94 |
+
'url' => urlencode( add_query_arg( array( 'wcast-partial-shipped-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
|
95 |
+
'return' => urlencode( wcast_partial_shipped_customizer_email::get_email_settings_page_url() ),
|
96 |
+
), admin_url( 'customize.php' ) );
|
97 |
+
|
98 |
+
return $customizer_url;
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Get WooCommerce email settings page URL
|
103 |
+
*
|
104 |
+
* @access public
|
105 |
+
* @return string
|
106 |
+
*/
|
107 |
+
public static function get_email_settings_page_url() {
|
108 |
+
return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
* code for initialize default value for customizer
|
113 |
+
*/
|
114 |
+
public function wcast_generate_defaults() {
|
115 |
+
$customizer_defaults = array(
|
116 |
+
'wcast_partial_shipped_email_subject' => __( 'Your {site_title} order is now partially shipped', 'woo-advanced-shipment-tracking' ),
|
117 |
+
'wcast_partial_shipped_email_heading' => __( 'Your Order is Partially Shipped', 'woocommerce' ),
|
118 |
+
'wcast_partial_shipped_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} has been partially shipped.", 'woo-advanced-shipment-tracking' ),
|
119 |
+
'wcast_enable_partial_shipped_email' => 'no',
|
120 |
+
);
|
121 |
+
|
122 |
+
return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* Register our sample default controls
|
127 |
+
*/
|
128 |
+
public function wcast_register_sample_default_controls( $wp_customize ) {
|
129 |
+
/**
|
130 |
+
* Load all our Customizer Custom Controls
|
131 |
+
*/
|
132 |
+
require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
|
133 |
+
|
134 |
+
$wp_customize->add_setting( 'partial_shipped_order_email_heading',
|
135 |
+
array(
|
136 |
+
'default' => '',
|
137 |
+
'transport' => 'postMessage',
|
138 |
+
'sanitize_callback' => ''
|
139 |
+
)
|
140 |
+
);
|
141 |
+
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'partial_shipped_order_email_heading',
|
142 |
+
array(
|
143 |
+
'label' => __( 'Partially Shipped status email', 'woo-advanced-shipment-tracking' ),
|
144 |
+
'description' => __( 'This section lets you customize the Email Content.', 'woo-advanced-shipment-tracking' ),
|
145 |
+
'section' => 'customer_partial_shipped_email'
|
146 |
+
)
|
147 |
+
) );
|
148 |
+
// Display Shipment Provider image/thumbnail
|
149 |
+
$wp_customize->add_setting( 'customizer_partial_shipped_order_settings_enabled',
|
150 |
+
array(
|
151 |
+
'default' => $this->defaults['wcast_enable_partial_shipped_email'],
|
152 |
+
'transport' => 'postMessage',
|
153 |
+
'type' => 'option',
|
154 |
+
'sanitize_callback' => ''
|
155 |
+
)
|
156 |
+
);
|
157 |
+
$wp_customize->add_control( 'customizer_partial_shipped_order_settings_enabled',
|
158 |
+
array(
|
159 |
+
'label' => __( 'Enable Partially Shipped order status email', 'woo-advanced-shipment-tracking' ),
|
160 |
+
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
161 |
+
'section' => 'customer_partial_shipped_email',
|
162 |
+
'type' => 'checkbox',
|
163 |
+
|
164 |
+
)
|
165 |
+
);
|
166 |
+
|
167 |
+
// Preview Order
|
168 |
+
$wp_customize->add_setting( 'wcast_partial_shipped_preview_order_id',
|
169 |
+
array(
|
170 |
+
'default' => 'mockup',
|
171 |
+
'transport' => 'refresh',
|
172 |
+
'sanitize_callback' => ''
|
173 |
+
)
|
174 |
+
);
|
175 |
+
$wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_partial_shipped_preview_order_id',
|
176 |
+
array(
|
177 |
+
'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
|
178 |
+
'description' => '',
|
179 |
+
'section' => 'customer_partial_shipped_email',
|
180 |
+
'input_attrs' => array(
|
181 |
+
'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
|
182 |
+
'class' => 'preview_order_select',
|
183 |
+
),
|
184 |
+
'choices' => wcast_customizer()->get_order_ids(),
|
185 |
+
)
|
186 |
+
) );
|
187 |
+
|
188 |
+
// Header Text
|
189 |
+
$wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[subject]',
|
190 |
+
array(
|
191 |
+
'default' => $this->defaults['wcast_partial_shipped_email_subject'],
|
192 |
+
'transport' => 'postMessage',
|
193 |
+
'type' => 'option',
|
194 |
+
'sanitize_callback' => ''
|
195 |
+
)
|
196 |
+
);
|
197 |
+
$wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[subject]',
|
198 |
+
array(
|
199 |
+
'label' => __( 'Subject', 'woocommerce' ),
|
200 |
+
'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
|
201 |
+
'section' => 'customer_partial_shipped_email',
|
202 |
+
'type' => 'text',
|
203 |
+
'input_attrs' => array(
|
204 |
+
'class' => '',
|
205 |
+
'style' => '',
|
206 |
+
'placeholder' => __( $this->defaults['wcast_partial_shipped_email_subject'], 'woo-advanced-shipment-tracking' ),
|
207 |
+
),
|
208 |
+
)
|
209 |
+
);
|
210 |
+
|
211 |
+
// Header Text
|
212 |
+
$wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[heading]',
|
213 |
+
array(
|
214 |
+
'default' => $this->defaults['wcast_partial_shipped_email_heading'],
|
215 |
+
'transport' => 'postMessage',
|
216 |
+
'type' => 'option',
|
217 |
+
'sanitize_callback' => ''
|
218 |
+
)
|
219 |
+
);
|
220 |
+
$wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[heading]',
|
221 |
+
array(
|
222 |
+
'label' => __( 'Email heading', 'woocommerce' ),
|
223 |
+
'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
|
224 |
+
'section' => 'customer_partial_shipped_email',
|
225 |
+
'type' => 'text',
|
226 |
+
'input_attrs' => array(
|
227 |
+
'class' => '',
|
228 |
+
'style' => '',
|
229 |
+
'placeholder' => __( $this->defaults['wcast_partial_shipped_email_heading'], 'woo-advanced-shipment-tracking' ),
|
230 |
+
),
|
231 |
+
)
|
232 |
+
);
|
233 |
+
|
234 |
+
|
235 |
+
// Test of TinyMCE control
|
236 |
+
$wp_customize->add_setting( 'wcast_partial_shipped_email_content',
|
237 |
+
array(
|
238 |
+
'default' => $this->defaults['wcast_partial_shipped_email_content'],
|
239 |
+
'transport' => 'refresh',
|
240 |
+
'sanitize_callback' => 'wp_kses_post'
|
241 |
+
)
|
242 |
+
);
|
243 |
+
$wp_customize->add_control( new Skyrocket_TinyMCE_Custom_control( $wp_customize, 'wcast_partial_shipped_email_content',
|
244 |
+
array(
|
245 |
+
'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
|
246 |
+
'description' => __( 'available variables: {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}', 'woo-advanced-shipment-tracking' ),
|
247 |
+
'section' => 'customer_partial_shipped_email',
|
248 |
+
'input_attrs' => array(
|
249 |
+
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
250 |
+
'mediaButtons' => true,
|
251 |
+
'placeholder' => __( $this->defaults['wcast_partial_shipped_email_content'], 'woo-advanced-shipment-tracking' ),
|
252 |
+
)
|
253 |
+
)
|
254 |
+
) );
|
255 |
+
|
256 |
+
$wp_customize->add_setting( 'wcast_partial_shipped_code_block',
|
257 |
+
array(
|
258 |
+
'default' => '',
|
259 |
+
'transport' => 'postMessage',
|
260 |
+
'sanitize_callback' => ''
|
261 |
+
)
|
262 |
+
);
|
263 |
+
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_partial_shipped_code_block',
|
264 |
+
array(
|
265 |
+
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
266 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}</code>',
|
267 |
+
'section' => 'customer_partial_shipped_email',
|
268 |
+
)
|
269 |
+
) );
|
270 |
+
}
|
271 |
+
|
272 |
+
/**
|
273 |
+
* Set up preview
|
274 |
+
*
|
275 |
+
* @access public
|
276 |
+
* @return void
|
277 |
+
*/
|
278 |
+
public function set_up_preview() {
|
279 |
+
|
280 |
+
// Make sure this is own preview request.
|
281 |
+
if ( ! wcast_partial_shipped_customizer_email::is_own_preview_request() ) {
|
282 |
+
return;
|
283 |
+
}
|
284 |
+
include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/partial_shipped_preview.php';
|
285 |
+
exit;
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* code for preview of delivered order status email
|
290 |
+
*/
|
291 |
+
public function preview_partial_shipped_email(){
|
292 |
+
// Load WooCommerce emails.
|
293 |
+
$wc_emails = WC_Emails::instance();
|
294 |
+
$emails = $wc_emails->get_emails();
|
295 |
+
$preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
|
296 |
+
|
297 |
+
if($preview_id == '' || $preview_id == 'mockup') {
|
298 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
299 |
+
echo $content;
|
300 |
+
return;
|
301 |
+
}
|
302 |
+
|
303 |
+
$email_type = 'WC_Email_Customer_Partial_Shipped_Order';
|
304 |
+
|
305 |
+
if ( false === $email_type ) {
|
306 |
+
return false;
|
307 |
+
}
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
+
// Reference email.
|
312 |
+
if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
|
313 |
+
$email = $emails[ $email_type ];
|
314 |
+
}
|
315 |
+
$order_status = 'partial-shipped';
|
316 |
+
// Get an order
|
317 |
+
$order = self::get_wc_order_for_preview( $order_status, $preview_id );
|
318 |
+
|
319 |
+
// Make sure gateways are running in case the email needs to input content from them.
|
320 |
+
WC()->payment_gateways();
|
321 |
+
// Make sure shipping is running in case the email needs to input content from it.
|
322 |
+
WC()->shipping();
|
323 |
+
|
324 |
+
$email->object = $order;
|
325 |
+
$email->find['order-date'] = '{order_date}';
|
326 |
+
$email->find['order-number'] = '{order_number}';
|
327 |
+
if ( is_object( $order ) ) {
|
328 |
+
$email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
|
329 |
+
$email->replace['order-number'] = $email->object->get_order_number();
|
330 |
+
// Other properties
|
331 |
+
$email->recipient = $email->object->get_billing_email();
|
332 |
+
}
|
333 |
+
|
334 |
+
// Get email content and apply styles.
|
335 |
+
$content = $email->get_content();
|
336 |
+
|
337 |
+
$content = $email->style_inline( $content );
|
338 |
+
$content = apply_filters( 'woocommerce_mail_content', $content );
|
339 |
+
|
340 |
+
echo $content;
|
341 |
+
}
|
342 |
+
|
343 |
+
/**
|
344 |
+
* Get WooCommerce order for preview
|
345 |
+
*
|
346 |
+
* @access public
|
347 |
+
* @param string $order_status
|
348 |
+
* @return object
|
349 |
+
*/
|
350 |
+
public static function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
|
351 |
+
if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
|
352 |
+
return wc_get_order( $order_id );
|
353 |
+
} else {
|
354 |
+
// Use mockup order
|
355 |
+
|
356 |
+
// Instantiate order object
|
357 |
+
$order = new WC_Order();
|
358 |
+
|
359 |
+
// Other order properties
|
360 |
+
$order->set_props( array(
|
361 |
+
'id' => 1,
|
362 |
+
'status' => ( null === $order_status ? 'processing' : $order_status ),
|
363 |
+
'billing_first_name' => 'Sherlock',
|
364 |
+
'billing_last_name' => 'Holmes',
|
365 |
+
'billing_company' => 'Detectives Ltd.',
|
366 |
+
'billing_address_1' => '221B Baker Street',
|
367 |
+
'billing_city' => 'London',
|
368 |
+
'billing_postcode' => 'NW1 6XE',
|
369 |
+
'billing_country' => 'GB',
|
370 |
+
'billing_email' => 'sherlock@holmes.co.uk',
|
371 |
+
'billing_phone' => '02079304832',
|
372 |
+
'date_created' => date( 'Y-m-d H:i:s' ),
|
373 |
+
'total' => 24.90,
|
374 |
+
) );
|
375 |
+
|
376 |
+
// Item #1
|
377 |
+
$order_item = new WC_Order_Item_Product();
|
378 |
+
$order_item->set_props( array(
|
379 |
+
'name' => 'A Study in Scarlet',
|
380 |
+
'subtotal' => '9.95',
|
381 |
+
'sku' => 'kwd_ex_1',
|
382 |
+
) );
|
383 |
+
$order->add_item( $order_item );
|
384 |
+
|
385 |
+
// Item #2
|
386 |
+
$order_item = new WC_Order_Item_Product();
|
387 |
+
$order_item->set_props( array(
|
388 |
+
'name' => 'The Hound of the Baskervilles',
|
389 |
+
'subtotal' => '14.95',
|
390 |
+
'sku' => 'kwd_ex_2',
|
391 |
+
) );
|
392 |
+
$order->add_item( $order_item );
|
393 |
+
|
394 |
+
// Return mockup order
|
395 |
+
return $order;
|
396 |
+
}
|
397 |
+
|
398 |
+
}
|
399 |
+
}
|
400 |
+
/**
|
401 |
+
* Initialise our Customizer settings
|
402 |
+
*/
|
403 |
+
|
404 |
+
$wcast_partial_shipped_customizer_settings = new wcast_partial_shipped_customizer_email();
|
405 |
+
add_action( 'customize_save_customizer_partial_shipped_order_settings_enabled', 'woocommerce_customer_partial_shipped_order_settings_fun', 100, 1 );
|
406 |
+
|
407 |
+
/**
|
408 |
+
* Update Delivered order email enable/disable
|
409 |
+
*
|
410 |
+
*/
|
411 |
+
function woocommerce_customer_partial_shipped_order_settings_fun($data){
|
412 |
+
$post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
|
413 |
+
$partial_shipped_order_settings = get_option( 'woocommerce_customer_partial_shipped_order_settings');
|
414 |
+
|
415 |
+
if(isset($post_values['customizer_partial_shipped_order_settings_enabled']) && ($post_values['customizer_partial_shipped_order_settings_enabled'] == 1)){
|
416 |
+
$partial_shipped_order_settings['enabled'] = 'yes';
|
417 |
+
} else{
|
418 |
+
$partial_shipped_order_settings['enabled'] = 'no';
|
419 |
+
}
|
420 |
+
update_option( 'woocommerce_customer_partial_shipped_order_settings',$partial_shipped_order_settings);
|
421 |
+
}
|
includes/customizer/class-wc-returntosender-email-customizer.php
CHANGED
@@ -234,7 +234,7 @@ class wcast_returntosender_customizer_email {
|
|
234 |
'input_attrs' => array(
|
235 |
'class' => '',
|
236 |
'style' => '',
|
237 |
-
'placeholder' => __( '
|
238 |
),
|
239 |
)
|
240 |
);
|
@@ -243,7 +243,7 @@ class wcast_returntosender_customizer_email {
|
|
243 |
$wp_customize->add_setting( 'wcast_returntosender_email_heading',
|
244 |
array(
|
245 |
'default' => $this->defaults['wcast_returntosender_email_heading'],
|
246 |
-
'transport' => '
|
247 |
'sanitize_callback' => ''
|
248 |
)
|
249 |
);
|
@@ -256,7 +256,7 @@ class wcast_returntosender_customizer_email {
|
|
256 |
'input_attrs' => array(
|
257 |
'class' => '',
|
258 |
'style' => '',
|
259 |
-
'placeholder' => __( '
|
260 |
),
|
261 |
)
|
262 |
);
|
@@ -364,6 +364,7 @@ class wcast_returntosender_customizer_email {
|
|
364 |
'input_attrs' => array(
|
365 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
366 |
'mediaButtons' => true,
|
|
|
367 |
)
|
368 |
)
|
369 |
) );
|
@@ -379,7 +380,7 @@ class wcast_returntosender_customizer_email {
|
|
379 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_returntosender_email_code_block',
|
380 |
array(
|
381 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
382 |
-
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
383 |
'section' => 'customer_returntosender_email',
|
384 |
)
|
385 |
) );
|
@@ -410,11 +411,21 @@ class wcast_returntosender_customizer_email {
|
|
410 |
$emails = $wc_emails->get_emails();
|
411 |
$preview_id = get_theme_mod('wcast_returntosender_email_preview_order_id');
|
412 |
|
413 |
-
$email_heading = get_theme_mod('wcast_returntosender_email_heading');
|
|
|
|
|
|
|
|
|
|
|
414 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
415 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
416 |
|
417 |
-
$email_content
|
|
|
|
|
|
|
|
|
|
|
418 |
$wcast_show_tracking_details = get_theme_mod('wcast_returntosender_show_tracking_details');
|
419 |
$wcast_show_order_details = get_theme_mod('wcast_returntosender_show_order_details');
|
420 |
$wcast_show_billing_address = get_theme_mod('wcast_returntosender_show_billing_address');
|
@@ -430,6 +441,13 @@ class wcast_returntosender_customizer_email {
|
|
430 |
}
|
431 |
|
432 |
$order = wc_get_order( $preview_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
433 |
$mailer = WC()->mailer();
|
434 |
|
435 |
// get the preview email subject
|
@@ -450,7 +468,8 @@ class wcast_returntosender_customizer_email {
|
|
450 |
if($wcast_show_tracking_details == 1){
|
451 |
ob_start();
|
452 |
wc_get_template( 'emails/tracking-info.php', array(
|
453 |
-
'tracking_items' => $wast->get_tracking_items( $preview_id, true )
|
|
|
454 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
455 |
$message .= ob_get_clean();
|
456 |
}
|
234 |
'input_attrs' => array(
|
235 |
'class' => '',
|
236 |
'style' => '',
|
237 |
+
'placeholder' => __( $this->defaults['wcast_returntosender_email_subject'], 'woo-advanced-shipment-tracking' ),
|
238 |
),
|
239 |
)
|
240 |
);
|
243 |
$wp_customize->add_setting( 'wcast_returntosender_email_heading',
|
244 |
array(
|
245 |
'default' => $this->defaults['wcast_returntosender_email_heading'],
|
246 |
+
'transport' => 'refresh',
|
247 |
'sanitize_callback' => ''
|
248 |
)
|
249 |
);
|
256 |
'input_attrs' => array(
|
257 |
'class' => '',
|
258 |
'style' => '',
|
259 |
+
'placeholder' => __( $this->defaults['wcast_returntosender_email_heading'], 'woo-advanced-shipment-tracking' ),
|
260 |
),
|
261 |
)
|
262 |
);
|
364 |
'input_attrs' => array(
|
365 |
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
366 |
'mediaButtons' => true,
|
367 |
+
'placeholder' => __( $this->defaults['wcast_returntosender_email_content'], 'woo-advanced-shipment-tracking' ),
|
368 |
)
|
369 |
)
|
370 |
) );
|
380 |
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_returntosender_email_code_block',
|
381 |
array(
|
382 |
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
383 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
|
384 |
'section' => 'customer_returntosender_email',
|
385 |
)
|
386 |
) );
|
411 |
$emails = $wc_emails->get_emails();
|
412 |
$preview_id = get_theme_mod('wcast_returntosender_email_preview_order_id');
|
413 |
|
414 |
+
$email_heading = get_theme_mod('wcast_returntosender_email_heading',$this->defaults['wcast_returntosender_email_heading']);
|
415 |
+
|
416 |
+
if($email_heading == ''){
|
417 |
+
$email_heading = $this->defaults['wcast_returntosender_email_heading'];
|
418 |
+
}
|
419 |
+
|
420 |
$email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
|
421 |
$email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
|
422 |
|
423 |
+
$email_content = get_theme_mod('wcast_returntosender_email_content',$this->defaults['wcast_returntosender_email_content']);
|
424 |
+
|
425 |
+
if($email_content == ''){
|
426 |
+
$email_content = $this->defaults['wcast_returntosender_email_content'];
|
427 |
+
}
|
428 |
+
|
429 |
$wcast_show_tracking_details = get_theme_mod('wcast_returntosender_show_tracking_details');
|
430 |
$wcast_show_order_details = get_theme_mod('wcast_returntosender_show_order_details');
|
431 |
$wcast_show_billing_address = get_theme_mod('wcast_returntosender_show_billing_address');
|
441 |
}
|
442 |
|
443 |
$order = wc_get_order( $preview_id );
|
444 |
+
|
445 |
+
if(!$order){
|
446 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
447 |
+
echo $content;
|
448 |
+
return;
|
449 |
+
}
|
450 |
+
|
451 |
$mailer = WC()->mailer();
|
452 |
|
453 |
// get the preview email subject
|
468 |
if($wcast_show_tracking_details == 1){
|
469 |
ob_start();
|
470 |
wc_get_template( 'emails/tracking-info.php', array(
|
471 |
+
'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
|
472 |
+
'order_id' => $preview_id,
|
473 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
474 |
$message .= ob_get_clean();
|
475 |
}
|
includes/customizer/class-wc-tracking-info-customizer.php
CHANGED
@@ -146,6 +146,11 @@ class wcast_initialise_customizer_settings {
|
|
146 |
'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
|
147 |
'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
|
148 |
'display_tracking_info_at' => 'before_order',
|
|
|
|
|
|
|
|
|
|
|
149 |
);
|
150 |
|
151 |
return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
|
@@ -176,7 +181,7 @@ class wcast_initialise_customizer_settings {
|
|
176 |
$wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_preview_order_id',
|
177 |
array(
|
178 |
'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
|
179 |
-
'description' => esc_html__( '
|
180 |
'section' => 'default_controls_section',
|
181 |
'input_attrs' => array(
|
182 |
'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
|
@@ -184,22 +189,8 @@ class wcast_initialise_customizer_settings {
|
|
184 |
),
|
185 |
'choices' => wcast_customizer()->get_order_ids(),
|
186 |
)
|
187 |
-
) );
|
188 |
-
|
189 |
-
$wp_customize->add_setting( 'general_settings_header',
|
190 |
-
array(
|
191 |
-
'default' => '',
|
192 |
-
'transport' => 'postMessage',
|
193 |
-
'sanitize_callback' => ''
|
194 |
-
)
|
195 |
-
);
|
196 |
-
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'general_settings_header',
|
197 |
-
array(
|
198 |
-
'label' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
|
199 |
-
'section' => 'default_controls_section'
|
200 |
-
)
|
201 |
) );
|
202 |
-
|
203 |
// Tracking Display Position
|
204 |
$wp_customize->add_setting( 'display_tracking_info_at',
|
205 |
array(
|
@@ -218,7 +209,7 @@ class wcast_initialise_customizer_settings {
|
|
218 |
'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
|
219 |
)
|
220 |
)
|
221 |
-
);
|
222 |
|
223 |
// Header Text
|
224 |
$wp_customize->add_setting( 'header_text_change',
|
@@ -230,7 +221,7 @@ class wcast_initialise_customizer_settings {
|
|
230 |
);
|
231 |
$wp_customize->add_control( 'header_text_change',
|
232 |
array(
|
233 |
-
'label' => __( '
|
234 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
235 |
'section' => 'default_controls_section',
|
236 |
'type' => 'text',
|
@@ -263,6 +254,113 @@ class wcast_initialise_customizer_settings {
|
|
263 |
)
|
264 |
);
|
265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
// Test of Toggle Switch Custom Control
|
267 |
$wp_customize->add_setting( 'table_content_header',
|
268 |
array(
|
@@ -273,27 +371,44 @@ class wcast_initialise_customizer_settings {
|
|
273 |
);
|
274 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_content_header',
|
275 |
array(
|
276 |
-
'label' => __( 'Table
|
277 |
'section' => 'default_controls_section'
|
278 |
)
|
279 |
) );
|
280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
// Display Shipment Provider image/thumbnail
|
282 |
$wp_customize->add_setting( 'display_shipment_provider_image',
|
283 |
array(
|
284 |
'default' => $this->defaults['display_shipment_provider_image'],
|
285 |
-
'transport' => '
|
286 |
'sanitize_callback' => ''
|
287 |
)
|
288 |
);
|
289 |
$wp_customize->add_control( 'display_shipment_provider_image',
|
290 |
array(
|
291 |
-
'label' => __( 'Display
|
292 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
293 |
'section' => 'default_controls_section',
|
294 |
'type' => 'checkbox'
|
295 |
)
|
296 |
-
);
|
297 |
|
298 |
// Remove date from tracking info
|
299 |
$wp_customize->add_setting( 'remove_date_from_tracking',
|
@@ -305,7 +420,24 @@ class wcast_initialise_customizer_settings {
|
|
305 |
);
|
306 |
$wp_customize->add_control( 'remove_date_from_tracking',
|
307 |
array(
|
308 |
-
'label' => __( 'Hide date', 'woo-advanced-shipment-tracking' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
310 |
'section' => 'default_controls_section',
|
311 |
'type' => 'checkbox'
|
@@ -322,7 +454,7 @@ class wcast_initialise_customizer_settings {
|
|
322 |
);
|
323 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header_block',
|
324 |
array(
|
325 |
-
'label' => __( 'Table
|
326 |
'section' => 'default_controls_section'
|
327 |
)
|
328 |
) );
|
@@ -337,7 +469,7 @@ class wcast_initialise_customizer_settings {
|
|
337 |
);
|
338 |
$wp_customize->add_control( 'hide_table_header',
|
339 |
array(
|
340 |
-
'label' => __( 'Hide
|
341 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
342 |
'section' => 'default_controls_section',
|
343 |
'type' => 'checkbox'
|
@@ -354,7 +486,7 @@ class wcast_initialise_customizer_settings {
|
|
354 |
);
|
355 |
$wp_customize->add_control( 'provider_header_text',
|
356 |
array(
|
357 |
-
'label' => __( 'Provider
|
358 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
359 |
'section' => 'default_controls_section',
|
360 |
'type' => 'text',
|
@@ -376,7 +508,7 @@ class wcast_initialise_customizer_settings {
|
|
376 |
);
|
377 |
$wp_customize->add_control( 'tracking_number_header_text',
|
378 |
array(
|
379 |
-
'label' => __( 'Tracking Number
|
380 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
381 |
'section' => 'default_controls_section',
|
382 |
'type' => 'text',
|
@@ -397,7 +529,7 @@ class wcast_initialise_customizer_settings {
|
|
397 |
);
|
398 |
$wp_customize->add_control( 'shipped_date_header_text',
|
399 |
array(
|
400 |
-
'label' => __( '
|
401 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
402 |
'section' => 'default_controls_section',
|
403 |
'type' => 'text',
|
@@ -408,6 +540,7 @@ class wcast_initialise_customizer_settings {
|
|
408 |
),
|
409 |
)
|
410 |
);
|
|
|
411 |
// Show track label
|
412 |
$wp_customize->add_setting( 'show_track_label',
|
413 |
array(
|
@@ -423,7 +556,8 @@ class wcast_initialise_customizer_settings {
|
|
423 |
'section' => 'default_controls_section',
|
424 |
'type' => 'checkbox'
|
425 |
)
|
426 |
-
);
|
|
|
427 |
// Track Header Text
|
428 |
$wp_customize->add_setting( 'track_header_text',
|
429 |
array(
|
@@ -434,7 +568,7 @@ class wcast_initialise_customizer_settings {
|
|
434 |
);
|
435 |
$wp_customize->add_control( 'track_header_text',
|
436 |
array(
|
437 |
-
'label' => __( 'Track
|
438 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
439 |
'section' => 'default_controls_section',
|
440 |
'type' => 'text',
|
@@ -456,7 +590,7 @@ class wcast_initialise_customizer_settings {
|
|
456 |
);
|
457 |
$wp_customize->add_control( 'table_header_font_size',
|
458 |
array(
|
459 |
-
'label' => __( '
|
460 |
'section' => 'default_controls_section',
|
461 |
'type' => 'select',
|
462 |
'choices' => $font_size_array
|
@@ -473,7 +607,7 @@ class wcast_initialise_customizer_settings {
|
|
473 |
);
|
474 |
$wp_customize->add_control( 'table_header_font_color',
|
475 |
array(
|
476 |
-
'label' => __( '
|
477 |
'section' => 'default_controls_section',
|
478 |
'type' => 'color'
|
479 |
)
|
@@ -489,7 +623,7 @@ class wcast_initialise_customizer_settings {
|
|
489 |
);
|
490 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
|
491 |
array(
|
492 |
-
'label' => __( 'Table
|
493 |
'section' => 'default_controls_section'
|
494 |
)
|
495 |
) );
|
@@ -529,18 +663,6 @@ class wcast_initialise_customizer_settings {
|
|
529 |
'type' => 'color',
|
530 |
)
|
531 |
);
|
532 |
-
/* $wp_customize->add_control( new Skyrocket_Customize_Alpha_Color_Control( $wp_customize, 'table_bg_color',
|
533 |
-
array(
|
534 |
-
'label' => __( 'Content font weight', 'woo-advanced-shipment-tracking' ),
|
535 |
-
'section' => 'default_controls_section',
|
536 |
-
'input_attrs' => array(
|
537 |
-
'default' => $this->defaults['table_bg_color'],
|
538 |
-
'step' => 100,
|
539 |
-
'min' => 100,
|
540 |
-
'max' => 900,
|
541 |
-
),
|
542 |
-
)
|
543 |
-
));*/
|
544 |
|
545 |
// Table Border color
|
546 |
$wp_customize->add_setting( 'table_border_color',
|
@@ -592,7 +714,7 @@ class wcast_initialise_customizer_settings {
|
|
592 |
);
|
593 |
$wp_customize->add_control( 'header_content_text_align',
|
594 |
array(
|
595 |
-
'label' => __( '
|
596 |
'section' => 'default_controls_section',
|
597 |
'type' => 'select',
|
598 |
'choices' => array(
|
@@ -604,39 +726,38 @@ class wcast_initialise_customizer_settings {
|
|
604 |
)
|
605 |
);
|
606 |
|
607 |
-
|
608 |
-
|
609 |
-
$wp_customize->add_setting( 'table_content_font_size',
|
610 |
array(
|
611 |
-
'default' => $this->defaults['
|
612 |
'transport' => 'postMessage',
|
613 |
'sanitize_callback' => ''
|
614 |
)
|
615 |
);
|
616 |
-
$wp_customize->add_control( '
|
617 |
array(
|
618 |
-
'label' => __( '
|
619 |
'section' => 'default_controls_section',
|
620 |
-
'type' => '
|
621 |
-
'choices' => $font_size_array
|
622 |
)
|
623 |
-
);
|
624 |
|
625 |
-
// Table content font
|
626 |
-
$wp_customize->add_setting( '
|
627 |
array(
|
628 |
-
'default' => $this->defaults['
|
629 |
'transport' => 'postMessage',
|
630 |
'sanitize_callback' => ''
|
631 |
)
|
632 |
);
|
633 |
-
$wp_customize->add_control( '
|
634 |
array(
|
635 |
-
'label' => __( '
|
636 |
'section' => 'default_controls_section',
|
637 |
-
'type' => '
|
|
|
638 |
)
|
639 |
-
);
|
640 |
|
641 |
// Table content line height
|
642 |
$wp_customize->add_setting( 'table_content_line_height',
|
@@ -691,7 +812,7 @@ class wcast_initialise_customizer_settings {
|
|
691 |
|
692 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
|
693 |
array(
|
694 |
-
'label' => __( '
|
695 |
'section' => 'default_controls_section'
|
696 |
)
|
697 |
) );
|
@@ -705,7 +826,7 @@ class wcast_initialise_customizer_settings {
|
|
705 |
);
|
706 |
$wp_customize->add_control( 'tracking_link_font_color',
|
707 |
array(
|
708 |
-
'label' => __( '
|
709 |
'section' => 'default_controls_section',
|
710 |
'type' => 'color'
|
711 |
)
|
@@ -721,7 +842,7 @@ class wcast_initialise_customizer_settings {
|
|
721 |
);
|
722 |
$wp_customize->add_control( 'tracking_link_bg_color',
|
723 |
array(
|
724 |
-
'label' => __( '
|
725 |
'section' => 'default_controls_section',
|
726 |
'type' => 'color'
|
727 |
)
|
@@ -736,7 +857,7 @@ class wcast_initialise_customizer_settings {
|
|
736 |
);
|
737 |
$wp_customize->add_control( 'tracking_link_border',
|
738 |
array(
|
739 |
-
'label' => __( '
|
740 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
741 |
'section' => 'default_controls_section',
|
742 |
'type' => 'checkbox'
|
@@ -788,7 +909,7 @@ class wcast_initialise_customizer_settings {
|
|
788 |
$order_status = 'completed';
|
789 |
|
790 |
if($preview_id == '' || $preview_id == 'mockup') {
|
791 |
-
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( '
|
792 |
echo $content;
|
793 |
return;
|
794 |
}
|
146 |
'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
|
147 |
'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
|
148 |
'display_tracking_info_at' => 'before_order',
|
149 |
+
'select_tracking_template' => 'default_table',
|
150 |
+
'simple_provider_font_size' => '14',
|
151 |
+
'simple_provider_font_color' => '#575f6d',
|
152 |
+
'show_provider_border' => 1,
|
153 |
+
'provider_border_color' => '#e0e0e0',
|
154 |
);
|
155 |
|
156 |
return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
|
181 |
$wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_preview_order_id',
|
182 |
array(
|
183 |
'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
|
184 |
+
'description' => esc_html__( 'Select an order to preview and design the tracking info display.', 'woo-advanced-shipment-tracking' ),
|
185 |
'section' => 'default_controls_section',
|
186 |
'input_attrs' => array(
|
187 |
'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
|
189 |
),
|
190 |
'choices' => wcast_customizer()->get_order_ids(),
|
191 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
) );
|
193 |
+
|
194 |
// Tracking Display Position
|
195 |
$wp_customize->add_setting( 'display_tracking_info_at',
|
196 |
array(
|
209 |
'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
|
210 |
)
|
211 |
)
|
212 |
+
);
|
213 |
|
214 |
// Header Text
|
215 |
$wp_customize->add_setting( 'header_text_change',
|
221 |
);
|
222 |
$wp_customize->add_control( 'header_text_change',
|
223 |
array(
|
224 |
+
'label' => __( 'Tracking Header text', 'woo-advanced-shipment-tracking' ),
|
225 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
226 |
'section' => 'default_controls_section',
|
227 |
'type' => 'text',
|
254 |
)
|
255 |
);
|
256 |
|
257 |
+
// Preview Order
|
258 |
+
$wp_customize->add_setting( 'select_tracking_template',
|
259 |
+
array(
|
260 |
+
'default' => $this->defaults['select_tracking_template'],
|
261 |
+
'transport' => 'refresh',
|
262 |
+
'sanitize_callback' => ''
|
263 |
+
)
|
264 |
+
);
|
265 |
+
$wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'select_tracking_template',
|
266 |
+
array(
|
267 |
+
'label' => __( 'Tracking display template', 'woo-advanced-shipment-tracking' ),
|
268 |
+
'section' => 'default_controls_section',
|
269 |
+
'input_attrs' => array(
|
270 |
+
'placeholder' => __( 'Tracking display template', 'woo-advanced-shipment-tracking' ),
|
271 |
+
'class' => 'tracking_template_select',
|
272 |
+
),
|
273 |
+
'choices' => array(
|
274 |
+
'' => __( 'Select Template', 'woo-advanced-shipment-tracking' ),
|
275 |
+
'default_table' => __( 'Table Layout', 'woo-advanced-shipment-tracking' ),
|
276 |
+
'simple_list' => 'Simple Layout',
|
277 |
+
),
|
278 |
+
)
|
279 |
+
) );
|
280 |
+
|
281 |
+
// Test of Toggle Switch Custom Control
|
282 |
+
$wp_customize->add_setting( 'simple_content_header',
|
283 |
+
array(
|
284 |
+
'default' => '',
|
285 |
+
'transport' => 'postMessage',
|
286 |
+
'sanitize_callback' => ''
|
287 |
+
)
|
288 |
+
);
|
289 |
+
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'simple_content_header',
|
290 |
+
array(
|
291 |
+
'label' => __( 'Simple Layout Design', 'woo-advanced-shipment-tracking' ),
|
292 |
+
'section' => 'default_controls_section'
|
293 |
+
)
|
294 |
+
) );
|
295 |
+
|
296 |
+
// Simple Layout Provider font size
|
297 |
+
$wp_customize->add_setting( 'simple_provider_font_size',
|
298 |
+
array(
|
299 |
+
'default' => $this->defaults['simple_provider_font_size'],
|
300 |
+
'transport' => 'postMessage',
|
301 |
+
'sanitize_callback' => ''
|
302 |
+
)
|
303 |
+
);
|
304 |
+
$wp_customize->add_control( 'simple_provider_font_size',
|
305 |
+
array(
|
306 |
+
'label' => __( 'Provider font size', 'woo-advanced-shipment-tracking' ),
|
307 |
+
'section' => 'default_controls_section',
|
308 |
+
'type' => 'select',
|
309 |
+
'choices' => $font_size_array
|
310 |
+
)
|
311 |
+
);
|
312 |
+
|
313 |
+
// Table header font color
|
314 |
+
$wp_customize->add_setting( 'simple_provider_font_color',
|
315 |
+
array(
|
316 |
+
'default' => $this->defaults['simple_provider_font_color'],
|
317 |
+
'transport' => 'postMessage',
|
318 |
+
'sanitize_callback' => ''
|
319 |
+
)
|
320 |
+
);
|
321 |
+
$wp_customize->add_control( 'simple_provider_font_color',
|
322 |
+
array(
|
323 |
+
'label' => __( 'Provider font color', 'woo-advanced-shipment-tracking' ),
|
324 |
+
'section' => 'default_controls_section',
|
325 |
+
'type' => 'color'
|
326 |
+
)
|
327 |
+
);
|
328 |
+
|
329 |
+
// Show track label
|
330 |
+
$wp_customize->add_setting( 'show_provider_border',
|
331 |
+
array(
|
332 |
+
'default' => $this->defaults['show_provider_border'],
|
333 |
+
'transport' => 'postMessage',
|
334 |
+
'sanitize_callback' => ''
|
335 |
+
)
|
336 |
+
);
|
337 |
+
$wp_customize->add_control( 'show_provider_border',
|
338 |
+
array(
|
339 |
+
'label' => __( 'Show bottom border', 'woo-advanced-shipment-tracking' ),
|
340 |
+
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
341 |
+
'section' => 'default_controls_section',
|
342 |
+
'type' => 'checkbox'
|
343 |
+
)
|
344 |
+
);
|
345 |
+
|
346 |
+
// Table header font color
|
347 |
+
$wp_customize->add_setting( 'provider_border_color',
|
348 |
+
array(
|
349 |
+
'default' => $this->defaults['provider_border_color'],
|
350 |
+
'transport' => 'postMessage',
|
351 |
+
'sanitize_callback' => ''
|
352 |
+
)
|
353 |
+
);
|
354 |
+
$wp_customize->add_control( 'provider_border_color',
|
355 |
+
array(
|
356 |
+
'label' => __( 'Bottom border color', 'woo-advanced-shipment-tracking' ),
|
357 |
+
'section' => 'default_controls_section',
|
358 |
+
'type' => 'color'
|
359 |
+
)
|
360 |
+
);
|
361 |
+
|
362 |
+
|
363 |
+
|
364 |
// Test of Toggle Switch Custom Control
|
365 |
$wp_customize->add_setting( 'table_content_header',
|
366 |
array(
|
371 |
);
|
372 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_content_header',
|
373 |
array(
|
374 |
+
'label' => __( 'Table layout Design', 'woo-advanced-shipment-tracking' ),
|
375 |
'section' => 'default_controls_section'
|
376 |
)
|
377 |
) );
|
378 |
|
379 |
+
// Hide Shipment Provider name
|
380 |
+
$wp_customize->add_setting( 'display_shipment_provider_name',
|
381 |
+
array(
|
382 |
+
'default' => '',
|
383 |
+
'transport' => 'refresh',
|
384 |
+
'sanitize_callback' => ''
|
385 |
+
)
|
386 |
+
);
|
387 |
+
$wp_customize->add_control( 'display_shipment_provider_name',
|
388 |
+
array(
|
389 |
+
'label' => __( 'Display shipping provider name', 'woo-advanced-shipment-tracking' ),
|
390 |
+
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
391 |
+
'section' => 'default_controls_section',
|
392 |
+
'type' => 'checkbox'
|
393 |
+
)
|
394 |
+
);
|
395 |
+
|
396 |
// Display Shipment Provider image/thumbnail
|
397 |
$wp_customize->add_setting( 'display_shipment_provider_image',
|
398 |
array(
|
399 |
'default' => $this->defaults['display_shipment_provider_image'],
|
400 |
+
'transport' => 'refresh',
|
401 |
'sanitize_callback' => ''
|
402 |
)
|
403 |
);
|
404 |
$wp_customize->add_control( 'display_shipment_provider_image',
|
405 |
array(
|
406 |
+
'label' => __( 'Display shipping provider image', 'woo-advanced-shipment-tracking' ),
|
407 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
408 |
'section' => 'default_controls_section',
|
409 |
'type' => 'checkbox'
|
410 |
)
|
411 |
+
);
|
412 |
|
413 |
// Remove date from tracking info
|
414 |
$wp_customize->add_setting( 'remove_date_from_tracking',
|
420 |
);
|
421 |
$wp_customize->add_control( 'remove_date_from_tracking',
|
422 |
array(
|
423 |
+
'label' => __( 'Hide the ship date', 'woo-advanced-shipment-tracking' ),
|
424 |
+
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
425 |
+
'section' => 'default_controls_section',
|
426 |
+
'type' => 'checkbox'
|
427 |
+
)
|
428 |
+
);
|
429 |
+
|
430 |
+
// Use tracking number as a link
|
431 |
+
$wp_customize->add_setting( 'tracking_number_link',
|
432 |
+
array(
|
433 |
+
'default' => '',
|
434 |
+
'transport' => 'refresh',
|
435 |
+
'sanitize_callback' => ''
|
436 |
+
)
|
437 |
+
);
|
438 |
+
$wp_customize->add_control( 'tracking_number_link',
|
439 |
+
array(
|
440 |
+
'label' => __( 'Use tracking number as a link', 'woo-advanced-shipment-tracking' ),
|
441 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
442 |
'section' => 'default_controls_section',
|
443 |
'type' => 'checkbox'
|
454 |
);
|
455 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header_block',
|
456 |
array(
|
457 |
+
'label' => __( 'Table Headers', 'woo-advanced-shipment-tracking' ),
|
458 |
'section' => 'default_controls_section'
|
459 |
)
|
460 |
) );
|
469 |
);
|
470 |
$wp_customize->add_control( 'hide_table_header',
|
471 |
array(
|
472 |
+
'label' => __( 'Hide Table Headers', 'woo-advanced-shipment-tracking' ),
|
473 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
474 |
'section' => 'default_controls_section',
|
475 |
'type' => 'checkbox'
|
486 |
);
|
487 |
$wp_customize->add_control( 'provider_header_text',
|
488 |
array(
|
489 |
+
'label' => __( 'Provider header text', 'woo-advanced-shipment-tracking' ),
|
490 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
491 |
'section' => 'default_controls_section',
|
492 |
'type' => 'text',
|
508 |
);
|
509 |
$wp_customize->add_control( 'tracking_number_header_text',
|
510 |
array(
|
511 |
+
'label' => __( 'Tracking Number header text', 'woo-advanced-shipment-tracking' ),
|
512 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
513 |
'section' => 'default_controls_section',
|
514 |
'type' => 'text',
|
529 |
);
|
530 |
$wp_customize->add_control( 'shipped_date_header_text',
|
531 |
array(
|
532 |
+
'label' => __( 'Ship date header text', 'woo-advanced-shipment-tracking' ),
|
533 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
534 |
'section' => 'default_controls_section',
|
535 |
'type' => 'text',
|
540 |
),
|
541 |
)
|
542 |
);
|
543 |
+
|
544 |
// Show track label
|
545 |
$wp_customize->add_setting( 'show_track_label',
|
546 |
array(
|
556 |
'section' => 'default_controls_section',
|
557 |
'type' => 'checkbox'
|
558 |
)
|
559 |
+
);
|
560 |
+
|
561 |
// Track Header Text
|
562 |
$wp_customize->add_setting( 'track_header_text',
|
563 |
array(
|
568 |
);
|
569 |
$wp_customize->add_control( 'track_header_text',
|
570 |
array(
|
571 |
+
'label' => __( 'Track header text', 'woo-advanced-shipment-tracking' ),
|
572 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
573 |
'section' => 'default_controls_section',
|
574 |
'type' => 'text',
|
590 |
);
|
591 |
$wp_customize->add_control( 'table_header_font_size',
|
592 |
array(
|
593 |
+
'label' => __( 'Headers font size', 'woo-advanced-shipment-tracking' ),
|
594 |
'section' => 'default_controls_section',
|
595 |
'type' => 'select',
|
596 |
'choices' => $font_size_array
|
607 |
);
|
608 |
$wp_customize->add_control( 'table_header_font_color',
|
609 |
array(
|
610 |
+
'label' => __( 'Headers font color', 'woo-advanced-shipment-tracking' ),
|
611 |
'section' => 'default_controls_section',
|
612 |
'type' => 'color'
|
613 |
)
|
623 |
);
|
624 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
|
625 |
array(
|
626 |
+
'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
|
627 |
'section' => 'default_controls_section'
|
628 |
)
|
629 |
) );
|
663 |
'type' => 'color',
|
664 |
)
|
665 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
666 |
|
667 |
// Table Border color
|
668 |
$wp_customize->add_setting( 'table_border_color',
|
714 |
);
|
715 |
$wp_customize->add_control( 'header_content_text_align',
|
716 |
array(
|
717 |
+
'label' => __( 'Content Text align', 'woo-advanced-shipment-tracking' ),
|
718 |
'section' => 'default_controls_section',
|
719 |
'type' => 'select',
|
720 |
'choices' => array(
|
726 |
)
|
727 |
);
|
728 |
|
729 |
+
// Table content font color
|
730 |
+
$wp_customize->add_setting( 'table_content_font_color',
|
|
|
731 |
array(
|
732 |
+
'default' => $this->defaults['table_content_font_color'],
|
733 |
'transport' => 'postMessage',
|
734 |
'sanitize_callback' => ''
|
735 |
)
|
736 |
);
|
737 |
+
$wp_customize->add_control( 'table_content_font_color',
|
738 |
array(
|
739 |
+
'label' => __( 'Content font color', 'woo-advanced-shipment-tracking' ),
|
740 |
'section' => 'default_controls_section',
|
741 |
+
'type' => 'color'
|
|
|
742 |
)
|
743 |
+
);
|
744 |
|
745 |
+
// Table content font size
|
746 |
+
$wp_customize->add_setting( 'table_content_font_size',
|
747 |
array(
|
748 |
+
'default' => $this->defaults['table_content_font_size'],
|
749 |
'transport' => 'postMessage',
|
750 |
'sanitize_callback' => ''
|
751 |
)
|
752 |
);
|
753 |
+
$wp_customize->add_control( 'table_content_font_size',
|
754 |
array(
|
755 |
+
'label' => __( 'Content font size', 'woo-advanced-shipment-tracking' ),
|
756 |
'section' => 'default_controls_section',
|
757 |
+
'type' => 'select',
|
758 |
+
'choices' => $font_size_array
|
759 |
)
|
760 |
+
);
|
761 |
|
762 |
// Table content line height
|
763 |
$wp_customize->add_setting( 'table_content_line_height',
|
812 |
|
813 |
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
|
814 |
array(
|
815 |
+
'label' => __( 'Tracking Link', 'woo-advanced-shipment-tracking' ),
|
816 |
'section' => 'default_controls_section'
|
817 |
)
|
818 |
) );
|
826 |
);
|
827 |
$wp_customize->add_control( 'tracking_link_font_color',
|
828 |
array(
|
829 |
+
'label' => __( 'Font Color', 'woo-advanced-shipment-tracking' ),
|
830 |
'section' => 'default_controls_section',
|
831 |
'type' => 'color'
|
832 |
)
|
842 |
);
|
843 |
$wp_customize->add_control( 'tracking_link_bg_color',
|
844 |
array(
|
845 |
+
'label' => __( 'Background Color', 'woo-advanced-shipment-tracking' ),
|
846 |
'section' => 'default_controls_section',
|
847 |
'type' => 'color'
|
848 |
)
|
857 |
);
|
858 |
$wp_customize->add_control( 'tracking_link_border',
|
859 |
array(
|
860 |
+
'label' => __( 'Border', 'woo-advanced-shipment-tracking' ),
|
861 |
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
862 |
'section' => 'default_controls_section',
|
863 |
'type' => 'checkbox'
|
909 |
$order_status = 'completed';
|
910 |
|
911 |
if($preview_id == '' || $preview_id == 'mockup') {
|
912 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'To preview the tracking display, please add tracking information to at least one order and choose it in the preview order selection.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
913 |
echo $content;
|
914 |
return;
|
915 |
}
|
includes/customizer/class-wc-updated-tracking-email-customizer.php
ADDED
@@ -0,0 +1,421 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Customizer Setup and Custom Controls
|
4 |
+
*
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Adds the individual sections, settings, and controls to the theme customizer
|
9 |
+
*/
|
10 |
+
class wcast_updated_tracking_customizer_email {
|
11 |
+
// Get our default values
|
12 |
+
public function __construct() {
|
13 |
+
// Get our Customizer defaults
|
14 |
+
$this->defaults = $this->wcast_generate_defaults();
|
15 |
+
|
16 |
+
// Register our sample default controls
|
17 |
+
add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
|
18 |
+
|
19 |
+
// Only proceed if this is own request.
|
20 |
+
if ( ! wcast_updated_tracking_customizer_email::is_own_customizer_request() && ! wcast_updated_tracking_customizer_email::is_own_preview_request() ) {
|
21 |
+
return;
|
22 |
+
}
|
23 |
+
add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_panels' ) );
|
24 |
+
// Register our sections
|
25 |
+
add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
|
26 |
+
|
27 |
+
// Remove unrelated components.
|
28 |
+
add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
|
29 |
+
|
30 |
+
// Remove unrelated sections.
|
31 |
+
add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
|
32 |
+
|
33 |
+
// Unhook divi front end.
|
34 |
+
add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
|
35 |
+
|
36 |
+
// Unhook Flatsome js
|
37 |
+
add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
|
38 |
+
|
39 |
+
add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
|
40 |
+
|
41 |
+
add_action( 'parse_request', array( $this, 'set_up_preview' ) );
|
42 |
+
|
43 |
+
add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
|
44 |
+
}
|
45 |
+
|
46 |
+
public function enqueue_preview_scripts() {
|
47 |
+
wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
|
48 |
+
wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
|
49 |
+
// Send variables to Javascript
|
50 |
+
$preview_id = get_theme_mod('wcast_updated_tracking_preview_order_id');
|
51 |
+
wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
|
52 |
+
'site_title' => $this->get_blogname(),
|
53 |
+
'order_number' => $preview_id,
|
54 |
+
));
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Get blog name formatted for emails.
|
59 |
+
*
|
60 |
+
* @return string
|
61 |
+
*/
|
62 |
+
public function get_blogname() {
|
63 |
+
return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Checks to see if we are opening our custom customizer preview
|
68 |
+
*
|
69 |
+
* @access public
|
70 |
+
* @return bool
|
71 |
+
*/
|
72 |
+
public static function is_own_preview_request() {
|
73 |
+
return isset( $_REQUEST['wcast-updated-tracking-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-updated-tracking-email-customizer-preview'];
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Checks to see if we are opening our custom customizer controls
|
78 |
+
*
|
79 |
+
* @access public
|
80 |
+
* @return bool
|
81 |
+
*/
|
82 |
+
public static function is_own_customizer_request() {
|
83 |
+
return isset( $_REQUEST['email'] ) && $_REQUEST['email'] === 'customer_updated_tracking_email';
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Get Customizer URL
|
88 |
+
*
|
89 |
+
*/
|
90 |
+
public static function get_customizer_url($email) {
|
91 |
+
$customizer_url = add_query_arg( array(
|
92 |
+
'wcast-customizer' => '1',
|
93 |
+
'email' => $email,
|
94 |
+
'url' => urlencode( add_query_arg( array( 'wcast-updated-tracking-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
|
95 |
+
'return' => urlencode( wcast_updated_tracking_customizer_email::get_email_settings_page_url() ),
|
96 |
+
), admin_url( 'customize.php' ) );
|
97 |
+
|
98 |
+
return $customizer_url;
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Get WooCommerce email settings page URL
|
103 |
+
*
|
104 |
+
* @access public
|
105 |
+
* @return string
|
106 |
+
*/
|
107 |
+
public static function get_email_settings_page_url() {
|
108 |
+
return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
* code for initialize default value for customizer
|
113 |
+
*/
|
114 |
+
public function wcast_generate_defaults() {
|
115 |
+
$customizer_defaults = array(
|
116 |
+
'wcast_updated_tracking_email_subject' => __( 'Your {site_title} order is now updated tracking', 'woo-advanced-shipment-tracking' ),
|
117 |
+
'wcast_updated_tracking_email_heading' => __( 'Tracking information Update', 'woocommerce' ),
|
118 |
+
'wcast_updated_tracking_email_content' => __( "Hi there. we thought you'd like to know that the shipment tracking for your recent order from {site_title} has been updated.", 'woo-advanced-shipment-tracking' ),
|
119 |
+
'wcast_enable_updated_tracking_email' => 'no',
|
120 |
+
);
|
121 |
+
|
122 |
+
return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* Register our sample default controls
|
127 |
+
*/
|
128 |
+
public function wcast_register_sample_default_controls( $wp_customize ) {
|
129 |
+
/**
|
130 |
+
* Load all our Customizer Custom Controls
|
131 |
+
*/
|
132 |
+
require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
|
133 |
+
|
134 |
+
$wp_customize->add_setting( 'updated_tracking_order_email_heading',
|
135 |
+
array(
|
136 |
+
'default' => '',
|
137 |
+
'transport' => 'postMessage',
|
138 |
+
'sanitize_callback' => ''
|
139 |
+
)
|
140 |
+
);
|
141 |
+
$wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'updated_tracking_order_email_heading',
|
142 |
+
array(
|
143 |
+
'label' => __( 'Updated Tracking status email', 'woo-advanced-shipment-tracking' ),
|
144 |
+
'description' => __( 'This section lets you customize the Email Content.', 'woo-advanced-shipment-tracking' ),
|
145 |
+
'section' => 'customer_updated_tracking_email'
|
146 |
+
)
|
147 |
+
) );
|
148 |
+
// Display Shipment Provider image/thumbnail
|
149 |
+
$wp_customize->add_setting( 'customizer_updated_tracking_order_settings_enabled',
|
150 |
+
array(
|
151 |
+
'default' => $this->defaults['wcast_enable_updated_tracking_email'],
|
152 |
+
'transport' => 'postMessage',
|
153 |
+
'type' => 'option',
|
154 |
+
'sanitize_callback' => ''
|
155 |
+
)
|
156 |
+
);
|
157 |
+
$wp_customize->add_control( 'customizer_updated_tracking_order_settings_enabled',
|
158 |
+
array(
|
159 |
+
'label' => __( 'Enable Updated Tracking order status email', 'woo-advanced-shipment-tracking' ),
|
160 |
+
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
161 |
+
'section' => 'customer_updated_tracking_email',
|
162 |
+
'type' => 'checkbox',
|
163 |
+
|
164 |
+
)
|
165 |
+
);
|
166 |
+
|
167 |
+
// Preview Order
|
168 |
+
$wp_customize->add_setting( 'wcast_updated_tracking_preview_order_id',
|
169 |
+
array(
|
170 |
+
'default' => 'mockup',
|
171 |
+
'transport' => 'refresh',
|
172 |
+
'sanitize_callback' => ''
|
173 |
+
)
|
174 |
+
);
|
175 |
+
$wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_updated_tracking_preview_order_id',
|
176 |
+
array(
|
177 |
+
'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
|
178 |
+
'description' => '',
|
179 |
+
'section' => 'customer_updated_tracking_email',
|
180 |
+
'input_attrs' => array(
|
181 |
+
'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
|
182 |
+
'class' => 'preview_order_select',
|
183 |
+
),
|
184 |
+
'choices' => wcast_customizer()->get_order_ids(),
|
185 |
+
)
|
186 |
+
) );
|
187 |
+
|
188 |
+
// Header Text
|
189 |
+
$wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[subject]',
|
190 |
+
array(
|
191 |
+
'default' => $this->defaults['wcast_updated_tracking_email_subject'],
|
192 |
+
'transport' => 'postMessage',
|
193 |
+
'type' => 'option',
|
194 |
+
'sanitize_callback' => ''
|
195 |
+
)
|
196 |
+
);
|
197 |
+
$wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[subject]',
|
198 |
+
array(
|
199 |
+
'label' => __( 'Subject', 'woocommerce' ),
|
200 |
+
'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
|
201 |
+
'section' => 'customer_updated_tracking_email',
|
202 |
+
'type' => 'text',
|
203 |
+
'input_attrs' => array(
|
204 |
+
'class' => '',
|
205 |
+
'style' => '',
|
206 |
+
'placeholder' => __( $this->defaults['wcast_updated_tracking_email_subject'], 'woo-advanced-shipment-tracking' ),
|
207 |
+
),
|
208 |
+
)
|
209 |
+
);
|
210 |
+
|
211 |
+
// Header Text
|
212 |
+
$wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[heading]',
|
213 |
+
array(
|
214 |
+
'default' => $this->defaults['wcast_updated_tracking_email_heading'],
|
215 |
+
'transport' => 'postMessage',
|
216 |
+
'type' => 'option',
|
217 |
+
'sanitize_callback' => ''
|
218 |
+
)
|
219 |
+
);
|
220 |
+
$wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[heading]',
|
221 |
+
array(
|
222 |
+
'label' => __( 'Email heading', 'woocommerce' ),
|
223 |
+
'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
|
224 |
+
'section' => 'customer_updated_tracking_email',
|
225 |
+
'type' => 'text',
|
226 |
+
'input_attrs' => array(
|
227 |
+
'class' => '',
|
228 |
+
'style' => '',
|
229 |
+
'placeholder' => __( $this->defaults['wcast_updated_tracking_email_heading'], 'woo-advanced-shipment-tracking' ),
|
230 |
+
),
|
231 |
+
)
|
232 |
+
);
|
233 |
+
|
234 |
+
|
235 |
+
// Test of TinyMCE control
|
236 |
+
$wp_customize->add_setting( 'wcast_updated_tracking_email_content',
|
237 |
+
array(
|
238 |
+
'default' => $this->defaults['wcast_updated_tracking_email_content'],
|
239 |
+
'transport' => 'refresh',
|
240 |
+
'sanitize_callback' => 'wp_kses_post'
|
241 |
+
)
|
242 |
+
);
|
243 |
+
$wp_customize->add_control( new Skyrocket_TinyMCE_Custom_control( $wp_customize, 'wcast_updated_tracking_email_content',
|
244 |
+
array(
|
245 |
+
'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
|
246 |
+
'description' => __( 'available variables: {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}', 'woo-advanced-shipment-tracking' ),
|
247 |
+
'section' => 'customer_updated_tracking_email',
|
248 |
+
'input_attrs' => array(
|
249 |
+
'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
|
250 |
+
'mediaButtons' => true,
|
251 |
+
'placeholder' => __( $this->defaults['wcast_updated_tracking_email_content'], 'woo-advanced-shipment-tracking' ),
|
252 |
+
)
|
253 |
+
)
|
254 |
+
) );
|
255 |
+
|
256 |
+
$wp_customize->add_setting( 'wcast_updated_tracking_code_block',
|
257 |
+
array(
|
258 |
+
'default' => '',
|
259 |
+
'transport' => 'postMessage',
|
260 |
+
'sanitize_callback' => ''
|
261 |
+
)
|
262 |
+
);
|
263 |
+
$wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_updated_tracking_code_block',
|
264 |
+
array(
|
265 |
+
'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
|
266 |
+
'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}</code>',
|
267 |
+
'section' => 'customer_updated_tracking_email',
|
268 |
+
)
|
269 |
+
) );
|
270 |
+
}
|
271 |
+
|
272 |
+
/**
|
273 |
+
* Set up preview
|
274 |
+
*
|
275 |
+
* @access public
|
276 |
+
* @return void
|
277 |
+
*/
|
278 |
+
public function set_up_preview() {
|
279 |
+
|
280 |
+
// Make sure this is own preview request.
|
281 |
+
if ( ! wcast_updated_tracking_customizer_email::is_own_preview_request() ) {
|
282 |
+
return;
|
283 |
+
}
|
284 |
+
include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/updated_tracking_preview.php';
|
285 |
+
exit;
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* code for preview of delivered order status email
|
290 |
+
*/
|
291 |
+
public function preview_updated_tracking_email(){
|
292 |
+
// Load WooCommerce emails.
|
293 |
+
$wc_emails = WC_Emails::instance();
|
294 |
+
$emails = $wc_emails->get_emails();
|
295 |
+
$preview_id = get_theme_mod('wcast_updated_tracking_preview_order_id');
|
296 |
+
|
297 |
+
if($preview_id == '' || $preview_id == 'mockup') {
|
298 |
+
$content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
|
299 |
+
echo $content;
|
300 |
+
return;
|
301 |
+
}
|
302 |
+
|
303 |
+
$email_type = 'WC_Email_Customer_Updated_Tracking_Order';
|
304 |
+
|
305 |
+
if ( false === $email_type ) {
|
306 |
+
return false;
|
307 |
+
}
|
308 |
+
|
309 |
+
|
310 |
+
|
311 |
+
// Reference email.
|
312 |
+
if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
|
313 |
+
$email = $emails[ $email_type ];
|
314 |
+
}
|
315 |
+
$order_status = 'updated-tracking';
|
316 |
+
// Get an order
|
317 |
+
$order = self::get_wc_order_for_preview( $order_status, $preview_id );
|
318 |
+
|
319 |
+
// Make sure gateways are running in case the email needs to input content from them.
|
320 |
+
WC()->payment_gateways();
|
321 |
+
// Make sure shipping is running in case the email needs to input content from it.
|
322 |
+
WC()->shipping();
|
323 |
+
|
324 |
+
$email->object = $order;
|
325 |
+
$email->find['order-date'] = '{order_date}';
|
326 |
+
$email->find['order-number'] = '{order_number}';
|
327 |
+
if ( is_object( $order ) ) {
|
328 |
+
$email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
|
329 |
+
$email->replace['order-number'] = $email->object->get_order_number();
|
330 |
+
// Other properties
|
331 |
+
$email->recipient = $email->object->get_billing_email();
|
332 |
+
}
|
333 |
+
|
334 |
+
// Get email content and apply styles.
|
335 |
+
$content = $email->get_content();
|
336 |
+
|
337 |
+
$content = $email->style_inline( $content );
|
338 |
+
$content = apply_filters( 'woocommerce_mail_content', $content );
|
339 |
+
|
340 |
+
echo $content;
|
341 |
+
}
|
342 |
+
|
343 |
+
/**
|
344 |
+
* Get WooCommerce order for preview
|
345 |
+
*
|
346 |
+
* @access public
|
347 |
+
* @param string $order_status
|
348 |
+
* @return object
|
349 |
+
*/
|
350 |
+
public static function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
|
351 |
+
if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
|
352 |
+
return wc_get_order( $order_id );
|
353 |
+
} else {
|
354 |
+
// Use mockup order
|
355 |
+
|
356 |
+
// Instantiate order object
|
357 |
+
$order = new WC_Order();
|
358 |
+
|
359 |
+
// Other order properties
|
360 |
+
$order->set_props( array(
|
361 |
+
'id' => 1,
|
362 |
+
'status' => ( null === $order_status ? 'processing' : $order_status ),
|
363 |
+
'billing_first_name' => 'Sherlock',
|
364 |
+
'billing_last_name' => 'Holmes',
|
365 |
+
'billing_company' => 'Detectives Ltd.',
|
366 |
+
'billing_address_1' => '221B Baker Street',
|
367 |
+
'billing_city' => 'London',
|
368 |
+
'billing_postcode' => 'NW1 6XE',
|
369 |
+
'billing_country' => 'GB',
|
370 |
+
'billing_email' => 'sherlock@holmes.co.uk',
|
371 |
+
'billing_phone' => '02079304832',
|
372 |
+
'date_created' => date( 'Y-m-d H:i:s' ),
|
373 |
+
'total' => 24.90,
|
374 |
+
) );
|
375 |
+
|
376 |
+
// Item #1
|
377 |
+
$order_item = new WC_Order_Item_Product();
|
378 |
+
$order_item->set_props( array(
|
379 |
+
'name' => 'A Study in Scarlet',
|
380 |
+
'subtotal' => '9.95',
|
381 |
+
'sku' => 'kwd_ex_1',
|
382 |
+
) );
|
383 |
+
$order->add_item( $order_item );
|
384 |
+
|
385 |
+
// Item #2
|
386 |
+
$order_item = new WC_Order_Item_Product();
|
387 |
+
$order_item->set_props( array(
|
388 |
+
'name' => 'The Hound of the Baskervilles',
|
389 |
+
'subtotal' => '14.95',
|
390 |
+
'sku' => 'kwd_ex_2',
|
391 |
+
) );
|
392 |
+
$order->add_item( $order_item );
|
393 |
+
|
394 |
+
// Return mockup order
|
395 |
+
return $order;
|
396 |
+
}
|
397 |
+
|
398 |
+
}
|
399 |
+
}
|
400 |
+
/**
|
401 |
+
* Initialise our Customizer settings
|
402 |
+
*/
|
403 |
+
|
404 |
+
$wcast_updated_tracking_customizer_settings = new wcast_updated_tracking_customizer_email();
|
405 |
+
add_action( 'customize_save_customizer_updated_tracking_order_settings_enabled', 'woocommerce_customer_updated_tracking_order_settings_fun', 100, 1 );
|
406 |
+
|
407 |
+
/**
|
408 |
+
* Update Delivered order email enable/disable
|
409 |
+
*
|
410 |
+
*/
|
411 |
+
function woocommerce_customer_updated_tracking_order_settings_fun($data){
|
412 |
+
$post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
|
413 |
+
$updated_tracking_order_settings = get_option( 'woocommerce_customer_updated_tracking_order_settings');
|
414 |
+
|
415 |
+
if(isset($post_values['customizer_updated_tracking_order_settings_enabled']) && ($post_values['customizer_updated_tracking_order_settings_enabled'] == 1)){
|
416 |
+
$updated_tracking_order_settings['enabled'] = 'yes';
|
417 |
+
} else{
|
418 |
+
$updated_tracking_order_settings['enabled'] = 'no';
|
419 |
+
}
|
420 |
+
update_option( 'woocommerce_customer_updated_tracking_order_settings',$updated_tracking_order_settings);
|
421 |
+
}
|
includes/customizer/class-wcast-customizer.php
CHANGED
@@ -63,6 +63,22 @@ class WC_Advanced_Shipment_Tracking_Customizer {
|
|
63 |
)
|
64 |
);
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
$wp_customize->add_section( 'customer_failure_email',
|
67 |
array(
|
68 |
'title' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ),
|
@@ -131,6 +147,8 @@ class WC_Advanced_Shipment_Tracking_Customizer {
|
|
131 |
wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
|
132 |
'ajax_url' => admin_url('admin-ajax.php'),
|
133 |
'email_preview_url' => $this->get_email_preview_url(),
|
|
|
|
|
134 |
'tracking_preview_url' => $this->get_tracking_preview_url(),
|
135 |
'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
|
136 |
'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
|
@@ -157,6 +175,30 @@ class WC_Advanced_Shipment_Tracking_Customizer {
|
|
157 |
return $email_preview_url;
|
158 |
}
|
159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
/**
|
161 |
* Get Customizer URL
|
162 |
*
|
@@ -332,7 +374,7 @@ class WC_Advanced_Shipment_Tracking_Customizer {
|
|
332 |
*/
|
333 |
public static function is_own_section( $key ) {
|
334 |
|
335 |
-
if ($key === 'default_controls_section' || $key === 'tracking_page_section' || $key === 'customer_delivered_email' || $key === 'customer_failure_email' || $key === 'customer_intransit_email' || $key === 'customer_outfordelivery_email' || $key === 'customer_delivered_status_email' || $key === 'customer_returntosender_email' || $key === 'customer_availableforpickup_email') {
|
336 |
return true;
|
337 |
}
|
338 |
|
@@ -374,11 +416,19 @@ class WC_Advanced_Shipment_Tracking_Customizer {
|
|
374 |
'posts_per_page' => 20,
|
375 |
)
|
376 |
);
|
|
|
|
|
377 |
if ( $orders->posts ) {
|
378 |
foreach ( $orders->posts as $order ) {
|
379 |
// Get order object.
|
380 |
$order_object = new WC_Order( $order->ID );
|
381 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
}
|
383 |
}
|
384 |
return $order_array;
|
63 |
)
|
64 |
);
|
65 |
|
66 |
+
$wp_customize->add_section( 'customer_partial_shipped_email',
|
67 |
+
array(
|
68 |
+
'title' => __( 'Partially Shipped status email', 'woo-advanced-shipment-tracking' ),
|
69 |
+
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
70 |
+
'panel' => 'wcast_naviation_panel'
|
71 |
+
)
|
72 |
+
);
|
73 |
+
|
74 |
+
$wp_customize->add_section( 'customer_updated_tracking_email',
|
75 |
+
array(
|
76 |
+
'title' => __( 'Updated Tracking status email', 'woo-advanced-shipment-tracking' ),
|
77 |
+
'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
|
78 |
+
'panel' => 'wcast_naviation_panel'
|
79 |
+
)
|
80 |
+
);
|
81 |
+
|
82 |
$wp_customize->add_section( 'customer_failure_email',
|
83 |
array(
|
84 |
'title' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ),
|
147 |
wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
|
148 |
'ajax_url' => admin_url('admin-ajax.php'),
|
149 |
'email_preview_url' => $this->get_email_preview_url(),
|
150 |
+
'partial_shipped_email_preview_url' => $this->get_partial_shipped_email_preview_url(),
|
151 |
+
'updated_tracking_email_preview_url' => $this->get_updated_tracking_email_preview_url(),
|
152 |
'tracking_preview_url' => $this->get_tracking_preview_url(),
|
153 |
'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
|
154 |
'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
|
175 |
return $email_preview_url;
|
176 |
}
|
177 |
|
178 |
+
/**
|
179 |
+
* Get Customizer URL
|
180 |
+
*
|
181 |
+
*/
|
182 |
+
public static function get_partial_shipped_email_preview_url() {
|
183 |
+
$email_preview_url = add_query_arg( array(
|
184 |
+
'wcast-partial-shipped-email-customizer-preview' => '1',
|
185 |
+
), home_url( '' ) );
|
186 |
+
|
187 |
+
return $email_preview_url;
|
188 |
+
}
|
189 |
+
|
190 |
+
/**
|
191 |
+
* Get Customizer URL
|
192 |
+
*
|
193 |
+
*/
|
194 |
+
public static function get_updated_tracking_email_preview_url() {
|
195 |
+
$email_preview_url = add_query_arg( array(
|
196 |
+
'wcast-updated-tracking-email-customizer-preview' => '1',
|
197 |
+
), home_url( '' ) );
|
198 |
+
|
199 |
+
return $email_preview_url;
|
200 |
+
}
|
201 |
+
|
202 |
/**
|
203 |
* Get Customizer URL
|
204 |
*
|
374 |
*/
|
375 |
public static function is_own_section( $key ) {
|
376 |
|
377 |
+
if ($key === 'default_controls_section' || $key === 'tracking_page_section' || $key === 'customer_delivered_email' || $key === 'customer_partial_shipped_email' || $key === 'customer_updated_tracking_email' || $key === 'customer_failure_email' || $key === 'customer_intransit_email' || $key === 'customer_outfordelivery_email' || $key === 'customer_delivered_status_email' || $key === 'customer_returntosender_email' || $key === 'customer_availableforpickup_email') {
|
378 |
return true;
|
379 |
}
|
380 |
|
416 |
'posts_per_page' => 20,
|
417 |
)
|
418 |
);
|
419 |
+
$max = 20;
|
420 |
+
$n = 1;
|
421 |
if ( $orders->posts ) {
|
422 |
foreach ( $orders->posts as $order ) {
|
423 |
// Get order object.
|
424 |
$order_object = new WC_Order( $order->ID );
|
425 |
+
$ast = new WC_Advanced_Shipment_Tracking_Actions;
|
426 |
+
$tracking_items = $ast->get_tracking_items( $order->ID, true );
|
427 |
+
if($tracking_items){
|
428 |
+
$order_array[ $order_object->get_id() ] = $order_object->get_id() . ' - ' . $order_object->get_billing_first_name() . ' ' . $order_object->get_billing_last_name();
|
429 |
+
$n++;
|
430 |
+
if($n > $max)break;
|
431 |
+
}
|
432 |
}
|
433 |
}
|
434 |
return $order_array;
|
includes/customizer/custom-controls.php
CHANGED
@@ -655,7 +655,7 @@ if ( class_exists( 'WP_Customize_Control' ) ) {
|
|
655 |
<?php if( !empty( $this->description ) ) { ?>
|
656 |
<span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
|
657 |
<?php } ?>
|
658 |
-
<textarea id="<?php echo esc_attr( $this->id ); ?>" class="
|
659 |
</div>
|
660 |
<?php
|
661 |
}
|
655 |
<?php if( !empty( $this->description ) ) { ?>
|
656 |
<span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
|
657 |
<?php } ?>
|
658 |
+
<textarea id="<?php echo esc_attr( $this->id ); ?>" placeholder="<?php echo esc_attr( $this->input_attrs['placeholder'] ); ?>" class="" <?php $this->link(); ?>><?php echo esc_attr( $this->value() ); ?></textarea>
|
659 |
</div>
|
660 |
<?php
|
661 |
}
|
includes/customizer/preview/partial_shipped_preview.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if (!defined('ABSPATH')) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
?>
|
8 |
+
|
9 |
+
<head>
|
10 |
+
|
11 |
+
<meta charset="<?php bloginfo('charset'); ?>" />
|
12 |
+
<meta name="viewport" content="width=device-width" />
|
13 |
+
<style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
|
14 |
+
</head>
|
15 |
+
|
16 |
+
<body class="ast_preview_body">
|
17 |
+
<div id="overlay"></div>
|
18 |
+
<div id="ast_preview_wrapper" style="display: block;">
|
19 |
+
|
20 |
+
<?php wcast_partial_shipped_customizer_email::preview_partial_shipped_email(); ?>
|
21 |
+
|
22 |
+
</div>
|
23 |
+
|
24 |
+
<?php
|
25 |
+
do_action( 'woomail_footer' );
|
26 |
+
wp_footer(); ?>
|
27 |
+
|
28 |
+
</body>
|
29 |
+
|
30 |
+
</html>
|
includes/customizer/preview/updated_tracking_preview.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if (!defined('ABSPATH')) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
?>
|
8 |
+
|
9 |
+
<head>
|
10 |
+
|
11 |
+
<meta charset="<?php bloginfo('charset'); ?>" />
|
12 |
+
<meta name="viewport" content="width=device-width" />
|
13 |
+
<style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
|
14 |
+
</head>
|
15 |
+
|
16 |
+
<body class="ast_preview_body">
|
17 |
+
<div id="overlay"></div>
|
18 |
+
<div id="ast_preview_wrapper" style="display: block;">
|
19 |
+
|
20 |
+
<?php wcast_updated_tracking_customizer_email::preview_updated_tracking_email(); ?>
|
21 |
+
|
22 |
+
</div>
|
23 |
+
|
24 |
+
<?php
|
25 |
+
do_action( 'woomail_footer' );
|
26 |
+
wp_footer(); ?>
|
27 |
+
|
28 |
+
</body>
|
29 |
+
|
30 |
+
</html>
|
includes/email-manager.php
CHANGED
@@ -24,7 +24,15 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
24 |
// Include the email class file if it's not included already
|
25 |
if ( ! isset( $emails[ 'WC_Email_Customer_Delivered_Order' ] ) ) {
|
26 |
$emails[ 'WC_Email_Customer_Delivered_Order' ] = include_once( 'emails/class-shipment-delivered-email.php' );
|
27 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
return $emails;
|
29 |
}
|
30 |
|
@@ -35,6 +43,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
35 |
$order_id = $order->get_id();
|
36 |
$wcast_customizer_settings = new wcast_initialise_customizer_email();
|
37 |
$email_subject = get_theme_mod('wcast_delivered_email_subject',$wcast_customizer_settings->defaults['wcast_delivered_email_subject']);
|
|
|
|
|
|
|
|
|
|
|
38 |
$subject = $this->email_subject($email_subject,$order_id,$order);
|
39 |
|
40 |
$email_to = get_theme_mod('wcast_delivered_email_to',$wcast_customizer_settings->defaults['wcast_delivered_email_to']);
|
@@ -46,8 +59,18 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
46 |
$email_to = explode(",",$email_to);
|
47 |
|
48 |
foreach($email_to as $email){
|
49 |
-
$email_heading
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
$wcast_show_tracking_details = get_theme_mod('wcast_show_tracking_details');
|
52 |
$wcast_show_order_details = get_theme_mod('wcast_show_order_details');
|
53 |
$wcast_show_billing_address = get_theme_mod('wcast_show_billing_address');
|
@@ -69,7 +92,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
69 |
if($wcast_show_tracking_details == 1){
|
70 |
ob_start();
|
71 |
wc_get_template( 'emails/tracking-info.php', array(
|
72 |
-
'tracking_items' => $wast->get_tracking_items( $order_id, true )
|
|
|
73 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
74 |
$message .= ob_get_clean();
|
75 |
}
|
@@ -136,6 +160,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
136 |
$status_class = 'wcast_'.$status.'_customizer_email';
|
137 |
$wcast_status_customizer_email = new $status_class();
|
138 |
$email_subject = get_theme_mod('wcast_'.$status.'_email_subject',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject']);
|
|
|
|
|
|
|
|
|
|
|
139 |
$subject = $this->email_subject($email_subject,$order_id,$order);
|
140 |
$email_to = get_theme_mod('wcast_'.$status.'_email_to',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_to']);
|
141 |
$enable = get_theme_mod('wcast_enable_'.$status.'_email');
|
@@ -144,7 +173,17 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
144 |
if($enable == 1){
|
145 |
foreach($email_to as $email){
|
146 |
$email_heading = get_theme_mod('wcast_'.$status.'_email_heading',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading']);
|
147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
$wcast_show_tracking_details = get_theme_mod('wcast_'.$status.'_show_tracking_details');
|
149 |
$wcast_show_order_details = get_theme_mod('wcast_'.$status.'_show_order_details');
|
150 |
$wcast_show_billing_address = get_theme_mod('wcast_'.$status.'_show_billing_address');
|
@@ -169,7 +208,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
169 |
|
170 |
ob_start();
|
171 |
wc_get_template( 'emails/tracking-info.php', array(
|
172 |
-
'tracking_items' => $wast->get_tracking_items( $order_id, true )
|
|
|
173 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
174 |
$message .= ob_get_clean();
|
175 |
}
|
@@ -237,15 +277,30 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
237 |
|
238 |
$wcast_delivered_customizer_email = new wcast_delivered_customizer_email();
|
239 |
$email_subject = get_theme_mod('wcast_delivered_status_email_subject',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject']);
|
|
|
|
|
|
|
|
|
|
|
240 |
$subject = $this->email_subject($email_subject,$order_id,$order);
|
241 |
-
$email_to
|
242 |
$enable = get_theme_mod('wcast_enable_delivered_status_email');
|
243 |
$email_to = explode(",",$email_to);
|
244 |
|
245 |
if($enable == 1){
|
246 |
foreach($email_to as $email){
|
247 |
$email_heading = get_theme_mod('wcast_delivered_status_email_heading',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading']);
|
|
|
|
|
|
|
|
|
|
|
248 |
$email_content = get_theme_mod('wcast_delivered_status_email_content',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content']);
|
|
|
|
|
|
|
|
|
|
|
249 |
$wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
|
250 |
$wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
|
251 |
$wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
|
@@ -270,7 +325,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
270 |
|
271 |
ob_start();
|
272 |
wc_get_template( 'emails/tracking-info.php', array(
|
273 |
-
'tracking_items' => $wast->get_tracking_items( $order_id, true )
|
|
|
274 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
275 |
$message .= ob_get_clean();
|
276 |
}
|
@@ -390,10 +446,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
390 |
/**
|
391 |
* code for format email content
|
392 |
*/
|
393 |
-
public function email_content($email_content, $order_id, $order){
|
394 |
$customer_email = $order->get_billing_email();
|
395 |
$first_name = $order->get_billing_first_name();
|
396 |
$last_name = $order->get_billing_last_name();
|
|
|
397 |
$user = $order->get_user();
|
398 |
if($user){
|
399 |
$username = $user->user_login;
|
@@ -408,7 +465,14 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
408 |
$email_content = str_replace( '{customer_email}', $customer_email, $email_content );
|
409 |
$email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
|
410 |
$email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
|
411 |
-
$email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
if(isset($username)){
|
413 |
$email_content = str_replace( '{customer_username}', $username, $email_content );
|
414 |
} else{
|
@@ -447,37 +511,21 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
|
|
447 |
*/
|
448 |
public function get_est_delivery_date($order_id, $order){
|
449 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
450 |
-
|
451 |
-
|
452 |
-
//$get_order_key = get_post_meta( $order_id, 'order_key', true );
|
453 |
} else {
|
454 |
$order = new WC_Order( $order_id );
|
455 |
-
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
456 |
-
//$get_order_key = $order->order_key;
|
457 |
}
|
458 |
-
$html = '';
|
459 |
|
|
|
|
|
|
|
460 |
if($tracking_items){
|
461 |
-
foreach($tracking_items as $item){
|
462 |
-
$tracking_number = $item['tracking_number'];
|
463 |
-
$
|
464 |
-
|
465 |
-
|
466 |
-
'tracking_number' => $tracking_number
|
467 |
-
);
|
468 |
-
$response = wp_remote_post( $url, $args );
|
469 |
-
$data = $response['body'];
|
470 |
-
$decoded_data = json_decode($data);
|
471 |
-
|
472 |
-
if(!empty($decoded_data)){
|
473 |
-
$tracker = $decoded_data[0];
|
474 |
-
//echo '<pre>';print_r($tracker);echo '</pre>';
|
475 |
-
if($tracker->est_delivery_date){
|
476 |
-
$unixTimestamp = strtotime($tracker->est_delivery_date);
|
477 |
-
//Get the day of the week using PHP's date function.
|
478 |
-
$day = date("l", $unixTimestamp);
|
479 |
-
$html .= '<div>Estimated Delivery Date for Tracking Number - '.$tracking_number.'</div><h3 style="margin:0 0 10px;">'.$day.', '.date("M d", strtotime($tracker->est_delivery_date)).'</h3>';
|
480 |
-
}
|
481 |
}
|
482 |
}
|
483 |
}
|
24 |
// Include the email class file if it's not included already
|
25 |
if ( ! isset( $emails[ 'WC_Email_Customer_Delivered_Order' ] ) ) {
|
26 |
$emails[ 'WC_Email_Customer_Delivered_Order' ] = include_once( 'emails/class-shipment-delivered-email.php' );
|
27 |
+
}
|
28 |
+
|
29 |
+
if ( ! isset( $emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] ) ) {
|
30 |
+
$emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] = include_once( 'emails/class-shipment-partial-shipped-email.php' );
|
31 |
+
}
|
32 |
+
|
33 |
+
if ( ! isset( $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] ) ) {
|
34 |
+
$emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] = include_once( 'emails/class-shipment-updated-tracking-email.php' );
|
35 |
+
}
|
36 |
return $emails;
|
37 |
}
|
38 |
|
43 |
$order_id = $order->get_id();
|
44 |
$wcast_customizer_settings = new wcast_initialise_customizer_email();
|
45 |
$email_subject = get_theme_mod('wcast_delivered_email_subject',$wcast_customizer_settings->defaults['wcast_delivered_email_subject']);
|
46 |
+
|
47 |
+
if($email_subject == ''){
|
48 |
+
$email_subject = $wcast_customizer_settings->defaults['wcast_delivered_email_subject'];
|
49 |
+
}
|
50 |
+
|
51 |
$subject = $this->email_subject($email_subject,$order_id,$order);
|
52 |
|
53 |
$email_to = get_theme_mod('wcast_delivered_email_to',$wcast_customizer_settings->defaults['wcast_delivered_email_to']);
|
59 |
$email_to = explode(",",$email_to);
|
60 |
|
61 |
foreach($email_to as $email){
|
62 |
+
$email_heading = get_theme_mod('wcast_delivered_email_heading',$wcast_customizer_settings->defaults['wcast_delivered_email_heading']);
|
63 |
+
|
64 |
+
if($email_heading == ''){
|
65 |
+
$email_heading = $wcast_customizer_settings->defaults['wcast_delivered_email_heading'];
|
66 |
+
}
|
67 |
+
|
68 |
+
$email_content = get_theme_mod('wcast_delivered_email_content',$wcast_customizer_settings->defaults['wcast_delivered_email_content']);
|
69 |
+
|
70 |
+
if($email_content == ''){
|
71 |
+
$email_content = $wcast_customizer_settings->defaults['wcast_delivered_email_content'];
|
72 |
+
}
|
73 |
+
|
74 |
$wcast_show_tracking_details = get_theme_mod('wcast_show_tracking_details');
|
75 |
$wcast_show_order_details = get_theme_mod('wcast_show_order_details');
|
76 |
$wcast_show_billing_address = get_theme_mod('wcast_show_billing_address');
|
92 |
if($wcast_show_tracking_details == 1){
|
93 |
ob_start();
|
94 |
wc_get_template( 'emails/tracking-info.php', array(
|
95 |
+
'tracking_items' => $wast->get_tracking_items( $order_id, true ),
|
96 |
+
'order_id' => $order_id,
|
97 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
98 |
$message .= ob_get_clean();
|
99 |
}
|
160 |
$status_class = 'wcast_'.$status.'_customizer_email';
|
161 |
$wcast_status_customizer_email = new $status_class();
|
162 |
$email_subject = get_theme_mod('wcast_'.$status.'_email_subject',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject']);
|
163 |
+
|
164 |
+
if($email_subject == ''){
|
165 |
+
$email_subject = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject'];
|
166 |
+
}
|
167 |
+
|
168 |
$subject = $this->email_subject($email_subject,$order_id,$order);
|
169 |
$email_to = get_theme_mod('wcast_'.$status.'_email_to',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_to']);
|
170 |
$enable = get_theme_mod('wcast_enable_'.$status.'_email');
|
173 |
if($enable == 1){
|
174 |
foreach($email_to as $email){
|
175 |
$email_heading = get_theme_mod('wcast_'.$status.'_email_heading',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading']);
|
176 |
+
|
177 |
+
if($email_heading == ''){
|
178 |
+
$email_heading = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading'];
|
179 |
+
}
|
180 |
+
|
181 |
+
$email_content = get_theme_mod('wcast_'.$status.'_email_content',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content']);
|
182 |
+
|
183 |
+
if($email_content == ''){
|
184 |
+
$email_content = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content'];
|
185 |
+
}
|
186 |
+
|
187 |
$wcast_show_tracking_details = get_theme_mod('wcast_'.$status.'_show_tracking_details');
|
188 |
$wcast_show_order_details = get_theme_mod('wcast_'.$status.'_show_order_details');
|
189 |
$wcast_show_billing_address = get_theme_mod('wcast_'.$status.'_show_billing_address');
|
208 |
|
209 |
ob_start();
|
210 |
wc_get_template( 'emails/tracking-info.php', array(
|
211 |
+
'tracking_items' => $wast->get_tracking_items( $order_id, true ),
|
212 |
+
'order_id' => $order_id,
|
213 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
214 |
$message .= ob_get_clean();
|
215 |
}
|
277 |
|
278 |
$wcast_delivered_customizer_email = new wcast_delivered_customizer_email();
|
279 |
$email_subject = get_theme_mod('wcast_delivered_status_email_subject',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject']);
|
280 |
+
|
281 |
+
if($email_subject == ''){
|
282 |
+
$email_subject = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject'];
|
283 |
+
}
|
284 |
+
|
285 |
$subject = $this->email_subject($email_subject,$order_id,$order);
|
286 |
+
$email_to = get_theme_mod('wcast_delivered_status_email_to',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_to']);
|
287 |
$enable = get_theme_mod('wcast_enable_delivered_status_email');
|
288 |
$email_to = explode(",",$email_to);
|
289 |
|
290 |
if($enable == 1){
|
291 |
foreach($email_to as $email){
|
292 |
$email_heading = get_theme_mod('wcast_delivered_status_email_heading',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading']);
|
293 |
+
|
294 |
+
if($email_heading == ''){
|
295 |
+
$email_heading = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading'];
|
296 |
+
}
|
297 |
+
|
298 |
$email_content = get_theme_mod('wcast_delivered_status_email_content',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content']);
|
299 |
+
|
300 |
+
if($email_content == ''){
|
301 |
+
$email_content = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content'];
|
302 |
+
}
|
303 |
+
|
304 |
$wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
|
305 |
$wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
|
306 |
$wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
|
325 |
|
326 |
ob_start();
|
327 |
wc_get_template( 'emails/tracking-info.php', array(
|
328 |
+
'tracking_items' => $wast->get_tracking_items( $order_id, true ),
|
329 |
+
'order_id' => $order_id,
|
330 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
331 |
$message .= ob_get_clean();
|
332 |
}
|
446 |
/**
|
447 |
* code for format email content
|
448 |
*/
|
449 |
+
public function email_content($email_content, $order_id, $order){
|
450 |
$customer_email = $order->get_billing_email();
|
451 |
$first_name = $order->get_billing_first_name();
|
452 |
$last_name = $order->get_billing_last_name();
|
453 |
+
$company_name = $order->get_billing_company();
|
454 |
$user = $order->get_user();
|
455 |
if($user){
|
456 |
$username = $user->user_login;
|
465 |
$email_content = str_replace( '{customer_email}', $customer_email, $email_content );
|
466 |
$email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
|
467 |
$email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
|
468 |
+
$email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
|
469 |
+
|
470 |
+
if(isset($company_name)){
|
471 |
+
$email_content = str_replace( '{customer_company_name}', $company_name, $email_content );
|
472 |
+
} else{
|
473 |
+
$email_content = str_replace( '{customer_company_name}','', $email_content );
|
474 |
+
}
|
475 |
+
|
476 |
if(isset($username)){
|
477 |
$email_content = str_replace( '{customer_username}', $username, $email_content );
|
478 |
} else{
|
511 |
*/
|
512 |
public function get_est_delivery_date($order_id, $order){
|
513 |
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
|
514 |
+
$tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
|
|
|
|
|
515 |
} else {
|
516 |
$order = new WC_Order( $order_id );
|
517 |
+
$tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
|
|
|
518 |
}
|
|
|
519 |
|
520 |
+
$html = '';
|
521 |
+
$wc_ast_api_key = get_option('wc_ast_api_key');
|
522 |
+
$shipment_status = get_post_meta( $order_id, "shipment_status", true);
|
523 |
if($tracking_items){
|
524 |
+
foreach($tracking_items as $key => $item){
|
525 |
+
$tracking_number = $item['tracking_number'];
|
526 |
+
if(isset($shipment_status[$key]['est_delivery_date']) && $shipment_status[$key]['est_delivery_date'] != ''){
|
527 |
+
$est_delivery_date = $shipment_status[$key]['est_delivery_date'];
|
528 |
+
$html .= '<div>Estimated Delivery Date for Tracking Number - '.$tracking_number.'</div><h3 style="margin:0 0 10px;">'.$day.', '.date("M d", strtotime($est_delivery_date)).'</h3>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
529 |
}
|
530 |
}
|
531 |
}
|
includes/emails/class-shipment-delivered-email.php
CHANGED
@@ -56,7 +56,7 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
|
|
56 |
$recipients = array_map( 'trim', explode( ',', $recipient ) );
|
57 |
return implode( ', ', $recipients );
|
58 |
}
|
59 |
-
|
60 |
/**
|
61 |
* Trigger the sending of this email.
|
62 |
*
|
@@ -75,8 +75,8 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
|
|
75 |
$this->object = $order;
|
76 |
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
|
77 |
$this->placeholders['{order_number}'] = $this->object->get_order_number();
|
78 |
-
}
|
79 |
-
|
80 |
if ( $this->is_enabled() && $this->get_delivered_recipient() ) {
|
81 |
$this->send( $this->get_delivered_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
82 |
}
|
@@ -158,7 +158,8 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
|
|
158 |
if($wcast_show_tracking_details == 1){
|
159 |
ob_start();
|
160 |
wc_get_template( 'emails/tracking-info.php', array(
|
161 |
-
'tracking_items' => $wast->get_tracking_items( $order_id, true )
|
|
|
162 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
163 |
$message .= ob_get_clean();
|
164 |
}
|
@@ -230,12 +231,12 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
|
|
230 |
/**
|
231 |
* Initialise settings form fields.
|
232 |
*/
|
233 |
-
public function init_form_fields() {
|
234 |
$this->form_fields = array(
|
235 |
'enabled' => array(
|
236 |
'title' => __( 'Enable/Disable', 'woocommerce' ),
|
237 |
'type' => 'checkbox',
|
238 |
-
'label' => __( 'Enable this email notification', 'woocommerce' ),
|
239 |
'default' => 'yes',
|
240 |
),
|
241 |
'recipient' => array(
|
@@ -285,4 +286,4 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
|
|
285 |
|
286 |
endif;
|
287 |
|
288 |
-
return new WC_Email_Customer_Delivered_Order();
|
56 |
$recipients = array_map( 'trim', explode( ',', $recipient ) );
|
57 |
return implode( ', ', $recipients );
|
58 |
}
|
59 |
+
|
60 |
/**
|
61 |
* Trigger the sending of this email.
|
62 |
*
|
75 |
$this->object = $order;
|
76 |
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
|
77 |
$this->placeholders['{order_number}'] = $this->object->get_order_number();
|
78 |
+
}
|
79 |
+
|
80 |
if ( $this->is_enabled() && $this->get_delivered_recipient() ) {
|
81 |
$this->send( $this->get_delivered_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
82 |
}
|
158 |
if($wcast_show_tracking_details == 1){
|
159 |
ob_start();
|
160 |
wc_get_template( 'emails/tracking-info.php', array(
|
161 |
+
'tracking_items' => $wast->get_tracking_items( $order_id, true ),
|
162 |
+
'order_id' => $order_id
|
163 |
), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
|
164 |
$message .= ob_get_clean();
|
165 |
}
|
231 |
/**
|
232 |
* Initialise settings form fields.
|
233 |
*/
|
234 |
+
public function init_form_fields() {
|
235 |
$this->form_fields = array(
|
236 |
'enabled' => array(
|
237 |
'title' => __( 'Enable/Disable', 'woocommerce' ),
|
238 |
'type' => 'checkbox',
|
239 |
+
'label' => __( 'Enable this email notification', 'woocommerce' ),
|
240 |
'default' => 'yes',
|
241 |
),
|
242 |
'recipient' => array(
|
286 |
|
287 |
endif;
|
288 |
|
289 |
+
return new WC_Email_Customer_Delivered_Order();
|
includes/emails/class-shipment-partial-shipped-email.php
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Class WC_Email_Customer_Partial_Shipped_Order file.
|
4 |
+
*
|
5 |
+
* @package WooCommerce\Emails
|
6 |
+
*/
|
7 |
+
|
8 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
+
exit; // Exit if accessed directly.
|
10 |
+
}
|
11 |
+
|
12 |
+
if ( ! class_exists( 'WC_Email_Customer_Partial_Shipped_Order', false ) ) :
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Customer Completed Order Email.
|
16 |
+
*
|
17 |
+
* Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
|
18 |
+
*
|
19 |
+
* @class WC_Email_Customer_Partial_Shipped_Order
|
20 |
+
* @version 2.0.0
|
21 |
+
* @package WooCommerce/Classes/Emails
|
22 |
+
* @extends WC_Email
|
23 |
+
*/
|
24 |
+
class WC_Email_Customer_Partial_Shipped_Order extends WC_Email {
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Constructor.
|
28 |
+
*/
|
29 |
+
public function __construct() {
|
30 |
+
$this->id = 'customer_partial_shipped_order';
|
31 |
+
$this->customer_email = true;
|
32 |
+
$this->title = __( 'Partially Shipped order', 'woocommerce' );
|
33 |
+
$this->description = __( 'Order partially shipped emails are sent to customers when their orders are marked partially shipped and usually indicate that their orders have been partially shipped.', 'woocommerce' );
|
34 |
+
$this->template_html = 'emails/customer-partial-shipped-order.php';
|
35 |
+
$this->template_plain = 'emails/plain/customer-completed-order.php';
|
36 |
+
$this->placeholders = array(
|
37 |
+
'{order_date}' => '',
|
38 |
+
'{order_number}' => '',
|
39 |
+
);
|
40 |
+
$this->template_base = AST_TEMPLATE_PATH;
|
41 |
+
// Triggers for this email.
|
42 |
+
//add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
|
43 |
+
|
44 |
+
// Call parent constructor.
|
45 |
+
parent::__construct();
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Trigger the sending of this email.
|
50 |
+
*
|
51 |
+
* @param int $order_id The order ID.
|
52 |
+
* @param WC_Order|false $order Order object.
|
53 |
+
*/
|
54 |
+
public function trigger( $order_id, $order = false ) {
|
55 |
+
$this->setup_locale();
|
56 |
+
|
57 |
+
if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
|
58 |
+
$order = wc_get_order( $order_id );
|
59 |
+
}
|
60 |
+
|
61 |
+
if ( is_a( $order, 'WC_Order' ) ) {
|
62 |
+
$this->object = $order;
|
63 |
+
$this->recipient = $this->object->get_billing_email();
|
64 |
+
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
|
65 |
+
$this->placeholders['{order_number}'] = $this->object->get_order_number();
|
66 |
+
}
|
67 |
+
|
68 |
+
if ( $this->is_enabled() && $this->get_recipient() ) {
|
69 |
+
$this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
70 |
+
}
|
71 |
+
|
72 |
+
$this->restore_locale();
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Get email subject.
|
77 |
+
*
|
78 |
+
* @since 3.1.0
|
79 |
+
* @return string
|
80 |
+
*/
|
81 |
+
public function get_default_subject() {
|
82 |
+
return __( 'Your {site_title} order is now partially shipped', 'woocommerce' );
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Get email heading.
|
87 |
+
*
|
88 |
+
* @since 3.1.0
|
89 |
+
* @return string
|
90 |
+
*/
|
91 |
+
public function get_default_heading() {
|
92 |
+
return __( 'Your Order is Partially Shipped', 'woocommerce' );
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Get content html.
|
97 |
+
*
|
98 |
+
* @return string
|
99 |
+
*/
|
100 |
+
public function get_content_html() {
|
101 |
+
$template = $this->get_template( 'template_html' );
|
102 |
+
$local_file = $this->get_theme_template_file( $template );
|
103 |
+
if ( file_exists( $local_file ) && is_writable( $local_file )){
|
104 |
+
//echo $local_file;exit;
|
105 |
+
return wc_get_template_html(
|
106 |
+
$this->template_html,
|
107 |
+
array(
|
108 |
+
'order' => $this->object,
|
109 |
+
'email_heading' => $this->get_heading(),
|
110 |
+
'additional_content' => $this->get_additional_content(),
|
111 |
+
'sent_to_admin' => false,
|
112 |
+
'plain_text' => false,
|
113 |
+
'email' => $this,
|
114 |
+
)
|
115 |
+
);
|
116 |
+
} else{
|
117 |
+
return wc_get_template_html(
|
118 |
+
'emails/customer-partial-shipped-order.php',
|
119 |
+
array(
|
120 |
+
'order' => $this->object,
|
121 |
+
'email_heading' => $this->get_heading(),
|
122 |
+
'additional_content' => $this->get_additional_content(),
|
123 |
+
'sent_to_admin' => false,
|
124 |
+
'plain_text' => false,
|
125 |
+
'email' => $this,
|
126 |
+
),
|
127 |
+
'woocommerce-advanced-shipment-tracking/',
|
128 |
+
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
129 |
+
);
|
130 |
+
}
|
131 |
+
}
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Get content plain.
|
135 |
+
*
|
136 |
+
* @return string
|
137 |
+
*/
|
138 |
+
public function get_content_plain() {
|
139 |
+
$template = $this->get_template( 'template_html' );
|
140 |
+
$local_file = $this->get_theme_template_file( $template );
|
141 |
+
if ( file_exists( $local_file ) && is_writable( $local_file )){
|
142 |
+
//echo $local_file;exit;
|
143 |
+
return wc_get_template_html(
|
144 |
+
$this->template_html,
|
145 |
+
array(
|
146 |
+
'order' => $this->object,
|
147 |
+
'email_heading' => $this->get_heading(),
|
148 |
+
'additional_content' => $this->get_additional_content(),
|
149 |
+
'sent_to_admin' => false,
|
150 |
+
'plain_text' => false,
|
151 |
+
'email' => $this,
|
152 |
+
)
|
153 |
+
);
|
154 |
+
} else{
|
155 |
+
return wc_get_template_html(
|
156 |
+
'emails/customer-partial-shipped-order.php',
|
157 |
+
array(
|
158 |
+
'order' => $this->object,
|
159 |
+
'email_heading' => $this->get_heading(),
|
160 |
+
'additional_content' => $this->get_additional_content(),
|
161 |
+
'sent_to_admin' => false,
|
162 |
+
'plain_text' => false,
|
163 |
+
'email' => $this,
|
164 |
+
),
|
165 |
+
'woocommerce-advanced-shipment-tracking/',
|
166 |
+
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
167 |
+
);
|
168 |
+
}
|
169 |
+
}
|
170 |
+
|
171 |
+
/**
|
172 |
+
* Default content to show below main email content.
|
173 |
+
*
|
174 |
+
* @since 3.7.0
|
175 |
+
* @return string
|
176 |
+
*/
|
177 |
+
public function get_default_additional_content() {
|
178 |
+
return __( 'Thanks for shopping with us.', 'woocommerce' );
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
endif;
|
183 |
+
|
184 |
+
return new WC_Email_Customer_Partial_Shipped_Order();
|
includes/emails/class-shipment-updated-tracking-email.php
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Class WC_Email_Customer_Updated_Tracking_Order file.
|
4 |
+
*
|
5 |
+
* @package WooCommerce\Emails
|
6 |
+
*/
|
7 |
+
|
8 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
+
exit; // Exit if accessed directly.
|
10 |
+
}
|
11 |
+
|
12 |
+
if ( ! class_exists( 'WC_Email_Customer_Updated_Tracking_Order', false ) ) :
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Customer Completed Order Email.
|
16 |
+
*
|
17 |
+
* Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
|
18 |
+
*
|
19 |
+
* @class WC_Email_Customer_Updated_Tracking_Order
|
20 |
+
* @version 2.0.0
|
21 |
+
* @package WooCommerce/Classes/Emails
|
22 |
+
* @extends WC_Email
|
23 |
+
*/
|
24 |
+
class WC_Email_Customer_Updated_Tracking_Order extends WC_Email {
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Constructor.
|
28 |
+
*/
|
29 |
+
public function __construct() {
|
30 |
+
$this->id = 'customer_updated_tracking_order';
|
31 |
+
$this->customer_email = true;
|
32 |
+
$this->title = __( 'Updated Tracking order', 'woocommerce' );
|
33 |
+
$this->description = __( 'Order updated tracking emails are sent to customers when their orders are marked updated tracking and usually indicate that their orders have been updated tracking.', 'woocommerce' );
|
34 |
+
$this->template_html = 'emails/customer-updated-tracking-order.php';
|
35 |
+
$this->template_plain = 'emails/plain/customer-updated-tracking-order.php';
|
36 |
+
$this->placeholders = array(
|
37 |
+
'{order_date}' => '',
|
38 |
+
'{order_number}' => '',
|
39 |
+
);
|
40 |
+
$this->template_base = AST_TEMPLATE_PATH;
|
41 |
+
// Triggers for this email.
|
42 |
+
//add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
|
43 |
+
|
44 |
+
// Call parent constructor.
|
45 |
+
parent::__construct();
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Trigger the sending of this email.
|
50 |
+
*
|
51 |
+
* @param int $order_id The order ID.
|
52 |
+
* @param WC_Order|false $order Order object.
|
53 |
+
*/
|
54 |
+
public function trigger( $order_id, $order = false ) {
|
55 |
+
$this->setup_locale();
|
56 |
+
|
57 |
+
if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
|
58 |
+
$order = wc_get_order( $order_id );
|
59 |
+
}
|
60 |
+
|
61 |
+
if ( is_a( $order, 'WC_Order' ) ) {
|
62 |
+
$this->object = $order;
|
63 |
+
$this->recipient = $this->object->get_billing_email();
|
64 |
+
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
|
65 |
+
$this->placeholders['{order_number}'] = $this->object->get_order_number();
|
66 |
+
}
|
67 |
+
|
68 |
+
if ( $this->is_enabled() && $this->get_recipient() ) {
|
69 |
+
$this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
70 |
+
}
|
71 |
+
|
72 |
+
$this->restore_locale();
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Get email subject.
|
77 |
+
*
|
78 |
+
* @since 3.1.0
|
79 |
+
* @return string
|
80 |
+
*/
|
81 |
+
public function get_default_subject() {
|
82 |
+
return __( 'Your {site_title} order is now updated tracking', 'woocommerce' );
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Get email heading.
|
87 |
+
*
|
88 |
+
* @since 3.1.0
|
89 |
+
* @return string
|
90 |
+
*/
|
91 |
+
public function get_default_heading() {
|
92 |
+
return __( 'Tracking information Update', 'woocommerce' );
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Get content html.
|
97 |
+
*
|
98 |
+
* @return string
|
99 |
+
*/
|
100 |
+
public function get_content_html() {
|
101 |
+
$template = $this->get_template( 'template_html' );
|
102 |
+
$local_file = $this->get_theme_template_file( $template );
|
103 |
+
if ( file_exists( $local_file ) && is_writable( $local_file )){
|
104 |
+
//echo $local_file;exit;
|
105 |
+
return wc_get_template_html(
|
106 |
+
$this->template_html,
|
107 |
+
array(
|
108 |
+
'order' => $this->object,
|
109 |
+
'email_heading' => $this->get_heading(),
|
110 |
+
'additional_content' => $this->get_additional_content(),
|
111 |
+
'sent_to_admin' => false,
|
112 |
+
'plain_text' => false,
|
113 |
+
'email' => $this,
|
114 |
+
)
|
115 |
+
);
|
116 |
+
} else{
|
117 |
+
return wc_get_template_html(
|
118 |
+
'emails/customer-updated-tracking-order.php',
|
119 |
+
array(
|
120 |
+
'order' => $this->object,
|
121 |
+
'email_heading' => $this->get_heading(),
|
122 |
+
'additional_content' => $this->get_additional_content(),
|
123 |
+
'sent_to_admin' => false,
|
124 |
+
'plain_text' => false,
|
125 |
+
'email' => $this,
|
126 |
+
),
|
127 |
+
'woocommerce-advanced-shipment-tracking/',
|
128 |
+
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
129 |
+
);
|
130 |
+
}
|
131 |
+
}
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Get content plain.
|
135 |
+
*
|
136 |
+
* @return string
|
137 |
+
*/
|
138 |
+
public function get_content_plain() {
|
139 |
+
$template = $this->get_template( 'template_html' );
|
140 |
+
$local_file = $this->get_theme_template_file( $template );
|
141 |
+
if ( file_exists( $local_file ) && is_writable( $local_file )){
|
142 |
+
//echo $local_file;exit;
|
143 |
+
return wc_get_template_html(
|
144 |
+
$this->template_html,
|
145 |
+
array(
|
146 |
+
'order' => $this->object,
|
147 |
+
'email_heading' => $this->get_heading(),
|
148 |
+
'additional_content' => $this->get_additional_content(),
|
149 |
+
'sent_to_admin' => false,
|
150 |
+
'plain_text' => false,
|
151 |
+
'email' => $this,
|
152 |
+
)
|
153 |
+
);
|
154 |
+
} else{
|
155 |
+
return wc_get_template_html(
|
156 |
+
'emails/customer-updated-tracking-order.php',
|
157 |
+
array(
|
158 |
+
'order' => $this->object,
|
159 |
+
'email_heading' => $this->get_heading(),
|
160 |
+
'additional_content' => $this->get_additional_content(),
|
161 |
+
'sent_to_admin' => false,
|
162 |
+
'plain_text' => false,
|
163 |
+
'email' => $this,
|
164 |
+
),
|
165 |
+
'woocommerce-advanced-shipment-tracking/',
|
166 |
+
wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
|
167 |
+
);
|
168 |
+
}
|
169 |
+
}
|
170 |
+
|
171 |
+
/**
|
172 |
+
* Default content to show below main email content.
|
173 |
+
*
|
174 |
+
* @since 3.7.0
|
175 |
+
* @return string
|
176 |
+
*/
|
177 |
+
public function get_default_additional_content() {
|
178 |
+
return __( 'Thanks for shopping with us.', 'woocommerce' );
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
endif;
|
183 |
+
|
184 |
+
return new WC_Email_Customer_Updated_Tracking_Order();
|
includes/vendor/persist-admin-notices-dismissal/dismiss-notice.js
CHANGED
@@ -25,6 +25,43 @@
|
|
25 |
|
26 |
// We can also pass the url value separately from ajaxurl for front end AJAX implementations
|
27 |
$.post( ajaxurl, data );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
);
|
30 |
}
|
25 |
|
26 |
// We can also pass the url value separately from ajaxurl for front end AJAX implementations
|
27 |
$.post( ajaxurl, data );
|
28 |
+
|
29 |
+
}
|
30 |
+
);
|
31 |
+
$( 'div[data-dismissible] a.button-primary' ).click(
|
32 |
+
function (event) {
|
33 |
+
event.preventDefault();
|
34 |
+
var $this = $( this );
|
35 |
+
|
36 |
+
var attr_value, option_name, dismissible_length, data;
|
37 |
+
var href = $(this).attr('href');
|
38 |
+
attr_value = $this.parent().attr( 'data-dismissible' ).split( '-' );
|
39 |
+
|
40 |
+
// remove the dismissible length from the attribute value and rejoin the array.
|
41 |
+
dismissible_length = attr_value.pop();
|
42 |
+
|
43 |
+
option_name = attr_value.join( '-' );
|
44 |
+
|
45 |
+
data = {
|
46 |
+
'action': 'dismiss_admin_notice',
|
47 |
+
'option_name': option_name,
|
48 |
+
'dismissible_length': dismissible_length,
|
49 |
+
'nonce': dismissible_notice.nonce
|
50 |
+
};
|
51 |
+
|
52 |
+
// We can also pass the url value separately from ajaxurl for front end AJAX implementations
|
53 |
+
jQuery.ajax({
|
54 |
+
url: ajaxurl,
|
55 |
+
data: data,
|
56 |
+
type: 'POST',
|
57 |
+
success: function(response) {
|
58 |
+
window.location.replace(href);
|
59 |
+
},
|
60 |
+
error: function(response) {
|
61 |
+
console.log(response);
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
}
|
66 |
);
|
67 |
}
|
includes/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php
CHANGED
@@ -90,7 +90,7 @@ if ( ! class_exists( 'PAnD' ) ) {
|
|
90 |
'dismissible-notices',
|
91 |
$js_url,
|
92 |
array( 'jquery', 'common' ),
|
93 |
-
|
94 |
true
|
95 |
);
|
96 |
|
90 |
'dismissible-notices',
|
91 |
$js_url,
|
92 |
array( 'jquery', 'common' ),
|
93 |
+
wc_advanced_shipment_tracking()->version,
|
94 |
true
|
95 |
);
|
96 |
|
includes/views/admin_options_addons.php
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* html code for tools tab
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<section id="content6" class="tab_section">
|
7 |
+
<div class="d_table" style="">
|
8 |
+
<div class="tab_inner_container">
|
9 |
+
<form method="post" id="wc_ast_addons_form" class="addons_inner_container" action="" enctype="multipart/form-data">
|
10 |
+
<div class="ast_addons_section">
|
11 |
+
<table class="form-table heading-table">
|
12 |
+
<tbody>
|
13 |
+
<tr valign="top" class="addons_header ts_addons_header">
|
14 |
+
<td>
|
15 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ts-banner.jpg">
|
16 |
+
</td>
|
17 |
+
</tr>
|
18 |
+
<tr valign="top">
|
19 |
+
<td>
|
20 |
+
<h3 style=""><?php _e( 'TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
|
21 |
+
</td>
|
22 |
+
</tr>
|
23 |
+
</tbody>
|
24 |
+
</table>
|
25 |
+
<table class="form-table">
|
26 |
+
<tbody>
|
27 |
+
<tr style="height: 140px;">
|
28 |
+
<td>
|
29 |
+
<?php
|
30 |
+
$wc_ast_api_key = get_option('wc_ast_api_key');
|
31 |
+
if($wc_ast_api_key){
|
32 |
+
echo '<p>';
|
33 |
+
_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' );
|
34 |
+
echo '</p>';
|
35 |
+
} else{ ?>
|
36 |
+
<p style="margin-top: 4px;"><?php _e( 'TracksShip is a premium shipment tracking API flatform that fully integrates with WooCommerce with the Advanced Shipment Tracking. TrackShip automates the order management workflows, reduces customer inquiries, reduces time spent on customer service, and improves the post-purchase experience and satisfaction of your customers.', 'woo-advanced-shipment-tracking' ); ?></p>
|
37 |
+
<p style="margin-top: 4px;"><?php _e( 'You must have account TracksShip and connect your store in order to activate these advanced features:', 'woo-advanced-shipment-tracking' ); ?></p>
|
38 |
+
<?php } ?>
|
39 |
+
</td>
|
40 |
+
</tr>
|
41 |
+
<tr>
|
42 |
+
<td class="forminp">
|
43 |
+
<?php if($wc_ast_api_key){ ?>
|
44 |
+
<fieldset>
|
45 |
+
<a href="https://my.trackship.info/" target="_blank" class="button-primary btn_green2 btn_large">
|
46 |
+
<span class=""><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
|
47 |
+
</a>
|
48 |
+
</fieldset>
|
49 |
+
<?php } else{ ?>
|
50 |
+
<fieldset>
|
51 |
+
<a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_ast2 btn_large"><?php _e( 'SIGNUP NOW', 'woo-advanced-shipment-tracking' ); ?></a>
|
52 |
+
</fieldset>
|
53 |
+
<?php } ?>
|
54 |
+
</td>
|
55 |
+
</tr>
|
56 |
+
</tbody>
|
57 |
+
</table>
|
58 |
+
</div>
|
59 |
+
<div class="ast_addons_section">
|
60 |
+
<table class="form-table heading-table">
|
61 |
+
<tbody>
|
62 |
+
<tr valign="top" class="addons_header tracking_item_addons_header">
|
63 |
+
<td>
|
64 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/Tracking-Per-Item-addon.jpg">
|
65 |
+
</td>
|
66 |
+
</tr>
|
67 |
+
<tr valign="top">
|
68 |
+
<td>
|
69 |
+
<h3 style="">Tracking Per Item Add-on</h3>
|
70 |
+
</td>
|
71 |
+
</tr>
|
72 |
+
</tbody>
|
73 |
+
</table>
|
74 |
+
<?php if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
|
75 |
+
?>
|
76 |
+
<table class="form-table">
|
77 |
+
<tbody>
|
78 |
+
<tr style="height: 140px;">
|
79 |
+
<td>
|
80 |
+
<p style="margin-top: 4px;"><?php _e( 'The Tracking Per Item add-on extends the AST plugin and allows you to attach tracking numbers to specific line items and to line item quantities.', 'woo-advanced-shipment-tracking' ); ?></p>
|
81 |
+
</td>
|
82 |
+
</tr>
|
83 |
+
</tbody>
|
84 |
+
</table>
|
85 |
+
<table class="form-table">
|
86 |
+
<tbody>
|
87 |
+
<tr valign="top">
|
88 |
+
<td class="button-column">
|
89 |
+
<div class="submit">
|
90 |
+
<a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/" target="blank" class="button-primary btn_ast2 btn_large"><?php _e( 'Get This Add-on >', 'woo-advanced-shipment-tracking' ); ?></a>
|
91 |
+
</div>
|
92 |
+
</td>
|
93 |
+
</tr>
|
94 |
+
</tbody>
|
95 |
+
</table>
|
96 |
+
<?php } else{ ?>
|
97 |
+
<div class="license_div">
|
98 |
+
<?php
|
99 |
+
$this->get_html( $this->get_ast_product_license_data() );
|
100 |
+
?>
|
101 |
+
</div>
|
102 |
+
<table class="form-table">
|
103 |
+
<tbody>
|
104 |
+
<tr valign="top">
|
105 |
+
<td class="button-column">
|
106 |
+
<div class="submit">
|
107 |
+
<?php
|
108 |
+
if($this->licence_valid() == 'true'){ ?>
|
109 |
+
<a href="https://www.zorem.com/my-account/manage-license-key/" class="button-primary btn_green2 btn_large" target="blank"><?php _e('Active','woo-advanced-shipment-tracking');?> <span class="dashicons dashicons-yes"></span></a>
|
110 |
+
<button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Deactivate"><?php _e('Deactivate','woo-advanced-shipment-tracking');?></button>
|
111 |
+
<?php } else{ ?>
|
112 |
+
<button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e('Activate','woo-advanced-shipment-tracking');?></button>
|
113 |
+
<?php }
|
114 |
+
?>
|
115 |
+
<p class="pesan"></p>
|
116 |
+
<div class="spinner"></div>
|
117 |
+
<?php wp_nonce_field( 'wc_ast_addons_form', 'wc_ast_addons_form' );?>
|
118 |
+
<input type="hidden" id="ast-license-action" name="action" value="<?=$this->licence_valid() == 'true' ? 'ast_product_license_deactivate':'ast_product_license_activate';?>" />
|
119 |
+
</div>
|
120 |
+
</td>
|
121 |
+
</tr>
|
122 |
+
</tbody>
|
123 |
+
</table>
|
124 |
+
<?php
|
125 |
+
} ?>
|
126 |
+
</div>
|
127 |
+
</form>
|
128 |
+
</div>
|
129 |
+
<?php
|
130 |
+
include 'zorem_admin_addons_sidebar.php';
|
131 |
+
?>
|
132 |
+
</div>
|
133 |
+
</section>
|
includes/views/admin_options_bulk_upload.php
CHANGED
@@ -34,14 +34,19 @@
|
|
34 |
<input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
|
35 |
</div>
|
36 |
</th>
|
37 |
-
</tr>
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
45 |
<h3 class="table-heading"><?php _e('Sample CSV', 'woo-advanced-shipment-tracking'); ?></h3>
|
46 |
<table class="form-table">
|
47 |
<tbody>
|
@@ -49,7 +54,7 @@
|
|
49 |
<td>
|
50 |
<p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
|
51 |
</td>
|
52 |
-
<td>
|
53 |
<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>
|
54 |
</td>
|
55 |
</tr>
|
34 |
<input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
|
35 |
</div>
|
36 |
</th>
|
37 |
+
</tr>
|
38 |
+
<tr class="bulk_upload_status_tr" style="display:none;">
|
39 |
+
<td scope="row" colspan="2">
|
40 |
+
<div id="p1" class="mdl-progress mdl-js-progress" style="display:none;"></div>
|
41 |
+
<h3 class="progress_title" style="display:none;"><?php _e('Upload Progress - ', 'woo-advanced-shipment-tracking'); ?>
|
42 |
+
<span class="progress_number"></span>
|
43 |
+
</h3>
|
44 |
+
<ol class="csv_upload_status">
|
45 |
+
</ol>
|
46 |
+
</td>
|
47 |
+
</tr>
|
48 |
+
</tbody>
|
49 |
+
</table>
|
50 |
<h3 class="table-heading"><?php _e('Sample CSV', 'woo-advanced-shipment-tracking'); ?></h3>
|
51 |
<table class="form-table">
|
52 |
<tbody>
|
54 |
<td>
|
55 |
<p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
|
56 |
</td>
|
57 |
+
<td style="text-align:right;">
|
58 |
<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>
|
59 |
</td>
|
60 |
</tr>
|
includes/views/admin_options_settings.php
CHANGED
@@ -48,7 +48,7 @@
|
|
48 |
<td>
|
49 |
<p style=""><?php _e( 'You can customize the tracking info display on emails and my account', 'woo-advanced-shipment-tracking' ); ?></p>
|
50 |
</td>
|
51 |
-
<td>
|
52 |
<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>
|
53 |
</td>
|
54 |
</tr>
|
@@ -59,13 +59,120 @@
|
|
59 |
<tbody>
|
60 |
<tr valign="top">
|
61 |
<td>
|
62 |
-
<h3 style=""><?php _e( '
|
63 |
</td>
|
64 |
</tr>
|
65 |
</tbody>
|
66 |
</table>
|
67 |
-
|
68 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
<table class="form-table">
|
70 |
<tbody>
|
71 |
<tr valign="top">
|
@@ -79,7 +186,8 @@
|
|
79 |
</td>
|
80 |
</tr>
|
81 |
</tbody>
|
82 |
-
</table>
|
|
|
83 |
</form>
|
84 |
</div>
|
85 |
<?php include 'zorem_admin_sidebar.php';?>
|
48 |
<td>
|
49 |
<p style=""><?php _e( 'You can customize the tracking info display on emails and my account', 'woo-advanced-shipment-tracking' ); ?></p>
|
50 |
</td>
|
51 |
+
<td style="text-align:right;">
|
52 |
<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>
|
53 |
</td>
|
54 |
</tr>
|
59 |
<tbody>
|
60 |
<tr valign="top">
|
61 |
<td>
|
62 |
+
<h3 style=""><?php _e( 'Custom Order Statuses', 'woo-advanced-shipment-tracking' ); ?></h3>
|
63 |
</td>
|
64 |
</tr>
|
65 |
</tbody>
|
66 |
</table>
|
67 |
+
|
68 |
+
<table class="form-table order-status-table">
|
69 |
+
<tbody>
|
70 |
+
<tr valign="top" class="<?php if(!get_option('wc_ast_status_delivered')){echo 'disable_row'; } ?>">
|
71 |
+
<td class="forminp" style="width: 30px;">
|
72 |
+
<span class="mdl-list__item-secondary-action">
|
73 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_status_delivered">
|
74 |
+
<input type="hidden" name="wc_ast_status_delivered" value="0"/>
|
75 |
+
<input type="checkbox" id="wc_ast_status_delivered" name="wc_ast_status_delivered" class="mdl-switch__input" <?php if(get_option('wc_ast_status_delivered')){echo 'checked'; } ?> value="1"/>
|
76 |
+
</label>
|
77 |
+
</span>
|
78 |
+
</td>
|
79 |
+
<td class="forminp status-label-column">
|
80 |
+
<span class="order-label wc-delivered"><?php _e( 'Delivered', 'woo-advanced-shipment-tracking' ); ?></span>
|
81 |
+
</td>
|
82 |
+
<td class="forminp">
|
83 |
+
<?php
|
84 |
+
$wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
|
85 |
+
if($wcast_enable_delivered_email['enabled'] == 'yes' || $wcast_enable_delivered_email['enabled'] == 1){
|
86 |
+
$delivered_checked = 'checked';
|
87 |
+
} else{
|
88 |
+
$delivered_checked = '';
|
89 |
+
}
|
90 |
+
?>
|
91 |
+
<fieldset>
|
92 |
+
<input class="input-text regular-input " type="text" name="wc_ast_status_label_color" id="wc_ast_status_label_color" style="" value="<?php echo get_option('wc_ast_status_label_color')?>" placeholder="">
|
93 |
+
<select class="select" id="wc_ast_status_label_font_color" name="wc_ast_status_label_font_color">
|
94 |
+
<option value="#fff" <?php if(get_option('wc_ast_status_label_font_color') == '#fff'){ echo 'selected'; }?>><?php _e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
95 |
+
<option value="#000" <?php if(get_option('wc_ast_status_label_font_color') == '#000'){ echo 'selected'; }?>><?php _e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
96 |
+
</select>
|
97 |
+
<label class="send_email_label">
|
98 |
+
<input type="hidden" name="wcast_enable_delivered_email" value="0"/>
|
99 |
+
<input type="checkbox" name="wcast_enable_delivered_email" id="wcast_enable_delivered_email" <?php echo $delivered_checked; ?> value="1"><?php _e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?>
|
100 |
+
</label>
|
101 |
+
<a class='settings_edit' href="<?php echo wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email'); ?>"><?php _e( 'Edit', 'woocommerce' ) ?></a>
|
102 |
+
</fieldset>
|
103 |
+
</td>
|
104 |
+
</tr>
|
105 |
+
<tr valign="top" class="<?php if(!get_option('wc_ast_status_partial_shipped')){echo 'disable_row'; } ?>">
|
106 |
+
<td class="forminp" style="width: 30px;">
|
107 |
+
<span class="mdl-list__item-secondary-action">
|
108 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_status_partial_shipped">
|
109 |
+
<input type="hidden" name="wc_ast_status_partial_shipped" value="0"/>
|
110 |
+
<input type="checkbox" id="wc_ast_status_partial_shipped" name="wc_ast_status_partial_shipped" class="mdl-switch__input" <?php if(get_option('wc_ast_status_partial_shipped')){echo 'checked'; } ?> value="1"/>
|
111 |
+
</label>
|
112 |
+
</span>
|
113 |
+
</td>
|
114 |
+
<td class="forminp status-label-column">
|
115 |
+
<span class="order-label wc-partially-shipped"><?php _e( 'Partially Shipped', 'woo-advanced-shipment-tracking' ); ?></span>
|
116 |
+
</td>
|
117 |
+
<td class="forminp">
|
118 |
+
<?php
|
119 |
+
$wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
|
120 |
+
if($wcast_enable_partial_shipped_email['enabled'] == 'yes' || $wcast_enable_partial_shipped_email['enabled'] == 1){
|
121 |
+
$partial_checked = 'checked';
|
122 |
+
} else{
|
123 |
+
$partial_checked = '';
|
124 |
+
}
|
125 |
+
?>
|
126 |
+
<fieldset>
|
127 |
+
<input class="input-text regular-input " type="text" name="wc_ast_status_partial_shipped_label_color" id="wc_ast_status_partial_shipped_label_color" style="" value="<?php echo get_option('wc_ast_status_partial_shipped_label_color')?>" placeholder="">
|
128 |
+
<select class="select" id="wc_ast_status_partial_shipped_label_font_color" name="wc_ast_status_partial_shipped_label_font_color">
|
129 |
+
<option value="#fff" <?php if(get_option('wc_ast_status_partial_shipped_label_font_color') == '#fff'){ echo 'selected'; }?>><?php _e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
130 |
+
<option value="#000" <?php if(get_option('wc_ast_status_partial_shipped_label_font_color') == '#000'){ echo 'selected'; }?>><?php _e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
131 |
+
</select>
|
132 |
+
<label class="send_email_label">
|
133 |
+
<input type="hidden" name="wcast_enable_partial_shipped_email" value="0"/>
|
134 |
+
<input type="checkbox" name="wcast_enable_partial_shipped_email" id="wcast_enable_partial_shipped_email" <?php echo $partial_checked; ?> value="1"><?php _e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?></label>
|
135 |
+
<a class='settings_edit' href="<?php echo wcast_initialise_customizer_email::get_customizer_url('customer_partial_shipped_email'); ?>"><?php _e( 'Edit', 'woocommerce' ) ?></a>
|
136 |
+
</fieldset>
|
137 |
+
</td>
|
138 |
+
</tr>
|
139 |
+
<tr valign="top" class="<?php if(!get_option('wc_ast_status_updated_tracking')){echo 'disable_row'; } ?>">
|
140 |
+
<td class="forminp" style="width: 30px;">
|
141 |
+
<span class="mdl-list__item-secondary-action">
|
142 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_status_updated_tracking">
|
143 |
+
<input type="hidden" name="wc_ast_status_updated_tracking" value="0"/>
|
144 |
+
<input type="checkbox" id="wc_ast_status_updated_tracking" name="wc_ast_status_updated_tracking" class="mdl-switch__input" <?php if(get_option('wc_ast_status_updated_tracking')){echo 'checked'; } ?> value="1"/>
|
145 |
+
</label>
|
146 |
+
</span>
|
147 |
+
</td>
|
148 |
+
<td class="forminp status-label-column">
|
149 |
+
<span class="order-label wc-updated-tracking"><?php _e( 'Updated Tracking', 'woo-advanced-shipment-tracking' ); ?></span>
|
150 |
+
</td>
|
151 |
+
<td class="forminp">
|
152 |
+
<?php
|
153 |
+
$wcast_enable_updated_tracking_email = get_option('woocommerce_customer_updated_tracking_order_settings');
|
154 |
+
if($wcast_enable_updated_tracking_email['enabled'] == 'yes' || $wcast_enable_updated_tracking_email['enabled'] == 1){
|
155 |
+
$updated_tracking_checked = 'checked';
|
156 |
+
} else{
|
157 |
+
$updated_tracking_checked = '';
|
158 |
+
}
|
159 |
+
?>
|
160 |
+
<fieldset>
|
161 |
+
<input class="input-text regular-input " type="text" name="wc_ast_status_updated_tracking_label_color" id="wc_ast_status_updated_tracking_label_color" style="" value="<?php echo get_option('wc_ast_status_updated_tracking_label_color')?>" placeholder="">
|
162 |
+
<select class="select" id="wc_ast_status_updated_tracking_label_font_color" name="wc_ast_status_updated_tracking_label_font_color">
|
163 |
+
<option value="#fff" <?php if(get_option('wc_ast_status_updated_tracking_label_font_color') == '#fff'){ echo 'selected'; }?>><?php _e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
164 |
+
<option value="#000" <?php if(get_option('wc_ast_status_updated_tracking_label_font_color') == '#000'){ echo 'selected'; }?>><?php _e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
|
165 |
+
</select>
|
166 |
+
<label class="send_email_label">
|
167 |
+
<input type="hidden" name="wcast_enable_updated_tracking_email" value="0"/>
|
168 |
+
<input type="checkbox" name="wcast_enable_updated_tracking_email" id="wcast_enable_updated_tracking_email" <?php echo $updated_tracking_checked; ?> value="1"><?php _e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?>
|
169 |
+
</label>
|
170 |
+
<a class='settings_edit' href="<?php echo wcast_initialise_customizer_email::get_customizer_url('customer_updated_tracking_email'); ?>"><?php _e( 'Edit', 'woocommerce' ) ?></a>
|
171 |
+
</fieldset>
|
172 |
+
</td>
|
173 |
+
</tr>
|
174 |
+
</tbody>
|
175 |
+
</table>
|
176 |
<table class="form-table">
|
177 |
<tbody>
|
178 |
<tr valign="top">
|
186 |
</td>
|
187 |
</tr>
|
188 |
</tbody>
|
189 |
+
</table>
|
190 |
+
<p class="description-below-table"><?php echo sprintf(__('<strong>Note:</strong> - If you use the custom order status, when you deactivate the plugin, you must register the order status, otherwise these orders will not display on your orders admin. You can find more information and the code <a href="%s" target="blank">snippet</a> to use in functions.php here.', 'woo-advanced-shipment-tracking'), 'https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/plugin-settings/#code-snippets'); ?></p>
|
191 |
</form>
|
192 |
</div>
|
193 |
<?php include 'zorem_admin_sidebar.php';?>
|
includes/views/admin_options_shipping_provider.php
CHANGED
@@ -13,19 +13,20 @@
|
|
13 |
<a href="javaScript:void(0);" data-status="inactive"><?php _e( 'Inactive', 'woo-advanced-shipment-tracking'); ?></a>
|
14 |
<a href="javaScript:void(0);" data-status="custom"><?php _e( 'Custom', 'woo-advanced-shipment-tracking'); ?></a>
|
15 |
<a href="javaScript:void(0);" data-status="all"><?php _e( 'All', 'woocommerce'); ?></a>
|
16 |
-
</div>
|
17 |
-
|
18 |
-
<span class="dashicons dashicons-admin-generic dropdown_menu"></span>
|
19 |
-
</div>
|
20 |
-
<ul class="dropdown-content">
|
21 |
-
<li><a href="javaScript:void(0);" class="add_custom_provider" id="add-custom"><?php _e( 'Add Custom Provider', 'woo-advanced-shipment-tracking'); ?></a></li>
|
22 |
-
<li><a href="javaScript:void(0);" class="sync_providers"><?php _e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></a></a></li>
|
23 |
-
<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>
|
24 |
-
</ul>
|
25 |
<div class="search_section">
|
26 |
<span class="dashicons dashicons-search search-icon"></span>
|
27 |
<input class="provider_search_bar " type="text" name="search_provider" id="search_provider" placeholder="<?php _e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
|
28 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
</div>
|
30 |
<div class="provider_list">
|
31 |
<?php
|
@@ -121,10 +122,13 @@
|
|
121 |
<div>
|
122 |
<input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
|
123 |
</div>
|
124 |
-
<div>
|
|
|
|
|
|
|
125 |
<input type="hidden" name="action" value="add_custom_shipment_provider">
|
126 |
<input type="submit" name="Submit" value="Submit" class="button-primary btn_ast2 btn_large">
|
127 |
-
</
|
128 |
</form>
|
129 |
</div>
|
130 |
<div class="popupclose"></div>
|
@@ -155,11 +159,14 @@
|
|
155 |
<div>
|
156 |
<input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
|
157 |
</div>
|
158 |
-
<div>
|
|
|
|
|
|
|
159 |
<input type="hidden" name="action" value="update_custom_shipment_provider">
|
160 |
<input type="hidden" name="provider_id" id="provider_id" value="">
|
161 |
<input type="submit" name="Submit" value="Update" class="button-primary btn_ast2 btn_large">
|
162 |
-
</
|
163 |
</form>
|
164 |
</div>
|
165 |
<div class="popupclose"></div>
|
13 |
<a href="javaScript:void(0);" data-status="inactive"><?php _e( 'Inactive', 'woo-advanced-shipment-tracking'); ?></a>
|
14 |
<a href="javaScript:void(0);" data-status="custom"><?php _e( 'Custom', 'woo-advanced-shipment-tracking'); ?></a>
|
15 |
<a href="javaScript:void(0);" data-status="all"><?php _e( 'All', 'woocommerce'); ?></a>
|
16 |
+
</div>
|
17 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
<div class="search_section">
|
19 |
<span class="dashicons dashicons-search search-icon"></span>
|
20 |
<input class="provider_search_bar " type="text" name="search_provider" id="search_provider" placeholder="<?php _e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
|
21 |
</div>
|
22 |
+
|
23 |
+
<div class="provider_settings">
|
24 |
+
<ul class="provider_settings_ul">
|
25 |
+
<li><?php _e( 'Reset all:', '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>
|
26 |
+
<li><a href="javaScript:void(0);" class="sync_providers tooltip"><span class="dashicons dashicons-update"></span><span class="tooltiptext tooltip-top"><?php _e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></span></a></li>
|
27 |
+
<li><a href="javaScript:void(0);" class="add_custom_provider tooltip" id="add-custom"><span class="dashicons dashicons-plus-alt"></span><span class="tooltiptext tooltip-top"><?php _e( 'Add Custom Provider', 'woo-advanced-shipment-tracking'); ?></span></a></li>
|
28 |
+
</ul>
|
29 |
+
</div>
|
30 |
</div>
|
31 |
<div class="provider_list">
|
32 |
<?php
|
122 |
<div>
|
123 |
<input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
|
124 |
</div>
|
125 |
+
<div class="custom_provider_instruction">
|
126 |
+
<a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider" target="blank"><?php _e( 'How to add Tracking URL' , 'woo-advanced-shipment-tracking'); ?></a>
|
127 |
+
</div>
|
128 |
+
<p>
|
129 |
<input type="hidden" name="action" value="add_custom_shipment_provider">
|
130 |
<input type="submit" name="Submit" value="Submit" class="button-primary btn_ast2 btn_large">
|
131 |
+
</p>
|
132 |
</form>
|
133 |
</div>
|
134 |
<div class="popupclose"></div>
|
159 |
<div>
|
160 |
<input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
|
161 |
</div>
|
162 |
+
<div class="custom_provider_instruction">
|
163 |
+
<a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider" target="blank"><?php _e( 'How to add Tracking URL' , 'woo-advanced-shipment-tracking'); ?></a>
|
164 |
+
</div>
|
165 |
+
<p>
|
166 |
<input type="hidden" name="action" value="update_custom_shipment_provider">
|
167 |
<input type="hidden" name="provider_id" id="provider_id" value="">
|
168 |
<input type="submit" name="Submit" value="Update" class="button-primary btn_ast2 btn_large">
|
169 |
+
</p>
|
170 |
</form>
|
171 |
</div>
|
172 |
<div class="popupclose"></div>
|
includes/views/admin_options_tools.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* html code for tools tab
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<section id="content_tools" class="inner_tab_section">
|
7 |
+
<div class="tab_inner_container">
|
8 |
+
<div class="d_table" style="">
|
9 |
+
<div class="tab_inner_container">
|
10 |
+
<table class="form-table heading-table">
|
11 |
+
<tbody>
|
12 |
+
<tr valign="top">
|
13 |
+
<td>
|
14 |
+
<h3 style=""><?php _e( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ); ?></h3>
|
15 |
+
</td>
|
16 |
+
</tr>
|
17 |
+
</tbody>
|
18 |
+
</table>
|
19 |
+
<table class="form-table">
|
20 |
+
<tbody>
|
21 |
+
<tr>
|
22 |
+
<td>
|
23 |
+
<p><?php _e( 'You can send all your orders from the last 30 days to get shipment status from TrackShip:', 'woo-advanced-shipment-tracking' ); ?></p>
|
24 |
+
</td>
|
25 |
+
</tr>
|
26 |
+
</tbody>
|
27 |
+
</table>
|
28 |
+
<?php $this->get_html( $this->get_trackship_bulk_actions_data() ); ?>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
</div>
|
32 |
+
<?php include 'zorem_admin_sidebar.php'; ?>
|
33 |
+
</section>
|
includes/views/admin_options_trackship_integration.php
CHANGED
@@ -7,9 +7,23 @@
|
|
7 |
<section id="content3" class="tab_section">
|
8 |
<div class="d_table" style="">
|
9 |
<div class="tab_inner_container">
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
<?php
|
12 |
-
$wc_ast_api_key = get_option('wc_ast_api_key');
|
13 |
|
14 |
if($wc_ast_api_key){
|
15 |
$url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
|
@@ -17,243 +31,18 @@
|
|
17 |
'user_key' => $wc_ast_api_key,
|
18 |
);
|
19 |
$response = wp_remote_post( $url, $args );
|
20 |
-
|
21 |
-
?>
|
22 |
-
|
23 |
-
<table class="form-table heading-table">
|
24 |
-
<tbody>
|
25 |
-
<tr valign="top">
|
26 |
-
<td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
|
27 |
-
</tr>
|
28 |
-
</tbody>
|
29 |
-
</table>
|
30 |
-
<table class="form-table">
|
31 |
-
<tbody>
|
32 |
-
<tr valign="top">
|
33 |
-
<td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
34 |
-
<td class="forminp">
|
35 |
-
<fieldset>
|
36 |
-
<a href="https://my.trackship.info/" target="_blank">
|
37 |
-
<span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
|
38 |
-
</a>
|
39 |
-
</fieldset>
|
40 |
-
</td>
|
41 |
-
</tr>
|
42 |
-
<tr valign="top">
|
43 |
-
<td><label><?php _e( 'Trackers Balance', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
44 |
-
<td class="forminp">
|
45 |
-
<fieldset>
|
46 |
-
<strong><?php echo get_option('trackers_balance'); ?></strong>
|
47 |
-
</fieldset>
|
48 |
-
</td>
|
49 |
-
</tr>
|
50 |
-
<tr valign="top">
|
51 |
-
<td><label><?php _e( 'Current Plan', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
52 |
-
<td class="forminp">
|
53 |
-
<fieldset>
|
54 |
-
<strong>
|
55 |
-
<?php
|
56 |
-
if(isset($plan_data->subscription_plan)){
|
57 |
-
echo $plan_data->subscription_plan;
|
58 |
-
}
|
59 |
-
?>
|
60 |
-
</strong>
|
61 |
-
</fieldset>
|
62 |
-
</td>
|
63 |
-
</tr>
|
64 |
-
<tr valign="top">
|
65 |
-
<td colspan="2">
|
66 |
-
<?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' ); ?>
|
67 |
-
</td>
|
68 |
-
</tr>
|
69 |
-
<tr valign="top">
|
70 |
-
<td colspan="2">
|
71 |
-
<a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
|
72 |
-
<a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
|
73 |
-
</td>
|
74 |
-
</tr>
|
75 |
-
</tbody>
|
76 |
-
</table>
|
77 |
-
|
78 |
-
<table class="form-table heading-table">
|
79 |
-
<tbody>
|
80 |
-
<tr valign="top">
|
81 |
-
<td>
|
82 |
-
<h3 style=""><?php _e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
|
83 |
-
</td>
|
84 |
-
</tr>
|
85 |
-
</tbody>
|
86 |
-
</table>
|
87 |
-
<?php $this->get_html( $this->get_trackship_general_data() ); ?>
|
88 |
-
<table class="form-table">
|
89 |
-
<tbody>
|
90 |
-
<tr valign="top">
|
91 |
-
<td class="button-column">
|
92 |
-
<div class="submit">
|
93 |
-
<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>
|
94 |
-
<div class="spinner"></div>
|
95 |
-
<?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
|
96 |
-
<input type="hidden" name="action" value="wc_ast_trackship_form_update">
|
97 |
-
</div>
|
98 |
-
</td>
|
99 |
-
</tr>
|
100 |
-
</tbody>
|
101 |
-
</table>
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
<h3 style=""><?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?></h3>
|
108 |
-
</td>
|
109 |
-
</tr>
|
110 |
-
</tbody>
|
111 |
-
</table>
|
112 |
-
<?php $this->get_html( $this->get_trackship_page_data() ); ?>
|
113 |
-
<table class="form-table">
|
114 |
-
<tbody>
|
115 |
-
<tr valign="top">
|
116 |
-
<td>
|
117 |
-
<a href="<?php echo get_home_url(); ?>?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>
|
118 |
-
<p class="tracking-preview-desc"><?php _e('PLEASE NOTE - make sure to save your settings before preview.', 'woo-advanced-shipment-tracking'); ?></p>
|
119 |
-
</td>
|
120 |
-
</tr>
|
121 |
-
<tr valign="top">
|
122 |
-
<td class="button-column">
|
123 |
-
<div class="submit">
|
124 |
-
<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>
|
125 |
-
<div class="spinner"></div>
|
126 |
-
<?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
|
127 |
-
<input type="hidden" name="action" value="wc_ast_trackship_form_update">
|
128 |
-
</div>
|
129 |
-
</td>
|
130 |
-
</tr>
|
131 |
-
</tbody>
|
132 |
-
</table>
|
133 |
-
<?php
|
134 |
-
if($wc_ast_api_key){
|
135 |
-
?>
|
136 |
-
<?php } ?>
|
137 |
-
<h3 class="table-heading"><?php _e('Shipment Status Notifications ', 'woo-advanced-shipment-tracking'); ?></h3>
|
138 |
<?php
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
$wcast_enable_delivered_status_email = get_theme_mod('wcast_enable_delivered_status_email');
|
145 |
-
$wcast_enable_returntosender_email = get_theme_mod('wcast_enable_returntosender_email');
|
146 |
-
$wcast_enable_availableforpickup_email = get_theme_mod('wcast_enable_availableforpickup_email');
|
147 |
-
$wc_ast_api_key = get_option('wc_ast_api_key');
|
148 |
-
//echo '<pre>';print_r($wcast_enable_delivered_email['enabled']);echo '</pre>';
|
149 |
-
?>
|
150 |
-
<section class="ac-container">
|
151 |
-
|
152 |
-
<div class="headig_label <?php if($wcast_enable_intransit_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
153 |
-
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/In-Transit-512.png">
|
154 |
-
<span class="email_status_span">
|
155 |
-
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
156 |
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_intransit_email">
|
157 |
-
<input type="checkbox" name="wcast_enable_intransit_email" id="wcast_enable_intransit_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_intransit_email == 1) { echo 'checked'; } ?> />
|
158 |
-
</label>
|
159 |
-
</span>
|
160 |
-
</span>
|
161 |
-
<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>
|
162 |
-
<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>
|
163 |
-
<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>
|
164 |
-
</div>
|
165 |
-
|
166 |
-
<div class="headig_label <?php if($wcast_enable_returntosender_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
167 |
-
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/return-to-sender-512.png">
|
168 |
-
<span class="email_status_span">
|
169 |
-
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
170 |
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_returntosender_email">
|
171 |
-
<input type="checkbox" name="wcast_enable_returntosender_email" id="wcast_enable_returntosender_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_returntosender_email == 1) { echo 'checked'; } ?> />
|
172 |
-
</label>
|
173 |
-
</span>
|
174 |
-
</span>
|
175 |
-
<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>
|
176 |
-
<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>
|
177 |
-
<p class="shipment_about"><?php _e('Shipment is returned to sender', 'woo-advanced-shipment-tracking'); ?></p>
|
178 |
-
</div>
|
179 |
-
|
180 |
-
<div class="headig_label <?php if($wcast_enable_availableforpickup_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
181 |
-
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/available-for-picup-512.png">
|
182 |
-
<span class="email_status_span">
|
183 |
-
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
184 |
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_availableforpickup_email">
|
185 |
-
<input type="checkbox" name="wcast_enable_availableforpickup_email" id="wcast_enable_availableforpickup_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_availableforpickup_email == 1) { echo 'checked'; } ?> />
|
186 |
-
</label>
|
187 |
-
</span>
|
188 |
-
</span>
|
189 |
-
<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>
|
190 |
-
<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>
|
191 |
-
<p class="shipment_about"><?php _e('The shipment is ready to pickup.', 'woo-advanced-shipment-tracking'); ?></p>
|
192 |
-
</div>
|
193 |
-
<div class="headig_label <?php if($wcast_enable_outfordelivery_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
194 |
-
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Out-for-Delivery-512.png">
|
195 |
-
<span class="email_status_span">
|
196 |
-
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
197 |
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_outfordelivery_email">
|
198 |
-
<input type="checkbox" name="wcast_enable_outfordelivery_email" id="wcast_enable_outfordelivery_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_outfordelivery_email == 1) { echo 'checked'; } ?> />
|
199 |
-
</label>
|
200 |
-
</span>
|
201 |
-
</span>
|
202 |
-
<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>
|
203 |
-
<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>
|
204 |
-
<p class="shipment_about"><?php _e('Carrier is about to deliver the shipment', 'woo-advanced-shipment-tracking'); ?></p>
|
205 |
-
</div>
|
206 |
-
|
207 |
-
<div class="delivered_shipment_label headig_label <?php if($wcast_enable_delivered_status_email == 1){ echo 'enable'; } else{ echo 'disable'; }?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'delivered_enabel'; } ?>">
|
208 |
-
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Delivered-512.png">
|
209 |
-
<span class="email_status_span">
|
210 |
-
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
211 |
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_delivered_status_email">
|
212 |
-
<input type="checkbox" name="wcast_enable_delivered_status_email" id="wcast_enable_delivered_status_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_delivered_status_email == 1 && $wcast_enable_delivered_email['enabled'] != 'yes') { echo 'checked'; } ?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled'; }?> />
|
213 |
-
</label>
|
214 |
-
</span>
|
215 |
-
</span>
|
216 |
-
<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>
|
217 |
-
<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>
|
218 |
-
<p class="shipment_about"><?php _e('The shipment was delivered successfully', 'woo-advanced-shipment-tracking'); ?></p>
|
219 |
-
<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>
|
220 |
-
</div>
|
221 |
-
|
222 |
-
<div class="headig_label <?php if($wcast_enable_failure_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
223 |
-
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/failure-512.png">
|
224 |
-
<span class="email_status_span">
|
225 |
-
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
226 |
-
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_failure_email">
|
227 |
-
<input type="checkbox" name="wcast_enable_failure_email" id="wcast_enable_failure_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_failure_email == 1) { echo 'checked'; } ?> />
|
228 |
-
</label>
|
229 |
-
</span>
|
230 |
-
</span>
|
231 |
-
<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>
|
232 |
-
<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>
|
233 |
-
<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>
|
234 |
-
</div>
|
235 |
-
</section>
|
236 |
-
|
237 |
-
<table class="form-table heading-table">
|
238 |
-
<tbody>
|
239 |
-
<tr valign="top">
|
240 |
-
<td>
|
241 |
-
<h3 style=""><?php _e( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ); ?></h3>
|
242 |
-
</td>
|
243 |
-
</tr>
|
244 |
-
</tbody>
|
245 |
-
</table>
|
246 |
-
<table class="form-table">
|
247 |
-
<tbody>
|
248 |
-
<tr>
|
249 |
-
<td>
|
250 |
-
<p><?php _e( 'You can send all your orders from the last 30 days to get shipment status from TrackShip:', 'woo-advanced-shipment-tracking' ); ?></p>
|
251 |
-
</td>
|
252 |
-
</tr>
|
253 |
-
</tbody>
|
254 |
-
</table>
|
255 |
-
<?php $this->get_html( $this->get_trackship_bulk_actions_data() ); ?>
|
256 |
-
|
257 |
<?php } else{ ?>
|
258 |
<div class="section-content trackship_section">
|
259 |
<div class="trackship-upsell-overlay">
|
@@ -272,7 +61,7 @@
|
|
272 |
<li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
|
273 |
<li>Direct customers to a Tracking page on your store.</li>
|
274 |
</ul>
|
275 |
-
<div class="text-center"><a href="https://trackship.info
|
276 |
</div>
|
277 |
</div>
|
278 |
</div>
|
@@ -280,10 +69,5 @@
|
|
280 |
?>
|
281 |
</form>
|
282 |
</div>
|
283 |
-
<?php
|
284 |
-
if($wc_ast_api_key){
|
285 |
-
include 'zorem_admin_sidebar.php';
|
286 |
-
}
|
287 |
-
?>
|
288 |
</div>
|
289 |
</section>
|
7 |
<section id="content3" class="tab_section">
|
8 |
<div class="d_table" style="">
|
9 |
<div class="tab_inner_container">
|
10 |
+
<?php $wc_ast_api_key = get_option('wc_ast_api_key');
|
11 |
+
if($wc_ast_api_key){
|
12 |
+
?>
|
13 |
+
<input id="tab_trackship_dashboard" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="trackship-dashboard" checked>
|
14 |
+
<label for="tab_trackship_dashboard" class="inner_tab_label"><?php _e('Dashboard', 'woocommerce'); ?></label>
|
15 |
+
|
16 |
+
<input id="tab_tracking_page" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="tracking-page" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'tracking-page'){ echo 'checked'; } ?>>
|
17 |
+
<label for="tab_tracking_page" class="inner_tab_label tracking_page_label"><?php _e('Tracking Page', 'woo-advanced-shipment-tracking'); ?></label>
|
18 |
+
|
19 |
+
<input id="tab_status_notifications" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="shipment-status-notifications" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'shipment-status-notifications'){ echo 'checked'; } ?>>
|
20 |
+
<label for="tab_status_notifications" class="inner_tab_label"><?php _e('Shipment Status Notifications', 'woo-advanced-shipment-tracking'); ?></label>
|
21 |
+
|
22 |
+
<input id="tab_tools" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="tools" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'tools'){ echo 'checked'; } ?>>
|
23 |
+
<label for="tab_tools" class="inner_tab_label"><?php _e('Tools', 'woo-advanced-shipment-tracking'); ?></label>
|
24 |
+
<?php } ?>
|
25 |
+
<form method="post" id="wc_ast_trackship_form" action="" enctype="multipart/form-data">
|
26 |
<?php
|
|
|
27 |
|
28 |
if($wc_ast_api_key){
|
29 |
$url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
|
31 |
'user_key' => $wc_ast_api_key,
|
32 |
);
|
33 |
$response = wp_remote_post( $url, $args );
|
34 |
+
if ( is_wp_error( $response ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
+
} else{
|
37 |
+
$plan_data = json_decode($response['body']);
|
38 |
+
}
|
39 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
<?php
|
41 |
+
require_once( 'admin_trackship_dashboard.php' );
|
42 |
+
require_once( 'admin_tracking_page_settings.php' );
|
43 |
+
require_once( 'admin_status_notifications.php' );
|
44 |
+
require_once( 'admin_options_tools.php' );
|
45 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
<?php } else{ ?>
|
47 |
<div class="section-content trackship_section">
|
48 |
<div class="trackship-upsell-overlay">
|
61 |
<li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
|
62 |
<li>Direct customers to a Tracking page on your store.</li>
|
63 |
</ul>
|
64 |
+
<div class="text-center"><a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
|
65 |
</div>
|
66 |
</div>
|
67 |
</div>
|
69 |
?>
|
70 |
</form>
|
71 |
</div>
|
|
|
|
|
|
|
|
|
|
|
72 |
</div>
|
73 |
</section>
|
includes/views/admin_status_notifications.php
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<section id="content_status_notifications" class="inner_tab_section">
|
2 |
+
<div class="tab_inner_container">
|
3 |
+
<h3 class="table-heading"><?php _e('Shipment Status Notifications ', 'woo-advanced-shipment-tracking'); ?></h3>
|
4 |
+
<?php
|
5 |
+
$wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
|
6 |
+
$wcast_enable_pretransit_email = get_theme_mod('wcast_enable_pretransit_email');
|
7 |
+
$wcast_enable_intransit_email = get_theme_mod('wcast_enable_intransit_email');
|
8 |
+
$wcast_enable_outfordelivery_email = get_theme_mod('wcast_enable_outfordelivery_email');
|
9 |
+
$wcast_enable_failure_email = get_theme_mod('wcast_enable_failure_email');
|
10 |
+
$wcast_enable_delivered_status_email = get_theme_mod('wcast_enable_delivered_status_email');
|
11 |
+
$wcast_enable_returntosender_email = get_theme_mod('wcast_enable_returntosender_email');
|
12 |
+
$wcast_enable_availableforpickup_email = get_theme_mod('wcast_enable_availableforpickup_email');
|
13 |
+
?>
|
14 |
+
<section class="ac-container">
|
15 |
+
|
16 |
+
<div class="headig_label <?php if($wcast_enable_intransit_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
17 |
+
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/In-Transit-512.png">
|
18 |
+
<span class="email_status_span">
|
19 |
+
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
20 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_intransit_email">
|
21 |
+
<input type="checkbox" name="wcast_enable_intransit_email" id="wcast_enable_intransit_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_intransit_email == 1) { echo 'checked'; } ?> />
|
22 |
+
</label>
|
23 |
+
</span>
|
24 |
+
</span>
|
25 |
+
<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>
|
26 |
+
<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>
|
27 |
+
<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>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
<div class="headig_label <?php if($wcast_enable_returntosender_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
31 |
+
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/return-to-sender-512.png">
|
32 |
+
<span class="email_status_span">
|
33 |
+
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
34 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_returntosender_email">
|
35 |
+
<input type="checkbox" name="wcast_enable_returntosender_email" id="wcast_enable_returntosender_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_returntosender_email == 1) { echo 'checked'; } ?> />
|
36 |
+
</label>
|
37 |
+
</span>
|
38 |
+
</span>
|
39 |
+
<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>
|
40 |
+
<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>
|
41 |
+
<p class="shipment_about"><?php _e('Shipment is returned to sender', 'woo-advanced-shipment-tracking'); ?></p>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
<div class="headig_label <?php if($wcast_enable_availableforpickup_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
45 |
+
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/available-for-picup-512.png">
|
46 |
+
<span class="email_status_span">
|
47 |
+
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
48 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_availableforpickup_email">
|
49 |
+
<input type="checkbox" name="wcast_enable_availableforpickup_email" id="wcast_enable_availableforpickup_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_availableforpickup_email == 1) { echo 'checked'; } ?> />
|
50 |
+
</label>
|
51 |
+
</span>
|
52 |
+
</span>
|
53 |
+
<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>
|
54 |
+
<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>
|
55 |
+
<p class="shipment_about"><?php _e('The shipment is ready to pickup.', 'woo-advanced-shipment-tracking'); ?></p>
|
56 |
+
</div>
|
57 |
+
<div class="headig_label <?php if($wcast_enable_outfordelivery_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
58 |
+
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Out-for-Delivery-512.png">
|
59 |
+
<span class="email_status_span">
|
60 |
+
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
61 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_outfordelivery_email">
|
62 |
+
<input type="checkbox" name="wcast_enable_outfordelivery_email" id="wcast_enable_outfordelivery_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_outfordelivery_email == 1) { echo 'checked'; } ?> />
|
63 |
+
</label>
|
64 |
+
</span>
|
65 |
+
</span>
|
66 |
+
<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>
|
67 |
+
<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>
|
68 |
+
<p class="shipment_about"><?php _e('Carrier is about to deliver the shipment', 'woo-advanced-shipment-tracking'); ?></p>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
<div class="delivered_shipment_label headig_label <?php if($wcast_enable_delivered_status_email == 1){ echo 'enable'; } else{ echo 'disable'; }?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ echo 'delivered_enabel'; } ?>">
|
72 |
+
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Delivered-512.png">
|
73 |
+
<span class="email_status_span">
|
74 |
+
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
75 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_delivered_status_email">
|
76 |
+
<input type="checkbox" name="wcast_enable_delivered_status_email" id="wcast_enable_delivered_status_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_delivered_status_email == 1 && $wcast_enable_delivered_email['enabled'] != 'yes') { echo 'checked'; } ?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ echo 'disabled'; }?> />
|
77 |
+
</label>
|
78 |
+
</span>
|
79 |
+
</span>
|
80 |
+
<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' && get_option('wc_ast_status_delivered') == 1){ echo 'disabled_link'; }?>"><?php _e('Delivered', 'woo-advanced-shipment-tracking'); ?></a>
|
81 |
+
<a class="edit_customizer_a <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ 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>
|
82 |
+
<p class="shipment_about"><?php _e('The shipment was delivered successfully', 'woo-advanced-shipment-tracking'); ?></p>
|
83 |
+
<p class="delivered_message <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ 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>
|
84 |
+
</div>
|
85 |
+
|
86 |
+
<div class="headig_label <?php if($wcast_enable_failure_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
|
87 |
+
<img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/failure-512.png">
|
88 |
+
<span class="email_status_span">
|
89 |
+
<span class="mdl-list__item-secondary-action shipment_status_toggle">
|
90 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_failure_email">
|
91 |
+
<input type="checkbox" name="wcast_enable_failure_email" id="wcast_enable_failure_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_failure_email == 1) { echo 'checked'; } ?> />
|
92 |
+
</label>
|
93 |
+
</span>
|
94 |
+
</span>
|
95 |
+
<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>
|
96 |
+
<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>
|
97 |
+
<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>
|
98 |
+
</div>
|
99 |
+
</section>
|
100 |
+
<?php do_action( 'after_shipment_status_email_notifications' ); ?>
|
101 |
+
</div>
|
102 |
+
<?php include 'zorem_admin_sidebar.php'; ?>
|
103 |
+
</section>
|
includes/views/admin_tracking_page_settings.php
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<section id="content_tracking_page" class="inner_tab_section">
|
2 |
+
<div class="tab_inner_container">
|
3 |
+
<table class="form-table heading-table">
|
4 |
+
<tbody>
|
5 |
+
<tr valign="top">
|
6 |
+
<td>
|
7 |
+
<h3 style=""><?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?></h3>
|
8 |
+
</td>
|
9 |
+
<td style="width: 40px;">
|
10 |
+
<span class="mdl-list__item-secondary-action">
|
11 |
+
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_use_tracking_page">
|
12 |
+
<input type="hidden" name="wc_ast_use_tracking_page" value="0"/>
|
13 |
+
<input type="checkbox" id="wc_ast_use_tracking_page" name="wc_ast_use_tracking_page" class="mdl-switch__input" <?php if(get_option('wc_ast_use_tracking_page') == 1){ echo 'checked'; } ?> value="1"/>
|
14 |
+
</label>
|
15 |
+
</span>
|
16 |
+
</td>
|
17 |
+
</tr>
|
18 |
+
</tbody>
|
19 |
+
</table>
|
20 |
+
<table class="form-table tracking_page_table">
|
21 |
+
<tbody>
|
22 |
+
<tr valign="top" class="">
|
23 |
+
<th scope="row" class="titledesc" style="width: 21%;">
|
24 |
+
<label><?php _e( 'Select Tracking Page', 'woo-advanced-shipment-tracking' ); ?></label>
|
25 |
+
</th>
|
26 |
+
<td>
|
27 |
+
<?php $page_list = wp_list_pluck( get_pages(), 'post_title', 'ID' ); ?>
|
28 |
+
<select class="select select2" id="wc_ast_trackship_page_id" name="wc_ast_trackship_page_id">
|
29 |
+
<?php
|
30 |
+
foreach($page_list as $page_id => $page_name){ ?>
|
31 |
+
<option <?php if(get_option('wc_ast_trackship_page_id') == $page_id){ echo 'selected'; }?> value="<?php echo $page_id; ?>"><?php echo $page_name; ?></option>
|
32 |
+
<?php } ?>
|
33 |
+
</select>
|
34 |
+
</td>
|
35 |
+
</tr>
|
36 |
+
<tr valign="top">
|
37 |
+
<td class="forminp" colspan="2">
|
38 |
+
<fieldset>
|
39 |
+
<span class="tracking_page_desc"><?php _e( 'Note - If you select a different page than the Shipment Tracking page, add the [wcast-track-order] shortcode to the selected page content.', 'woo-advanced-shipment-tracking' ); ?> <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/integration/" target="blank"><?php _e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a></span>
|
40 |
+
</fieldset>
|
41 |
+
</td>
|
42 |
+
</tr>
|
43 |
+
</tbody>
|
44 |
+
</table>
|
45 |
+
<table class="form-table tracking_page_table tracking-layout-table">
|
46 |
+
<tbody>
|
47 |
+
<tr valign="top" class="">
|
48 |
+
<th scope="row" class="titledesc" style="width: 55%;vertical-align: top;">
|
49 |
+
<h3 style="margin: 0"><?php _e( 'Tracking Page Layout', 'woo-advanced-shipment-tracking' ); ?></h3>
|
50 |
+
<span class="select_t_layout_section">
|
51 |
+
<input type="radio" name="wc_ast_select_tracking_page_layout" id="t_layout_1" value="t_layout_1" class="radio-img" <?php if(get_option('wc_ast_select_tracking_page_layout','t_layout_1') == 't_layout_1'){ echo 'checked'; } ?>/>
|
52 |
+
<label for="t_layout_1">
|
53 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/t_layout_1.jpg"/>
|
54 |
+
</label>
|
55 |
+
</span>
|
56 |
+
<span class="select_t_layout_section">
|
57 |
+
<input type="radio" name="wc_ast_select_tracking_page_layout" id="t_layout_2" value="t_layout_2" <?php if(get_option('wc_ast_select_tracking_page_layout','t_layout_1') == 't_layout_2'){ echo 'checked'; } ?> class="radio-img" />
|
58 |
+
<label for="t_layout_2">
|
59 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/t_layout_2.jpg"/>
|
60 |
+
</label>
|
61 |
+
</span>
|
62 |
+
</th>
|
63 |
+
<td class="forminp" style="padding-top: 40px;">
|
64 |
+
<div>
|
65 |
+
<label class="tracking_color_label">
|
66 |
+
<span style="margin-right: 20px;"><?php _e( 'Text Color', 'woo-advanced-shipment-tracking' ); ?></span>
|
67 |
+
<span class="">
|
68 |
+
<input class="input-text regular-input" type="text" name="wc_ast_select_primary_color" id="wc_ast_select_primary_color" style="" value="<?php echo get_option('wc_ast_select_primary_color')?>" >
|
69 |
+
</span>
|
70 |
+
</label></br></br>
|
71 |
+
<label class="tracking_color_label">
|
72 |
+
<span style="margin-right: 3px;"><?php _e( 'Border Color', 'woo-advanced-shipment-tracking' ); ?></span>
|
73 |
+
<span class="">
|
74 |
+
<input class="input-text regular-input" type="text" name="wc_ast_select_border_color" id="wc_ast_select_border_color" style="" value="<?php echo get_option('wc_ast_select_border_color')?>" >
|
75 |
+
</span>
|
76 |
+
</label>
|
77 |
+
</div>
|
78 |
+
</br>
|
79 |
+
<div class="tracking_layout_options_div">
|
80 |
+
<label>
|
81 |
+
<input type="hidden" name="wc_ast_hide_tracking_provider_image" value="0"/>
|
82 |
+
<input type="checkbox" name="wc_ast_hide_tracking_provider_image" value="1" id="wc_ast_hide_tracking_provider_image" <?php if(get_option('wc_ast_hide_tracking_provider_image') == 1){ echo 'checked'; } ?>>
|
83 |
+
<?php _e( 'Hide Shipping Provider Image', 'woo-advanced-shipment-tracking' ); ?>
|
84 |
+
</label>
|
85 |
+
<label>
|
86 |
+
<input type="hidden" name="wc_ast_hide_tracking_events" value="0"/>
|
87 |
+
<input type="checkbox" name="wc_ast_hide_tracking_events" value="1" id="wc_ast_hide_tracking_events" <?php if(get_option('wc_ast_hide_tracking_events') == 1){ echo 'checked'; } ?>>
|
88 |
+
<?php _e( 'Hide tracking event details', 'woo-advanced-shipment-tracking' ); ?>
|
89 |
+
</label>
|
90 |
+
<label>
|
91 |
+
<input type="hidden" name="wc_ast_remove_trackship_branding" value="0"/>
|
92 |
+
<input type="checkbox" name="wc_ast_remove_trackship_branding" value="1" id="wc_ast_remove_trackship_branding" <?php if(get_option('wc_ast_remove_trackship_branding') == 1){ echo 'checked'; } ?>>
|
93 |
+
<?php _e( 'Remove TrackShip branding', 'woo-advanced-shipment-tracking' ); ?>
|
94 |
+
</label>
|
95 |
+
</div>
|
96 |
+
</td>
|
97 |
+
</tr>
|
98 |
+
<tr valign="top">
|
99 |
+
<td class="button-column" colspan="2">
|
100 |
+
<div class="submit">
|
101 |
+
<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>
|
102 |
+
<div class="spinner"></div>
|
103 |
+
<?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
|
104 |
+
<input type="hidden" name="action" value="wc_ast_trackship_form_update">
|
105 |
+
</div>
|
106 |
+
</td>
|
107 |
+
</tr>
|
108 |
+
<tr valign="top" class="tracking_page_table tracking_preview_tr">
|
109 |
+
<td colspan="2">
|
110 |
+
<h3 style="margin: 0"><strong><?php _e( 'Preview', 'woo-advanced-shipment-tracking' ); ?></strong></h3>
|
111 |
+
<iframe id="tracking_preview_iframe" class="tracking_preview_iframe" src="<?php echo get_home_url(); ?>?action=preview_tracking_page" class="tracking-preview-link"></iframe>
|
112 |
+
</td>
|
113 |
+
</tr>
|
114 |
+
</tbody>
|
115 |
+
</table>
|
116 |
+
</div>
|
117 |
+
<?php include 'zorem_admin_sidebar.php'; ?>
|
118 |
+
</section>
|
includes/views/admin_trackship_dashboard.php
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<section id="content_trackship_dashboard" class="inner_tab_section">
|
2 |
+
<div class="tab_inner_container">
|
3 |
+
<table class="form-table heading-table">
|
4 |
+
<tbody>
|
5 |
+
<tr valign="top">
|
6 |
+
<td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
|
7 |
+
</tr>
|
8 |
+
</tbody>
|
9 |
+
</table>
|
10 |
+
<table class="form-table">
|
11 |
+
<tbody>
|
12 |
+
<tr valign="top">
|
13 |
+
<td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
14 |
+
<td class="forminp">
|
15 |
+
<fieldset>
|
16 |
+
<a href="https://my.trackship.info/" target="_blank">
|
17 |
+
<span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
|
18 |
+
</a>
|
19 |
+
</fieldset>
|
20 |
+
</td>
|
21 |
+
</tr>
|
22 |
+
<tr valign="top">
|
23 |
+
<td><label><?php _e( 'Trackers Balance', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
24 |
+
<td class="forminp">
|
25 |
+
<fieldset>
|
26 |
+
<strong><?php echo get_option('trackers_balance'); ?></strong>
|
27 |
+
</fieldset>
|
28 |
+
</td>
|
29 |
+
</tr>
|
30 |
+
<tr valign="top">
|
31 |
+
<td><label><?php _e( 'Current Plan', 'woo-advanced-shipment-tracking' ); ?></label></td>
|
32 |
+
<td class="forminp">
|
33 |
+
<fieldset>
|
34 |
+
<strong>
|
35 |
+
<?php
|
36 |
+
if(isset($plan_data->subscription_plan)){
|
37 |
+
echo $plan_data->subscription_plan;
|
38 |
+
}
|
39 |
+
?>
|
40 |
+
</strong>
|
41 |
+
</fieldset>
|
42 |
+
</td>
|
43 |
+
</tr>
|
44 |
+
<tr valign="top">
|
45 |
+
<td colspan="2">
|
46 |
+
<?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' ); ?>
|
47 |
+
</td>
|
48 |
+
</tr>
|
49 |
+
<tr valign="top">
|
50 |
+
<td colspan="2">
|
51 |
+
<a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
|
52 |
+
<a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
|
53 |
+
</td>
|
54 |
+
</tr>
|
55 |
+
</tbody>
|
56 |
+
</table>
|
57 |
+
|
58 |
+
<table class="form-table heading-table">
|
59 |
+
<tbody>
|
60 |
+
<tr valign="top">
|
61 |
+
<td>
|
62 |
+
<h3 style=""><?php _e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
|
63 |
+
</td>
|
64 |
+
</tr>
|
65 |
+
</tbody>
|
66 |
+
</table>
|
67 |
+
<?php $this->get_html( $this->get_trackship_general_data() ); ?>
|
68 |
+
<table class="form-table">
|
69 |
+
<tbody>
|
70 |
+
<tr valign="top">
|
71 |
+
<td class="button-column">
|
72 |
+
<div class="submit">
|
73 |
+
<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>
|
74 |
+
<div class="spinner"></div>
|
75 |
+
<?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
|
76 |
+
<input type="hidden" name="action" value="wc_ast_trackship_form_update">
|
77 |
+
</div>
|
78 |
+
</td>
|
79 |
+
</tr>
|
80 |
+
</tbody>
|
81 |
+
</table>
|
82 |
+
</div>
|
83 |
+
<?php include 'zorem_admin_sidebar.php'; ?>
|
84 |
+
</section>
|
includes/views/zorem_admin_addons_sidebar.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* html code for admin sidebar
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<div class="zorem_admin_sidebar">
|
7 |
+
<div class="zorem_admin_sidebar_inner">
|
8 |
+
<?php $wc_ast_api_key = get_option('wc_ast_api_key'); ?>
|
9 |
+
<div class="zorem-sidebar__section">
|
10 |
+
<h3 class="top-border">Your opinion matters to us!</h3>
|
11 |
+
<p>If you enjoy using The Advanced Shipment Tracking plugin, please take a minute and <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" target="_blank">share your review</a>
|
12 |
+
</p>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div class="zorem-sidebar__section">
|
16 |
+
<h3 class="top-border">More plugins by zorem</h3>
|
17 |
+
<?php
|
18 |
+
$response = wp_remote_get('https://www.zorem.com/wp-json/pluginlist/v1' );
|
19 |
+
if ( is_array( $response ) ) {
|
20 |
+
$plugin_list = json_decode($response['body']);
|
21 |
+
?>
|
22 |
+
<ul>
|
23 |
+
<?php foreach($plugin_list as $plugin){
|
24 |
+
if( 'Advanced Shipment Tracking for WooCommerce' != $plugin->title && 'Tracking Per Item Add-on' != $plugin->title) {
|
25 |
+
?>
|
26 |
+
<li><img class="plugin_thumbnail" src="<?php echo $plugin->image_url; ?>"><a class="plugin_url" href="<?php echo $plugin->url; ?>" target="_blank"><?php echo $plugin->title; ?></a></li>
|
27 |
+
<?php }
|
28 |
+
}?>
|
29 |
+
</ul>
|
30 |
+
<?php } ?>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
</div>
|
includes/views/zorem_admin_sidebar.php
CHANGED
@@ -4,52 +4,55 @@
|
|
4 |
*/
|
5 |
?>
|
6 |
<div class="zorem_admin_sidebar">
|
7 |
-
<div class="
|
8 |
-
|
9 |
-
<
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
</div>
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
<?php foreach($plugin_array as $plugin){ ?>
|
51 |
-
<li><img class="plugin_thumbnail" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/<?php echo $plugin['img']?>"><a class="plugin_url" href="<?php echo $plugin['url']?>" target="_blank"><?php echo $plugin['name']?></a></li>
|
52 |
-
<?php }?>
|
53 |
-
</ul>
|
54 |
-
</div>
|
55 |
</div>
|
4 |
*/
|
5 |
?>
|
6 |
<div class="zorem_admin_sidebar">
|
7 |
+
<div class="zorem_admin_sidebar_inner">
|
8 |
+
<?php $wc_ast_api_key = get_option('wc_ast_api_key'); ?>
|
9 |
+
<div class="zorem-sidebar__section">
|
10 |
+
<h3>AST Add-ons</h3>
|
11 |
+
<div class="sidebar_addon_inner">
|
12 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/Tracking-Per-Item-addon-sidebar.png" class="sidebar_addon_logo">
|
13 |
+
<div class="addon_button_div">
|
14 |
+
<?php if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) { ?>
|
15 |
+
<a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" target="blank" class="button button-primary btn_ast2 addon_widget_button"><?php _e( 'Get This Add-on >', 'woo-advanced-shipment-tracking' ); ?></a>
|
16 |
+
<?php } else{
|
17 |
+
if($this->licence_valid() == 'true'){ ?>
|
18 |
+
<a href="https://www.zorem.com/my-account/manage-license-key/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" class="button button-primary btn_green2 addon_widget_button" target="blank"><?php _e('Active','woo-advanced-shipment-tracking');?> <span class="dashicons dashicons-yes"></span></a>
|
19 |
+
<?php }
|
20 |
+
} ?>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
<div class="sidebar_addon_inner">
|
24 |
+
<img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/trackship-sidebar-addons.png" class="sidebar_addon_logo">
|
25 |
+
<div class="addon_button_div">
|
26 |
+
<?php if(!$wc_ast_api_key){ ?>
|
27 |
+
<a href="https://trackship.info/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" class="button button-primary btn_ast2 addon_widget_button" target="_blank"><span><?php _e( 'Upgrade to PRO', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a>
|
28 |
+
<?php } else{ ?>
|
29 |
+
<a href="https://my.trackship.info/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" class="button button-primary btn_green2 addon_widget_button" target="_blank"><span><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a>
|
30 |
+
<?php } ?>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
</div>
|
34 |
+
<div class="zorem-sidebar__section">
|
35 |
+
<h3 class="top-border">Your opinion matters to us!</h3>
|
36 |
+
<p>If you enjoy using The Advanced Shipment Tracking plugin, please take a minute and <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" target="_blank">share your review</a>
|
37 |
+
</p>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
<div class="zorem-sidebar__section">
|
41 |
+
<h3 class="top-border">More plugins by zorem</h3>
|
42 |
+
<?php
|
43 |
+
$response = wp_remote_get('https://www.zorem.com/wp-json/pluginlist/v1' );
|
44 |
+
if ( is_array( $response ) ) {
|
45 |
+
$plugin_list = json_decode($response['body']);
|
46 |
+
?>
|
47 |
+
<ul>
|
48 |
+
<?php foreach($plugin_list as $plugin){
|
49 |
+
if( 'Advanced Shipment Tracking for WooCommerce' != $plugin->title && 'Tracking Per Item Add-on' != $plugin->title) {
|
50 |
+
?>
|
51 |
+
<li><img class="plugin_thumbnail" src="<?php echo $plugin->image_url; ?>"><a class="plugin_url" href="<?php echo $plugin->url; ?>" target="_blank"><?php echo $plugin->title; ?></a></li>
|
52 |
+
<?php }
|
53 |
+
}?>
|
54 |
+
</ul>
|
55 |
+
<?php } ?>
|
56 |
+
</div>
|
57 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
58 |
</div>
|
includes/views/zorem_admin_ts_sidebar.php
DELETED
@@ -1,37 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* html code for trackip tab sidebar
|
4 |
-
*/
|
5 |
-
?>
|
6 |
-
<div class="zorem_admin_sidebar">
|
7 |
-
<div class="ts_launch zorem-sidebar__section">
|
8 |
-
<img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" alt="" style="max-width: 60%;">
|
9 |
-
|
10 |
-
<p><a href="https://my.trackship.info" target="_blank" class="button button-primary btn_green" target="_blank"><span><?php _e( 'Dashboard', 'woocommerce' ); ?></span><i class="icon-angle-right"></i></a></p>
|
11 |
-
|
12 |
-
<p><a href="https://trackship.info/documentation/" target="_blank" class="button button-primary btn_green" target="_blank"><span><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a></p>
|
13 |
-
</div>
|
14 |
-
|
15 |
-
<div class="zorem-sidebar__section">
|
16 |
-
<h3>More plugins by zorem</h3>
|
17 |
-
<?php
|
18 |
-
$plugin_array = array(
|
19 |
-
array(
|
20 |
-
'name' => 'Shop Manager Admin Bar for WooCommerce',
|
21 |
-
'url' => 'https://wordpress.org/plugins/woo-shop-manager-admin-bar/',
|
22 |
-
'img' => 'woocommerce-shop-manager-admin-bar-thumbnail.jpg',
|
23 |
-
),
|
24 |
-
array(
|
25 |
-
'name' => 'Ajax Login/Register for WooCommerce',
|
26 |
-
'url' => 'https://wordpress.org/plugins/woo-ajax-loginregister/',
|
27 |
-
'img' => 'WooCommerce-Ajax-Login-Register-thumbnail.jpg',
|
28 |
-
),
|
29 |
-
);
|
30 |
-
?>
|
31 |
-
<ul>
|
32 |
-
<?php foreach($plugin_array as $plugin){ ?>
|
33 |
-
<li><img class="plugin_thumbnail" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/<?php echo $plugin['img']?>"><a class="plugin_url" href="<?php echo $plugin['url']?>" target="_blank"><?php echo $plugin['name']?></a></li>
|
34 |
-
<?php }?>
|
35 |
-
</ul>
|
36 |
-
</div>
|
37 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lang/woo-advanced-shipment-tracking-bg_BG.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-bg_BG.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Bulgarian\n"
|
9 |
"Language: bg_BG\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,9 +12,9 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
-
"X-Loco-Version: 2.3.
|
16 |
|
17 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
@@ -23,13 +23,12 @@ msgstr ""
|
|
23 |
"Моля, инсталирайте и активирайте% sWooCommerce% s за усъвършенствано "
|
24 |
"проследяване на пратки в WooCommerce!"
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
msgid "
|
29 |
-
msgstr ""
|
30 |
|
31 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
32 |
-
#: includes/views/admin_options_settings.php:21
|
33 |
#, php-format
|
34 |
msgid ""
|
35 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
@@ -39,489 +38,442 @@ msgid ""
|
|
39 |
"php here or you can manually change all your \"delivered\" order to "
|
40 |
"\"completed\" before deactivating the plugin."
|
41 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
44 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1144
|
45 |
-
msgid "Shipped"
|
46 |
-
msgstr "Доставят"
|
47 |
-
|
48 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:226
|
49 |
-
#, php-format
|
50 |
-
msgid "Shipped <span class=\"count\">(%s)</span>"
|
51 |
-
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
52 |
-
msgstr[0] "Доставя се <span class = \"count\"> (% s) </span>"
|
53 |
-
msgstr[1] "Доставя се <span class = \"count\"> (% s) </span>"
|
54 |
-
|
55 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:240
|
56 |
-
msgid "Change status to shipped"
|
57 |
-
msgstr "Промяна на състоянието на Изпратена"
|
58 |
-
|
59 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:250
|
60 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:279
|
61 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1594
|
62 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1785
|
63 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2190
|
64 |
-
#: includes/customizer/class-wcast-customizer.php:104
|
65 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:115
|
66 |
-
#: includes/views/admin_options_trackship_integration.php:134
|
67 |
-
msgid "Delivered"
|
68 |
-
msgstr "Доставени"
|
69 |
-
|
70 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:255
|
71 |
-
#, php-format
|
72 |
-
msgid "Delivered <span class=\"count\">(%s)</span>"
|
73 |
-
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
74 |
-
msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
|
75 |
-
msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
|
76 |
-
|
77 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:261
|
78 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:290
|
79 |
-
msgid "Updated Tracking"
|
80 |
-
msgstr "Актуализирано проследяване"
|
81 |
-
|
82 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:266
|
83 |
-
#, php-format
|
84 |
-
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
85 |
-
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
86 |
-
msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
87 |
-
msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
88 |
-
|
89 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:320
|
90 |
-
msgid "Change status to delivered"
|
91 |
-
msgstr "Промяна на състоянието на Доставена"
|
92 |
-
|
93 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:523
|
94 |
msgid "Shipment status"
|
95 |
-
msgstr "
|
96 |
|
97 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
98 |
msgid ""
|
99 |
"Get Shipment Status is limited to 100 orders at a time, please select up to "
|
100 |
"100 orders."
|
101 |
msgstr ""
|
|
|
|
|
102 |
|
103 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
104 |
-
|
105 |
-
msgstr "Поръчка"
|
106 |
-
|
107 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:668
|
108 |
-
msgid "Item"
|
109 |
-
msgstr "Вещ"
|
110 |
-
|
111 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:669
|
112 |
-
msgid "Line Item"
|
113 |
-
msgstr "Договорена покупка"
|
114 |
-
|
115 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:670
|
116 |
-
msgid "Class"
|
117 |
-
msgstr "клас"
|
118 |
-
|
119 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
120 |
-
msgid "Delete the selected rates?"
|
121 |
-
msgstr "Изтриване на избраните цени?"
|
122 |
-
|
123 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:672
|
124 |
-
msgid "Duplicate the selected rates?"
|
125 |
-
msgstr "Дали дублира избраните цени?"
|
126 |
-
|
127 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:673
|
128 |
-
msgid "Really want to bulk change all provider status?"
|
129 |
-
msgstr "Наистина ли искате да промените групово целия статус на доставчика?"
|
130 |
-
|
131 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:674
|
132 |
-
#: includes/views/admin_options_settings.php:26
|
133 |
msgid "Data saved successfully."
|
134 |
msgstr "Данните са запазени успешно."
|
135 |
|
136 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
137 |
msgid "Really delete this entry? This will not be undo."
|
138 |
msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
|
139 |
|
140 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
141 |
msgid "You can upload only csv file."
|
142 |
msgstr "Можете да качите само csv файл."
|
143 |
|
144 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
145 |
msgid "This browser does not support HTML5."
|
146 |
msgstr "Този браузър не поддържа HTML5."
|
147 |
|
148 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
149 |
msgid "Please upload a valid CSV file."
|
150 |
msgstr "Моля, качете валиден CSV файл."
|
151 |
|
152 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
153 |
-
#: includes/class-wc-advanced-shipment-tracking-install.php:1587
|
154 |
-
msgid "Advanced Shipment Tracking"
|
155 |
-
msgstr ""
|
156 |
-
|
157 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:736
|
158 |
msgid "Shipping Providers"
|
159 |
msgstr "Доставка доставчици"
|
160 |
|
161 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
162 |
-
msgid "Settings"
|
163 |
-
msgstr "Настройки"
|
164 |
-
|
165 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
166 |
msgid "Bulk Upload"
|
167 |
-
msgstr "
|
168 |
|
169 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
170 |
-
msgid "
|
171 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
|
173 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
msgid "Connected"
|
175 |
msgstr ""
|
176 |
"свързан\n"
|
177 |
|
178 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
179 |
-
|
180 |
-
"
|
181 |
-
"
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
|
|
|
|
|
|
|
|
186 |
|
187 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
188 |
#, php-format
|
189 |
-
msgid ""
|
190 |
-
"
|
191 |
-
"these advanced features."
|
192 |
-
msgstr ""
|
193 |
-
"Трябва да имате профил и да свържете магазина си с% s, за да активирате тези "
|
194 |
-
"разширени функции.\n"
|
195 |
|
196 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
197 |
#, php-format
|
198 |
-
msgid "
|
199 |
-
msgstr ""
|
200 |
-
"50 безплатни Trackers за всеки нов акаунт! Вземете профила си от% s сега >>\n"
|
201 |
-
|
202 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:988
|
203 |
-
msgid "TrackShip Connection Status"
|
204 |
-
msgstr "Състояние на връзката към TrackShip"
|
205 |
|
206 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
207 |
-
#: includes/emails/class-shipment-delivered-email.php:226
|
208 |
msgid "Enable/Disable"
|
209 |
msgstr "Включване / Изключване"
|
210 |
|
211 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
212 |
msgid "Set order status Delivered when order is delivered"
|
213 |
-
msgstr "Задаване на
|
214 |
-
|
215 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1008
|
216 |
-
#, php-format
|
217 |
-
msgid ""
|
218 |
-
"You have %s %s orders that you can track with TrackShip, you can send these "
|
219 |
-
"shipments to TrackShip in Bulk."
|
220 |
-
msgstr ""
|
221 |
-
|
222 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1009
|
223 |
-
msgid "Get Shipment Status"
|
224 |
-
msgstr ""
|
225 |
|
226 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
227 |
msgid ""
|
228 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
229 |
"for the tracking page to work."
|
230 |
msgstr ""
|
|
|
|
|
231 |
|
232 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
233 |
msgid "Select Tracking Page"
|
234 |
-
msgstr ""
|
235 |
-
"Изберете Страница за проследяване\n"
|
236 |
|
237 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
238 |
-
|
239 |
-
msgid "Remove Trackship branding from tracking page"
|
240 |
msgstr ""
|
241 |
-
"
|
|
|
242 |
|
243 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
244 |
-
|
|
|
245 |
msgstr ""
|
246 |
-
"
|
247 |
-
"проследяване на профила ми\n"
|
248 |
|
249 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
250 |
msgid "Select primary color for tracking page"
|
251 |
-
msgstr ""
|
252 |
-
"Изберете основния цвят за страницата за проследяване\n"
|
253 |
|
254 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
255 |
msgid "Select content border color for tracking page"
|
|
|
|
|
|
|
|
|
|
|
256 |
msgstr ""
|
257 |
-
"
|
258 |
|
259 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
260 |
-
msgid ""
|
261 |
-
|
262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
msgstr ""
|
|
|
|
|
264 |
|
265 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
266 |
msgid ""
|
267 |
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
268 |
"will be selected by default when adding tracking info to orders."
|
269 |
msgstr ""
|
|
|
|
|
|
|
270 |
|
271 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
272 |
-
msgid "
|
273 |
-
msgstr "завършен"
|
274 |
-
|
275 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1149
|
276 |
-
msgid ""
|
277 |
-
"Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
|
278 |
-
"state"
|
279 |
msgstr ""
|
|
|
|
|
280 |
|
281 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
282 |
msgid ""
|
283 |
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
284 |
"will be selected by default when adding tracking info to orders."
|
285 |
msgstr ""
|
|
|
|
|
|
|
286 |
|
287 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
288 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
289 |
-
msgstr "Преименувайте
|
290 |
|
291 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
292 |
-
msgid "On which
|
293 |
msgstr ""
|
294 |
-
"
|
295 |
-
"
|
296 |
-
|
297 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1170
|
298 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2192
|
299 |
-
msgid "Cancelled"
|
300 |
-
msgstr "Отменен"
|
301 |
-
|
302 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1171
|
303 |
-
msgid "Customer Invoice"
|
304 |
-
msgstr "Фактура за клиенти"
|
305 |
-
|
306 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1172
|
307 |
-
msgid "Refunded"
|
308 |
-
msgstr "Възстановени"
|
309 |
-
|
310 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
311 |
-
msgid "Processing"
|
312 |
-
msgstr "обработване"
|
313 |
|
314 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
315 |
-
msgid "Failed"
|
316 |
-
msgstr "Се провали"
|
317 |
-
|
318 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1182
|
319 |
msgid "Show tracking info in Invoice"
|
320 |
msgstr "Показване на информация за проследяване във фактура"
|
321 |
|
322 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
323 |
msgid "Show tracking info in Packing Slip"
|
324 |
msgstr "Показване на информация за проследяване в опаковъчен лист"
|
325 |
|
326 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
327 |
-
msgid "Enable
|
328 |
-
msgstr ""
|
329 |
-
"Активиране на ново състояние на персонализираната поръчка - „Доставено“"
|
330 |
|
331 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
332 |
msgid ""
|
333 |
"if you enable the delivered item, you will have the option to send delivered "
|
334 |
"email notifications."
|
335 |
msgstr ""
|
336 |
-
"ако активирате доставения
|
337 |
-
"
|
338 |
|
339 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
340 |
-
msgid "Delivered
|
341 |
-
msgstr "
|
342 |
|
343 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
|
349 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
#: includes/
|
356 |
-
msgid "Edit"
|
357 |
-
msgstr "редактиране"
|
358 |
-
|
359 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1236
|
360 |
msgid ""
|
361 |
-
"
|
362 |
-
"
|
363 |
msgstr ""
|
364 |
-
"
|
|
|
365 |
|
366 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
367 |
-
msgid "
|
368 |
-
msgstr "
|
|
|
369 |
|
370 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
371 |
-
msgid "
|
372 |
-
msgstr "
|
|
|
373 |
|
374 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
375 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
msgid ""
|
377 |
-
"
|
378 |
-
"
|
379 |
-
|
380 |
-
"
|
381 |
-
"
|
382 |
-
|
383 |
-
|
384 |
-
"
|
385 |
-
"
|
386 |
-
|
387 |
-
|
388 |
-
"
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
396 |
-
#: includes/
|
397 |
-
#: includes/customizer/class-
|
398 |
-
#: includes/
|
|
|
399 |
msgid "In Transit"
|
400 |
msgstr "Транзитно"
|
401 |
|
402 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
403 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
404 |
-
#: includes/customizer/class-wcast-customizer.php:
|
405 |
msgid "Pre Transit"
|
406 |
msgstr "Предварително преминаване"
|
407 |
|
408 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
409 |
-
|
410 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
411 |
|
412 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
413 |
-
#: includes/
|
414 |
-
#: includes/customizer/class-
|
415 |
-
#: includes/
|
|
|
416 |
msgid "Available For Pickup"
|
417 |
msgstr "Предлага се за пикап"
|
418 |
|
419 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
420 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
421 |
-
#: includes/customizer/class-wcast-customizer.php:
|
422 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
423 |
-
#: includes/views/
|
424 |
msgid "Return To Sender"
|
425 |
msgstr "Върнете се към подателя"
|
426 |
|
427 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
428 |
-
|
429 |
-
|
430 |
-
|
|
|
|
|
|
|
431 |
|
432 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
433 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
434 |
msgid "Unknown"
|
435 |
-
msgstr ""
|
436 |
-
"неизвестен\n"
|
437 |
|
438 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
439 |
msgid "Pending TrackShip"
|
440 |
-
msgstr ""
|
441 |
-
"В очакване на TrackShip\n"
|
442 |
|
443 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
444 |
-
|
445 |
-
|
446 |
-
"
|
447 |
|
448 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
449 |
-
|
450 |
-
|
|
|
451 |
|
452 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
453 |
msgid "Invalid User Key"
|
454 |
-
msgstr ""
|
455 |
|
456 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
457 |
-
msgid "
|
458 |
-
msgstr "
|
459 |
|
460 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
461 |
msgid "Shipped Order"
|
462 |
-
msgstr "
|
463 |
|
464 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
465 |
msgid "Mark order as delivered"
|
466 |
msgstr "Маркирайте поръчката като доставена"
|
467 |
|
468 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
469 |
msgid "Add Tracking"
|
470 |
-
msgstr ""
|
471 |
|
472 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
473 |
msgid "Change order status to"
|
474 |
msgstr "Промяна на състоянието на поръчката на"
|
475 |
|
476 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
477 |
-
#: includes/views/admin_options_shipping_provider.php:
|
478 |
#, php-format
|
479 |
msgid "You don't have any %s shipping providers."
|
480 |
msgstr "Нямате доставчици за доставки на% s."
|
481 |
|
482 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
483 |
-
#: includes/
|
484 |
-
|
485 |
-
|
486 |
-
msgstr "Разгледайте детайлите"
|
487 |
-
|
488 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2146
|
489 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2158
|
490 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2170
|
491 |
-
msgid "hide details"
|
492 |
-
msgstr "скрий подробности"
|
493 |
-
|
494 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2188
|
495 |
-
msgid "Available for Pickup"
|
496 |
-
msgstr ""
|
497 |
-
|
498 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2189
|
499 |
-
msgid "Out for Delivery"
|
500 |
-
msgstr ""
|
501 |
-
|
502 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2191
|
503 |
-
#: includes/customizer/class-wcast-customizer.php:112
|
504 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:113
|
505 |
-
#: includes/views/admin_options_trackship_integration.php:149
|
506 |
-
msgid "Failed Attempt"
|
507 |
-
msgstr "Неуспешен опит"
|
508 |
-
|
509 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2193
|
510 |
-
msgid "Carrier Unsupported"
|
511 |
-
msgstr ""
|
512 |
-
|
513 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2195
|
514 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:457
|
515 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:813
|
516 |
-
msgid "Invalid Tracking Number"
|
517 |
-
msgstr ""
|
518 |
-
"Невалиден номер за проследяване\n"
|
519 |
|
520 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
521 |
msgid "Filter by shipment status"
|
522 |
-
msgstr ""
|
523 |
|
524 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
525 |
msgid ""
|
526 |
"To track your order please enter your Order ID in the box below and press "
|
527 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
@@ -531,189 +483,358 @@ msgstr ""
|
|
531 |
"долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
|
532 |
"в имейла за потвърждение, който трябваше да получите.\n"
|
533 |
|
534 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
535 |
-
|
536 |
-
msgstr ""
|
537 |
-
"ID на поръчката\n"
|
538 |
-
|
539 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:139
|
540 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:140
|
541 |
msgid "Found in your order confirmation email."
|
542 |
msgstr ""
|
543 |
"Намерен в имейла за потвърждение на поръчката.\n"
|
544 |
|
545 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
546 |
msgid "Order Email"
|
547 |
msgstr ""
|
548 |
"Имейл за поръчка\n"
|
549 |
|
550 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
551 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
552 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
553 |
-
#: includes/class-wc-
|
554 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
555 |
-
#:
|
556 |
-
#:
|
557 |
-
#: templates/emails/tracking-info.php:152
|
558 |
-
#: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
|
559 |
msgid "Track"
|
560 |
msgstr "път"
|
561 |
|
562 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
563 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
564 |
#, php-format
|
565 |
msgid "Shipment - %s (out of %s)"
|
566 |
msgstr ""
|
567 |
"Пратка -% s (от% s)\n"
|
568 |
|
569 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
570 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
571 |
-
msgid "
|
572 |
-
msgstr "
|
573 |
|
574 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
575 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
576 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
577 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
578 |
-
|
579 |
-
|
|
|
|
|
|
|
580 |
|
581 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
582 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
583 |
msgid "Tracking Details"
|
584 |
msgstr "Детайли за проследяване"
|
585 |
|
586 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
587 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
588 |
msgid "view more"
|
589 |
msgstr "Виж повече"
|
590 |
|
591 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
592 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
593 |
msgid "view less"
|
594 |
msgstr "вижте по-малко"
|
595 |
|
596 |
-
|
597 |
-
#: includes/class-wc-advanced-shipment-tracking
|
598 |
-
|
599 |
-
msgid ""
|
600 |
-
"We added many improvements to %1$s, please help and give us a review :) "
|
601 |
-
"Thanks!"
|
602 |
-
msgstr ""
|
603 |
-
"Добавихме много подобрения към% 1 $ s, моля, помогнете и ни дайте преглед :) "
|
604 |
-
"Благодаря!"
|
605 |
-
|
606 |
-
#: includes/class-wc-advanced-shipment-tracking.php:93
|
607 |
-
#: includes/class-wc-advanced-shipment-tracking.php:244
|
608 |
-
#: includes/customizer/class-wcast-customizer.php:30
|
609 |
msgid "Shipment Tracking"
|
610 |
msgstr "Проследяване на пратките"
|
611 |
|
612 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
613 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
614 |
-
|
615 |
-
|
|
|
616 |
|
617 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
618 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
619 |
-
|
620 |
-
|
|
|
621 |
|
622 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
623 |
msgid "Add Tracking Number"
|
624 |
-
msgstr ""
|
625 |
|
626 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
627 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
628 |
msgid "Provider:"
|
629 |
msgstr "доставчик на:"
|
630 |
|
631 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
632 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
633 |
msgid "Tracking number:"
|
634 |
msgstr "Номер за проследяване:"
|
635 |
|
636 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
637 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
638 |
msgid "Date shipped:"
|
639 |
msgstr "Дата на изпращане:"
|
640 |
|
641 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
642 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
643 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
644 |
-
|
645 |
-
|
646 |
-
|
|
|
|
|
|
|
|
|
|
|
647 |
|
648 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
649 |
-
#:
|
650 |
-
msgid "
|
651 |
-
msgstr "
|
652 |
|
653 |
#. 1: shipping date
|
654 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
655 |
-
#: templates/pip/tracking-info.php:29
|
656 |
#, php-format
|
657 |
msgid "Shipped on %s"
|
658 |
msgstr "Изпратено на% s"
|
659 |
|
660 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
661 |
-
msgid "Delete"
|
662 |
-
msgstr "Изтрий"
|
663 |
-
|
664 |
-
#: includes/class-wc-advanced-shipment-tracking.php:365
|
665 |
msgid "Add Tracking Info"
|
666 |
msgstr "Добавяне на информация за проследяване"
|
667 |
|
668 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
669 |
msgid "Select Provider"
|
670 |
msgstr "Изберете Доставчик"
|
671 |
|
672 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
673 |
msgid "Save Tracking"
|
674 |
msgstr "Запазване на проследяването"
|
675 |
|
676 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
677 |
msgid "Preview:"
|
678 |
msgstr "Преглед:"
|
679 |
|
680 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
681 |
-
|
682 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
683 |
|
684 |
-
#: includes/customizer/class-wcast-customizer.php:
|
685 |
msgid "Shipment Status Emails"
|
686 |
msgstr "Имейли за състоянието на пратката"
|
687 |
|
688 |
-
#: includes/customizer/class-wcast-customizer.php:
|
689 |
msgid "Tracking info display"
|
690 |
msgstr ""
|
691 |
"Показване на информация за проследяване\n"
|
692 |
|
693 |
-
#: includes/customizer/class-wcast-customizer.php:
|
694 |
-
|
695 |
-
|
696 |
-
"
|
697 |
-
"за проследяване."
|
698 |
|
699 |
-
#: includes/customizer/class-wcast-customizer.php:
|
700 |
-
#: includes/customizer/class-wc-
|
701 |
-
|
702 |
-
|
|
|
|
|
|
|
|
|
703 |
msgstr ""
|
704 |
-
"
|
705 |
|
706 |
-
#: includes/customizer/class-wcast-customizer.php:
|
707 |
msgid "Select order to preview"
|
708 |
msgstr ""
|
709 |
"Изберете поръчка за визуализация\n"
|
710 |
|
711 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
712 |
msgid "Your order #{order_number} is available for pickup"
|
713 |
msgstr ""
|
714 |
"Вашата поръчка # {order_number} е достъпна за приемане\n"
|
715 |
|
716 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
717 |
msgid ""
|
718 |
"Hi there. we thought you'd like to know that your recent order from "
|
719 |
"{site_title} is available for pickup."
|
@@ -721,225 +842,177 @@ msgstr ""
|
|
721 |
"Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
|
722 |
"{site_title} е достъпна за приемане."
|
723 |
|
724 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
725 |
msgid "Available For Pickup shipment status email"
|
726 |
msgstr ""
|
727 |
"Наличен за статус на пратка за доставка\n"
|
728 |
|
729 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
730 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
731 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
732 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
733 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
734 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
735 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
736 |
msgid "This section lets you customize the Email Content."
|
737 |
msgstr ""
|
738 |
"Този раздел ви позволява да персонализирате съдържанието на електронната "
|
739 |
"поща."
|
740 |
|
741 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
742 |
msgid "Enable Available For Pickup shipment status email"
|
743 |
msgstr ""
|
744 |
"Активиране на имейла за статуса на пратката на разположение за получаване"
|
745 |
|
746 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
747 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
748 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
749 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
750 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
751 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
752 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
753 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
754 |
msgid "Preview order"
|
755 |
msgstr ""
|
756 |
"Преглед на поръчката\n"
|
757 |
|
758 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
759 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
760 |
-
#: includes/customizer/class-wc-
|
761 |
-
#: includes/customizer/class-wc-
|
762 |
-
#: includes/customizer/class-wc-
|
763 |
-
#: includes/customizer/class-wc-
|
764 |
-
|
765 |
-
msgstr "Да се"
|
766 |
-
|
767 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
|
768 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:200
|
769 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:197
|
770 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:200
|
771 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
|
772 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:201
|
773 |
-
msgid ""
|
774 |
-
"Enter emails here or use variables such as {customer_email}. Multiple emails "
|
775 |
-
"can be separated by commas."
|
776 |
-
msgstr ""
|
777 |
-
"Въведете имейли тук или използвайте променливи като {customer_email}. "
|
778 |
-
"Няколко имейла могат да бъдат разделени със запетаи."
|
779 |
-
|
780 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
|
781 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:206
|
782 |
-
#: includes/customizer/class-wc-email-customizer.php:218
|
783 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
784 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:206
|
785 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
786 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:207
|
787 |
msgid "E.g. {customer.email}, admin@example.org"
|
788 |
msgstr "E.g. {customer.email}, admin@example.org"
|
789 |
|
790 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
791 |
-
#: includes/customizer/class-wc-
|
792 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
793 |
-
#: includes/customizer/class-wc-
|
794 |
-
#: includes/customizer/class-wc-
|
795 |
-
#: includes/customizer/class-wc-
|
796 |
-
#: includes/customizer/class-wc-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
#: includes/customizer/class-wc-
|
801 |
-
#: includes/customizer/class-wc-
|
802 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:222
|
803 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:244
|
804 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:219
|
805 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:241
|
806 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:222
|
807 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:244
|
808 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
|
809 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
|
810 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:223
|
811 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:245
|
812 |
msgid "Available placeholders: {site_title}, {order_number}"
|
813 |
msgstr "Налични резерви: {site_title}, {order_number}"
|
814 |
|
815 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
816 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
817 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
818 |
-
#: includes/customizer/class-wc-
|
819 |
-
#: includes/customizer/class-wc-
|
820 |
-
#: includes/customizer/class-wc-
|
821 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:229
|
822 |
-
msgid "Please enter email subject here"
|
823 |
-
msgstr "Моля, въведете тук имейл"
|
824 |
-
|
825 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
|
826 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:243
|
827 |
-
#: includes/customizer/class-wc-email-customizer.php:257
|
828 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:240
|
829 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:243
|
830 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
|
831 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:244
|
832 |
-
#: includes/emails/class-shipment-delivered-email.php:250
|
833 |
-
msgid "Email heading"
|
834 |
-
msgstr "Заглавие на имейла"
|
835 |
-
|
836 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
|
837 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:250
|
838 |
-
#: includes/customizer/class-wc-email-customizer.php:264
|
839 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:247
|
840 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:250
|
841 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
|
842 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
843 |
-
msgid "Please enter email heading here"
|
844 |
-
msgstr "Моля, въведете имейл адреса тук"
|
845 |
-
|
846 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
|
847 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:265
|
848 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:262
|
849 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:265
|
850 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
|
851 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:266
|
852 |
msgid "Show tracking details"
|
853 |
msgstr ""
|
854 |
"Показване на подробности за проследяването\n"
|
855 |
|
856 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
857 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
858 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
859 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
860 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
861 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
862 |
msgid "Show order details"
|
863 |
msgstr ""
|
864 |
"Показване на подробности за поръчката\n"
|
865 |
|
866 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
867 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
868 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
869 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
870 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
871 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
872 |
msgid "Show billing address"
|
873 |
msgstr ""
|
874 |
"Показване на адрес за фактуриране\n"
|
875 |
|
876 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
877 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
878 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
879 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
880 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
881 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
882 |
msgid "Show shipping address"
|
883 |
msgstr ""
|
884 |
"Показване на адреса за доставка\n"
|
885 |
|
886 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
887 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
888 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
889 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
890 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
891 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
892 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
893 |
msgid "Google Analytics link tracking"
|
894 |
-
msgstr ""
|
895 |
-
|
896 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
897 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
898 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
899 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
900 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
901 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
902 |
msgid "This will be appended to URL in the email content"
|
903 |
-
msgstr ""
|
904 |
-
|
905 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
906 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
907 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
908 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
909 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
910 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
911 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
912 |
msgid "Email content"
|
913 |
msgstr "Съдържание на имейла"
|
914 |
|
915 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
916 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
917 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
918 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
919 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
920 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
921 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
922 |
msgid "Available placeholders"
|
923 |
msgstr ""
|
924 |
"Налични места\n"
|
925 |
|
926 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
927 |
-
#: includes/customizer/class-wc-
|
928 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
929 |
-
#: includes/customizer/class-wc-
|
930 |
-
#: includes/customizer/class-wc-
|
931 |
-
#: includes/customizer/class-wc-
|
932 |
-
#: includes/customizer/class-wc-
|
933 |
-
#: includes/customizer/class-wc-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
939 |
msgid "Your order #{order_number} has been delivered"
|
940 |
-
msgstr ""
|
941 |
|
942 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
|
|
943 |
msgid ""
|
944 |
"Hi there. we thought you'd like to know that your recent order from "
|
945 |
"{site_title} has been Delivered."
|
@@ -947,92 +1020,83 @@ msgstr ""
|
|
947 |
"Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
|
948 |
"{site_title} е била Доставена."
|
949 |
|
950 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
951 |
msgid "Delivered shipment status email"
|
952 |
msgstr "Предоставен е имейл за състоянието на пратката"
|
953 |
|
954 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
955 |
msgid "Enable Delivered shipment status email"
|
956 |
msgstr "Активиране на имейла за състоянието на доставената пратка"
|
957 |
|
958 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
959 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
960 |
msgid "Your {site_title} order is now delivered"
|
961 |
msgstr "Поръчката ви {site_title} вече е доставена"
|
962 |
|
963 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
964 |
-
#: includes/emails/class-shipment-delivered-email.php:102
|
965 |
-
msgid "Thanks for shopping with us"
|
966 |
-
msgstr ""
|
967 |
-
"Благодаря, че пазарувате с нас\n"
|
968 |
-
|
969 |
-
#: includes/customizer/class-wc-email-customizer.php:124
|
970 |
-
msgid "Hi there. Your recent order on {site_title} has been delivered."
|
971 |
-
msgstr ""
|
972 |
-
"Здрасти. Вашата скорошна поръчка на {site_title} е доставена.\n"
|
973 |
-
|
974 |
-
#: includes/customizer/class-wc-email-customizer.php:171
|
975 |
msgid "Enable Delivered order status email"
|
976 |
msgstr "Активиране на имейл съобщението за състоянието на поръчката"
|
977 |
|
978 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
979 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
980 |
msgid "Please select a order..."
|
981 |
msgstr ""
|
982 |
"Моля, изберете поръчка ...\n"
|
983 |
|
984 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
989 |
-
|
990 |
-
"Enter emails use variables such as {customer_email}. Multiple emails can be "
|
991 |
-
"separated by commas."
|
992 |
-
msgstr ""
|
993 |
-
|
994 |
-
#: includes/customizer/class-wc-email-customizer.php:235
|
995 |
-
#: includes/customizer/class-wc-email-customizer.php:258
|
996 |
msgid "Available variables: {site_title}, {order_number}"
|
997 |
-
msgstr ""
|
998 |
|
999 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
|
|
|
|
1000 |
msgid ""
|
1001 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
1002 |
"{customer_last_name}, {customer_username}, {order_number}"
|
1003 |
msgstr ""
|
|
|
|
|
1004 |
|
1005 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1006 |
msgid "Display tracking details"
|
1007 |
-
msgstr ""
|
1008 |
|
1009 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1010 |
msgid "Display order details"
|
1011 |
-
msgstr ""
|
1012 |
|
1013 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1014 |
msgid "Display Shipping Address"
|
1015 |
-
msgstr ""
|
1016 |
|
1017 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1018 |
msgid "Display Billing Address"
|
1019 |
-
msgstr ""
|
1020 |
|
1021 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1022 |
msgid "Enable Google Analytics tracking"
|
1023 |
-
msgstr ""
|
1024 |
|
1025 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1026 |
msgid ""
|
1027 |
"This will be appended to URL in the email content – e.g. "
|
1028 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1029 |
msgstr ""
|
|
|
|
|
1030 |
|
1031 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1032 |
msgid "Your order #{order_number} is Failed Attempt"
|
1033 |
msgstr "Вашата поръчка № {order_number} е неуспешен опит"
|
1034 |
|
1035 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1036 |
msgid ""
|
1037 |
"Hi there. we thought you'd like to know that your recent order from "
|
1038 |
"{site_title} is Failed Attempt"
|
@@ -1040,20 +1104,20 @@ msgstr ""
|
|
1040 |
"Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
|
1041 |
"{site_title} е неуспешен опит"
|
1042 |
|
1043 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1044 |
msgid "Failed Attempt shipment status email"
|
1045 |
msgstr "Неуспешен опит за опит за изпращане на имейл"
|
1046 |
|
1047 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1048 |
msgid "Enable Failed Attempt shipment status email"
|
1049 |
msgstr "Активирайте имейла за неуспешен опит за пратка"
|
1050 |
|
1051 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1052 |
msgid "Your order #{order_number} is in transit"
|
1053 |
msgstr ""
|
1054 |
"Вашата поръчка # {order_number} е в транзит\n"
|
1055 |
|
1056 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1057 |
msgid ""
|
1058 |
"Hi there. we thought you'd like to know that your recent order from "
|
1059 |
"{site_title} is in transit"
|
@@ -1061,21 +1125,21 @@ msgstr ""
|
|
1061 |
"Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
|
1062 |
"{site_title} е в транзит"
|
1063 |
|
1064 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1065 |
msgid "In Transit shipment status email"
|
1066 |
msgstr ""
|
1067 |
"Електронна поща за статуса на транзитния транзит\n"
|
1068 |
|
1069 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1070 |
msgid "Enable In Transit shipment status email"
|
1071 |
msgstr "Активиране на имейла за статуса на пратка в транзит"
|
1072 |
|
1073 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1074 |
msgid "Your order #{order_number} is out for delivery"
|
1075 |
msgstr ""
|
1076 |
"Вашата поръчка # {order_number} е за доставка\n"
|
1077 |
|
1078 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1079 |
msgid ""
|
1080 |
"Hi there. we thought you'd like to know that your recent order from "
|
1081 |
"{site_title} is out for delivery."
|
@@ -1083,21 +1147,21 @@ msgstr ""
|
|
1083 |
"Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
|
1084 |
"{site_title} е за доставка.\n"
|
1085 |
|
1086 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1087 |
msgid "Out For Delivery shipment status email"
|
1088 |
msgstr "Out за доставка на пратка статус имейл"
|
1089 |
|
1090 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1091 |
msgid "Enable Out For Delivery shipment status email"
|
1092 |
msgstr ""
|
1093 |
"Активиране на имейла за състоянието на пратката за доставка\n"
|
1094 |
|
1095 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1096 |
msgid "Your order #{order_number} has returned to sender"
|
1097 |
msgstr ""
|
1098 |
"Вашата поръчка # {order_number} се върна на подателя\n"
|
1099 |
|
1100 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1101 |
msgid ""
|
1102 |
"Hi there. we thought you'd like to know that your recent order from "
|
1103 |
"{site_title} has been returned to sender."
|
@@ -1105,286 +1169,306 @@ msgstr ""
|
|
1105 |
"Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
|
1106 |
"{site_title} е върната на подателя.\n"
|
1107 |
|
1108 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1109 |
msgid "Return To Sender shipment status email"
|
1110 |
msgstr "Връщане в имейла за състоянието на пратката на подателя"
|
1111 |
|
1112 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1113 |
msgid "Enable Return To Sender shipment status email"
|
1114 |
msgstr "Активиране на имейла за състоянието на изпращане на изпращача"
|
1115 |
|
1116 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1117 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1118 |
-
#:
|
1119 |
-
#: templates/
|
1120 |
msgid "Provider"
|
1121 |
msgstr "доставчик"
|
1122 |
|
1123 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1124 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1125 |
-
#:
|
1126 |
-
#: templates/
|
1127 |
-
#: templates/myaccount/view-order.php:111
|
1128 |
msgid "Tracking Number"
|
1129 |
msgstr "Номер за проследяване"
|
1130 |
|
1131 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1132 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1133 |
msgid "Shipped Date"
|
1134 |
msgstr ""
|
1135 |
"Дата на изпращане\n"
|
1136 |
|
1137 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1138 |
-
msgid ""
|
1139 |
-
"select from last 20 orders one order that you added tracking info in order "
|
1140 |
-
"to preview and design the tracking info table."
|
1141 |
msgstr ""
|
1142 |
-
"
|
1143 |
-
"
|
1144 |
-
"информационната таблица за проследяване.\n"
|
1145 |
|
1146 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1147 |
msgid "Tracking Display Position"
|
1148 |
msgstr "Проследяване на позицията на дисплея"
|
1149 |
|
1150 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1151 |
msgid "Before Order Details"
|
1152 |
msgstr "Преди подробности за поръчката"
|
1153 |
|
1154 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1155 |
msgid "After Order Details"
|
1156 |
msgstr "След подробности за поръчката"
|
1157 |
|
1158 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1159 |
-
msgid "
|
1160 |
-
msgstr "
|
|
|
1161 |
|
1162 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1163 |
-
#: templates/pip/tracking-info.php:17
|
1164 |
msgid "Tracking Information"
|
1165 |
msgstr "Информация за проследяване"
|
1166 |
|
1167 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1168 |
msgid "Additional text after header"
|
1169 |
msgstr "Допълнителен текст след заглавието"
|
1170 |
|
1171 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1172 |
msgid "Table Layout"
|
1173 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1174 |
|
1175 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1176 |
-
msgid "
|
1177 |
-
msgstr "
|
|
|
1178 |
|
1179 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1180 |
-
msgid "
|
1181 |
-
msgstr "
|
1182 |
|
1183 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1184 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1185 |
msgstr "Текст на заглавката на доставчика"
|
1186 |
|
1187 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1188 |
-
msgid "Tracking Number
|
1189 |
-
msgstr "Текст на заглавния номер на
|
1190 |
|
1191 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1192 |
-
msgid "
|
1193 |
-
msgstr "
|
|
|
1194 |
|
1195 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1196 |
msgid "Track Label"
|
1197 |
msgstr "Етикет за проследяване"
|
1198 |
|
1199 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1200 |
-
msgid "Track
|
1201 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
1202 |
|
1203 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1204 |
-
msgid "
|
1205 |
msgstr ""
|
1206 |
-
"
|
|
|
|
|
|
|
|
|
1207 |
|
1208 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1209 |
msgid "Padding"
|
1210 |
msgstr ""
|
1211 |
"подложка\n"
|
1212 |
|
1213 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1214 |
msgid "Background color"
|
1215 |
msgstr "Цвят на фона"
|
1216 |
|
1217 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1218 |
msgid "Border color"
|
1219 |
msgstr "Цвят на границата"
|
1220 |
|
1221 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1222 |
msgid "Border size"
|
1223 |
msgstr "Размер на границата"
|
1224 |
|
1225 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1226 |
-
|
1227 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:511
|
1228 |
-
msgid "Select"
|
1229 |
-
msgstr "Изберете"
|
1230 |
-
|
1231 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:499
|
1232 |
-
msgid "Table text align"
|
1233 |
-
msgstr "Подравняване на текста на таблицата"
|
1234 |
-
|
1235 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:504
|
1236 |
-
msgid "Left"
|
1237 |
msgstr ""
|
1238 |
-
"
|
1239 |
|
1240 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1241 |
-
msgid "
|
1242 |
msgstr ""
|
1243 |
-
"
|
1244 |
-
|
1245 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:506
|
1246 |
-
msgid "Center"
|
1247 |
-
msgstr "център"
|
1248 |
-
|
1249 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:525
|
1250 |
-
msgid "Table header font size"
|
1251 |
-
msgstr "Размер на шрифта на заглавката на таблицата"
|
1252 |
|
1253 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1254 |
-
msgid "
|
1255 |
-
msgstr "
|
1256 |
-
|
1257 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:560
|
1258 |
-
msgid "Table content font size"
|
1259 |
-
msgstr "Размер на шрифта на съдържанието на таблицата"
|
1260 |
-
|
1261 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:577
|
1262 |
-
msgid "Table content font color"
|
1263 |
-
msgstr "Цвят на шрифта на съдържанието на таблицата"
|
1264 |
|
1265 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1266 |
msgid "Content line height"
|
1267 |
msgstr ""
|
1268 |
"Височина на линията на съдържанието\n"
|
1269 |
|
1270 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1271 |
msgid "Content font weight"
|
1272 |
msgstr ""
|
1273 |
"Тегло на шрифта на съдържанието\n"
|
1274 |
|
1275 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1276 |
-
msgid "
|
1277 |
-
msgstr "Проследяване на връзката"
|
1278 |
-
|
1279 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:650
|
1280 |
-
msgid "Track Link Font Color"
|
1281 |
-
msgstr "Цвят на шрифта за връзка"
|
1282 |
-
|
1283 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:666
|
1284 |
-
msgid "Track Link Background Color"
|
1285 |
-
msgstr "Цвят на фона на проследяване на връзката"
|
1286 |
-
|
1287 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:681
|
1288 |
-
msgid "Track link Border"
|
1289 |
-
msgstr "Проследяване на връзката Граница"
|
1290 |
-
|
1291 |
-
#: includes/customizer/class-wc-tracking-page-customizer.php:167
|
1292 |
-
msgid "Header Color"
|
1293 |
msgstr ""
|
1294 |
-
"
|
1295 |
|
1296 |
-
#: includes/customizer/class-wc-tracking-
|
1297 |
-
msgid "
|
1298 |
msgstr ""
|
1299 |
-
"Цвят на
|
1300 |
|
1301 |
-
#: includes/customizer/class-wc-tracking-
|
1302 |
-
msgid "
|
1303 |
msgstr ""
|
1304 |
-
"Цвят на
|
1305 |
|
1306 |
-
#: includes/customizer/class-wc-tracking-
|
1307 |
-
msgid "
|
1308 |
msgstr ""
|
1309 |
-
"
|
1310 |
|
1311 |
-
#: includes/customizer/class-wc-tracking-
|
1312 |
-
msgid "
|
|
|
|
|
1313 |
msgstr ""
|
1314 |
-
"
|
1315 |
-
|
1316 |
-
|
1317 |
-
msgid "Tracking details Border Color"
|
1318 |
-
msgstr "Подробности за проследяване Цвят на рамката"
|
1319 |
|
1320 |
-
#: includes/customizer/class-wc-
|
1321 |
-
msgid "
|
1322 |
-
msgstr "
|
1323 |
|
1324 |
-
#: includes/customizer/class-wc-
|
1325 |
-
msgid "Tracking events font color"
|
1326 |
-
msgstr "Цвят на шрифта за проследяване на събития"
|
1327 |
-
|
1328 |
-
#: includes/customizer/class-wc-tracking-page-customizer.php:295
|
1329 |
-
msgid "Tracking info table margin top/bottom(px)"
|
1330 |
-
msgstr "Област на информационната таблица за проследяване отгоре / отдолу (px)"
|
1331 |
-
|
1332 |
-
#: includes/emails/class-shipment-delivered-email.php:32
|
1333 |
-
msgid "Delivered order"
|
1334 |
-
msgstr ""
|
1335 |
-
|
1336 |
-
#: includes/emails/class-shipment-delivered-email.php:33
|
1337 |
msgid ""
|
1338 |
-
"
|
1339 |
-
"
|
1340 |
-
msgstr ""
|
1341 |
-
|
1342 |
-
#: includes/emails/class-shipment-delivered-email.php:228
|
1343 |
-
msgid "Enable this email notification"
|
1344 |
msgstr ""
|
|
|
|
|
1345 |
|
1346 |
-
#: includes/
|
1347 |
-
msgid "
|
1348 |
-
msgstr ""
|
1349 |
|
1350 |
-
|
1351 |
-
|
1352 |
-
#, php-format
|
1353 |
-
msgid "Enter recipients (comma separated) for this email. Defaults to %s."
|
1354 |
msgstr ""
|
|
|
1355 |
|
1356 |
-
#: includes/
|
1357 |
-
msgid "
|
|
|
|
|
1358 |
msgstr ""
|
|
|
|
|
1359 |
|
1360 |
-
|
1361 |
-
|
1362 |
-
#: includes/emails/class-shipment-delivered-email.php:254
|
1363 |
-
#, php-format
|
1364 |
-
msgid "Available placeholders: %s"
|
1365 |
msgstr ""
|
|
|
1366 |
|
1367 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1368 |
-
msgid "
|
1369 |
-
msgstr ""
|
1370 |
|
1371 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1372 |
-
msgid "
|
|
|
|
|
1373 |
msgstr ""
|
|
|
|
|
1374 |
|
1375 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1376 |
-
msgid "
|
1377 |
-
msgstr ""
|
1378 |
|
1379 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1380 |
msgid "Edit in customizer"
|
1381 |
-
msgstr ""
|
1382 |
|
1383 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1384 |
msgid "Upload CSV"
|
1385 |
msgstr "Качете CSV"
|
1386 |
|
1387 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1388 |
msgid ""
|
1389 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1390 |
"added)"
|
@@ -1392,155 +1476,324 @@ msgstr ""
|
|
1392 |
"Да се промени ли информацията за проследяване, ако съществува? (ако не е "
|
1393 |
"отметнато, информацията за проследяване ще бъде добавена)"
|
1394 |
|
1395 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1396 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1397 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1398 |
msgid "Upload"
|
1399 |
msgstr "Качи"
|
1400 |
|
1401 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1402 |
-
#: includes/views/admin_options_trackship_integration.php:27
|
1403 |
-
#: includes/views/admin_options_trackship_integration.php:45
|
1404 |
msgid "Settings Saved."
|
1405 |
msgstr "Настройките са запазени."
|
1406 |
|
1407 |
-
#: includes/views/admin_options_bulk_upload.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1408 |
msgid "You can download an example of the csv file:"
|
1409 |
msgstr "Можете да изтеглите пример за csv файл:"
|
1410 |
|
1411 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1412 |
msgid "Download sample csv file"
|
1413 |
msgstr "Изтеглете примерния файл csv"
|
1414 |
|
1415 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1416 |
msgid ""
|
1417 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1418 |
msgstr ""
|
1419 |
"За подробни инструкции за това как да качите информация за проследяване в "
|
1420 |
"насипно състояние, вижте нашата"
|
1421 |
|
1422 |
-
#: includes/views/
|
1423 |
-
|
1424 |
-
|
|
|
1425 |
|
1426 |
-
#: includes/views/
|
1427 |
-
|
1428 |
-
|
|
|
|
|
|
|
1429 |
|
1430 |
-
#: includes/views/admin_options_settings.php:
|
1431 |
-
|
1432 |
-
|
1433 |
-
msgstr "Общ"
|
1434 |
|
1435 |
-
#: includes/views/admin_options_settings.php:
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
|
|
|
|
|
|
|
|
|
|
1439 |
|
1440 |
-
#: includes/views/admin_options_settings.php:
|
1441 |
-
msgid "
|
1442 |
msgstr ""
|
1443 |
-
"
|
1444 |
|
1445 |
-
#: includes/views/admin_options_settings.php:
|
1446 |
-
#: includes/views/
|
1447 |
-
|
1448 |
-
|
|
|
|
|
1449 |
|
1450 |
-
#: includes/views/admin_options_settings.php:
|
1451 |
-
#: includes/views/
|
1452 |
-
#: includes/views/
|
1453 |
-
msgid "
|
1454 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1455 |
|
1456 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1457 |
msgid "Add Custom Shipping Provider"
|
1458 |
msgstr "Добавете Потребителски доставчик"
|
1459 |
|
1460 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1461 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1462 |
-
msgid "
|
1463 |
msgstr "Страна на доставка"
|
1464 |
|
1465 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1466 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1467 |
msgid "Global"
|
1468 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
1469 |
|
1470 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1471 |
msgid "Edit Custom Shipping Provider"
|
1472 |
msgstr "Редактиране на доставчик по поръчка"
|
1473 |
|
1474 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
|
1483 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1484 |
msgid "Providers Added"
|
1485 |
msgstr "Доставчиците са добавени"
|
1486 |
|
1487 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1488 |
msgid "Providers Updated"
|
1489 |
msgstr "Актуализирани доставчици"
|
1490 |
|
1491 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1492 |
msgid "Providers Deleted"
|
1493 |
msgstr "Доставчиците са изтрити"
|
1494 |
|
1495 |
-
#: includes/views/
|
1496 |
-
|
1497 |
-
msgstr "Близо"
|
1498 |
-
|
1499 |
-
#: includes/views/admin_options_trackship_integration.php:13
|
1500 |
-
#: includes/views/admin_options_trackship_integration.php:35
|
1501 |
msgid "Tracking Page"
|
1502 |
msgstr "Страница за проследяване"
|
1503 |
|
1504 |
-
#: includes/views/admin_options_trackship_integration.php:
|
1505 |
msgid "Shipment Status Notifications"
|
1506 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1507 |
|
1508 |
-
#: includes/views/
|
1509 |
-
msgid "
|
1510 |
-
msgstr "
|
1511 |
|
1512 |
-
#: includes/views/
|
1513 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1514 |
msgstr ""
|
1515 |
-
"
|
1516 |
|
1517 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1518 |
msgid "Shipment Status Notifications "
|
1519 |
msgstr "Известия за състоянието на пратката"
|
1520 |
|
1521 |
-
#: includes/views/
|
1522 |
msgid ""
|
1523 |
"Carrier has accepted or picked up shipment from shipper. The shipment is on "
|
1524 |
"the way."
|
1525 |
msgstr "Превозвачът е приел или взел пратка от изпращача. Пратката е на път."
|
1526 |
|
1527 |
-
#: includes/views/
|
1528 |
msgid "Shipment is returned to sender"
|
1529 |
msgstr "Пратката се връща на подателя"
|
1530 |
|
1531 |
-
#: includes/views/
|
1532 |
msgid "The shipment is ready to pickup."
|
1533 |
msgstr "Пратката е готова за пикап."
|
1534 |
|
1535 |
-
#: includes/views/
|
1536 |
msgid "Carrier is about to deliver the shipment"
|
1537 |
msgstr "Превозвачът е на път да достави пратката"
|
1538 |
|
1539 |
-
#: includes/views/
|
1540 |
msgid "The shipment was delivered successfully"
|
1541 |
msgstr "Пратката е доставена успешно"
|
1542 |
|
1543 |
-
#: includes/views/
|
1544 |
msgid ""
|
1545 |
"You already have delivered email enabled, to enable this email you'll need "
|
1546 |
"to disable the order status delivered in settings."
|
@@ -1548,7 +1801,7 @@ msgstr ""
|
|
1548 |
"Вече сте предоставили активиран имейл, за да активирате този имейл, ще "
|
1549 |
"трябва да деактивирате състоянието на поръчката, доставена в настройките."
|
1550 |
|
1551 |
-
#: includes/views/
|
1552 |
msgid ""
|
1553 |
"Carrier attempted to deliver but failed, and usually leaves a notice and "
|
1554 |
"will try to deliver the package again."
|
@@ -1556,43 +1809,43 @@ msgstr ""
|
|
1556 |
"Превозвачът се опита да достави, но не успя и обикновено оставя известие и "
|
1557 |
"ще се опита да достави пакета отново."
|
1558 |
|
1559 |
-
#:
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
#: includes/views/zorem_admin_sidebar.php:8
|
1564 |
-
msgid "Leave your review"
|
1565 |
-
msgstr ""
|
1566 |
-
|
1567 |
-
#: includes/views/zorem_admin_ts_sidebar.php:5
|
1568 |
-
msgid "Dashboard"
|
1569 |
-
msgstr ""
|
1570 |
-
|
1571 |
-
#: includes/views/zorem_admin_ts_sidebar.php:7
|
1572 |
-
msgid "Documentation"
|
1573 |
-
msgstr ""
|
1574 |
-
|
1575 |
-
#: templates/emails/tracking-info.php:138
|
1576 |
-
msgid "Status"
|
1577 |
-
msgstr "Статус"
|
1578 |
-
|
1579 |
-
#: templates/emails/wcast-email-order-details.php:26
|
1580 |
-
msgid "Order Details"
|
1581 |
-
msgstr ""
|
1582 |
-
"подробности за поръчката\n"
|
1583 |
|
1584 |
#. %s: Order ID.
|
1585 |
-
#: templates/emails/wcast-email-order-details.php:
|
1586 |
#, php-format
|
1587 |
msgid "Order number: %s"
|
1588 |
msgstr ""
|
1589 |
"Номер на поръчката:% s\n"
|
1590 |
|
1591 |
-
#:
|
1592 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1593 |
msgstr ""
|
1594 |
-
"
|
1595 |
|
1596 |
-
|
1597 |
-
msgid "
|
1598 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2020-01-08 08:09+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-01-08 08:13+0000\n"
|
7 |
+
"Last-Translator: John <gaurav1092@zorem.com>\n"
|
8 |
"Language-Team: Bulgarian\n"
|
9 |
"Language: bg_BG\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.3.1; wp-5.3.2"
|
16 |
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:117
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
23 |
"Моля, инсталирайте и активирайте% sWooCommerce% s за усъвършенствано "
|
24 |
"проследяване на пратки в WooCommerce!"
|
25 |
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:254
|
27 |
+
#, php-format
|
28 |
+
msgid "Your order was shipped with %s and your tracking code is: %s"
|
29 |
+
msgstr "Поръчката ви беше изпратена с% s, а проследяващият ви код е:% s"
|
30 |
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:465
|
|
|
32 |
#, php-format
|
33 |
msgid ""
|
34 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
38 |
"php here or you can manually change all your \"delivered\" order to "
|
39 |
"\"completed\" before deactivating the plugin."
|
40 |
msgstr ""
|
41 |
+
"<strong> МОЛЯ ЗАБЕЛЕЖКА </strong> - Ако използвате статуса на поръчка за "
|
42 |
+
"поръчка „Доставено“, когато деактивирате приставката, трябва да регистрирате "
|
43 |
+
"това състояние на поръчката в function.php, за да видите тези поръчки в "
|
44 |
+
"администратора на поръчки. Можете да намерите <a href=\"%s\" "
|
45 |
+
"target=\"blank\"> фрагмент </a>, който да използвате в функции.php тук, или "
|
46 |
+
"можете ръчно да промените всичките си „доставени“ поръчки на „завършени“, "
|
47 |
+
"преди да деактивирате приставката."
|
48 |
|
49 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Shipment status"
|
51 |
+
msgstr "Shipment status"
|
52 |
|
53 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:427
|
54 |
+
#: includes/class-wc-advanced-shipment-welcome.php:310
|
55 |
msgid ""
|
56 |
"Get Shipment Status is limited to 100 orders at a time, please select up to "
|
57 |
"100 orders."
|
58 |
msgstr ""
|
59 |
+
"Съдържанието на пратката е ограничено до 100 поръчки наведнъж, моля изберете "
|
60 |
+
"до 100 поръчки."
|
61 |
|
62 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:462
|
63 |
+
#: includes/class-wc-advanced-shipment-welcome.php:343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
msgid "Data saved successfully."
|
65 |
msgstr "Данните са запазени успешно."
|
66 |
|
67 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:463
|
68 |
+
#: includes/class-wc-advanced-shipment-welcome.php:344
|
69 |
msgid "Really delete this entry? This will not be undo."
|
70 |
msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
|
71 |
|
72 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:464
|
73 |
+
#: includes/class-wc-advanced-shipment-welcome.php:345
|
74 |
msgid "You can upload only csv file."
|
75 |
msgstr "Можете да качите само csv файл."
|
76 |
|
77 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:465
|
78 |
+
#: includes/class-wc-advanced-shipment-welcome.php:346
|
79 |
msgid "This browser does not support HTML5."
|
80 |
msgstr "Този браузър не поддържа HTML5."
|
81 |
|
82 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:466
|
83 |
+
#: includes/class-wc-advanced-shipment-welcome.php:347
|
84 |
msgid "Please upload a valid CSV file."
|
85 |
msgstr "Моля, качете валиден CSV файл."
|
86 |
|
87 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
|
|
|
|
|
|
|
|
|
|
88 |
msgid "Shipping Providers"
|
89 |
msgstr "Доставка доставчици"
|
90 |
|
91 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:537
|
|
|
|
|
|
|
|
|
92 |
msgid "Bulk Upload"
|
93 |
+
msgstr "Групово качване"
|
94 |
|
95 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:543
|
96 |
+
msgid "Add-ons"
|
97 |
+
msgstr "Добавки"
|
98 |
+
|
99 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:546
|
100 |
+
#: includes/class-wc-advanced-shipment-welcome.php:222
|
101 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
102 |
+
#: includes/views/admin_trackship_dashboard.php:51
|
103 |
+
msgid "Documentation"
|
104 |
+
msgstr "документация"
|
105 |
|
106 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:547
|
107 |
+
msgid "How to Video"
|
108 |
+
msgstr "Как да видео"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:695
|
111 |
+
msgid "Custom Statuses"
|
112 |
+
msgstr "Персонализирани статуси"
|
113 |
+
|
114 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
115 |
+
#: includes/class-wc-advanced-shipment-welcome.php:188
|
116 |
+
#: includes/views/zorem_admin_sidebar.php:29
|
117 |
+
#: includes/views/admin_options_addons.php:46
|
118 |
+
#: includes/views/admin_trackship_dashboard.php:17
|
119 |
msgid "Connected"
|
120 |
msgstr ""
|
121 |
"свързан\n"
|
122 |
|
123 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:874
|
124 |
+
#, php-format
|
125 |
+
msgid "%s %s orders with tracking info"
|
126 |
+
msgstr "% s% s поръчки с информация за проследяване"
|
127 |
+
|
128 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
129 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:884
|
130 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:893
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1841
|
132 |
+
#: includes/views/admin_options_tools.php:14
|
133 |
+
msgid "Get Shipment Status"
|
134 |
+
msgstr "Получете състояние на пратката"
|
135 |
|
136 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:883
|
137 |
#, php-format
|
138 |
+
msgid "%s %s orders with “TrackShip balance is 0”"
|
139 |
+
msgstr "% s% s поръчки с „TrackShip баланс е 0“"
|
|
|
|
|
|
|
|
|
140 |
|
141 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
142 |
#, php-format
|
143 |
+
msgid "%s %s orders with “Please do connection”"
|
144 |
+
msgstr "% s% s поръчки с „Моля, свържете се“"
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:930
|
|
|
147 |
msgid "Enable/Disable"
|
148 |
msgstr "Включване / Изключване"
|
149 |
|
150 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:936
|
151 |
msgid "Set order status Delivered when order is delivered"
|
152 |
+
msgstr "Задаване на състояние на поръчката Доставено при доставка на поръчката"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
|
154 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:968
|
155 |
msgid ""
|
156 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
157 |
"for the tracking page to work."
|
158 |
msgstr ""
|
159 |
+
"Трябва да добавите краткия код [wcast-track-order] към „името на страницата“,"
|
160 |
+
" за да работи страницата за проследяване."
|
161 |
|
162 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:976
|
163 |
+
#: includes/views/admin_tracking_page_settings.php:24
|
164 |
msgid "Select Tracking Page"
|
165 |
+
msgstr "Изберете страница за проследяване"
|
|
|
166 |
|
167 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:984
|
168 |
+
msgid "Use the tracking page in the customer email/my account tracking link"
|
|
|
169 |
msgstr ""
|
170 |
+
"Използвайте проследяващата страница в връзката за проследяване на имейла на "
|
171 |
+
"клиента / моя акаунт"
|
172 |
|
173 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:990
|
174 |
+
#: includes/views/admin_tracking_page_settings.php:49
|
175 |
+
msgid "Tracking Page Layout"
|
176 |
msgstr ""
|
177 |
+
"Оформление на проследяващата страница\n"
|
|
|
178 |
|
179 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
180 |
msgid "Select primary color for tracking page"
|
181 |
+
msgstr "Изберете основен цвят за проследяваща страница"
|
|
|
182 |
|
183 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1007
|
184 |
msgid "Select content border color for tracking page"
|
185 |
+
msgstr "Изберете цвят на границата на съдържанието за проследяваща страница"
|
186 |
+
|
187 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1013
|
188 |
+
#: includes/views/admin_tracking_page_settings.php:83
|
189 |
+
msgid "Hide Shipping Provider Image"
|
190 |
msgstr ""
|
191 |
+
"Скриване на изображението на доставчика на доставка\n"
|
192 |
|
193 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
194 |
+
msgid "Hide tracking events details"
|
195 |
+
msgstr "Скриване на детайлите за проследяване на събитията"
|
196 |
+
|
197 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1025
|
198 |
+
#: includes/views/admin_tracking_page_settings.php:93
|
199 |
+
msgid "Remove TrackShip branding"
|
200 |
+
msgstr "Премахване на марката TrackShip"
|
201 |
+
|
202 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1042
|
203 |
+
msgid "License Key"
|
204 |
+
msgstr "Лицензионен ключ"
|
205 |
+
|
206 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
207 |
+
msgid "Valid License to make All feature work correctly"
|
208 |
+
msgstr "Валиден лиценз, за да може функцията All работи правилно"
|
209 |
+
|
210 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1193
|
211 |
+
msgid "\">click here</a> to activate it."
|
212 |
+
msgstr "\"> щракнете тук </a>, за да го активирате."
|
213 |
+
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1226
|
215 |
+
#: includes/class-wc-advanced-shipment-tracking.php:185
|
216 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:303
|
217 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:439
|
218 |
+
msgid "Shipped"
|
219 |
+
msgstr "Доставят"
|
220 |
+
|
221 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1227
|
222 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
223 |
msgstr ""
|
224 |
+
"По подразбиране \"маркирай като <span class =\" shipped_label \"> изпратен "
|
225 |
+
"</span>\""
|
226 |
|
227 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1228
|
228 |
msgid ""
|
229 |
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
230 |
"will be selected by default when adding tracking info to orders."
|
231 |
msgstr ""
|
232 |
+
"Това означава, че 'марката като <span class =' shipped_label '> изпратена "
|
233 |
+
"</span>' ще бъде избрана по подразбиране при добавяне на информация за "
|
234 |
+
"проследяване към поръчки."
|
235 |
|
236 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1231
|
237 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
msgstr ""
|
239 |
+
"По подразбиране \"маркирай като <span class =\" shipped_label \"> завършен "
|
240 |
+
"</span>\""
|
241 |
|
242 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1232
|
243 |
msgid ""
|
244 |
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
245 |
"will be selected by default when adding tracking info to orders."
|
246 |
msgstr ""
|
247 |
+
"Това означава, че 'маркирането като <span class =' shipped_label '> "
|
248 |
+
"завършено </span>' ще бъде избрано по подразбиране при добавяне на "
|
249 |
+
"информация за проследяване към поръчки."
|
250 |
|
251 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1298
|
252 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
253 |
+
msgstr "Преименувайте състоянието на поръчката „Завършено“ на „Доставка“"
|
254 |
|
255 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1311
|
256 |
+
msgid "On which order status email to include the shipment tracking info?"
|
257 |
msgstr ""
|
258 |
+
"На кой имейл за състоянието на поръчката да се включи информация за "
|
259 |
+
"проследяване на пратката?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
|
261 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1317
|
|
|
|
|
|
|
|
|
262 |
msgid "Show tracking info in Invoice"
|
263 |
msgstr "Показване на информация за проследяване във фактура"
|
264 |
|
265 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1323
|
266 |
msgid "Show tracking info in Packing Slip"
|
267 |
msgstr "Показване на информация за проследяване в опаковъчен лист"
|
268 |
|
269 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1340
|
270 |
+
msgid "Enable custom order status “Delivered\""
|
271 |
+
msgstr "Активиране на състоянието на персонализирана поръчка „Доставено“"
|
|
|
272 |
|
273 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1341
|
274 |
msgid ""
|
275 |
"if you enable the delivered item, you will have the option to send delivered "
|
276 |
"email notifications."
|
277 |
msgstr ""
|
278 |
+
"ако активирате доставения артикул, ще имате възможност да изпращате известия "
|
279 |
+
"за доставени имейли."
|
280 |
|
281 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1347
|
282 |
+
msgid "Delivered Label color"
|
283 |
+
msgstr "Доставен цвят на етикета"
|
284 |
|
285 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1353
|
286 |
+
msgid "Delivered Label font color"
|
287 |
+
msgstr "Доставен цвят на шрифта на етикета"
|
288 |
+
|
289 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1356
|
290 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1398
|
291 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1440
|
292 |
+
msgid "Light"
|
293 |
+
msgstr "Светлина"
|
294 |
+
|
295 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1357
|
296 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1399
|
297 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1441
|
298 |
+
msgid "Dark"
|
299 |
+
msgstr "тъмен"
|
300 |
+
|
301 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1364
|
302 |
+
msgid "Enable the Delivered order status email"
|
303 |
+
msgstr "Активирайте имейла за състояние на доставката на поръчката"
|
304 |
|
305 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1382
|
306 |
+
msgid "Enable custom order status “Updated Tracking\""
|
307 |
+
msgstr ""
|
308 |
+
"Активиране на състоянието на персонализирана поръчка „Актуализирано "
|
309 |
+
"проследяване“\n"
|
310 |
+
|
311 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1383
|
|
|
|
|
|
|
|
|
312 |
msgid ""
|
313 |
+
"if you enable the delivered item, you will have the option to send Updated "
|
314 |
+
"Tracking email notifications."
|
315 |
msgstr ""
|
316 |
+
"ако активирате доставения артикул, ще имате възможност да изпращате известия "
|
317 |
+
"за актуализирано проследяване по имейл.\n"
|
318 |
|
319 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1389
|
320 |
+
msgid "Updated Tracking Label color"
|
321 |
+
msgstr ""
|
322 |
+
"Актуализиран цвят за проследяване на етикета\n"
|
323 |
|
324 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1395
|
325 |
+
msgid "Updated Tracking Label font color"
|
326 |
+
msgstr ""
|
327 |
+
"Актуализиран цвят на шрифта за проследяване\n"
|
328 |
|
329 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1406
|
330 |
+
msgid "Enable the Updated Tracking order status email"
|
331 |
+
msgstr ""
|
332 |
+
"Активирайте имейла за актуализирано проследяване на поръчката\n"
|
333 |
+
|
334 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1424
|
335 |
+
msgid "Enable custom order status “Partially Shipped\""
|
336 |
+
msgstr ""
|
337 |
+
"Активиране на състоянието на персонализирана поръчка „Частично изпратено“"
|
338 |
+
|
339 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1425
|
340 |
msgid ""
|
341 |
+
"if you enable the Partially Shipped item, you will have the option to send "
|
342 |
+
"Partially Shipped email notifications."
|
343 |
+
msgstr ""
|
344 |
+
"ако активирате частично изпратения артикул, ще имате възможност да изпращате "
|
345 |
+
"частично изпратени известия по имейл."
|
346 |
+
|
347 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1431
|
348 |
+
msgid "Partially Shipped Label color"
|
349 |
+
msgstr "Частично доставен цвят на етикета"
|
350 |
+
|
351 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1437
|
352 |
+
msgid "Partially Shipped Label font color"
|
353 |
+
msgstr "Частично доставен цвят на шрифта на етикета"
|
354 |
+
|
355 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1448
|
356 |
+
msgid "Enable the Partially Shipped order status email"
|
357 |
+
msgstr "Активирайте частично изпратения имейл за състоянието на поръчката"
|
358 |
+
|
359 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1874
|
360 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2395
|
361 |
+
#: includes/customizer/class-wcast-customizer.php:92
|
362 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:127
|
363 |
+
#: includes/views/admin_status_notifications.php:25
|
364 |
msgid "In Transit"
|
365 |
msgstr "Транзитно"
|
366 |
|
367 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1877
|
368 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2394
|
369 |
+
#: includes/customizer/class-wcast-customizer.php:84
|
370 |
msgid "Pre Transit"
|
371 |
msgstr "Предварително преминаване"
|
372 |
|
373 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1880
|
374 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2072
|
375 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2398
|
376 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:137
|
377 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:182
|
378 |
+
#: includes/customizer/class-wcast-customizer.php:122
|
379 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:125
|
380 |
+
#: includes/views/admin_options_settings.php:80
|
381 |
+
#: includes/views/admin_status_notifications.php:80
|
382 |
+
msgid "Delivered"
|
383 |
+
msgstr "Доставени"
|
384 |
+
|
385 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1883
|
386 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2397
|
387 |
+
#: includes/customizer/class-wcast-customizer.php:114
|
388 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
|
389 |
+
#: includes/views/admin_status_notifications.php:66
|
390 |
+
msgid "Out For Delivery"
|
391 |
+
msgstr ""
|
392 |
+
"За доставка\n"
|
393 |
|
394 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1886
|
395 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2396
|
396 |
+
#: includes/customizer/class-wcast-customizer.php:107
|
397 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
|
398 |
+
#: includes/views/admin_status_notifications.php:53
|
399 |
msgid "Available For Pickup"
|
400 |
msgstr "Предлага се за пикап"
|
401 |
|
402 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1889
|
403 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2402
|
404 |
+
#: includes/customizer/class-wcast-customizer.php:100
|
405 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:124
|
406 |
+
#: includes/views/admin_status_notifications.php:39
|
407 |
msgid "Return To Sender"
|
408 |
msgstr "Върнете се към подателя"
|
409 |
|
410 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1892
|
411 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2399
|
412 |
+
#: includes/customizer/class-wcast-customizer.php:130
|
413 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:124
|
414 |
+
#: includes/views/admin_status_notifications.php:95
|
415 |
+
msgid "Failed Attempt"
|
416 |
+
msgstr "Неуспешен опит"
|
417 |
|
418 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1895
|
419 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2393
|
420 |
msgid "Unknown"
|
421 |
+
msgstr "неизвестен"
|
|
|
422 |
|
423 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1898
|
424 |
msgid "Pending TrackShip"
|
425 |
+
msgstr "В очакване на TrackShip"
|
|
|
426 |
|
427 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1901
|
428 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2403
|
429 |
+
msgid "Invalid Tracking Number"
|
430 |
+
msgstr "Невалиден проследяващ номер"
|
431 |
|
432 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
433 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2401
|
434 |
+
msgid "Carrier Unsupported"
|
435 |
+
msgstr "Превозвач не се поддържа"
|
436 |
|
437 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1907
|
438 |
msgid "Invalid User Key"
|
439 |
+
msgstr "Невалиден потребителски ключ"
|
440 |
|
441 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1910
|
442 |
+
msgid "Wrong Shipping Provider"
|
443 |
+
msgstr "Грешен доставчик на доставка"
|
444 |
|
445 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2026
|
446 |
msgid "Shipped Order"
|
447 |
+
msgstr "Изпратена поръчка"
|
448 |
|
449 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2050
|
450 |
msgid "Mark order as delivered"
|
451 |
msgstr "Маркирайте поръчката като доставена"
|
452 |
|
453 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2057
|
454 |
msgid "Add Tracking"
|
455 |
+
msgstr "Добавяне на проследяване"
|
456 |
|
457 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2084
|
458 |
msgid "Change order status to"
|
459 |
msgstr "Промяна на състоянието на поръчката на"
|
460 |
|
461 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2187
|
462 |
+
#: includes/views/admin_options_shipping_provider.php:96
|
463 |
#, php-format
|
464 |
msgid "You don't have any %s shipping providers."
|
465 |
msgstr "Нямате доставчици за доставки на% s."
|
466 |
|
467 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2192
|
468 |
+
#: includes/views/admin_options_shipping_provider.php:27
|
469 |
+
msgid "Add Custom Provider"
|
470 |
+
msgstr "Добавете персонализиран доставчик"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
471 |
|
472 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2408
|
473 |
msgid "Filter by shipment status"
|
474 |
+
msgstr "Филтриране по статус на пратката"
|
475 |
|
476 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:148
|
477 |
msgid ""
|
478 |
"To track your order please enter your Order ID in the box below and press "
|
479 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
483 |
"долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
|
484 |
"в имейла за потвърждение, който трябваше да получите.\n"
|
485 |
|
486 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:149
|
487 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
|
|
|
|
|
|
|
|
|
|
488 |
msgid "Found in your order confirmation email."
|
489 |
msgstr ""
|
490 |
"Намерен в имейла за потвърждение на поръчката.\n"
|
491 |
|
492 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
493 |
msgid "Order Email"
|
494 |
msgstr ""
|
495 |
"Имейл за поръчка\n"
|
496 |
|
497 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:153
|
498 |
+
#: includes/class-wc-advanced-shipment-tracking.php:728
|
499 |
+
#: includes/class-wc-advanced-shipment-tracking.php:851
|
500 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:147
|
501 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:578
|
502 |
+
#: templates/emails/tracking-info.php:256
|
503 |
+
#: templates/myaccount/tracking-info.php:191
|
|
|
|
|
504 |
msgid "Track"
|
505 |
msgstr "път"
|
506 |
|
507 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:221
|
508 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:238
|
509 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:398
|
510 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:415
|
511 |
#, php-format
|
512 |
msgid "Shipment - %s (out of %s)"
|
513 |
msgstr ""
|
514 |
"Пратка -% s (от% s)\n"
|
515 |
|
516 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:251
|
517 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:428
|
518 |
+
msgid "Tracking details not found in TrackShip"
|
519 |
+
msgstr "Детайли за проследяване не са открити в TrackShip"
|
520 |
|
521 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:462
|
522 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:492
|
523 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:862
|
524 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:880
|
525 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1015
|
526 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1033
|
527 |
+
msgid "Est. Delivery Date"
|
528 |
+
msgstr ""
|
529 |
+
"Est. Дата на доставка\n"
|
530 |
|
531 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:618
|
532 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:708
|
533 |
msgid "Tracking Details"
|
534 |
msgstr "Детайли за проследяване"
|
535 |
|
536 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:699
|
537 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:789
|
538 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1004
|
539 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1118
|
540 |
msgid "view more"
|
541 |
msgstr "Виж повече"
|
542 |
|
543 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:700
|
544 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:790
|
545 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1005
|
546 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1119
|
547 |
msgid "view less"
|
548 |
msgstr "вижте по-малко"
|
549 |
|
550 |
+
#: includes/class-wc-advanced-shipment-tracking.php:95
|
551 |
+
#: includes/class-wc-advanced-shipment-tracking.php:265
|
552 |
+
#: includes/customizer/class-wcast-customizer.php:31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
553 |
msgid "Shipment Tracking"
|
554 |
msgstr "Проследяване на пратките"
|
555 |
|
556 |
+
#: includes/class-wc-advanced-shipment-tracking.php:184
|
557 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
558 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:438
|
559 |
+
msgid "Mark as Shipped?"
|
560 |
+
msgstr "Да се маркира като изпратен?"
|
561 |
|
562 |
+
#: includes/class-wc-advanced-shipment-tracking.php:187
|
563 |
+
#: includes/class-wc-advanced-shipment-tracking.php:390
|
564 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:441
|
565 |
+
msgid "Mark as Completed?"
|
566 |
+
msgstr "Да се маркира като завършен?"
|
567 |
|
568 |
+
#: includes/class-wc-advanced-shipment-tracking.php:188
|
569 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
570 |
+
msgid "Completed"
|
571 |
+
msgstr "завършен"
|
572 |
+
|
573 |
+
#: includes/class-wc-advanced-shipment-tracking.php:195
|
574 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:450
|
575 |
msgid "Add Tracking Number"
|
576 |
+
msgstr "Добавете проследяващ номер"
|
577 |
|
578 |
+
#: includes/class-wc-advanced-shipment-tracking.php:198
|
579 |
+
#: includes/class-wc-advanced-shipment-tracking.php:203
|
580 |
+
#: includes/class-wc-advanced-shipment-tracking.php:408
|
581 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:453
|
582 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:455
|
583 |
msgid "Provider:"
|
584 |
msgstr "доставчик на:"
|
585 |
|
586 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
587 |
+
#: includes/class-wc-advanced-shipment-tracking.php:446
|
588 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:475
|
589 |
msgid "Tracking number:"
|
590 |
msgstr "Номер за проследяване:"
|
591 |
|
592 |
+
#: includes/class-wc-advanced-shipment-tracking.php:227
|
593 |
+
#: includes/class-wc-advanced-shipment-tracking.php:454
|
594 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
595 |
msgid "Date shipped:"
|
596 |
msgstr "Дата на изпращане:"
|
597 |
|
598 |
+
#: includes/class-wc-advanced-shipment-tracking.php:236
|
599 |
+
#: includes/class-wc-advanced-shipment-tracking.php:466
|
600 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:488
|
601 |
+
msgid "Mark order as:"
|
602 |
+
msgstr "Маркиране на поръчката като:"
|
603 |
+
|
604 |
+
#: includes/class-wc-advanced-shipment-tracking.php:239
|
605 |
+
#: includes/class-wc-advanced-shipment-tracking.php:469
|
606 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
607 |
+
msgid "Partial Shipped"
|
608 |
+
msgstr "Частично изпратено"
|
609 |
|
610 |
+
#: includes/class-wc-advanced-shipment-tracking.php:281
|
611 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
612 |
+
msgid "Track Shipment"
|
613 |
+
msgstr "Проследяване на пратката"
|
614 |
|
615 |
#. 1: shipping date
|
616 |
+
#: includes/class-wc-advanced-shipment-tracking.php:290
|
|
|
617 |
#, php-format
|
618 |
msgid "Shipped on %s"
|
619 |
msgstr "Изпратено на% s"
|
620 |
|
621 |
+
#: includes/class-wc-advanced-shipment-tracking.php:404
|
|
|
|
|
|
|
|
|
622 |
msgid "Add Tracking Info"
|
623 |
msgstr "Добавяне на информация за проследяване"
|
624 |
|
625 |
+
#: includes/class-wc-advanced-shipment-tracking.php:409
|
626 |
msgid "Select Provider"
|
627 |
msgstr "Изберете Доставчик"
|
628 |
|
629 |
+
#: includes/class-wc-advanced-shipment-tracking.php:482
|
630 |
msgid "Save Tracking"
|
631 |
msgstr "Запазване на проследяването"
|
632 |
|
633 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
634 |
msgid "Preview:"
|
635 |
msgstr "Преглед:"
|
636 |
|
637 |
+
#: includes/class-wc-advanced-shipment-tracking.php:702
|
638 |
+
#, php-format
|
639 |
+
msgid ""
|
640 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
641 |
+
msgstr ""
|
642 |
+
"Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
|
643 |
+
"проследяващ номер% s"
|
644 |
+
|
645 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1092
|
646 |
+
#, php-format
|
647 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
648 |
+
msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
|
649 |
+
|
650 |
+
#: includes/class-wc-advanced-shipment-welcome.php:38
|
651 |
+
#: includes/class-wc-advanced-shipment-welcome.php:39
|
652 |
+
msgid "Welcome to Advanced Shipment Tracking"
|
653 |
+
msgstr ""
|
654 |
+
"Добре дошли в разширеното проследяване на пратките\n"
|
655 |
+
|
656 |
+
#: includes/class-wc-advanced-shipment-welcome.php:90
|
657 |
+
#: includes/class-wc-advanced-shipment-welcome.php:129
|
658 |
+
#: includes/class-wc-advanced-shipment-welcome.php:147
|
659 |
+
msgid "Save and Continue"
|
660 |
+
msgstr "Запазете и продължете"
|
661 |
+
|
662 |
+
#: includes/class-wc-advanced-shipment-welcome.php:177
|
663 |
+
#: includes/views/admin_trackship_dashboard.php:6
|
664 |
+
msgid "Connection status"
|
665 |
+
msgstr "Състояние на връзката"
|
666 |
+
|
667 |
+
#: includes/class-wc-advanced-shipment-welcome.php:184
|
668 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
669 |
+
msgid "TrackShip Connection Status"
|
670 |
+
msgstr "Състояние на връзката към TrackShip"
|
671 |
+
|
672 |
+
#: includes/class-wc-advanced-shipment-welcome.php:194
|
673 |
+
#: includes/views/admin_trackship_dashboard.php:23
|
674 |
+
msgid "Trackers Balance"
|
675 |
+
msgstr "Баланс на тракерите"
|
676 |
+
|
677 |
+
#: includes/class-wc-advanced-shipment-welcome.php:202
|
678 |
+
#: includes/views/admin_trackship_dashboard.php:31
|
679 |
+
msgid "Current Plan"
|
680 |
+
msgstr "Настоящ план"
|
681 |
+
|
682 |
+
#: includes/class-wc-advanced-shipment-welcome.php:217
|
683 |
+
#: includes/views/admin_options_addons.php:33
|
684 |
+
#: includes/views/admin_trackship_dashboard.php:46
|
685 |
+
msgid ""
|
686 |
+
"You are now connected with TrackShip! TrackShip makes it effortless to "
|
687 |
+
"automate your post shipping operations and get tracking and delivery status "
|
688 |
+
"updates directly in the WooCommerce admin."
|
689 |
+
msgstr ""
|
690 |
+
"Вече сте свързани с TrackShip! TrackShip улеснява автоматизирането на вашите "
|
691 |
+
"операции след изпращане и получаване на актуализации за проследяване и "
|
692 |
+
"състояние директно в администратора на WooCommerce."
|
693 |
+
|
694 |
+
#: includes/class-wc-advanced-shipment-welcome.php:223
|
695 |
+
#: includes/views/admin_trackship_dashboard.php:52
|
696 |
+
msgid "TrackShip Dashboard"
|
697 |
+
msgstr "TrackShip табло"
|
698 |
+
|
699 |
+
#: includes/class-wc-advanced-shipment-welcome.php:253
|
700 |
+
msgid "Save"
|
701 |
+
msgstr "Запази"
|
702 |
+
|
703 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:142
|
704 |
+
#, php-format
|
705 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
706 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
707 |
+
msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
|
708 |
+
msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
|
709 |
+
|
710 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:151
|
711 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:197
|
712 |
+
#: includes/views/admin_options_settings.php:149
|
713 |
+
msgid "Updated Tracking"
|
714 |
+
msgstr "Актуализирано проследяване"
|
715 |
+
|
716 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:156
|
717 |
+
#, php-format
|
718 |
+
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
719 |
+
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
720 |
+
msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
721 |
+
msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
|
722 |
+
|
723 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:165
|
724 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:211
|
725 |
+
#: includes/views/admin_options_settings.php:115
|
726 |
+
msgid "Partially Shipped"
|
727 |
+
msgstr "Частично изпратени"
|
728 |
+
|
729 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:170
|
730 |
+
#, php-format
|
731 |
+
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
732 |
+
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
733 |
+
msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
|
734 |
+
msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
|
735 |
+
|
736 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:270
|
737 |
+
msgid "Change status to delivered"
|
738 |
+
msgstr "Промяна на състоянието на доставено"
|
739 |
+
|
740 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:279
|
741 |
+
msgid "Change status to Updated Tracking"
|
742 |
+
msgstr ""
|
743 |
+
"Промяна на състоянието на Актуализирано проследяване\n"
|
744 |
+
|
745 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:288
|
746 |
+
msgid "Change status to Partially Shipped"
|
747 |
+
msgstr "Промяна на състоянието на частично изпратено"
|
748 |
+
|
749 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:320
|
750 |
+
#, php-format
|
751 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
752 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
753 |
+
msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
|
754 |
+
msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
|
755 |
+
|
756 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:334
|
757 |
+
msgid "Change status to shipped"
|
758 |
+
msgstr "Промяна на състоянието на изпратено"
|
759 |
+
|
760 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:518
|
761 |
+
msgid "Resend delivered order notification"
|
762 |
+
msgstr "Повторно изпратено известие за поръчка"
|
763 |
+
|
764 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:730
|
765 |
+
msgid "Shipment Providers"
|
766 |
+
msgstr "Доставчици на пратки"
|
767 |
+
|
768 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:733
|
769 |
+
msgid "Shipment Status"
|
770 |
+
msgstr "Състояние на пратката"
|
771 |
+
|
772 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:736
|
773 |
+
msgid "Tracking issues"
|
774 |
+
msgstr "Проследяване на проблеми"
|
775 |
+
|
776 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:742
|
777 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:750
|
778 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
779 |
+
msgid "data not available."
|
780 |
+
msgstr "данни не са налични."
|
781 |
+
|
782 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:773
|
783 |
+
msgid "View more on TrackShip"
|
784 |
+
msgstr "Вижте повече на TrackShip"
|
785 |
+
|
786 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:911
|
787 |
+
msgid "There are some issue with sync, Please Retry."
|
788 |
+
msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
|
789 |
+
|
790 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:926
|
791 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:941
|
792 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:956
|
793 |
+
msgid "view details"
|
794 |
+
msgstr "Разгледайте детайлите"
|
795 |
+
|
796 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:927
|
797 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:942
|
798 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:957
|
799 |
+
msgid "hide details"
|
800 |
+
msgstr "скрий подробности"
|
801 |
|
802 |
+
#: includes/customizer/class-wcast-customizer.php:40
|
803 |
msgid "Shipment Status Emails"
|
804 |
msgstr "Имейли за състоянието на пратката"
|
805 |
|
806 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
807 |
msgid "Tracking info display"
|
808 |
msgstr ""
|
809 |
"Показване на информация за проследяване\n"
|
810 |
|
811 |
+
#: includes/customizer/class-wcast-customizer.php:60
|
812 |
+
#: includes/customizer/class-wc-email-customizer.php:163
|
813 |
+
msgid "Delivered order status email"
|
814 |
+
msgstr "Предоставен е имейл за състоянието на поръчката"
|
|
|
815 |
|
816 |
+
#: includes/customizer/class-wcast-customizer.php:68
|
817 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
|
818 |
+
msgid "Partially Shipped status email"
|
819 |
+
msgstr "Частично изпратен имейл за състояние"
|
820 |
+
|
821 |
+
#: includes/customizer/class-wcast-customizer.php:76
|
822 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
|
823 |
+
msgid "Updated Tracking status email"
|
824 |
msgstr ""
|
825 |
+
"Актуализиран имейл за състоянието на проследяването\n"
|
826 |
|
827 |
+
#: includes/customizer/class-wcast-customizer.php:411
|
828 |
msgid "Select order to preview"
|
829 |
msgstr ""
|
830 |
"Изберете поръчка за визуализация\n"
|
831 |
|
832 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
|
833 |
msgid "Your order #{order_number} is available for pickup"
|
834 |
msgstr ""
|
835 |
"Вашата поръчка # {order_number} е достъпна за приемане\n"
|
836 |
|
837 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
838 |
msgid ""
|
839 |
"Hi there. we thought you'd like to know that your recent order from "
|
840 |
"{site_title} is available for pickup."
|
842 |
"Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
|
843 |
"{site_title} е достъпна за приемане."
|
844 |
|
845 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
|
846 |
msgid "Available For Pickup shipment status email"
|
847 |
msgstr ""
|
848 |
"Наличен за статус на пратка за доставка\n"
|
849 |
|
850 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
|
851 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:158
|
852 |
+
#: includes/customizer/class-wc-email-customizer.php:164
|
853 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:157
|
854 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:160
|
855 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
|
856 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:157
|
857 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
|
858 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
|
859 |
msgid "This section lets you customize the Email Content."
|
860 |
msgstr ""
|
861 |
"Този раздел ви позволява да персонализирате съдържанието на електронната "
|
862 |
"поща."
|
863 |
|
864 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
|
865 |
msgid "Enable Available For Pickup shipment status email"
|
866 |
msgstr ""
|
867 |
"Активиране на имейла за статуса на пратката на разположение за получаване"
|
868 |
|
869 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
870 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:188
|
871 |
+
#: includes/customizer/class-wc-email-customizer.php:197
|
872 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:187
|
873 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:191
|
874 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
|
875 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:187
|
876 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:183
|
877 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
|
878 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
|
879 |
msgid "Preview order"
|
880 |
msgstr ""
|
881 |
"Преглед на поръчката\n"
|
882 |
|
883 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
|
884 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:216
|
885 |
+
#: includes/customizer/class-wc-email-customizer.php:226
|
886 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:215
|
887 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:219
|
888 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
|
889 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
890 |
msgid "E.g. {customer.email}, admin@example.org"
|
891 |
msgstr "E.g. {customer.email}, admin@example.org"
|
892 |
|
893 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
|
894 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
|
895 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:232
|
896 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:254
|
897 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:231
|
898 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:253
|
899 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:235
|
900 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
901 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
|
902 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
|
903 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:231
|
904 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:253
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
905 |
msgid "Available placeholders: {site_title}, {order_number}"
|
906 |
msgstr "Налични резерви: {site_title}, {order_number}"
|
907 |
|
908 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
909 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:275
|
910 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:274
|
911 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:278
|
912 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
|
913 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
msgid "Show tracking details"
|
915 |
msgstr ""
|
916 |
"Показване на подробности за проследяването\n"
|
917 |
|
918 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
|
919 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:291
|
920 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:290
|
921 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:294
|
922 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
|
923 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
924 |
msgid "Show order details"
|
925 |
msgstr ""
|
926 |
"Показване на подробности за поръчката\n"
|
927 |
|
928 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
|
929 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:307
|
930 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:306
|
931 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:310
|
932 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
|
933 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:306
|
934 |
msgid "Show billing address"
|
935 |
msgstr ""
|
936 |
"Показване на адрес за фактуриране\n"
|
937 |
|
938 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
|
939 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:324
|
940 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:323
|
941 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
942 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
|
943 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:323
|
944 |
msgid "Show shipping address"
|
945 |
msgstr ""
|
946 |
"Показване на адреса за доставка\n"
|
947 |
|
948 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
|
949 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:340
|
950 |
+
#: includes/customizer/class-wc-email-customizer.php:393
|
951 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:339
|
952 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:364
|
953 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
|
954 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:339
|
955 |
msgid "Google Analytics link tracking"
|
956 |
+
msgstr "Проследяване на връзки в Google Analytics"
|
957 |
+
|
958 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
|
959 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:341
|
960 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:340
|
961 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:365
|
962 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
|
963 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:340
|
964 |
msgid "This will be appended to URL in the email content"
|
965 |
+
msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
|
966 |
+
|
967 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
|
968 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:362
|
969 |
+
#: includes/customizer/class-wc-email-customizer.php:288
|
970 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:361
|
971 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:344
|
972 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
|
973 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:361
|
974 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
|
975 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
|
976 |
msgid "Email content"
|
977 |
msgstr "Съдържание на имейла"
|
978 |
|
979 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
|
980 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:383
|
981 |
+
#: includes/customizer/class-wc-email-customizer.php:414
|
982 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:382
|
983 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:386
|
984 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
|
985 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:382
|
986 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
|
987 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
|
988 |
msgid "Available placeholders"
|
989 |
msgstr ""
|
990 |
"Налични места\n"
|
991 |
|
992 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
|
993 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
|
994 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:440
|
995 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:447
|
996 |
+
#: includes/customizer/class-wc-email-customizer.php:447
|
997 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:439
|
998 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:447
|
999 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:442
|
1000 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:450
|
1001 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
|
1002 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
|
1003 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:438
|
1004 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:446
|
1005 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
|
1006 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
|
1007 |
+
msgid "Please select order to preview."
|
1008 |
+
msgstr "Моля, изберете поръчка за преглед."
|
1009 |
+
|
1010 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:124
|
1011 |
msgid "Your order #{order_number} has been delivered"
|
1012 |
+
msgstr "Вашата поръчка № {order_number} е доставена"
|
1013 |
|
1014 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1015 |
+
#: includes/customizer/class-wc-email-customizer.php:132
|
1016 |
msgid ""
|
1017 |
"Hi there. we thought you'd like to know that your recent order from "
|
1018 |
"{site_title} has been Delivered."
|
1020 |
"Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
|
1021 |
"{site_title} е била Доставена."
|
1022 |
|
1023 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:157
|
1024 |
msgid "Delivered shipment status email"
|
1025 |
msgstr "Предоставен е имейл за състоянието на пратката"
|
1026 |
|
1027 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:172
|
1028 |
msgid "Enable Delivered shipment status email"
|
1029 |
msgstr "Активиране на имейла за състоянието на доставената пратка"
|
1030 |
|
1031 |
+
#: includes/customizer/class-wc-email-customizer.php:130
|
1032 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1033 |
msgid "Your {site_title} order is now delivered"
|
1034 |
msgstr "Поръчката ви {site_title} вече е доставена"
|
1035 |
|
1036 |
+
#: includes/customizer/class-wc-email-customizer.php:179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1037 |
msgid "Enable Delivered order status email"
|
1038 |
msgstr "Активиране на имейл съобщението за състоянието на поръчката"
|
1039 |
|
1040 |
+
#: includes/customizer/class-wc-email-customizer.php:201
|
1041 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:187
|
1042 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
|
1043 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
|
1044 |
msgid "Please select a order..."
|
1045 |
msgstr ""
|
1046 |
"Моля, изберете поръчка ...\n"
|
1047 |
|
1048 |
+
#: includes/customizer/class-wc-email-customizer.php:243
|
1049 |
+
#: includes/customizer/class-wc-email-customizer.php:266
|
1050 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
|
1051 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
|
1052 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
|
1053 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
|
|
|
|
|
|
|
|
|
|
|
|
|
1054 |
msgid "Available variables: {site_title}, {order_number}"
|
1055 |
+
msgstr "Налични променливи: {site_title}, {order_number}"
|
1056 |
|
1057 |
+
#: includes/customizer/class-wc-email-customizer.php:289
|
1058 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
|
1059 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
|
1060 |
msgid ""
|
1061 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
1062 |
"{customer_last_name}, {customer_username}, {order_number}"
|
1063 |
msgstr ""
|
1064 |
+
"налични променливи: {site_title}, {customer_email}, {customer_first_name}, "
|
1065 |
+
"{customer_last_name}, {customer_username}, {order_number}"
|
1066 |
|
1067 |
+
#: includes/customizer/class-wc-email-customizer.php:309
|
1068 |
msgid "Display tracking details"
|
1069 |
+
msgstr "Показване на подробности за проследяване"
|
1070 |
|
1071 |
+
#: includes/customizer/class-wc-email-customizer.php:325
|
1072 |
msgid "Display order details"
|
1073 |
+
msgstr "Показване на подробности за поръчката"
|
1074 |
|
1075 |
+
#: includes/customizer/class-wc-email-customizer.php:342
|
1076 |
msgid "Display Shipping Address"
|
1077 |
+
msgstr "Показване на адрес за доставка"
|
1078 |
|
1079 |
+
#: includes/customizer/class-wc-email-customizer.php:359
|
1080 |
msgid "Display Billing Address"
|
1081 |
+
msgstr "Показване на адрес за фактуриране"
|
1082 |
|
1083 |
+
#: includes/customizer/class-wc-email-customizer.php:376
|
1084 |
msgid "Enable Google Analytics tracking"
|
1085 |
+
msgstr "Активиране на проследяването на Google Analytics"
|
1086 |
|
1087 |
+
#: includes/customizer/class-wc-email-customizer.php:394
|
1088 |
msgid ""
|
1089 |
"This will be appended to URL in the email content – e.g. "
|
1090 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1091 |
msgstr ""
|
1092 |
+
"Това ще бъде добавено към URL адреса в съдържанието на имейла - напр. "
|
1093 |
+
"utm_source = AST & utm_medium = имейл & utm_campaign = доставени"
|
1094 |
|
1095 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:123
|
1096 |
msgid "Your order #{order_number} is Failed Attempt"
|
1097 |
msgstr "Вашата поръчка № {order_number} е неуспешен опит"
|
1098 |
|
1099 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1100 |
msgid ""
|
1101 |
"Hi there. we thought you'd like to know that your recent order from "
|
1102 |
"{site_title} is Failed Attempt"
|
1104 |
"Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
|
1105 |
"{site_title} е неуспешен опит"
|
1106 |
|
1107 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:156
|
1108 |
msgid "Failed Attempt shipment status email"
|
1109 |
msgstr "Неуспешен опит за опит за изпращане на имейл"
|
1110 |
|
1111 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:171
|
1112 |
msgid "Enable Failed Attempt shipment status email"
|
1113 |
msgstr "Активирайте имейла за неуспешен опит за пратка"
|
1114 |
|
1115 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:126
|
1116 |
msgid "Your order #{order_number} is in transit"
|
1117 |
msgstr ""
|
1118 |
"Вашата поръчка # {order_number} е в транзит\n"
|
1119 |
|
1120 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1121 |
msgid ""
|
1122 |
"Hi there. we thought you'd like to know that your recent order from "
|
1123 |
"{site_title} is in transit"
|
1125 |
"Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
|
1126 |
"{site_title} е в транзит"
|
1127 |
|
1128 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:159
|
1129 |
msgid "In Transit shipment status email"
|
1130 |
msgstr ""
|
1131 |
"Електронна поща за статуса на транзитния транзит\n"
|
1132 |
|
1133 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:174
|
1134 |
msgid "Enable In Transit shipment status email"
|
1135 |
msgstr "Активиране на имейла за статуса на пратка в транзит"
|
1136 |
|
1137 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
|
1138 |
msgid "Your order #{order_number} is out for delivery"
|
1139 |
msgstr ""
|
1140 |
"Вашата поръчка # {order_number} е за доставка\n"
|
1141 |
|
1142 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1143 |
msgid ""
|
1144 |
"Hi there. we thought you'd like to know that your recent order from "
|
1145 |
"{site_title} is out for delivery."
|
1147 |
"Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
|
1148 |
"{site_title} е за доставка.\n"
|
1149 |
|
1150 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
|
1151 |
msgid "Out For Delivery shipment status email"
|
1152 |
msgstr "Out за доставка на пратка статус имейл"
|
1153 |
|
1154 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
|
1155 |
msgid "Enable Out For Delivery shipment status email"
|
1156 |
msgstr ""
|
1157 |
"Активиране на имейла за състоянието на пратката за доставка\n"
|
1158 |
|
1159 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:123
|
1160 |
msgid "Your order #{order_number} has returned to sender"
|
1161 |
msgstr ""
|
1162 |
"Вашата поръчка # {order_number} се върна на подателя\n"
|
1163 |
|
1164 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1165 |
msgid ""
|
1166 |
"Hi there. we thought you'd like to know that your recent order from "
|
1167 |
"{site_title} has been returned to sender."
|
1169 |
"Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
|
1170 |
"{site_title} е върната на подателя.\n"
|
1171 |
|
1172 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:156
|
1173 |
msgid "Return To Sender shipment status email"
|
1174 |
msgstr "Връщане в имейла за състоянието на пратката на подателя"
|
1175 |
|
1176 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:171
|
1177 |
msgid "Enable Return To Sender shipment status email"
|
1178 |
msgstr "Активиране на имейла за състоянието на изпращане на изпращача"
|
1179 |
|
1180 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:144
|
1181 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:496
|
1182 |
+
#: templates/emails/tracking-info.php:203
|
1183 |
+
#: templates/myaccount/tracking-info.php:144
|
1184 |
msgid "Provider"
|
1185 |
msgstr "доставчик"
|
1186 |
|
1187 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:145
|
1188 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:518
|
1189 |
+
#: templates/emails/tracking-info.php:232
|
1190 |
+
#: templates/myaccount/tracking-info.php:171
|
|
|
1191 |
msgid "Tracking Number"
|
1192 |
msgstr "Номер за проследяване"
|
1193 |
|
1194 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:146
|
1195 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:539
|
1196 |
msgid "Shipped Date"
|
1197 |
msgstr ""
|
1198 |
"Дата на изпращане\n"
|
1199 |
|
1200 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:184
|
1201 |
+
msgid "Select an order to preview and design the tracking info display."
|
|
|
|
|
1202 |
msgstr ""
|
1203 |
+
"Изберете поръчка за визуализация и дизайн на дисплея с информация за "
|
1204 |
+
"проследяване.\n"
|
|
|
1205 |
|
1206 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:204
|
1207 |
msgid "Tracking Display Position"
|
1208 |
msgstr "Проследяване на позицията на дисплея"
|
1209 |
|
1210 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:208
|
1211 |
msgid "Before Order Details"
|
1212 |
msgstr "Преди подробности за поръчката"
|
1213 |
|
1214 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:209
|
1215 |
msgid "After Order Details"
|
1216 |
msgstr "След подробности за поръчката"
|
1217 |
|
1218 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:224
|
1219 |
+
msgid "Tracking Header text"
|
1220 |
+
msgstr ""
|
1221 |
+
"Проследяване на текста на заглавката\n"
|
1222 |
|
1223 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:231
|
|
|
1224 |
msgid "Tracking Information"
|
1225 |
msgstr "Информация за проследяване"
|
1226 |
|
1227 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:246
|
1228 |
msgid "Additional text after header"
|
1229 |
msgstr "Допълнителен текст след заглавието"
|
1230 |
|
1231 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:267
|
1232 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:270
|
1233 |
+
msgid "Tracking display template"
|
1234 |
+
msgstr ""
|
1235 |
+
"Шаблон за показване на проследяване\n"
|
1236 |
+
|
1237 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
1238 |
+
msgid "Select Template"
|
1239 |
+
msgstr ""
|
1240 |
+
"Изберете шаблон\n"
|
1241 |
+
|
1242 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:275
|
1243 |
msgid "Table Layout"
|
1244 |
+
msgstr ""
|
1245 |
+
"Оформление на таблицата\n"
|
1246 |
+
|
1247 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:291
|
1248 |
+
msgid "Simple Layout Design"
|
1249 |
+
msgstr ""
|
1250 |
+
"Прост дизайн на оформлението\n"
|
1251 |
+
|
1252 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:306
|
1253 |
+
msgid "Provider font size"
|
1254 |
+
msgstr ""
|
1255 |
+
"Размер на шрифта на доставчика\n"
|
1256 |
+
|
1257 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:323
|
1258 |
+
msgid "Provider font color"
|
1259 |
+
msgstr ""
|
1260 |
+
"Цвят на шрифта на доставчика\n"
|
1261 |
+
|
1262 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:339
|
1263 |
+
msgid "Show bottom border"
|
1264 |
+
msgstr ""
|
1265 |
+
"Показване на долната граница\n"
|
1266 |
+
|
1267 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:356
|
1268 |
+
msgid "Bottom border color"
|
1269 |
+
msgstr ""
|
1270 |
+
"Цвят на долната граница\n"
|
1271 |
+
|
1272 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
1273 |
+
msgid "Table layout Design"
|
1274 |
+
msgstr ""
|
1275 |
+
"Дизайн на таблицата\n"
|
1276 |
+
|
1277 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:389
|
1278 |
+
msgid "Display shipping provider name"
|
1279 |
+
msgstr ""
|
1280 |
+
"Показване на име на доставчика на доставка\n"
|
1281 |
+
|
1282 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:406
|
1283 |
+
msgid "Display shipping provider image"
|
1284 |
+
msgstr ""
|
1285 |
+
"Покажи изображението на доставчика на доставка\n"
|
1286 |
|
1287 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:423
|
1288 |
+
msgid "Hide the ship date"
|
1289 |
+
msgstr ""
|
1290 |
+
"Скриване на датата на кораба\n"
|
1291 |
|
1292 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:440
|
1293 |
+
msgid "Use tracking number as a link"
|
1294 |
+
msgstr "Използвайте проследяващия номер като връзка"
|
1295 |
|
1296 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:457
|
1297 |
+
msgid "Table Headers"
|
1298 |
+
msgstr ""
|
1299 |
+
"Заглавки на таблици\n"
|
1300 |
+
|
1301 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:472
|
1302 |
+
msgid "Hide Table Headers"
|
1303 |
+
msgstr ""
|
1304 |
+
"Скриване на заглавките на таблици\n"
|
1305 |
+
|
1306 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:489
|
1307 |
+
msgid "Provider header text"
|
1308 |
msgstr "Текст на заглавката на доставчика"
|
1309 |
|
1310 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:511
|
1311 |
+
msgid "Tracking Number header text"
|
1312 |
+
msgstr "Текст на заглавния номер на проследяващия номер"
|
1313 |
|
1314 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:532
|
1315 |
+
msgid "Ship date header text"
|
1316 |
+
msgstr ""
|
1317 |
+
"Текст на заглавието на датата на изпращане\n"
|
1318 |
|
1319 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:554
|
1320 |
msgid "Track Label"
|
1321 |
msgstr "Етикет за проследяване"
|
1322 |
|
1323 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:571
|
1324 |
+
msgid "Track header text"
|
1325 |
+
msgstr ""
|
1326 |
+
"Проследяване на заглавния текст\n"
|
1327 |
+
|
1328 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:593
|
1329 |
+
msgid "Headers font size"
|
1330 |
+
msgstr ""
|
1331 |
+
"Размер на шрифта на заглавките\n"
|
1332 |
|
1333 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:610
|
1334 |
+
msgid "Headers font color"
|
1335 |
msgstr ""
|
1336 |
+
"Цвят на шрифта на заглавките\n"
|
1337 |
+
|
1338 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:626
|
1339 |
+
msgid "Table Content"
|
1340 |
+
msgstr "Съдържание на таблицата"
|
1341 |
|
1342 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:641
|
1343 |
msgid "Padding"
|
1344 |
msgstr ""
|
1345 |
"подложка\n"
|
1346 |
|
1347 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:661
|
1348 |
msgid "Background color"
|
1349 |
msgstr "Цвят на фона"
|
1350 |
|
1351 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:677
|
1352 |
msgid "Border color"
|
1353 |
msgstr "Цвят на границата"
|
1354 |
|
1355 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:693
|
1356 |
msgid "Border size"
|
1357 |
msgstr "Размер на границата"
|
1358 |
|
1359 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
1360 |
+
msgid "Content Text align"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1361 |
msgstr ""
|
1362 |
+
"Изравняване на текста на съдържанието\n"
|
1363 |
|
1364 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:739
|
1365 |
+
msgid "Content font color"
|
1366 |
msgstr ""
|
1367 |
+
"Цвят на шрифта на съдържанието\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1368 |
|
1369 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:755
|
1370 |
+
msgid "Content font size"
|
1371 |
+
msgstr ""
|
1372 |
+
"Размер на шрифта на съдържанието\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1373 |
|
1374 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:772
|
1375 |
msgid "Content line height"
|
1376 |
msgstr ""
|
1377 |
"Височина на линията на съдържанието\n"
|
1378 |
|
1379 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:793
|
1380 |
msgid "Content font weight"
|
1381 |
msgstr ""
|
1382 |
"Тегло на шрифта на съдържанието\n"
|
1383 |
|
1384 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:815
|
1385 |
+
msgid "Tracking Link"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1386 |
msgstr ""
|
1387 |
+
"Проследяваща връзка\n"
|
1388 |
|
1389 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:829
|
1390 |
+
msgid "Font Color"
|
1391 |
msgstr ""
|
1392 |
+
"Цвят на шрифта\n"
|
1393 |
|
1394 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:845
|
1395 |
+
msgid "Background Color"
|
1396 |
msgstr ""
|
1397 |
+
"Цвят на фона\n"
|
1398 |
|
1399 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:860
|
1400 |
+
msgid "Border"
|
1401 |
msgstr ""
|
1402 |
+
"граница\n"
|
1403 |
|
1404 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:912
|
1405 |
+
msgid ""
|
1406 |
+
"To preview the tracking display, please add tracking information to at least "
|
1407 |
+
"one order and choose it in the preview order selection."
|
1408 |
msgstr ""
|
1409 |
+
"За да визуализирате проследяващия дисплей, моля, добавете информация за "
|
1410 |
+
"проследяване на поне една поръчка и я изберете в избора на поръчка за "
|
1411 |
+
"преглед.\n"
|
|
|
|
|
1412 |
|
1413 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
|
1414 |
+
msgid "Your {site_title} order is now partially shipped"
|
1415 |
+
msgstr "Поръчката ви {site_title} вече е частично доставена"
|
1416 |
|
1417 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1418 |
msgid ""
|
1419 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
1420 |
+
"{site_title} has been partially shipped."
|
|
|
|
|
|
|
|
|
1421 |
msgstr ""
|
1422 |
+
"Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
|
1423 |
+
"{site_title} е частично изпратена.\n"
|
1424 |
|
1425 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
|
1426 |
+
msgid "Enable Partially Shipped order status email"
|
1427 |
+
msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
|
1428 |
|
1429 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
|
1430 |
+
msgid "Your {site_title} order is now updated tracking"
|
|
|
|
|
1431 |
msgstr ""
|
1432 |
+
"Поръчката ви {site_title} вече е актуализирана за проследяване\n"
|
1433 |
|
1434 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1435 |
+
msgid ""
|
1436 |
+
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
1437 |
+
"recent order from {site_title} has been updated."
|
1438 |
msgstr ""
|
1439 |
+
"Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
|
1440 |
+
"за скорошната ви поръчка от {site_title} е актуализирано.\n"
|
1441 |
|
1442 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
|
1443 |
+
msgid "Enable Updated Tracking order status email"
|
|
|
|
|
|
|
1444 |
msgstr ""
|
1445 |
+
"Активиране на имейла за актуализирано проследяване на поръчката\n"
|
1446 |
|
1447 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
1448 |
+
msgid "Delivered order"
|
1449 |
+
msgstr "Доставена поръчка"
|
1450 |
|
1451 |
+
#: includes/emails/class-shipment-delivered-email.php:33
|
1452 |
+
msgid ""
|
1453 |
+
"Order delivered emails are sent to customers when their orders are marked "
|
1454 |
+
"delivered and usually indicate that their orders have been shipped."
|
1455 |
msgstr ""
|
1456 |
+
"Имейлите за доставени поръчки се изпращат на клиентите, когато поръчките им "
|
1457 |
+
"са маркирани доставени и обикновено показват, че поръчките им са изпратени."
|
1458 |
|
1459 |
+
#: includes/emails/class-shipment-delivered-email.php:280
|
1460 |
+
msgid "Click Here"
|
1461 |
+
msgstr "Натисни тук"
|
1462 |
|
1463 |
+
#: includes/emails/class-shipment-delivered-email.php:281
|
1464 |
msgid "Edit in customizer"
|
1465 |
+
msgstr "Редактиране в персонализатора"
|
1466 |
|
1467 |
+
#: includes/views/admin_options_bulk_upload.php:10
|
1468 |
msgid "Upload CSV"
|
1469 |
msgstr "Качете CSV"
|
1470 |
|
1471 |
+
#: includes/views/admin_options_bulk_upload.php:20
|
1472 |
msgid ""
|
1473 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1474 |
"added)"
|
1476 |
"Да се промени ли информацията за проследяване, ако съществува? (ако не е "
|
1477 |
"отметнато, информацията за проследяване ще бъде добавена)"
|
1478 |
|
1479 |
+
#: includes/views/admin_options_bulk_upload.php:29
|
1480 |
+
#: includes/views/admin_options_shipping_provider.php:120
|
1481 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
1482 |
msgid "Upload"
|
1483 |
msgstr "Качи"
|
1484 |
|
1485 |
+
#: includes/views/admin_options_bulk_upload.php:31
|
|
|
|
|
1486 |
msgid "Settings Saved."
|
1487 |
msgstr "Настройките са запазени."
|
1488 |
|
1489 |
+
#: includes/views/admin_options_bulk_upload.php:41
|
1490 |
+
msgid "Upload Progress - "
|
1491 |
+
msgstr "Качване на напредъка -"
|
1492 |
+
|
1493 |
+
#: includes/views/admin_options_bulk_upload.php:50
|
1494 |
+
msgid "Sample CSV"
|
1495 |
+
msgstr "Примерен CSV"
|
1496 |
+
|
1497 |
+
#: includes/views/admin_options_bulk_upload.php:55
|
1498 |
msgid "You can download an example of the csv file:"
|
1499 |
msgstr "Можете да изтеглите пример за csv файл:"
|
1500 |
|
1501 |
+
#: includes/views/admin_options_bulk_upload.php:58
|
1502 |
msgid "Download sample csv file"
|
1503 |
msgstr "Изтеглете примерния файл csv"
|
1504 |
|
1505 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
1506 |
msgid ""
|
1507 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1508 |
msgstr ""
|
1509 |
"За подробни инструкции за това как да качите информация за проследяване в "
|
1510 |
"насипно състояние, вижте нашата"
|
1511 |
|
1512 |
+
#: includes/views/admin_options_settings.php:15
|
1513 |
+
#: includes/views/admin_trackship_dashboard.php:62
|
1514 |
+
msgid "General Settings"
|
1515 |
+
msgstr "Основни настройки"
|
1516 |
|
1517 |
+
#: includes/views/admin_options_settings.php:26
|
1518 |
+
#: includes/views/admin_options_settings.php:181
|
1519 |
+
#: includes/views/admin_trackship_dashboard.php:73
|
1520 |
+
#: includes/views/admin_tracking_page_settings.php:101
|
1521 |
+
msgid "Save Changes"
|
1522 |
+
msgstr "Запазите промените"
|
1523 |
|
1524 |
+
#: includes/views/admin_options_settings.php:40
|
1525 |
+
msgid "Tracking Info Display"
|
1526 |
+
msgstr "Информация за проследяване на информация"
|
|
|
1527 |
|
1528 |
+
#: includes/views/admin_options_settings.php:49
|
1529 |
+
msgid "You can customize the tracking info display on emails and my account"
|
1530 |
+
msgstr ""
|
1531 |
+
"Можете да персонализирате показването на информация за проследяване на "
|
1532 |
+
"имейли и моя акаунт"
|
1533 |
+
|
1534 |
+
#: includes/views/admin_options_settings.php:52
|
1535 |
+
msgid "Launch Customizer"
|
1536 |
+
msgstr "Стартирайте персонализатора"
|
1537 |
|
1538 |
+
#: includes/views/admin_options_settings.php:62
|
1539 |
+
msgid "Custom Order Statuses"
|
1540 |
msgstr ""
|
1541 |
+
"Статуси по поръчка\n"
|
1542 |
|
1543 |
+
#: includes/views/admin_options_settings.php:94
|
1544 |
+
#: includes/views/admin_options_settings.php:129
|
1545 |
+
#: includes/views/admin_options_settings.php:163
|
1546 |
+
msgid "Light Font"
|
1547 |
+
msgstr ""
|
1548 |
+
"Лек шрифт\n"
|
1549 |
|
1550 |
+
#: includes/views/admin_options_settings.php:95
|
1551 |
+
#: includes/views/admin_options_settings.php:130
|
1552 |
+
#: includes/views/admin_options_settings.php:164
|
1553 |
+
msgid "Dark Font"
|
1554 |
+
msgstr ""
|
1555 |
+
"Тъмен шрифт\n"
|
1556 |
+
|
1557 |
+
#: includes/views/admin_options_settings.php:99
|
1558 |
+
#: includes/views/admin_options_settings.php:134
|
1559 |
+
#: includes/views/admin_options_settings.php:168
|
1560 |
+
msgid "Send Email"
|
1561 |
+
msgstr ""
|
1562 |
+
"Изпратете имейл\n"
|
1563 |
+
|
1564 |
+
#: includes/views/admin_options_settings.php:190
|
1565 |
+
#, php-format
|
1566 |
+
msgid ""
|
1567 |
+
"<strong>Note:</strong> - If you use the custom order status, when you "
|
1568 |
+
"deactivate the plugin, you must register the order status, otherwise these "
|
1569 |
+
"orders will not display on your orders admin. You can find more information "
|
1570 |
+
"and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
|
1571 |
+
"php here."
|
1572 |
+
msgstr ""
|
1573 |
+
"Забележка: - Ако използвате статуса на поръчка по поръчка, когато "
|
1574 |
+
"деактивирате приставката, трябва да регистрирате състоянието на поръчката, в "
|
1575 |
+
"противен случай тези поръчки няма да се показват на администратора на вашите "
|
1576 |
+
"поръчки. Можете да намерите повече информация и фрагмента на кода, който да "
|
1577 |
+
"използвате в функции.php тук.\n"
|
1578 |
+
|
1579 |
+
#: includes/views/admin_options_shipping_provider.php:12
|
1580 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1581 |
+
#: includes/views/zorem_admin_sidebar.php:18
|
1582 |
+
#: includes/views/admin_options_addons.php:109
|
1583 |
+
msgid "Active"
|
1584 |
+
msgstr "Активен"
|
1585 |
+
|
1586 |
+
#: includes/views/admin_options_shipping_provider.php:13
|
1587 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1588 |
+
msgid "Inactive"
|
1589 |
+
msgstr "неактивен"
|
1590 |
+
|
1591 |
+
#: includes/views/admin_options_shipping_provider.php:14
|
1592 |
+
msgid "Custom"
|
1593 |
+
msgstr "Персонализиран"
|
1594 |
+
|
1595 |
+
#: includes/views/admin_options_shipping_provider.php:20
|
1596 |
+
msgid "Search by provider / country"
|
1597 |
+
msgstr "Търсене по доставчик / държава"
|
1598 |
+
|
1599 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1600 |
+
msgid "Reset all:"
|
1601 |
+
msgstr ""
|
1602 |
+
"Нулиране на всички:\n"
|
1603 |
+
|
1604 |
+
#: includes/views/admin_options_shipping_provider.php:26
|
1605 |
+
#: includes/views/admin_options_shipping_provider.php:177
|
1606 |
+
#: includes/views/admin_options_shipping_provider.php:184
|
1607 |
+
msgid "Sync Shipping Providers"
|
1608 |
+
msgstr "Синхронизирайте доставчиците на доставка"
|
1609 |
|
1610 |
+
#: includes/views/admin_options_shipping_provider.php:102
|
1611 |
msgid "Add Custom Shipping Provider"
|
1612 |
msgstr "Добавете Потребителски доставчик"
|
1613 |
|
1614 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
1615 |
+
#: includes/views/admin_options_shipping_provider.php:146
|
1616 |
+
msgid "Shipping Country"
|
1617 |
msgstr "Страна на доставка"
|
1618 |
|
1619 |
+
#: includes/views/admin_options_shipping_provider.php:110
|
1620 |
+
#: includes/views/admin_options_shipping_provider.php:147
|
1621 |
msgid "Global"
|
1622 |
+
msgstr "в световен мащаб"
|
1623 |
+
|
1624 |
+
#: includes/views/admin_options_shipping_provider.php:126
|
1625 |
+
#: includes/views/admin_options_shipping_provider.php:163
|
1626 |
+
msgid "How to add Tracking URL"
|
1627 |
+
msgstr "Как да добавите проследяващ URL адрес"
|
1628 |
|
1629 |
+
#: includes/views/admin_options_shipping_provider.php:139
|
1630 |
msgid "Edit Custom Shipping Provider"
|
1631 |
msgstr "Редактиране на доставчик по поръчка"
|
1632 |
|
1633 |
+
#: includes/views/admin_options_shipping_provider.php:178
|
1634 |
+
msgid ""
|
1635 |
+
"Syncing the shipping providers list add or updates the pre-set shipping "
|
1636 |
+
"providers and will not effect custom shipping providers."
|
1637 |
+
msgstr ""
|
1638 |
+
"Синхронизирането на списъка на доставчиците на доставки добавя или "
|
1639 |
+
"актуализира предварително зададените доставчици за доставка и няма да "
|
1640 |
+
"повлияе на доставчиците по поръчка."
|
1641 |
|
1642 |
+
#: includes/views/admin_options_shipping_provider.php:180
|
1643 |
msgid "Providers Added"
|
1644 |
msgstr "Доставчиците са добавени"
|
1645 |
|
1646 |
+
#: includes/views/admin_options_shipping_provider.php:181
|
1647 |
msgid "Providers Updated"
|
1648 |
msgstr "Актуализирани доставчици"
|
1649 |
|
1650 |
+
#: includes/views/admin_options_shipping_provider.php:182
|
1651 |
msgid "Providers Deleted"
|
1652 |
msgstr "Доставчиците са изтрити"
|
1653 |
|
1654 |
+
#: includes/views/admin_options_trackship_integration.php:17
|
1655 |
+
#: includes/views/admin_tracking_page_settings.php:7
|
|
|
|
|
|
|
|
|
1656 |
msgid "Tracking Page"
|
1657 |
msgstr "Страница за проследяване"
|
1658 |
|
1659 |
+
#: includes/views/admin_options_trackship_integration.php:20
|
1660 |
msgid "Shipment Status Notifications"
|
1661 |
+
msgstr ""
|
1662 |
+
"Известия за състоянието на пратката\n"
|
1663 |
+
|
1664 |
+
#: includes/views/admin_options_trackship_integration.php:23
|
1665 |
+
msgid "Tools"
|
1666 |
+
msgstr "Инструменти"
|
1667 |
+
|
1668 |
+
#: includes/views/zorem_admin_sidebar.php:15
|
1669 |
+
#: includes/views/admin_options_addons.php:90
|
1670 |
+
msgid "Get This Add-on >"
|
1671 |
+
msgstr ""
|
1672 |
+
"Вземете тази добавка>\n"
|
1673 |
+
|
1674 |
+
#: includes/views/zorem_admin_sidebar.php:27
|
1675 |
+
msgid "Upgrade to PRO"
|
1676 |
+
msgstr ""
|
1677 |
+
"Надградете до PRO\n"
|
1678 |
+
|
1679 |
+
#: includes/views/admin_options_tools.php:23
|
1680 |
+
msgid ""
|
1681 |
+
"You can send all your orders from the last 30 days to get shipment status "
|
1682 |
+
"from TrackShip:"
|
1683 |
+
msgstr ""
|
1684 |
+
"Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
|
1685 |
+
"статус на пратката от TrackShip:"
|
1686 |
+
|
1687 |
+
#: includes/views/admin_options_addons.php:20
|
1688 |
+
msgid "TrackShip"
|
1689 |
+
msgstr "TrackShip"
|
1690 |
+
|
1691 |
+
#: includes/views/admin_options_addons.php:36
|
1692 |
+
msgid ""
|
1693 |
+
"TracksShip is a premium shipment tracking API flatform that fully integrates "
|
1694 |
+
"with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
|
1695 |
+
"the order management workflows, reduces customer inquiries, reduces time "
|
1696 |
+
"spent on customer service, and improves the post-purchase experience and "
|
1697 |
+
"satisfaction of your customers."
|
1698 |
+
msgstr ""
|
1699 |
+
"TracksShip е първокласна форма на API за проследяване на пратки, която "
|
1700 |
+
"напълно се интегрира с WooCommerce с разширеното проследяване на пратките. "
|
1701 |
+
"TrackShip автоматизира процесите на управление на поръчките, намалява "
|
1702 |
+
"запитванията на клиенти, намалява времето, изразходвано за обслужване на "
|
1703 |
+
"клиентите, и подобрява преживяването след покупка и удовлетворението на "
|
1704 |
+
"вашите клиенти.\n"
|
1705 |
+
|
1706 |
+
#: includes/views/admin_options_addons.php:37
|
1707 |
+
msgid ""
|
1708 |
+
"You must have account TracksShip and connect your store in order to activate "
|
1709 |
+
"these advanced features:"
|
1710 |
+
msgstr ""
|
1711 |
+
"Трябва да имате акаунт TracksShip и да свържете магазина си, за да "
|
1712 |
+
"активирате тези разширени функции:\n"
|
1713 |
+
|
1714 |
+
#: includes/views/admin_options_addons.php:51
|
1715 |
+
msgid "SIGNUP NOW"
|
1716 |
+
msgstr ""
|
1717 |
+
"ВКЛЮЧИ СЕ СЕГА\n"
|
1718 |
+
|
1719 |
+
#: includes/views/admin_options_addons.php:80
|
1720 |
+
msgid ""
|
1721 |
+
"The Tracking Per Item add-on extends the AST plugin and allows you to attach "
|
1722 |
+
"tracking numbers to specific line items and to line item quantities."
|
1723 |
+
msgstr ""
|
1724 |
+
"Добавката за проследяване на артикул разширява приставката AST и ви "
|
1725 |
+
"позволява да прикачите проследяващи номера към конкретни договорени позиции "
|
1726 |
+
"и за количества от договорени покупки.\n"
|
1727 |
+
|
1728 |
+
#: includes/views/admin_options_addons.php:110
|
1729 |
+
msgid "Deactivate"
|
1730 |
+
msgstr "Деактивиране"
|
1731 |
|
1732 |
+
#: includes/views/admin_options_addons.php:112
|
1733 |
+
msgid "Activate"
|
1734 |
+
msgstr "Активирате"
|
1735 |
|
1736 |
+
#: includes/views/admin_tracking_page_settings.php:39
|
1737 |
+
msgid ""
|
1738 |
+
"Note - If you select a different page than the Shipment Tracking page, add "
|
1739 |
+
"the [wcast-track-order] shortcode to the selected page content."
|
1740 |
+
msgstr ""
|
1741 |
+
"Забележка - Ако изберете страница, различна от тази за проследяване на "
|
1742 |
+
"пратката, добавете краткия код [wcast-track-order] към избраното съдържание "
|
1743 |
+
"на страницата.\n"
|
1744 |
+
|
1745 |
+
#: includes/views/admin_tracking_page_settings.php:39
|
1746 |
+
msgid "more info"
|
1747 |
+
msgstr ""
|
1748 |
+
"повече информация\n"
|
1749 |
+
|
1750 |
+
#: includes/views/admin_tracking_page_settings.php:66
|
1751 |
+
msgid "Text Color"
|
1752 |
+
msgstr ""
|
1753 |
+
"Цвят на текста\n"
|
1754 |
+
|
1755 |
+
#: includes/views/admin_tracking_page_settings.php:72
|
1756 |
+
msgid "Border Color"
|
1757 |
msgstr ""
|
1758 |
+
"Цвят на границата\n"
|
1759 |
|
1760 |
+
#: includes/views/admin_tracking_page_settings.php:88
|
1761 |
+
msgid "Hide tracking event details"
|
1762 |
+
msgstr ""
|
1763 |
+
"Скриване на данните за проследяване на проследяването\n"
|
1764 |
+
|
1765 |
+
#: includes/views/admin_tracking_page_settings.php:110
|
1766 |
+
msgid "Preview"
|
1767 |
+
msgstr ""
|
1768 |
+
"предварителен преглед\n"
|
1769 |
+
|
1770 |
+
#: includes/views/admin_status_notifications.php:3
|
1771 |
msgid "Shipment Status Notifications "
|
1772 |
msgstr "Известия за състоянието на пратката"
|
1773 |
|
1774 |
+
#: includes/views/admin_status_notifications.php:27
|
1775 |
msgid ""
|
1776 |
"Carrier has accepted or picked up shipment from shipper. The shipment is on "
|
1777 |
"the way."
|
1778 |
msgstr "Превозвачът е приел или взел пратка от изпращача. Пратката е на път."
|
1779 |
|
1780 |
+
#: includes/views/admin_status_notifications.php:41
|
1781 |
msgid "Shipment is returned to sender"
|
1782 |
msgstr "Пратката се връща на подателя"
|
1783 |
|
1784 |
+
#: includes/views/admin_status_notifications.php:55
|
1785 |
msgid "The shipment is ready to pickup."
|
1786 |
msgstr "Пратката е готова за пикап."
|
1787 |
|
1788 |
+
#: includes/views/admin_status_notifications.php:68
|
1789 |
msgid "Carrier is about to deliver the shipment"
|
1790 |
msgstr "Превозвачът е на път да достави пратката"
|
1791 |
|
1792 |
+
#: includes/views/admin_status_notifications.php:82
|
1793 |
msgid "The shipment was delivered successfully"
|
1794 |
msgstr "Пратката е доставена успешно"
|
1795 |
|
1796 |
+
#: includes/views/admin_status_notifications.php:83
|
1797 |
msgid ""
|
1798 |
"You already have delivered email enabled, to enable this email you'll need "
|
1799 |
"to disable the order status delivered in settings."
|
1801 |
"Вече сте предоставили активиран имейл, за да активирате този имейл, ще "
|
1802 |
"трябва да деактивирате състоянието на поръчката, доставена в настройките."
|
1803 |
|
1804 |
+
#: includes/views/admin_status_notifications.php:97
|
1805 |
msgid ""
|
1806 |
"Carrier attempted to deliver but failed, and usually leaves a notice and "
|
1807 |
"will try to deliver the package again."
|
1809 |
"Превозвачът се опита да достави, но не успя и обикновено оставя известие и "
|
1810 |
"ще се опита да достави пакета отново."
|
1811 |
|
1812 |
+
#: templates/emails/tracking-info.php:225
|
1813 |
+
#: templates/myaccount/tracking-info.php:166
|
1814 |
+
msgid "Provider Name"
|
1815 |
+
msgstr "Provider Name"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1816 |
|
1817 |
#. %s: Order ID.
|
1818 |
+
#: templates/emails/wcast-email-order-details.php:47
|
1819 |
#, php-format
|
1820 |
msgid "Order number: %s"
|
1821 |
msgstr ""
|
1822 |
"Номер на поръчката:% s\n"
|
1823 |
|
1824 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
|
1825 |
+
msgid "Cannot create existing order shipment tracking."
|
1826 |
+
msgstr "Cannot create existing order shipment tracking."
|
1827 |
+
|
1828 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
|
1829 |
+
msgid "Invalid order ID."
|
1830 |
+
msgstr "Невалиден идентификационен номер на поръчката."
|
1831 |
+
|
1832 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
|
1833 |
+
msgid "Special character not allowd in tracking number"
|
1834 |
+
msgstr "Специален знак не е разрешен в проследяващия номер"
|
1835 |
+
|
1836 |
+
#. Name of the plugin
|
1837 |
+
msgid "Advanced Shipment Tracking for WooCommerce"
|
1838 |
msgstr ""
|
1839 |
+
"Разширено проследяване на пратки за WooCommerce\n"
|
1840 |
|
1841 |
+
#. Description of the plugin
|
1842 |
+
msgid ""
|
1843 |
+
"Add shipment tracking information to your WooCommerce orders and provide "
|
1844 |
+
"customers with an easy way to track their orders. Shipment tracking Info "
|
1845 |
+
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
1846 |
+
"order complete email."
|
1847 |
+
msgstr ""
|
1848 |
+
"Добавете информация за проследяване на пратките към вашите поръчки в "
|
1849 |
+
"WooCommerce и осигурете на клиентите лесен начин за проследяване на техните "
|
1850 |
+
"поръчки. Информация за проследяване на пратката ще се появи в клиентските "
|
1851 |
+
"акаунти (в панела за поръчки) и в пълния имейл на поръчката на WooCommerce."
|
lang/woo-advanced-shipment-tracking-da_DK.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-da_DK.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Danish\n"
|
9 |
"Language: da_DK\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,9 +12,9 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
-
"X-Loco-Version: 2.3.
|
16 |
|
17 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
@@ -23,8 +23,12 @@ msgstr ""
|
|
23 |
"Installer og aktiver venligst% sWooCommerce% s for WooCommerce Advanced "
|
24 |
"Shipping Tracking!"
|
25 |
|
26 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
27 |
-
|
|
|
|
|
|
|
|
|
28 |
#, php-format
|
29 |
msgid ""
|
30 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
@@ -34,484 +38,433 @@ msgid ""
|
|
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:
|
39 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1144
|
40 |
-
msgid "Shipped"
|
41 |
-
msgstr "afsendt"
|
42 |
-
|
43 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:226
|
44 |
-
#, php-format
|
45 |
-
msgid "Shipped <span class=\"count\">(%s)</span>"
|
46 |
-
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
47 |
-
msgstr[0] "Sendt <span class = \"count\"> (% s) </ span>"
|
48 |
-
msgstr[1] "Sendt <span class = \"count\"> (% s) </ span>"
|
49 |
-
|
50 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:240
|
51 |
-
msgid "Change status to shipped"
|
52 |
-
msgstr "Skift status til afsendt"
|
53 |
-
|
54 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:250
|
55 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:279
|
56 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1594
|
57 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1785
|
58 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2190
|
59 |
-
#: includes/customizer/class-wcast-customizer.php:104
|
60 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:115
|
61 |
-
#: includes/views/admin_options_trackship_integration.php:134
|
62 |
-
msgid "Delivered"
|
63 |
-
msgstr "leveres"
|
64 |
-
|
65 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:255
|
66 |
-
#, php-format
|
67 |
-
msgid "Delivered <span class=\"count\">(%s)</span>"
|
68 |
-
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
69 |
-
msgstr[0] "Leveret <span class = \"count\"> (% s) </ span>"
|
70 |
-
msgstr[1] "Leveret <span class = \"count\"> (% s) </ span>"
|
71 |
-
|
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 "Opdateret sporing"
|
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] "Opdateret sporing <span class = \"count\"> (% s) </ span>"
|
82 |
-
msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </ span>"
|
83 |
-
|
84 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:320
|
85 |
-
msgid "Change status to delivered"
|
86 |
-
msgstr "Skift status til levering"
|
87 |
-
|
88 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:523
|
89 |
msgid "Shipment status"
|
90 |
msgstr "Forsendelsesstatus"
|
91 |
|
92 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
93 |
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:
|
99 |
-
|
100 |
-
msgstr "Bestille"
|
101 |
-
|
102 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:668
|
103 |
-
msgid "Item"
|
104 |
-
msgstr "Vare"
|
105 |
-
|
106 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:669
|
107 |
-
msgid "Line Item"
|
108 |
-
msgstr "Linjepost"
|
109 |
-
|
110 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:670
|
111 |
-
msgid "Class"
|
112 |
-
msgstr "klasse"
|
113 |
-
|
114 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
115 |
-
msgid "Delete the selected rates?"
|
116 |
-
msgstr "Slet de valgte satser?"
|
117 |
-
|
118 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:672
|
119 |
-
msgid "Duplicate the selected rates?"
|
120 |
-
msgstr "Dupliker de valgte satser?"
|
121 |
-
|
122 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:673
|
123 |
-
msgid "Really want to bulk change all provider status?"
|
124 |
-
msgstr "Vil virkelig bulk ændre alle udbyder status?"
|
125 |
-
|
126 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:674
|
127 |
-
#: includes/views/admin_options_settings.php:26
|
128 |
msgid "Data saved successfully."
|
129 |
msgstr "Data gemmes med succes."
|
130 |
|
131 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
132 |
msgid "Really delete this entry? This will not be undo."
|
133 |
msgstr "Vil du virkelig slette denne post? Dette vil ikke blive fortrydt."
|
134 |
|
135 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
136 |
msgid "You can upload only csv file."
|
137 |
msgstr "Du kan kun uploade csv-filen."
|
138 |
|
139 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
140 |
msgid "This browser does not support HTML5."
|
141 |
msgstr "Denne browser understøtter ikke HTML5."
|
142 |
|
143 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
144 |
msgid "Please upload a valid CSV file."
|
145 |
msgstr "Upload venligst en gyldig CSV-fil."
|
146 |
|
147 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
148 |
msgid "Shipping Providers"
|
149 |
msgstr "Forsendelsesleverandører"
|
150 |
|
151 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
152 |
-
msgid "Settings"
|
153 |
-
msgstr "Indstillinger"
|
154 |
-
|
155 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
156 |
msgid "Bulk Upload"
|
157 |
-
msgstr "Bulk
|
158 |
|
159 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
160 |
-
msgid "
|
161 |
-
msgstr ""
|
162 |
|
163 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
msgid "Connected"
|
165 |
msgstr ""
|
166 |
"forbundet\n"
|
167 |
|
168 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
169 |
-
|
170 |
-
"
|
171 |
-
"
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
177 |
#, php-format
|
178 |
-
msgid ""
|
179 |
-
"
|
180 |
-
"these advanced features."
|
181 |
-
msgstr ""
|
182 |
-
"Du skal have en konto og forbinde din butik til% s for at aktivere disse "
|
183 |
-
"avancerede funktioner.\n"
|
184 |
|
185 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
186 |
#, php-format
|
187 |
-
msgid "
|
188 |
-
msgstr ""
|
189 |
-
"50 gratis Trackers for hver ny konto! Få din% s konto nu >>\n"
|
190 |
-
|
191 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:988
|
192 |
-
msgid "TrackShip Connection Status"
|
193 |
-
msgstr "TrackShip-forbindelsesstatus"
|
194 |
|
195 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
196 |
-
#: includes/emails/class-shipment-delivered-email.php:226
|
197 |
msgid "Enable/Disable"
|
198 |
msgstr "Aktivere deaktivere"
|
199 |
|
200 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
201 |
msgid "Set order status Delivered when order is delivered"
|
202 |
-
msgstr ""
|
203 |
-
"Indstil ordrestatus Leveres, når ordren leveres\n"
|
204 |
-
|
205 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1008
|
206 |
-
#, php-format
|
207 |
-
msgid ""
|
208 |
-
"You have %s %s orders that you can track with TrackShip, you can send these "
|
209 |
-
"shipments to TrackShip in Bulk."
|
210 |
-
msgstr ""
|
211 |
-
|
212 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1009
|
213 |
-
msgid "Get Shipment Status"
|
214 |
-
msgstr ""
|
215 |
|
216 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
217 |
msgid ""
|
218 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
219 |
"for the tracking page to work."
|
220 |
msgstr ""
|
|
|
|
|
221 |
|
222 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
223 |
msgid "Select Tracking Page"
|
224 |
-
msgstr ""
|
225 |
-
"Vælg Sporingsside\n"
|
226 |
-
|
227 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1063
|
228 |
-
#: includes/customizer/class-wc-tracking-page-customizer.php:150
|
229 |
-
msgid "Remove Trackship branding from tracking page"
|
230 |
-
msgstr ""
|
231 |
-
"Fjern Trackship branding fra sporingsside\n"
|
232 |
|
233 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
234 |
msgid "Use the tracking page in the customer email/my account tracking link"
|
|
|
|
|
|
|
|
|
|
|
235 |
msgstr ""
|
236 |
-
"
|
237 |
|
238 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
239 |
msgid "Select primary color for tracking page"
|
240 |
-
msgstr ""
|
241 |
-
"Vælg primær farve til sporingsside\n"
|
242 |
|
243 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
244 |
msgid "Select content border color for tracking page"
|
245 |
-
msgstr ""
|
246 |
-
"Vælg indholdsfarvefarve for sporingsside\n"
|
247 |
|
248 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
249 |
-
|
250 |
-
|
251 |
-
"state"
|
252 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
|
254 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
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 |
|
260 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
261 |
-
msgid "
|
262 |
-
msgstr "afsluttet"
|
263 |
-
|
264 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1149
|
265 |
-
msgid ""
|
266 |
-
"Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
|
267 |
-
"state"
|
268 |
msgstr ""
|
|
|
269 |
|
270 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
271 |
msgid ""
|
272 |
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
273 |
"will be selected by default when adding tracking info to orders."
|
274 |
msgstr ""
|
|
|
|
|
275 |
|
276 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
277 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
278 |
-
msgstr "Omdøb \"Afsluttet\"
|
279 |
-
|
280 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1169
|
281 |
-
msgid "On which customer order status email to include tracking info?"
|
282 |
-
msgstr "På hvilken kundeordres status-e-mail for at inkludere sporingsinfo?"
|
283 |
|
284 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1171
|
290 |
-
msgid "Customer Invoice"
|
291 |
-
msgstr "Kundefaktura"
|
292 |
-
|
293 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1172
|
294 |
-
msgid "Refunded"
|
295 |
-
msgstr "refunderet"
|
296 |
-
|
297 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
298 |
-
msgid "Processing"
|
299 |
-
msgstr "Forarbejdning"
|
300 |
-
|
301 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1174
|
302 |
-
msgid "Failed"
|
303 |
-
msgstr "mislykkedes"
|
304 |
|
305 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
306 |
msgid "Show tracking info in Invoice"
|
307 |
msgstr "Vis sporingsinfo i faktura"
|
308 |
|
309 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
310 |
msgid "Show tracking info in Packing Slip"
|
311 |
msgstr "Vis sporingsinfo i pakkeseddel"
|
312 |
|
313 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
314 |
-
msgid "Enable
|
315 |
-
msgstr "Aktivér
|
316 |
|
317 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
318 |
msgid ""
|
319 |
"if you enable the delivered item, you will have the option to send delivered "
|
320 |
"email notifications."
|
321 |
msgstr ""
|
322 |
-
"Hvis du aktiverer den leverede vare, har du
|
323 |
-
"
|
324 |
|
325 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
326 |
-
msgid "Delivered
|
327 |
-
msgstr "Leveret
|
328 |
|
329 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
330 |
-
|
331 |
-
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
msgstr ""
|
334 |
-
"
|
335 |
|
336 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
337 |
-
#: includes/views/admin_options_trackship_integration.php:80
|
338 |
-
#: includes/views/admin_options_trackship_integration.php:94
|
339 |
-
#: includes/views/admin_options_trackship_integration.php:108
|
340 |
-
#: includes/views/admin_options_trackship_integration.php:121
|
341 |
-
#: includes/views/admin_options_trackship_integration.php:135
|
342 |
-
#: includes/views/admin_options_trackship_integration.php:150
|
343 |
-
msgid "Edit"
|
344 |
-
msgstr "Editar"
|
345 |
-
|
346 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1236
|
347 |
msgid ""
|
348 |
-
"
|
349 |
-
"
|
350 |
-
msgstr "
|
|
|
|
|
351 |
|
352 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
353 |
-
msgid "
|
354 |
-
msgstr "
|
|
|
355 |
|
356 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
357 |
-
msgid "
|
358 |
-
msgstr "
|
|
|
359 |
|
360 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
361 |
-
|
362 |
-
msgid ""
|
363 |
-
"PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
|
364 |
-
"deactivate the plugin, you must register this order status in function.php "
|
365 |
-
"in order to see these orders in the orders admin. You can find the snippet "
|
366 |
-
"to use in functions.php %s or we can set to change all your \"delivered\" "
|
367 |
-
"order to \"completed\"."
|
368 |
msgstr ""
|
369 |
-
"
|
370 |
-
"registrere denne ordrestatus i function.php, når du deaktiverer plugin'en "
|
371 |
-
"for at se disse ordrer i ordreadministratoren. Du kan finde kodestykket at "
|
372 |
-
"bruge i functions.php% s eller vi kan indstille til at ændre al din "
|
373 |
-
"\"leverede\" ordre til \"afsluttet\"."
|
374 |
|
375 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
376 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
msgstr ""
|
378 |
-
"
|
|
|
379 |
|
380 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
msgid "In Transit"
|
386 |
msgstr "Undervejs"
|
387 |
|
388 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
389 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
390 |
-
#: includes/customizer/class-wcast-customizer.php:
|
391 |
msgid "Pre Transit"
|
392 |
msgstr ""
|
393 |
"Pre Transit\n"
|
394 |
|
395 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
396 |
-
|
397 |
-
|
398 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
|
400 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
401 |
-
#: includes/
|
402 |
-
#: includes/customizer/class-
|
403 |
-
#: includes/
|
|
|
404 |
msgid "Available For Pickup"
|
405 |
msgstr ""
|
406 |
"Klar til afhentning\n"
|
407 |
|
408 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
409 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
410 |
-
#: includes/customizer/class-wcast-customizer.php:
|
411 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
412 |
-
#: includes/views/
|
413 |
msgid "Return To Sender"
|
414 |
msgstr ""
|
415 |
"Retur til Afsender\n"
|
416 |
|
417 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
418 |
-
|
419 |
-
|
420 |
-
|
|
|
|
|
|
|
421 |
|
422 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
423 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
424 |
msgid "Unknown"
|
425 |
msgstr "Ukendt"
|
426 |
|
427 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
428 |
msgid "Pending TrackShip"
|
429 |
-
msgstr ""
|
430 |
-
"Afventer TrackShip\n"
|
431 |
|
432 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
433 |
-
|
434 |
-
|
435 |
-
"
|
436 |
|
437 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
438 |
-
|
439 |
-
|
440 |
-
"
|
441 |
|
442 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
443 |
msgid "Invalid User Key"
|
444 |
-
msgstr ""
|
445 |
|
446 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
447 |
-
msgid "
|
448 |
-
msgstr "
|
449 |
|
450 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
451 |
msgid "Shipped Order"
|
452 |
-
msgstr "
|
453 |
|
454 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
455 |
msgid "Mark order as delivered"
|
456 |
-
msgstr "
|
457 |
|
458 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
459 |
msgid "Add Tracking"
|
460 |
-
msgstr ""
|
461 |
|
462 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
463 |
msgid "Change order status to"
|
464 |
msgstr "Skift ordrestatus til"
|
465 |
|
466 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
467 |
-
#: includes/views/admin_options_shipping_provider.php:
|
468 |
#, php-format
|
469 |
msgid "You don't have any %s shipping providers."
|
470 |
msgstr "Du har ikke% s forsendelsesudbydere."
|
471 |
|
472 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
473 |
-
#: includes/
|
474 |
-
|
475 |
-
|
476 |
-
msgstr "Se detaljer"
|
477 |
-
|
478 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2146
|
479 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2158
|
480 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2170
|
481 |
-
msgid "hide details"
|
482 |
-
msgstr "Gem detaljer"
|
483 |
-
|
484 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2188
|
485 |
-
msgid "Available for Pickup"
|
486 |
-
msgstr ""
|
487 |
-
|
488 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2189
|
489 |
-
msgid "Out for Delivery"
|
490 |
-
msgstr ""
|
491 |
-
|
492 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2191
|
493 |
-
#: includes/customizer/class-wcast-customizer.php:112
|
494 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:113
|
495 |
-
#: includes/views/admin_options_trackship_integration.php:149
|
496 |
-
msgid "Failed Attempt"
|
497 |
-
msgstr "Mislykket forsøg"
|
498 |
-
|
499 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2193
|
500 |
-
msgid "Carrier Unsupported"
|
501 |
-
msgstr ""
|
502 |
-
|
503 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2195
|
504 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:457
|
505 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:813
|
506 |
-
msgid "Invalid Tracking Number"
|
507 |
-
msgstr ""
|
508 |
-
"Ugyldigt sporingsnummer\n"
|
509 |
|
510 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
511 |
msgid "Filter by shipment status"
|
512 |
-
msgstr ""
|
513 |
|
514 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
515 |
msgid ""
|
516 |
"To track your order please enter your Order ID in the box below and press "
|
517 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
@@ -521,179 +474,356 @@ msgstr ""
|
|
521 |
"trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
|
522 |
"den bekræftelses e-mail, du skulle have modtaget.\n"
|
523 |
|
524 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
525 |
-
|
526 |
-
msgstr ""
|
527 |
-
"Ordre ID\n"
|
528 |
-
|
529 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:139
|
530 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:140
|
531 |
msgid "Found in your order confirmation email."
|
532 |
msgstr ""
|
533 |
"Findes i din ordrebekræftelses-email.\n"
|
534 |
|
535 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
536 |
msgid "Order Email"
|
537 |
msgstr ""
|
538 |
"Bestil Email\n"
|
539 |
|
540 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
541 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
542 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
543 |
-
#: includes/class-wc-
|
544 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
545 |
-
#:
|
546 |
-
#:
|
547 |
-
#: templates/emails/tracking-info.php:152
|
548 |
-
#: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
|
549 |
msgid "Track"
|
550 |
msgstr "Spor pakke"
|
551 |
|
552 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
553 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
554 |
#, php-format
|
555 |
msgid "Shipment - %s (out of %s)"
|
556 |
msgstr ""
|
557 |
"Forsendelse -% s (ud af% s)\n"
|
558 |
|
559 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
560 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
561 |
-
msgid "
|
562 |
-
msgstr "
|
563 |
|
564 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
565 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
566 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
567 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
568 |
-
|
569 |
-
|
|
|
|
|
|
|
570 |
|
571 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
572 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
573 |
msgid "Tracking Details"
|
574 |
msgstr "Sporingsdetaljer"
|
575 |
|
576 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
577 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
578 |
msgid "view more"
|
579 |
msgstr "Se mere"
|
580 |
|
581 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
582 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
583 |
msgid "view less"
|
584 |
msgstr "se mindre"
|
585 |
|
586 |
-
|
587 |
-
#: includes/class-wc-advanced-shipment-tracking
|
588 |
-
|
589 |
-
msgid ""
|
590 |
-
"We added many improvements to %1$s, please help and give us a review :) "
|
591 |
-
"Thanks!"
|
592 |
-
msgstr ""
|
593 |
-
"Vi tilføjede mange forbedringer til% 1 $ s, hjælp venligst og giv os en "
|
594 |
-
"anmeldelse :) Tak!"
|
595 |
-
|
596 |
-
#: includes/class-wc-advanced-shipment-tracking.php:93
|
597 |
-
#: includes/class-wc-advanced-shipment-tracking.php:244
|
598 |
-
#: includes/customizer/class-wcast-customizer.php:30
|
599 |
msgid "Shipment Tracking"
|
600 |
msgstr "Forsendelsessporing"
|
601 |
|
602 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
603 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
604 |
-
|
605 |
-
|
|
|
606 |
|
607 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
608 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
609 |
-
|
610 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
611 |
|
612 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
613 |
msgid "Add Tracking Number"
|
614 |
-
msgstr ""
|
615 |
|
616 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
617 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
618 |
msgid "Provider:"
|
619 |
msgstr "udbyder:"
|
620 |
|
621 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
622 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
623 |
msgid "Tracking number:"
|
624 |
msgstr "Tracking nummer:"
|
625 |
|
626 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
627 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
628 |
msgid "Date shipped:"
|
629 |
msgstr "Dato afsendt:"
|
630 |
|
631 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
632 |
-
#:
|
633 |
-
|
634 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
635 |
|
636 |
#. 1: shipping date
|
637 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
638 |
-
#: templates/pip/tracking-info.php:29
|
639 |
#, php-format
|
640 |
msgid "Shipped on %s"
|
641 |
msgstr "Sendes på% s"
|
642 |
|
643 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
644 |
-
msgid "Delete"
|
645 |
-
msgstr "Slet"
|
646 |
-
|
647 |
-
#: includes/class-wc-advanced-shipment-tracking.php:365
|
648 |
msgid "Add Tracking Info"
|
649 |
msgstr "Tilføj sporingsinfo"
|
650 |
|
651 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
652 |
msgid "Select Provider"
|
653 |
msgstr "Vælg Udbyder"
|
654 |
|
655 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
656 |
msgid "Save Tracking"
|
657 |
msgstr "Gem sporing"
|
658 |
|
659 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
660 |
msgid "Preview:"
|
661 |
msgstr "Eksempel:"
|
662 |
|
663 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
664 |
-
|
665 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
666 |
|
667 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
668 |
msgid "Shipment Status Emails"
|
669 |
msgstr "Sendingsstatus-e-mails"
|
670 |
|
671 |
-
#: includes/customizer/class-wcast-customizer.php:
|
672 |
msgid "Tracking info display"
|
673 |
msgstr ""
|
674 |
"Tracking info display\n"
|
675 |
|
676 |
-
#: includes/customizer/class-wcast-customizer.php:
|
677 |
-
|
678 |
-
|
|
|
|
|
679 |
|
680 |
-
#: includes/customizer/class-wcast-customizer.php:
|
681 |
-
#: includes/customizer/class-wc-
|
682 |
-
|
683 |
-
|
684 |
-
|
|
|
|
|
|
|
|
|
|
|
685 |
|
686 |
-
#: includes/customizer/class-wcast-customizer.php:
|
687 |
msgid "Select order to preview"
|
688 |
msgstr ""
|
689 |
"Vælg rækkefølge for at forhåndsvise\n"
|
690 |
|
691 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
692 |
msgid "Your order #{order_number} is available for pickup"
|
693 |
msgstr ""
|
694 |
"Din ordre # {order_number} er tilgængelig til afhentning\n"
|
695 |
|
696 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
697 |
msgid ""
|
698 |
"Hi there. we thought you'd like to know that your recent order from "
|
699 |
"{site_title} is available for pickup."
|
@@ -701,224 +831,176 @@ msgstr ""
|
|
701 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
702 |
"er tilgængelig til afhentning.\n"
|
703 |
|
704 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
705 |
msgid "Available For Pickup shipment status email"
|
706 |
msgstr ""
|
707 |
"Tilgængelig til afhentningsstatus for afsendelsesstatus\n"
|
708 |
|
709 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
710 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
711 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
712 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
713 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
714 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
715 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
716 |
msgid "This section lets you customize the Email Content."
|
717 |
msgstr ""
|
718 |
"Dette afsnit giver dig mulighed for at tilpasse e-mailindholdet.\n"
|
719 |
|
720 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
721 |
msgid "Enable Available For Pickup shipment status email"
|
722 |
msgstr ""
|
723 |
"Aktivér tilgængelig for afhentningsstatus for e-mail\n"
|
724 |
|
725 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
726 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
727 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
728 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
729 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
730 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
731 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
732 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
733 |
msgid "Preview order"
|
734 |
msgstr ""
|
735 |
"Forhåndsvis rækkefølge\n"
|
736 |
|
737 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
738 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
739 |
-
#: includes/customizer/class-wc-
|
740 |
-
#: includes/customizer/class-wc-
|
741 |
-
#: includes/customizer/class-wc-
|
742 |
-
#: includes/customizer/class-wc-
|
743 |
-
|
744 |
-
msgstr "Til"
|
745 |
-
|
746 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
|
747 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:200
|
748 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:197
|
749 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:200
|
750 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
|
751 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:201
|
752 |
-
msgid ""
|
753 |
-
"Enter emails here or use variables such as {customer_email}. Multiple emails "
|
754 |
-
"can be separated by commas."
|
755 |
-
msgstr ""
|
756 |
-
"Indtast e-mails her eller brug variabler som {customer_email}. Flere e-mails "
|
757 |
-
"kan adskilles med kommaer."
|
758 |
-
|
759 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
|
760 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:206
|
761 |
-
#: includes/customizer/class-wc-email-customizer.php:218
|
762 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
763 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:206
|
764 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
765 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:207
|
766 |
msgid "E.g. {customer.email}, admin@example.org"
|
767 |
msgstr "F.eks {customer.email}, admin@example.org"
|
768 |
|
769 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
770 |
-
#: includes/customizer/class-wc-
|
771 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
772 |
-
#: includes/customizer/class-wc-
|
773 |
-
#: includes/customizer/class-wc-
|
774 |
-
#: includes/customizer/class-wc-
|
775 |
-
#: includes/customizer/class-wc-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
#: includes/customizer/class-wc-
|
780 |
-
#: includes/customizer/class-wc-
|
781 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:222
|
782 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:244
|
783 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:219
|
784 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:241
|
785 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:222
|
786 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:244
|
787 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
|
788 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
|
789 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:223
|
790 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:245
|
791 |
msgid "Available placeholders: {site_title}, {order_number}"
|
792 |
msgstr "Tilgængelige pladsholdere: {site_title}, {order_number}"
|
793 |
|
794 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
795 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
796 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
797 |
-
#: includes/customizer/class-wc-
|
798 |
-
#: includes/customizer/class-wc-
|
799 |
-
#: includes/customizer/class-wc-
|
800 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:229
|
801 |
-
msgid "Please enter email subject here"
|
802 |
-
msgstr "Indtast venligst e-mail-emne her"
|
803 |
-
|
804 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
|
805 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:243
|
806 |
-
#: includes/customizer/class-wc-email-customizer.php:257
|
807 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:240
|
808 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:243
|
809 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
|
810 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:244
|
811 |
-
#: includes/emails/class-shipment-delivered-email.php:250
|
812 |
-
msgid "Email heading"
|
813 |
-
msgstr "E-mail overskrift"
|
814 |
-
|
815 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
|
816 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:250
|
817 |
-
#: includes/customizer/class-wc-email-customizer.php:264
|
818 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:247
|
819 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:250
|
820 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
|
821 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
822 |
-
msgid "Please enter email heading here"
|
823 |
-
msgstr "Indtast venligst e-mail-overskrift her"
|
824 |
-
|
825 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
|
826 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:265
|
827 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:262
|
828 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:265
|
829 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
|
830 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:266
|
831 |
msgid "Show tracking details"
|
832 |
msgstr ""
|
833 |
"Vis sporingsoplysninger\n"
|
834 |
|
835 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
836 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
837 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
838 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
839 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
840 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
841 |
msgid "Show order details"
|
842 |
msgstr ""
|
843 |
"Vis bestilling detaljer\n"
|
844 |
|
845 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
846 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
847 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
848 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
849 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
850 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
851 |
msgid "Show billing address"
|
852 |
msgstr ""
|
853 |
"Vis faktureringsadresse\n"
|
854 |
|
855 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
856 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
857 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
858 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
859 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
860 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
861 |
msgid "Show shipping address"
|
862 |
msgstr ""
|
863 |
"Vis forsendelsesadresse\n"
|
864 |
|
865 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
866 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
867 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
868 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
869 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
870 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
871 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
872 |
msgid "Google Analytics link tracking"
|
873 |
-
msgstr ""
|
874 |
-
|
875 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
876 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
877 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
878 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
879 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
880 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
881 |
msgid "This will be appended to URL in the email content"
|
882 |
-
msgstr ""
|
883 |
-
|
884 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
885 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
886 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
887 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
888 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
889 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
890 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
891 |
msgid "Email content"
|
892 |
msgstr "Email indhold"
|
893 |
|
894 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
895 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
896 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
897 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
898 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
899 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
900 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
901 |
msgid "Available placeholders"
|
902 |
msgstr ""
|
903 |
"Tilgængelige pladsholdere\n"
|
904 |
|
905 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
906 |
-
#: includes/customizer/class-wc-
|
907 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
908 |
-
#: includes/customizer/class-wc-
|
909 |
-
#: includes/customizer/class-wc-
|
910 |
-
#: includes/customizer/class-wc-
|
911 |
-
#: includes/customizer/class-wc-
|
912 |
-
#: includes/customizer/class-wc-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
918 |
msgid "Your order #{order_number} has been delivered"
|
919 |
-
msgstr ""
|
920 |
|
921 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
|
|
922 |
msgid ""
|
923 |
"Hi there. we thought you'd like to know that your recent order from "
|
924 |
"{site_title} has been Delivered."
|
@@ -926,95 +1008,86 @@ msgstr ""
|
|
926 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
927 |
"er blevet leveret.\n"
|
928 |
|
929 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
930 |
msgid "Delivered shipment status email"
|
931 |
msgstr ""
|
932 |
"Leveret status for afsendelsesstatus\n"
|
933 |
|
934 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
935 |
msgid "Enable Delivered shipment status email"
|
936 |
msgstr ""
|
937 |
"Aktivér leveret e-mail med leveringsstatus\n"
|
938 |
|
939 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
940 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
941 |
msgid "Your {site_title} order is now delivered"
|
942 |
msgstr ""
|
943 |
"Din {site_title} ordre er nu leveret\n"
|
944 |
|
945 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
946 |
-
#: includes/emails/class-shipment-delivered-email.php:102
|
947 |
-
msgid "Thanks for shopping with us"
|
948 |
-
msgstr ""
|
949 |
-
"Tak for at shoppe hos os\n"
|
950 |
-
|
951 |
-
#: includes/customizer/class-wc-email-customizer.php:124
|
952 |
-
msgid "Hi there. Your recent order on {site_title} has been delivered."
|
953 |
-
msgstr ""
|
954 |
-
"Hej. Din seneste ordre på {site_title} er blevet leveret.\n"
|
955 |
-
|
956 |
-
#: includes/customizer/class-wc-email-customizer.php:171
|
957 |
msgid "Enable Delivered order status email"
|
958 |
msgstr ""
|
959 |
"Aktivér leveret ordre status email\n"
|
960 |
|
961 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
962 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
963 |
msgid "Please select a order..."
|
964 |
msgstr "Vælg venligst en ordre ..."
|
965 |
|
966 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
971 |
-
|
972 |
-
"Enter emails use variables such as {customer_email}. Multiple emails can be "
|
973 |
-
"separated by commas."
|
974 |
-
msgstr ""
|
975 |
-
|
976 |
-
#: includes/customizer/class-wc-email-customizer.php:235
|
977 |
-
#: includes/customizer/class-wc-email-customizer.php:258
|
978 |
msgid "Available variables: {site_title}, {order_number}"
|
979 |
-
msgstr ""
|
980 |
|
981 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
|
|
|
|
982 |
msgid ""
|
983 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
984 |
"{customer_last_name}, {customer_username}, {order_number}"
|
985 |
msgstr ""
|
|
|
|
|
986 |
|
987 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
988 |
msgid "Display tracking details"
|
989 |
-
msgstr ""
|
990 |
|
991 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
992 |
msgid "Display order details"
|
993 |
-
msgstr ""
|
994 |
|
995 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
996 |
msgid "Display Shipping Address"
|
997 |
-
msgstr ""
|
998 |
|
999 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1000 |
msgid "Display Billing Address"
|
1001 |
-
msgstr ""
|
1002 |
|
1003 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1004 |
msgid "Enable Google Analytics tracking"
|
1005 |
-
msgstr ""
|
1006 |
|
1007 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1008 |
msgid ""
|
1009 |
"This will be appended to URL in the email content – e.g. "
|
1010 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1011 |
msgstr ""
|
|
|
|
|
1012 |
|
1013 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1014 |
msgid "Your order #{order_number} is Failed Attempt"
|
1015 |
msgstr "Din ordre # {order_nummer} er mislykket"
|
1016 |
|
1017 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1018 |
msgid ""
|
1019 |
"Hi there. we thought you'd like to know that your recent order from "
|
1020 |
"{site_title} is Failed Attempt"
|
@@ -1022,20 +1095,20 @@ msgstr ""
|
|
1022 |
"Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
|
1023 |
"mislykket forsøg"
|
1024 |
|
1025 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1026 |
msgid "Failed Attempt shipment status email"
|
1027 |
msgstr "Mislykket Forsøg på e-mail med forsendelsesstatus"
|
1028 |
|
1029 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1030 |
msgid "Enable Failed Attempt shipment status email"
|
1031 |
msgstr "Aktivér mislykket forsøg på e-mail med status for forsendelse"
|
1032 |
|
1033 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1034 |
msgid "Your order #{order_number} is in transit"
|
1035 |
msgstr ""
|
1036 |
"Din ordre # {order_number} er i transit\n"
|
1037 |
|
1038 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1039 |
msgid ""
|
1040 |
"Hi there. we thought you'd like to know that your recent order from "
|
1041 |
"{site_title} is in transit"
|
@@ -1043,20 +1116,20 @@ msgstr ""
|
|
1043 |
"Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
1044 |
"er i transit"
|
1045 |
|
1046 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1047 |
msgid "In Transit shipment status email"
|
1048 |
msgstr ""
|
1049 |
"I transitforsendelse status email\n"
|
1050 |
|
1051 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1052 |
msgid "Enable In Transit shipment status email"
|
1053 |
msgstr "Aktivér e-mail i transitforsendelsesstatus"
|
1054 |
|
1055 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1056 |
msgid "Your order #{order_number} is out for delivery"
|
1057 |
msgstr "Din ordre # {order_number} er ude for levering"
|
1058 |
|
1059 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1060 |
msgid ""
|
1061 |
"Hi there. we thought you'd like to know that your recent order from "
|
1062 |
"{site_title} is out for delivery."
|
@@ -1064,20 +1137,20 @@ msgstr ""
|
|
1064 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
1065 |
"er ude for levering."
|
1066 |
|
1067 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1068 |
msgid "Out For Delivery shipment status email"
|
1069 |
msgstr ""
|
1070 |
"Out For Delivery forsendelse status email\n"
|
1071 |
|
1072 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1073 |
msgid "Enable Out For Delivery shipment status email"
|
1074 |
msgstr "Aktivér Send e-mail til afsendelsesstatus for levering"
|
1075 |
|
1076 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1077 |
msgid "Your order #{order_number} has returned to sender"
|
1078 |
msgstr "Din ordre # {order_number} er returneret til afsenderen"
|
1079 |
|
1080 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1081 |
msgid ""
|
1082 |
"Hi there. we thought you'd like to know that your recent order from "
|
1083 |
"{site_title} has been returned to sender."
|
@@ -1085,288 +1158,307 @@ msgstr ""
|
|
1085 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
1086 |
"er blevet returneret til afsenderen."
|
1087 |
|
1088 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1089 |
msgid "Return To Sender shipment status email"
|
1090 |
msgstr ""
|
1091 |
"Returner til afsendelsesstatus for afsendelsesstatus\n"
|
1092 |
|
1093 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1094 |
msgid "Enable Return To Sender shipment status email"
|
1095 |
msgstr ""
|
1096 |
"Aktivér Send e-mail til afsendelse af afsendelsesstatus\n"
|
1097 |
|
1098 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1099 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1100 |
-
#:
|
1101 |
-
#: templates/
|
1102 |
msgid "Provider"
|
1103 |
msgstr "Fragtfirma"
|
1104 |
|
1105 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1106 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1107 |
-
#:
|
1108 |
-
#: templates/
|
1109 |
-
#: templates/myaccount/view-order.php:111
|
1110 |
msgid "Tracking Number"
|
1111 |
msgstr "Tracking nummer"
|
1112 |
|
1113 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1114 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1115 |
msgid "Shipped Date"
|
1116 |
msgstr ""
|
1117 |
"Afsendt dato\n"
|
1118 |
|
1119 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1120 |
-
msgid ""
|
1121 |
-
"select from last 20 orders one order that you added tracking info in order "
|
1122 |
-
"to preview and design the tracking info table."
|
1123 |
msgstr ""
|
1124 |
-
"
|
1125 |
-
"sporingsoplysninger for at forhåndsvise og designe "
|
1126 |
-
"sporingsinformatortabellen."
|
1127 |
|
1128 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1129 |
msgid "Tracking Display Position"
|
1130 |
msgstr "Sporing af skærmposition"
|
1131 |
|
1132 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1133 |
msgid "Before Order Details"
|
1134 |
msgstr "Før ordredetaljer"
|
1135 |
|
1136 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1137 |
msgid "After Order Details"
|
1138 |
msgstr "Efter ordredetaljer"
|
1139 |
|
1140 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1141 |
-
msgid "
|
1142 |
-
msgstr "
|
|
|
1143 |
|
1144 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1145 |
-
#: templates/pip/tracking-info.php:17
|
1146 |
msgid "Tracking Information"
|
1147 |
msgstr "Sporing Oplysninger"
|
1148 |
|
1149 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1150 |
msgid "Additional text after header"
|
1151 |
msgstr "Yderligere tekst efter overskrift"
|
1152 |
|
1153 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
msgid "Display Shipment Provider image"
|
1159 |
-
msgstr "Vis leveringsbillede af forsendelse"
|
1160 |
-
|
1161 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:277
|
1162 |
-
msgid "Hide date"
|
1163 |
-
msgstr "Skjul dato"
|
1164 |
|
1165 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1166 |
-
msgid "
|
1167 |
-
msgstr "
|
|
|
1168 |
|
1169 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1170 |
-
msgid "
|
1171 |
-
msgstr "
|
|
|
1172 |
|
1173 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1174 |
-
msgid "
|
1175 |
-
msgstr "
|
|
|
1176 |
|
1177 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1178 |
-
msgid "
|
1179 |
-
msgstr "
|
|
|
1180 |
|
1181 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1182 |
-
msgid "
|
1183 |
-
msgstr "
|
|
|
1184 |
|
1185 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1186 |
-
msgid "
|
1187 |
-
msgstr "
|
|
|
1188 |
|
1189 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1190 |
-
msgid "
|
1191 |
-
msgstr "
|
|
|
1192 |
|
1193 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1194 |
-
msgid "
|
1195 |
-
msgstr "
|
|
|
1196 |
|
1197 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1198 |
-
msgid "
|
1199 |
msgstr ""
|
1200 |
-
"
|
1201 |
|
1202 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1203 |
-
msgid "
|
1204 |
msgstr ""
|
1205 |
-
"
|
1206 |
|
1207 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
msgstr "Vælg"
|
1212 |
|
1213 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1214 |
-
msgid "
|
1215 |
-
msgstr "
|
1216 |
|
1217 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1218 |
-
msgid "
|
1219 |
-
msgstr "
|
|
|
1220 |
|
1221 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1222 |
-
msgid "
|
1223 |
-
msgstr "
|
|
|
1224 |
|
1225 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1226 |
-
msgid "
|
1227 |
-
msgstr "
|
|
|
1228 |
|
1229 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1230 |
-
msgid "
|
1231 |
-
msgstr "
|
|
|
1232 |
|
1233 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1234 |
-
msgid "
|
1235 |
-
msgstr "
|
|
|
1236 |
|
1237 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1238 |
-
msgid "
|
1239 |
-
msgstr "
|
1240 |
|
1241 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1242 |
-
msgid "
|
1243 |
-
msgstr "
|
|
|
1244 |
|
1245 |
#: includes/customizer/class-wc-tracking-info-customizer.php:593
|
1246 |
-
msgid "
|
1247 |
msgstr ""
|
1248 |
-
"
|
1249 |
|
1250 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1251 |
-
msgid "
|
1252 |
msgstr ""
|
1253 |
-
"
|
1254 |
|
1255 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1256 |
-
msgid "
|
1257 |
-
msgstr "
|
1258 |
|
1259 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1260 |
-
msgid "
|
1261 |
-
msgstr "
|
1262 |
-
|
1263 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:666
|
1264 |
-
msgid "Track Link Background Color"
|
1265 |
-
msgstr "Track Link Baggrundsfarve"
|
1266 |
-
|
1267 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:681
|
1268 |
-
msgid "Track link Border"
|
1269 |
-
msgstr "Spor link grænse"
|
1270 |
|
1271 |
-
#: includes/customizer/class-wc-tracking-
|
1272 |
-
msgid "
|
1273 |
-
msgstr "
|
1274 |
|
1275 |
-
#: includes/customizer/class-wc-tracking-
|
1276 |
-
msgid "
|
1277 |
msgstr ""
|
1278 |
-
"
|
1279 |
|
1280 |
-
#: includes/customizer/class-wc-tracking-
|
1281 |
-
msgid "
|
1282 |
msgstr ""
|
1283 |
-
"
|
1284 |
|
1285 |
-
#: includes/customizer/class-wc-tracking-
|
1286 |
-
msgid "
|
1287 |
msgstr ""
|
1288 |
-
"
|
1289 |
|
1290 |
-
#: includes/customizer/class-wc-tracking-
|
1291 |
-
msgid "
|
1292 |
msgstr ""
|
1293 |
-
"
|
1294 |
|
1295 |
-
#: includes/customizer/class-wc-tracking-
|
1296 |
-
msgid "
|
1297 |
msgstr ""
|
1298 |
-
"
|
1299 |
|
1300 |
-
#: includes/customizer/class-wc-tracking-
|
1301 |
-
msgid "
|
1302 |
msgstr ""
|
1303 |
-
"
|
1304 |
|
1305 |
-
#: includes/customizer/class-wc-tracking-
|
1306 |
-
msgid "
|
1307 |
msgstr ""
|
1308 |
-
"
|
1309 |
|
1310 |
-
#: includes/customizer/class-wc-tracking-
|
1311 |
-
msgid "Tracking
|
1312 |
-
msgstr "
|
1313 |
|
1314 |
-
#: includes/
|
1315 |
-
msgid "
|
1316 |
msgstr ""
|
|
|
1317 |
|
1318 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1319 |
msgid ""
|
1320 |
-
"
|
1321 |
-
"
|
1322 |
msgstr ""
|
|
|
|
|
|
|
1323 |
|
1324 |
-
#: includes/
|
1325 |
-
msgid "
|
1326 |
-
msgstr ""
|
1327 |
|
1328 |
-
#: includes/
|
1329 |
-
msgid "
|
|
|
|
|
1330 |
msgstr ""
|
|
|
|
|
1331 |
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
msgid "Enter recipients (comma separated) for this email. Defaults to %s."
|
1336 |
-
msgstr ""
|
1337 |
|
1338 |
-
#: includes/
|
1339 |
-
msgid "
|
1340 |
msgstr ""
|
|
|
1341 |
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
msgid "Available placeholders: %s"
|
1347 |
msgstr ""
|
|
|
|
|
1348 |
|
1349 |
-
#: includes/
|
1350 |
-
msgid "
|
1351 |
msgstr ""
|
|
|
1352 |
|
1353 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1354 |
-
msgid "
|
1355 |
-
msgstr ""
|
1356 |
|
1357 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1358 |
-
msgid "
|
|
|
|
|
1359 |
msgstr ""
|
|
|
|
|
1360 |
|
1361 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
|
|
|
|
|
|
|
|
1362 |
msgid "Edit in customizer"
|
1363 |
-
msgstr ""
|
1364 |
|
1365 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1366 |
msgid "Upload CSV"
|
1367 |
msgstr "Upload CSV"
|
1368 |
|
1369 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1370 |
msgid ""
|
1371 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1372 |
"added)"
|
@@ -1374,132 +1466,296 @@ msgstr ""
|
|
1374 |
"Erstat sporingsinformation, hvis der eksisterer? (hvis ikke markeret, vil "
|
1375 |
"sporingsoplysningerne blive tilføjet)"
|
1376 |
|
1377 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1378 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1379 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1380 |
msgid "Upload"
|
1381 |
msgstr "Upload"
|
1382 |
|
1383 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1384 |
-
#: includes/views/admin_options_trackship_integration.php:27
|
1385 |
-
#: includes/views/admin_options_trackship_integration.php:45
|
1386 |
msgid "Settings Saved."
|
1387 |
msgstr "Indstillinger gemt."
|
1388 |
|
1389 |
-
#: includes/views/admin_options_bulk_upload.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1390 |
msgid "You can download an example of the csv file:"
|
1391 |
msgstr "Puedes descargar un ejemplo del archivo csv:"
|
1392 |
|
1393 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1394 |
msgid "Download sample csv file"
|
1395 |
msgstr "Download prøve csv fil"
|
1396 |
|
1397 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1398 |
msgid ""
|
1399 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1400 |
msgstr ""
|
1401 |
"Para obtener instrucciones detalladas sobre cómo cargar información de "
|
1402 |
"seguimiento de forma masiva, consulte nuestra"
|
1403 |
|
1404 |
-
#: includes/views/
|
1405 |
-
|
1406 |
-
|
|
|
1407 |
|
1408 |
-
#: includes/views/
|
1409 |
-
|
1410 |
-
|
|
|
|
|
|
|
1411 |
|
1412 |
-
#: includes/views/admin_options_settings.php:
|
1413 |
-
|
1414 |
-
|
1415 |
-
msgstr "Generel"
|
1416 |
|
1417 |
-
#: includes/views/admin_options_settings.php:
|
1418 |
-
|
1419 |
-
|
1420 |
-
msgstr "Leveret ordrestatus"
|
1421 |
|
1422 |
-
#: includes/views/admin_options_settings.php:
|
1423 |
-
msgid "
|
|
|
|
|
|
|
|
|
1424 |
msgstr ""
|
1425 |
-
"
|
1426 |
|
1427 |
-
#: includes/views/admin_options_settings.php:
|
1428 |
-
#: includes/views/
|
1429 |
-
|
1430 |
-
|
|
|
|
|
1431 |
|
1432 |
-
#: includes/views/admin_options_settings.php:
|
1433 |
-
#: includes/views/
|
1434 |
-
#: includes/views/
|
1435 |
-
msgid "
|
1436 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1437 |
|
1438 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1439 |
msgid "Add Custom Shipping Provider"
|
1440 |
msgstr "Tilføj Tilpasset forsendelsesleverandør"
|
1441 |
|
1442 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1443 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1444 |
-
msgid "
|
1445 |
msgstr "Forsendelsesland"
|
1446 |
|
1447 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1448 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1449 |
msgid "Global"
|
1450 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
1451 |
|
1452 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1453 |
msgid "Edit Custom Shipping Provider"
|
1454 |
msgstr "Rediger leverandør af tilpasset forsendelse"
|
1455 |
|
1456 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
1464 |
|
1465 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1466 |
msgid "Providers Added"
|
1467 |
msgstr "Udbydere tilføjet"
|
1468 |
|
1469 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1470 |
msgid "Providers Updated"
|
1471 |
msgstr "Udbydere opdateret"
|
1472 |
|
1473 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1474 |
msgid "Providers Deleted"
|
1475 |
msgstr "Udbydere er slettet"
|
1476 |
|
1477 |
-
#: includes/views/
|
1478 |
-
|
1479 |
-
msgstr "Tæt"
|
1480 |
-
|
1481 |
-
#: includes/views/admin_options_trackship_integration.php:13
|
1482 |
-
#: includes/views/admin_options_trackship_integration.php:35
|
1483 |
msgid "Tracking Page"
|
1484 |
msgstr "Tracking Page"
|
1485 |
|
1486 |
-
#: includes/views/admin_options_trackship_integration.php:
|
1487 |
msgid "Shipment Status Notifications"
|
1488 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1489 |
|
1490 |
-
#: includes/views/
|
1491 |
-
msgid "
|
1492 |
-
msgstr "
|
1493 |
|
1494 |
-
#: includes/views/
|
1495 |
-
msgid "
|
1496 |
-
msgstr "
|
1497 |
|
1498 |
-
#: includes/views/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1499 |
msgid "Shipment Status Notifications "
|
1500 |
msgstr "Notifikationer om forsendelsesstatus"
|
1501 |
|
1502 |
-
#: includes/views/
|
1503 |
msgid ""
|
1504 |
"Carrier has accepted or picked up shipment from shipper. The shipment is on "
|
1505 |
"the way."
|
@@ -1507,23 +1763,23 @@ msgstr ""
|
|
1507 |
"Luftfartsselskab har accepteret eller hentet forsendelse fra afsender. "
|
1508 |
"Forsendelsen er på vej."
|
1509 |
|
1510 |
-
#: includes/views/
|
1511 |
msgid "Shipment is returned to sender"
|
1512 |
msgstr "Forsendelse returneres til afsenderen"
|
1513 |
|
1514 |
-
#: includes/views/
|
1515 |
msgid "The shipment is ready to pickup."
|
1516 |
msgstr "Forsendelsen er klar til afhentning."
|
1517 |
|
1518 |
-
#: includes/views/
|
1519 |
msgid "Carrier is about to deliver the shipment"
|
1520 |
msgstr "Carrier er ved at levere forsendelsen"
|
1521 |
|
1522 |
-
#: includes/views/
|
1523 |
msgid "The shipment was delivered successfully"
|
1524 |
msgstr "Forsendelsen blev leveret med succes"
|
1525 |
|
1526 |
-
#: includes/views/
|
1527 |
msgid ""
|
1528 |
"You already have delivered email enabled, to enable this email you'll need "
|
1529 |
"to disable the order status delivered in settings."
|
@@ -1531,7 +1787,7 @@ msgstr ""
|
|
1531 |
"Du har allerede leveret e-mail aktiveret, for at aktivere denne e-mail skal "
|
1532 |
"du deaktivere ordrestatus leveret i indstillinger."
|
1533 |
|
1534 |
-
#: includes/views/
|
1535 |
msgid ""
|
1536 |
"Carrier attempted to deliver but failed, and usually leaves a notice and "
|
1537 |
"will try to deliver the package again."
|
@@ -1539,43 +1795,43 @@ msgstr ""
|
|
1539 |
"Luftfartsselskab forsøgte at levere, men mislykkedes, og efterlader normalt "
|
1540 |
"en meddelelse og vil forsøge at levere pakken igen."
|
1541 |
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
msgid "Leave your review"
|
1548 |
-
msgstr ""
|
1549 |
-
|
1550 |
-
#: includes/views/zorem_admin_ts_sidebar.php:5
|
1551 |
-
msgid "Dashboard"
|
1552 |
-
msgstr ""
|
1553 |
-
|
1554 |
-
#: includes/views/zorem_admin_ts_sidebar.php:7
|
1555 |
-
msgid "Documentation"
|
1556 |
-
msgstr ""
|
1557 |
-
|
1558 |
-
#: templates/emails/tracking-info.php:138
|
1559 |
-
msgid "Status"
|
1560 |
-
msgstr "status"
|
1561 |
-
|
1562 |
-
#: templates/emails/wcast-email-order-details.php:26
|
1563 |
-
msgid "Order Details"
|
1564 |
-
msgstr ""
|
1565 |
-
"Ordre detaljer\n"
|
1566 |
|
1567 |
#. %s: Order ID.
|
1568 |
-
#: templates/emails/wcast-email-order-details.php:
|
1569 |
#, php-format
|
1570 |
msgid "Order number: %s"
|
1571 |
msgstr ""
|
1572 |
"Ordrenummer:% s\n"
|
1573 |
|
1574 |
-
#:
|
1575 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1576 |
msgstr ""
|
1577 |
-
"
|
1578 |
|
1579 |
-
|
1580 |
-
msgid "
|
1581 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2020-01-08 08:09+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-01-08 08:14+0000\n"
|
7 |
+
"Last-Translator: John <gaurav1092@zorem.com>\n"
|
8 |
"Language-Team: Danish\n"
|
9 |
"Language: da_DK\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.3.1; wp-5.3.2"
|
16 |
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:117
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
23 |
"Installer og aktiver venligst% sWooCommerce% s for WooCommerce Advanced "
|
24 |
"Shipping Tracking!"
|
25 |
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:254
|
27 |
+
#, php-format
|
28 |
+
msgid "Your order was shipped with %s and your tracking code is: %s"
|
29 |
+
msgstr "Din ordre blev sendt med% s, og din sporingskode er:% s"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:465
|
32 |
#, php-format
|
33 |
msgid ""
|
34 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
38 |
"php here or you can manually change all your \"delivered\" order to "
|
39 |
"\"completed\" before deactivating the plugin."
|
40 |
msgstr ""
|
41 |
+
"<strong> BEMÆRK </strong> - Hvis du bruger den tilpassede ordrestatus "
|
42 |
+
"\"Delivered\", når du deaktiverer plugin, skal du registrere denne "
|
43 |
+
"ordrestatus i function.php for at se disse ordrer i ordreradministratoren. "
|
44 |
+
"Du kan finde <a href=\"%s\" target=\"blank\"> kodestykket </a> til brug i "
|
45 |
+
"features.php her, eller du kan manuelt ændre al din \"leverede\" ordre til "
|
46 |
+
"\"afsluttet\" inden deaktivering af plugin."
|
47 |
|
48 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
msgid "Shipment status"
|
50 |
msgstr "Forsendelsesstatus"
|
51 |
|
52 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:427
|
53 |
+
#: includes/class-wc-advanced-shipment-welcome.php:310
|
54 |
msgid ""
|
55 |
"Get Shipment Status is limited to 100 orders at a time, please select up to "
|
56 |
"100 orders."
|
57 |
msgstr ""
|
58 |
+
"Hent forsendelsesstatus er begrænset til 100 ordrer ad gangen. Vælg venligst "
|
59 |
+
"op til 100 ordrer."
|
60 |
|
61 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:462
|
62 |
+
#: includes/class-wc-advanced-shipment-welcome.php:343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
msgid "Data saved successfully."
|
64 |
msgstr "Data gemmes med succes."
|
65 |
|
66 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:463
|
67 |
+
#: includes/class-wc-advanced-shipment-welcome.php:344
|
68 |
msgid "Really delete this entry? This will not be undo."
|
69 |
msgstr "Vil du virkelig slette denne post? Dette vil ikke blive fortrydt."
|
70 |
|
71 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:464
|
72 |
+
#: includes/class-wc-advanced-shipment-welcome.php:345
|
73 |
msgid "You can upload only csv file."
|
74 |
msgstr "Du kan kun uploade csv-filen."
|
75 |
|
76 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:465
|
77 |
+
#: includes/class-wc-advanced-shipment-welcome.php:346
|
78 |
msgid "This browser does not support HTML5."
|
79 |
msgstr "Denne browser understøtter ikke HTML5."
|
80 |
|
81 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:466
|
82 |
+
#: includes/class-wc-advanced-shipment-welcome.php:347
|
83 |
msgid "Please upload a valid CSV file."
|
84 |
msgstr "Upload venligst en gyldig CSV-fil."
|
85 |
|
86 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
87 |
msgid "Shipping Providers"
|
88 |
msgstr "Forsendelsesleverandører"
|
89 |
|
90 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:537
|
|
|
|
|
|
|
|
|
91 |
msgid "Bulk Upload"
|
92 |
+
msgstr "Bulk upload"
|
93 |
|
94 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:543
|
95 |
+
msgid "Add-ons"
|
96 |
+
msgstr "Add-ons"
|
97 |
|
98 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:546
|
99 |
+
#: includes/class-wc-advanced-shipment-welcome.php:222
|
100 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
101 |
+
#: includes/views/admin_trackship_dashboard.php:51
|
102 |
+
msgid "Documentation"
|
103 |
+
msgstr "Dokumentation"
|
104 |
+
|
105 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:547
|
106 |
+
msgid "How to Video"
|
107 |
+
msgstr "Sådan video"
|
108 |
+
|
109 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:695
|
110 |
+
msgid "Custom Statuses"
|
111 |
+
msgstr "Tilpassede statuer"
|
112 |
+
|
113 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
114 |
+
#: includes/class-wc-advanced-shipment-welcome.php:188
|
115 |
+
#: includes/views/zorem_admin_sidebar.php:29
|
116 |
+
#: includes/views/admin_options_addons.php:46
|
117 |
+
#: includes/views/admin_trackship_dashboard.php:17
|
118 |
msgid "Connected"
|
119 |
msgstr ""
|
120 |
"forbundet\n"
|
121 |
|
122 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:874
|
123 |
+
#, php-format
|
124 |
+
msgid "%s %s orders with tracking info"
|
125 |
+
msgstr "% s% s ordrer med sporingsinfo"
|
126 |
+
|
127 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
128 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:884
|
129 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:893
|
130 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1841
|
131 |
+
#: includes/views/admin_options_tools.php:14
|
132 |
+
msgid "Get Shipment Status"
|
133 |
+
msgstr "Få forsendelsesstatus"
|
134 |
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:883
|
136 |
#, php-format
|
137 |
+
msgid "%s %s orders with “TrackShip balance is 0”"
|
138 |
+
msgstr "% s% s ordrer med “TrackShip-saldo er 0”"
|
|
|
|
|
|
|
|
|
139 |
|
140 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
141 |
#, php-format
|
142 |
+
msgid "%s %s orders with “Please do connection”"
|
143 |
+
msgstr "% s% s ordrer med \"Venligst gør forbindelse\""
|
|
|
|
|
|
|
|
|
|
|
144 |
|
145 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:930
|
|
|
146 |
msgid "Enable/Disable"
|
147 |
msgstr "Aktivere deaktivere"
|
148 |
|
149 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:936
|
150 |
msgid "Set order status Delivered when order is delivered"
|
151 |
+
msgstr "Indstil ordrestatus Leveres når ordren er leveret"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:968
|
154 |
msgid ""
|
155 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
156 |
"for the tracking page to work."
|
157 |
msgstr ""
|
158 |
+
"Du skal tilføje kortkoden [wcast-track-order] til \"sidenavnet\" for at "
|
159 |
+
"sporingssiden kan fungere."
|
160 |
|
161 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:976
|
162 |
+
#: includes/views/admin_tracking_page_settings.php:24
|
163 |
msgid "Select Tracking Page"
|
164 |
+
msgstr "Vælg sporingsside"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:984
|
167 |
msgid "Use the tracking page in the customer email/my account tracking link"
|
168 |
+
msgstr "Brug sporingssiden i kundens e-mail / min kontosporingslink"
|
169 |
+
|
170 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:990
|
171 |
+
#: includes/views/admin_tracking_page_settings.php:49
|
172 |
+
msgid "Tracking Page Layout"
|
173 |
msgstr ""
|
174 |
+
"Sporing af sidelayout\n"
|
175 |
|
176 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
177 |
msgid "Select primary color for tracking page"
|
178 |
+
msgstr "Vælg primærfarve til sporingsside"
|
|
|
179 |
|
180 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1007
|
181 |
msgid "Select content border color for tracking page"
|
182 |
+
msgstr "Vælg indholdsgrænsefarve til sporingsside"
|
|
|
183 |
|
184 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1013
|
185 |
+
#: includes/views/admin_tracking_page_settings.php:83
|
186 |
+
msgid "Hide Shipping Provider Image"
|
|
|
187 |
msgstr ""
|
188 |
+
"Skjul forsendelsesbillede\n"
|
189 |
+
|
190 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
191 |
+
msgid "Hide tracking events details"
|
192 |
+
msgstr "Skjul detaljer om sporing af begivenheder"
|
193 |
+
|
194 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1025
|
195 |
+
#: includes/views/admin_tracking_page_settings.php:93
|
196 |
+
msgid "Remove TrackShip branding"
|
197 |
+
msgstr "Fjern TrackShip-branding"
|
198 |
+
|
199 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1042
|
200 |
+
msgid "License Key"
|
201 |
+
msgstr "Licensnøgle"
|
202 |
+
|
203 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
204 |
+
msgid "Valid License to make All feature work correctly"
|
205 |
+
msgstr "Gyldig licens for at få alle funktionerne til at fungere korrekt"
|
206 |
+
|
207 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1193
|
208 |
+
msgid "\">click here</a> to activate it."
|
209 |
+
msgstr "\"> Klik her </a> for at aktivere det."
|
210 |
+
|
211 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1226
|
212 |
+
#: includes/class-wc-advanced-shipment-tracking.php:185
|
213 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:303
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:439
|
215 |
+
msgid "Shipped"
|
216 |
+
msgstr "afsendt"
|
217 |
|
218 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1227
|
219 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
220 |
+
msgstr "Standard \"mark som <span class =\" shipped_label \"> sendt </span>\""
|
221 |
+
|
222 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1228
|
223 |
msgid ""
|
224 |
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
225 |
"will be selected by default when adding tracking info to orders."
|
226 |
msgstr ""
|
227 |
+
"Dette betyder, at 'mærket som <span class =' shipped_label '> sendt </span>"
|
228 |
+
"' vælges som standard, når du tilføjer sporingsinfo til ordrer."
|
229 |
|
230 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1231
|
231 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
msgstr ""
|
233 |
+
"Standard \"mark som <span class =\" shipped_label \"> afsluttet </span>\""
|
234 |
|
235 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1232
|
236 |
msgid ""
|
237 |
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
238 |
"will be selected by default when adding tracking info to orders."
|
239 |
msgstr ""
|
240 |
+
"Dette betyder, at 'mærket som <span class =' send_label '> afsluttet "
|
241 |
+
"</span>' vælges som standard, når du tilføjer sporingsinfo til ordrer."
|
242 |
|
243 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1298
|
244 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
245 |
+
msgstr "Omdøb ordre status \"Afsluttet\" til \"Sendt\""
|
|
|
|
|
|
|
|
|
246 |
|
247 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1311
|
248 |
+
msgid "On which order status email to include the shipment tracking info?"
|
249 |
+
msgstr ""
|
250 |
+
"På hvilken e-mail med ordrestatus for at inkludere forsendelsessporingsinfo?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
|
252 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1317
|
253 |
msgid "Show tracking info in Invoice"
|
254 |
msgstr "Vis sporingsinfo i faktura"
|
255 |
|
256 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1323
|
257 |
msgid "Show tracking info in Packing Slip"
|
258 |
msgstr "Vis sporingsinfo i pakkeseddel"
|
259 |
|
260 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1340
|
261 |
+
msgid "Enable custom order status “Delivered\""
|
262 |
+
msgstr "Aktivér tilpasset ordrestatus \"Leveret\""
|
263 |
|
264 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1341
|
265 |
msgid ""
|
266 |
"if you enable the delivered item, you will have the option to send delivered "
|
267 |
"email notifications."
|
268 |
msgstr ""
|
269 |
+
"Hvis du aktiverer den leverede vare, har du muligheden for at sende leverede "
|
270 |
+
"e-mail-meddelelser."
|
271 |
|
272 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1347
|
273 |
+
msgid "Delivered Label color"
|
274 |
+
msgstr "Leveret etiketfarve"
|
275 |
|
276 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1353
|
277 |
+
msgid "Delivered Label font color"
|
278 |
+
msgstr "Leveret etiket fontfarve"
|
279 |
+
|
280 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1356
|
281 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1398
|
282 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1440
|
283 |
+
msgid "Light"
|
284 |
+
msgstr "Lys"
|
285 |
+
|
286 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1357
|
287 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1399
|
288 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1441
|
289 |
+
msgid "Dark"
|
290 |
+
msgstr "Mørk"
|
291 |
+
|
292 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1364
|
293 |
+
msgid "Enable the Delivered order status email"
|
294 |
+
msgstr "Aktivér e-mailen med status for leveret ordre"
|
295 |
+
|
296 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1382
|
297 |
+
msgid "Enable custom order status “Updated Tracking\""
|
298 |
msgstr ""
|
299 |
+
"Aktivér tilpasset ordrestatus \"Opdateret sporing\"\n"
|
300 |
|
301 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1383
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
msgid ""
|
303 |
+
"if you enable the delivered item, you will have the option to send Updated "
|
304 |
+
"Tracking email notifications."
|
305 |
+
msgstr ""
|
306 |
+
"Hvis du aktiverer den leverede vare, har du muligheden for at sende "
|
307 |
+
"opdaterede tracking-e-mail-meddelelser.\n"
|
308 |
|
309 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1389
|
310 |
+
msgid "Updated Tracking Label color"
|
311 |
+
msgstr ""
|
312 |
+
"Opdateret sporingsetiketfarve\n"
|
313 |
|
314 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1395
|
315 |
+
msgid "Updated Tracking Label font color"
|
316 |
+
msgstr ""
|
317 |
+
"Opdateret Tracking Label-fontfarve\n"
|
318 |
|
319 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1406
|
320 |
+
msgid "Enable the Updated Tracking order status email"
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
msgstr ""
|
322 |
+
"Aktivér den opdaterede e-mail med status for opdateret sporingsordre\n"
|
|
|
|
|
|
|
|
|
323 |
|
324 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1424
|
325 |
+
msgid "Enable custom order status “Partially Shipped\""
|
326 |
+
msgstr "Aktivér tilpasset ordrestatus “Delvist afsendt”"
|
327 |
+
|
328 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1425
|
329 |
+
msgid ""
|
330 |
+
"if you enable the Partially Shipped item, you will have the option to send "
|
331 |
+
"Partially Shipped email notifications."
|
332 |
msgstr ""
|
333 |
+
"Hvis du aktiverer det delvist afsendte element, har du muligheden for at "
|
334 |
+
"sende delvis afsendt e-mail-meddelelser."
|
335 |
|
336 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1431
|
337 |
+
msgid "Partially Shipped Label color"
|
338 |
+
msgstr "Delvist afsendt etiketfarve"
|
339 |
+
|
340 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1437
|
341 |
+
msgid "Partially Shipped Label font color"
|
342 |
+
msgstr "Delvist afsendt etiket fontfarve"
|
343 |
+
|
344 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1448
|
345 |
+
msgid "Enable the Partially Shipped order status email"
|
346 |
+
msgstr "Aktivér status for e-mail med delvist afsendt ordre"
|
347 |
+
|
348 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1874
|
349 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2395
|
350 |
+
#: includes/customizer/class-wcast-customizer.php:92
|
351 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:127
|
352 |
+
#: includes/views/admin_status_notifications.php:25
|
353 |
msgid "In Transit"
|
354 |
msgstr "Undervejs"
|
355 |
|
356 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1877
|
357 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2394
|
358 |
+
#: includes/customizer/class-wcast-customizer.php:84
|
359 |
msgid "Pre Transit"
|
360 |
msgstr ""
|
361 |
"Pre Transit\n"
|
362 |
|
363 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1880
|
364 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2072
|
365 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2398
|
366 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:137
|
367 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:182
|
368 |
+
#: includes/customizer/class-wcast-customizer.php:122
|
369 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:125
|
370 |
+
#: includes/views/admin_options_settings.php:80
|
371 |
+
#: includes/views/admin_status_notifications.php:80
|
372 |
+
msgid "Delivered"
|
373 |
+
msgstr "leveres"
|
374 |
+
|
375 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1883
|
376 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2397
|
377 |
+
#: includes/customizer/class-wcast-customizer.php:114
|
378 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
|
379 |
+
#: includes/views/admin_status_notifications.php:66
|
380 |
+
msgid "Out For Delivery"
|
381 |
+
msgstr "Ud for levering"
|
382 |
|
383 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1886
|
384 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2396
|
385 |
+
#: includes/customizer/class-wcast-customizer.php:107
|
386 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
|
387 |
+
#: includes/views/admin_status_notifications.php:53
|
388 |
msgid "Available For Pickup"
|
389 |
msgstr ""
|
390 |
"Klar til afhentning\n"
|
391 |
|
392 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1889
|
393 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2402
|
394 |
+
#: includes/customizer/class-wcast-customizer.php:100
|
395 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:124
|
396 |
+
#: includes/views/admin_status_notifications.php:39
|
397 |
msgid "Return To Sender"
|
398 |
msgstr ""
|
399 |
"Retur til Afsender\n"
|
400 |
|
401 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1892
|
402 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2399
|
403 |
+
#: includes/customizer/class-wcast-customizer.php:130
|
404 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:124
|
405 |
+
#: includes/views/admin_status_notifications.php:95
|
406 |
+
msgid "Failed Attempt"
|
407 |
+
msgstr "Mislykket forsøg"
|
408 |
|
409 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1895
|
410 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2393
|
411 |
msgid "Unknown"
|
412 |
msgstr "Ukendt"
|
413 |
|
414 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1898
|
415 |
msgid "Pending TrackShip"
|
416 |
+
msgstr "Venter på TrackShip"
|
|
|
417 |
|
418 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1901
|
419 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2403
|
420 |
+
msgid "Invalid Tracking Number"
|
421 |
+
msgstr "Ugyldigt sporingsnummer"
|
422 |
|
423 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
424 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2401
|
425 |
+
msgid "Carrier Unsupported"
|
426 |
+
msgstr "Transportør understøttes ikke"
|
427 |
|
428 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1907
|
429 |
msgid "Invalid User Key"
|
430 |
+
msgstr "Ugyldig brugernøgle"
|
431 |
|
432 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1910
|
433 |
+
msgid "Wrong Shipping Provider"
|
434 |
+
msgstr "Forkert leverandør af forsendelse"
|
435 |
|
436 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2026
|
437 |
msgid "Shipped Order"
|
438 |
+
msgstr "Afsendt ordre"
|
439 |
|
440 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2050
|
441 |
msgid "Mark order as delivered"
|
442 |
+
msgstr "Marker ordren som leveret"
|
443 |
|
444 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2057
|
445 |
msgid "Add Tracking"
|
446 |
+
msgstr "Tilføj sporing"
|
447 |
|
448 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2084
|
449 |
msgid "Change order status to"
|
450 |
msgstr "Skift ordrestatus til"
|
451 |
|
452 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2187
|
453 |
+
#: includes/views/admin_options_shipping_provider.php:96
|
454 |
#, php-format
|
455 |
msgid "You don't have any %s shipping providers."
|
456 |
msgstr "Du har ikke% s forsendelsesudbydere."
|
457 |
|
458 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2192
|
459 |
+
#: includes/views/admin_options_shipping_provider.php:27
|
460 |
+
msgid "Add Custom Provider"
|
461 |
+
msgstr "Tilføj brugerdefineret udbyder"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
462 |
|
463 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2408
|
464 |
msgid "Filter by shipment status"
|
465 |
+
msgstr "Filtrer efter forsendelsesstatus"
|
466 |
|
467 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:148
|
468 |
msgid ""
|
469 |
"To track your order please enter your Order ID in the box below and press "
|
470 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
474 |
"trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
|
475 |
"den bekræftelses e-mail, du skulle have modtaget.\n"
|
476 |
|
477 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:149
|
478 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
|
|
|
|
|
|
|
|
|
|
479 |
msgid "Found in your order confirmation email."
|
480 |
msgstr ""
|
481 |
"Findes i din ordrebekræftelses-email.\n"
|
482 |
|
483 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
484 |
msgid "Order Email"
|
485 |
msgstr ""
|
486 |
"Bestil Email\n"
|
487 |
|
488 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:153
|
489 |
+
#: includes/class-wc-advanced-shipment-tracking.php:728
|
490 |
+
#: includes/class-wc-advanced-shipment-tracking.php:851
|
491 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:147
|
492 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:578
|
493 |
+
#: templates/emails/tracking-info.php:256
|
494 |
+
#: templates/myaccount/tracking-info.php:191
|
|
|
|
|
495 |
msgid "Track"
|
496 |
msgstr "Spor pakke"
|
497 |
|
498 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:221
|
499 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:238
|
500 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:398
|
501 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:415
|
502 |
#, php-format
|
503 |
msgid "Shipment - %s (out of %s)"
|
504 |
msgstr ""
|
505 |
"Forsendelse -% s (ud af% s)\n"
|
506 |
|
507 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:251
|
508 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:428
|
509 |
+
msgid "Tracking details not found in TrackShip"
|
510 |
+
msgstr "Sporingsdetaljer findes ikke i TrackShip"
|
511 |
|
512 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:462
|
513 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:492
|
514 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:862
|
515 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:880
|
516 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1015
|
517 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1033
|
518 |
+
msgid "Est. Delivery Date"
|
519 |
+
msgstr ""
|
520 |
+
"Est. Leveringsdato\n"
|
521 |
|
522 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:618
|
523 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:708
|
524 |
msgid "Tracking Details"
|
525 |
msgstr "Sporingsdetaljer"
|
526 |
|
527 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:699
|
528 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:789
|
529 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1004
|
530 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1118
|
531 |
msgid "view more"
|
532 |
msgstr "Se mere"
|
533 |
|
534 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:700
|
535 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:790
|
536 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1005
|
537 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1119
|
538 |
msgid "view less"
|
539 |
msgstr "se mindre"
|
540 |
|
541 |
+
#: includes/class-wc-advanced-shipment-tracking.php:95
|
542 |
+
#: includes/class-wc-advanced-shipment-tracking.php:265
|
543 |
+
#: includes/customizer/class-wcast-customizer.php:31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
msgid "Shipment Tracking"
|
545 |
msgstr "Forsendelsessporing"
|
546 |
|
547 |
+
#: includes/class-wc-advanced-shipment-tracking.php:184
|
548 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
549 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:438
|
550 |
+
msgid "Mark as Shipped?"
|
551 |
+
msgstr "Marker som sendt?"
|
552 |
|
553 |
+
#: includes/class-wc-advanced-shipment-tracking.php:187
|
554 |
+
#: includes/class-wc-advanced-shipment-tracking.php:390
|
555 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:441
|
556 |
+
msgid "Mark as Completed?"
|
557 |
+
msgstr "Marker som afsluttet?"
|
558 |
+
|
559 |
+
#: includes/class-wc-advanced-shipment-tracking.php:188
|
560 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
561 |
+
msgid "Completed"
|
562 |
+
msgstr "afsluttet"
|
563 |
|
564 |
+
#: includes/class-wc-advanced-shipment-tracking.php:195
|
565 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:450
|
566 |
msgid "Add Tracking Number"
|
567 |
+
msgstr "Tilføj sporingsnummer"
|
568 |
|
569 |
+
#: includes/class-wc-advanced-shipment-tracking.php:198
|
570 |
+
#: includes/class-wc-advanced-shipment-tracking.php:203
|
571 |
+
#: includes/class-wc-advanced-shipment-tracking.php:408
|
572 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:453
|
573 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:455
|
574 |
msgid "Provider:"
|
575 |
msgstr "udbyder:"
|
576 |
|
577 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
578 |
+
#: includes/class-wc-advanced-shipment-tracking.php:446
|
579 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:475
|
580 |
msgid "Tracking number:"
|
581 |
msgstr "Tracking nummer:"
|
582 |
|
583 |
+
#: includes/class-wc-advanced-shipment-tracking.php:227
|
584 |
+
#: includes/class-wc-advanced-shipment-tracking.php:454
|
585 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
586 |
msgid "Date shipped:"
|
587 |
msgstr "Dato afsendt:"
|
588 |
|
589 |
+
#: includes/class-wc-advanced-shipment-tracking.php:236
|
590 |
+
#: includes/class-wc-advanced-shipment-tracking.php:466
|
591 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:488
|
592 |
+
msgid "Mark order as:"
|
593 |
+
msgstr "Marker ordre som:"
|
594 |
+
|
595 |
+
#: includes/class-wc-advanced-shipment-tracking.php:239
|
596 |
+
#: includes/class-wc-advanced-shipment-tracking.php:469
|
597 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
598 |
+
msgid "Partial Shipped"
|
599 |
+
msgstr "Delvis afsendt"
|
600 |
+
|
601 |
+
#: includes/class-wc-advanced-shipment-tracking.php:281
|
602 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
603 |
+
msgid "Track Shipment"
|
604 |
+
msgstr "Spor forsendelse"
|
605 |
|
606 |
#. 1: shipping date
|
607 |
+
#: includes/class-wc-advanced-shipment-tracking.php:290
|
|
|
608 |
#, php-format
|
609 |
msgid "Shipped on %s"
|
610 |
msgstr "Sendes på% s"
|
611 |
|
612 |
+
#: includes/class-wc-advanced-shipment-tracking.php:404
|
|
|
|
|
|
|
|
|
613 |
msgid "Add Tracking Info"
|
614 |
msgstr "Tilføj sporingsinfo"
|
615 |
|
616 |
+
#: includes/class-wc-advanced-shipment-tracking.php:409
|
617 |
msgid "Select Provider"
|
618 |
msgstr "Vælg Udbyder"
|
619 |
|
620 |
+
#: includes/class-wc-advanced-shipment-tracking.php:482
|
621 |
msgid "Save Tracking"
|
622 |
msgstr "Gem sporing"
|
623 |
|
624 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
625 |
msgid "Preview:"
|
626 |
msgstr "Eksempel:"
|
627 |
|
628 |
+
#: includes/class-wc-advanced-shipment-tracking.php:702
|
629 |
+
#, php-format
|
630 |
+
msgid ""
|
631 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
632 |
+
msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
|
633 |
+
|
634 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1092
|
635 |
+
#, php-format
|
636 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
637 |
+
msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
|
638 |
+
|
639 |
+
#: includes/class-wc-advanced-shipment-welcome.php:38
|
640 |
+
#: includes/class-wc-advanced-shipment-welcome.php:39
|
641 |
+
msgid "Welcome to Advanced Shipment Tracking"
|
642 |
+
msgstr "Velkommen til Advanced Shipment Tracking"
|
643 |
+
|
644 |
+
#: includes/class-wc-advanced-shipment-welcome.php:90
|
645 |
+
#: includes/class-wc-advanced-shipment-welcome.php:129
|
646 |
+
#: includes/class-wc-advanced-shipment-welcome.php:147
|
647 |
+
msgid "Save and Continue"
|
648 |
+
msgstr "Gem og fortsæt"
|
649 |
+
|
650 |
+
#: includes/class-wc-advanced-shipment-welcome.php:177
|
651 |
+
#: includes/views/admin_trackship_dashboard.php:6
|
652 |
+
msgid "Connection status"
|
653 |
+
msgstr "Forbindelsesstatus"
|
654 |
+
|
655 |
+
#: includes/class-wc-advanced-shipment-welcome.php:184
|
656 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
657 |
+
msgid "TrackShip Connection Status"
|
658 |
+
msgstr "TrackShip-forbindelsesstatus"
|
659 |
+
|
660 |
+
#: includes/class-wc-advanced-shipment-welcome.php:194
|
661 |
+
#: includes/views/admin_trackship_dashboard.php:23
|
662 |
+
msgid "Trackers Balance"
|
663 |
+
msgstr "Trackers balance"
|
664 |
+
|
665 |
+
#: includes/class-wc-advanced-shipment-welcome.php:202
|
666 |
+
#: includes/views/admin_trackship_dashboard.php:31
|
667 |
+
msgid "Current Plan"
|
668 |
+
msgstr "Nuværende plan"
|
669 |
|
670 |
+
#: includes/class-wc-advanced-shipment-welcome.php:217
|
671 |
+
#: includes/views/admin_options_addons.php:33
|
672 |
+
#: includes/views/admin_trackship_dashboard.php:46
|
673 |
+
msgid ""
|
674 |
+
"You are now connected with TrackShip! TrackShip makes it effortless to "
|
675 |
+
"automate your post shipping operations and get tracking and delivery status "
|
676 |
+
"updates directly in the WooCommerce admin."
|
677 |
+
msgstr ""
|
678 |
+
"Du er nu forbundet med TrackShip! TrackShip gør det nemt at automatisere "
|
679 |
+
"dine postforsendelsesoperationer og få sporings- og "
|
680 |
+
"leveringsstatusopdateringer direkte i WooCommerce-administratoren."
|
681 |
+
|
682 |
+
#: includes/class-wc-advanced-shipment-welcome.php:223
|
683 |
+
#: includes/views/admin_trackship_dashboard.php:52
|
684 |
+
msgid "TrackShip Dashboard"
|
685 |
+
msgstr "TrackShip Dashboard"
|
686 |
+
|
687 |
+
#: includes/class-wc-advanced-shipment-welcome.php:253
|
688 |
+
msgid "Save"
|
689 |
+
msgstr "Gemme"
|
690 |
+
|
691 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:142
|
692 |
+
#, php-format
|
693 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
694 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
695 |
+
msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
|
696 |
+
msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
|
697 |
+
|
698 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:151
|
699 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:197
|
700 |
+
#: includes/views/admin_options_settings.php:149
|
701 |
+
msgid "Updated Tracking"
|
702 |
+
msgstr "Opdateret sporing"
|
703 |
+
|
704 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:156
|
705 |
+
#, php-format
|
706 |
+
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
707 |
+
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
708 |
+
msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
|
709 |
+
msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
|
710 |
+
|
711 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:165
|
712 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:211
|
713 |
+
#: includes/views/admin_options_settings.php:115
|
714 |
+
msgid "Partially Shipped"
|
715 |
+
msgstr "Delvist afsendt"
|
716 |
+
|
717 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:170
|
718 |
+
#, php-format
|
719 |
+
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
720 |
+
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
721 |
+
msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
|
722 |
+
msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
|
723 |
+
|
724 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:270
|
725 |
+
msgid "Change status to delivered"
|
726 |
+
msgstr "Change status to delivered"
|
727 |
+
|
728 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:279
|
729 |
+
msgid "Change status to Updated Tracking"
|
730 |
+
msgstr ""
|
731 |
+
"Skift status til Opdateret sporing\n"
|
732 |
+
|
733 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:288
|
734 |
+
msgid "Change status to Partially Shipped"
|
735 |
+
msgstr "Skift status til delvist afsendt"
|
736 |
+
|
737 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:320
|
738 |
+
#, php-format
|
739 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
740 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
741 |
+
msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
|
742 |
+
msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
|
743 |
+
|
744 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:334
|
745 |
+
msgid "Change status to shipped"
|
746 |
+
msgstr "Skift status til afsendt"
|
747 |
+
|
748 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:518
|
749 |
+
msgid "Resend delivered order notification"
|
750 |
+
msgstr "Send leveret ordreanmeldelse igen"
|
751 |
+
|
752 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:730
|
753 |
+
msgid "Shipment Providers"
|
754 |
+
msgstr "Forsendelsesleverandører"
|
755 |
+
|
756 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:733
|
757 |
+
msgid "Shipment Status"
|
758 |
+
msgstr "Forsendelsesstatus"
|
759 |
+
|
760 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:736
|
761 |
+
msgid "Tracking issues"
|
762 |
+
msgstr "Sporingsspørgsmål"
|
763 |
+
|
764 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:742
|
765 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:750
|
766 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
767 |
+
msgid "data not available."
|
768 |
+
msgstr "data ikke tilgængelige."
|
769 |
+
|
770 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:773
|
771 |
+
msgid "View more on TrackShip"
|
772 |
+
msgstr "Se mere på TrackShip"
|
773 |
+
|
774 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:911
|
775 |
+
msgid "There are some issue with sync, Please Retry."
|
776 |
+
msgstr "Der er nogle problemer med synkronisering, prøv igen."
|
777 |
+
|
778 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:926
|
779 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:941
|
780 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:956
|
781 |
+
msgid "view details"
|
782 |
+
msgstr "view details"
|
783 |
+
|
784 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:927
|
785 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:942
|
786 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:957
|
787 |
+
msgid "hide details"
|
788 |
+
msgstr "Gem detaljer"
|
789 |
+
|
790 |
+
#: includes/customizer/class-wcast-customizer.php:40
|
791 |
msgid "Shipment Status Emails"
|
792 |
msgstr "Sendingsstatus-e-mails"
|
793 |
|
794 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
795 |
msgid "Tracking info display"
|
796 |
msgstr ""
|
797 |
"Tracking info display\n"
|
798 |
|
799 |
+
#: includes/customizer/class-wcast-customizer.php:60
|
800 |
+
#: includes/customizer/class-wc-email-customizer.php:163
|
801 |
+
msgid "Delivered order status email"
|
802 |
+
msgstr ""
|
803 |
+
"Leveret ordre status email\n"
|
804 |
|
805 |
+
#: includes/customizer/class-wcast-customizer.php:68
|
806 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
|
807 |
+
msgid "Partially Shipped status email"
|
808 |
+
msgstr "Delvis afsendt status-e-mail"
|
809 |
+
|
810 |
+
#: includes/customizer/class-wcast-customizer.php:76
|
811 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
|
812 |
+
msgid "Updated Tracking status email"
|
813 |
+
msgstr ""
|
814 |
+
"Opdateret e-mail med sporingsstatus\n"
|
815 |
|
816 |
+
#: includes/customizer/class-wcast-customizer.php:411
|
817 |
msgid "Select order to preview"
|
818 |
msgstr ""
|
819 |
"Vælg rækkefølge for at forhåndsvise\n"
|
820 |
|
821 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
|
822 |
msgid "Your order #{order_number} is available for pickup"
|
823 |
msgstr ""
|
824 |
"Din ordre # {order_number} er tilgængelig til afhentning\n"
|
825 |
|
826 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
827 |
msgid ""
|
828 |
"Hi there. we thought you'd like to know that your recent order from "
|
829 |
"{site_title} is available for pickup."
|
831 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
832 |
"er tilgængelig til afhentning.\n"
|
833 |
|
834 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
|
835 |
msgid "Available For Pickup shipment status email"
|
836 |
msgstr ""
|
837 |
"Tilgængelig til afhentningsstatus for afsendelsesstatus\n"
|
838 |
|
839 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
|
840 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:158
|
841 |
+
#: includes/customizer/class-wc-email-customizer.php:164
|
842 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:157
|
843 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:160
|
844 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
|
845 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:157
|
846 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
|
847 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
|
848 |
msgid "This section lets you customize the Email Content."
|
849 |
msgstr ""
|
850 |
"Dette afsnit giver dig mulighed for at tilpasse e-mailindholdet.\n"
|
851 |
|
852 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
|
853 |
msgid "Enable Available For Pickup shipment status email"
|
854 |
msgstr ""
|
855 |
"Aktivér tilgængelig for afhentningsstatus for e-mail\n"
|
856 |
|
857 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
858 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:188
|
859 |
+
#: includes/customizer/class-wc-email-customizer.php:197
|
860 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:187
|
861 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:191
|
862 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
|
863 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:187
|
864 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:183
|
865 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
|
866 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
|
867 |
msgid "Preview order"
|
868 |
msgstr ""
|
869 |
"Forhåndsvis rækkefølge\n"
|
870 |
|
871 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
|
872 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:216
|
873 |
+
#: includes/customizer/class-wc-email-customizer.php:226
|
874 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:215
|
875 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:219
|
876 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
|
877 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
878 |
msgid "E.g. {customer.email}, admin@example.org"
|
879 |
msgstr "F.eks {customer.email}, admin@example.org"
|
880 |
|
881 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
|
882 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
|
883 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:232
|
884 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:254
|
885 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:231
|
886 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:253
|
887 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:235
|
888 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
889 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
|
890 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
|
891 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:231
|
892 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:253
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
893 |
msgid "Available placeholders: {site_title}, {order_number}"
|
894 |
msgstr "Tilgængelige pladsholdere: {site_title}, {order_number}"
|
895 |
|
896 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
897 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:275
|
898 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:274
|
899 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:278
|
900 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
|
901 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
902 |
msgid "Show tracking details"
|
903 |
msgstr ""
|
904 |
"Vis sporingsoplysninger\n"
|
905 |
|
906 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
|
907 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:291
|
908 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:290
|
909 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:294
|
910 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
|
911 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
912 |
msgid "Show order details"
|
913 |
msgstr ""
|
914 |
"Vis bestilling detaljer\n"
|
915 |
|
916 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
|
917 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:307
|
918 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:306
|
919 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:310
|
920 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
|
921 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:306
|
922 |
msgid "Show billing address"
|
923 |
msgstr ""
|
924 |
"Vis faktureringsadresse\n"
|
925 |
|
926 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
|
927 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:324
|
928 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:323
|
929 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
930 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
|
931 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:323
|
932 |
msgid "Show shipping address"
|
933 |
msgstr ""
|
934 |
"Vis forsendelsesadresse\n"
|
935 |
|
936 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
|
937 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:340
|
938 |
+
#: includes/customizer/class-wc-email-customizer.php:393
|
939 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:339
|
940 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:364
|
941 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
|
942 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:339
|
943 |
msgid "Google Analytics link tracking"
|
944 |
+
msgstr "Google Analytics-linksporing"
|
945 |
+
|
946 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
|
947 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:341
|
948 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:340
|
949 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:365
|
950 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
|
951 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:340
|
952 |
msgid "This will be appended to URL in the email content"
|
953 |
+
msgstr "Dette føjes til URL i e-mail-indholdet"
|
954 |
+
|
955 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
|
956 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:362
|
957 |
+
#: includes/customizer/class-wc-email-customizer.php:288
|
958 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:361
|
959 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:344
|
960 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
|
961 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:361
|
962 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
|
963 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
|
964 |
msgid "Email content"
|
965 |
msgstr "Email indhold"
|
966 |
|
967 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
|
968 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:383
|
969 |
+
#: includes/customizer/class-wc-email-customizer.php:414
|
970 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:382
|
971 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:386
|
972 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
|
973 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:382
|
974 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
|
975 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
|
976 |
msgid "Available placeholders"
|
977 |
msgstr ""
|
978 |
"Tilgængelige pladsholdere\n"
|
979 |
|
980 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
|
981 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
|
982 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:440
|
983 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:447
|
984 |
+
#: includes/customizer/class-wc-email-customizer.php:447
|
985 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:439
|
986 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:447
|
987 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:442
|
988 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:450
|
989 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
|
990 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
|
991 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:438
|
992 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:446
|
993 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
|
994 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
|
995 |
+
msgid "Please select order to preview."
|
996 |
+
msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
|
997 |
+
|
998 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:124
|
999 |
msgid "Your order #{order_number} has been delivered"
|
1000 |
+
msgstr "Din ordre nr. {Ordre_nummer} er leveret"
|
1001 |
|
1002 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1003 |
+
#: includes/customizer/class-wc-email-customizer.php:132
|
1004 |
msgid ""
|
1005 |
"Hi there. we thought you'd like to know that your recent order from "
|
1006 |
"{site_title} has been Delivered."
|
1008 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
1009 |
"er blevet leveret.\n"
|
1010 |
|
1011 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:157
|
1012 |
msgid "Delivered shipment status email"
|
1013 |
msgstr ""
|
1014 |
"Leveret status for afsendelsesstatus\n"
|
1015 |
|
1016 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:172
|
1017 |
msgid "Enable Delivered shipment status email"
|
1018 |
msgstr ""
|
1019 |
"Aktivér leveret e-mail med leveringsstatus\n"
|
1020 |
|
1021 |
+
#: includes/customizer/class-wc-email-customizer.php:130
|
1022 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1023 |
msgid "Your {site_title} order is now delivered"
|
1024 |
msgstr ""
|
1025 |
"Din {site_title} ordre er nu leveret\n"
|
1026 |
|
1027 |
+
#: includes/customizer/class-wc-email-customizer.php:179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1028 |
msgid "Enable Delivered order status email"
|
1029 |
msgstr ""
|
1030 |
"Aktivér leveret ordre status email\n"
|
1031 |
|
1032 |
+
#: includes/customizer/class-wc-email-customizer.php:201
|
1033 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:187
|
1034 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
|
1035 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
|
1036 |
msgid "Please select a order..."
|
1037 |
msgstr "Vælg venligst en ordre ..."
|
1038 |
|
1039 |
+
#: includes/customizer/class-wc-email-customizer.php:243
|
1040 |
+
#: includes/customizer/class-wc-email-customizer.php:266
|
1041 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
|
1042 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
|
1043 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
|
1044 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
|
|
|
|
|
|
|
|
|
|
|
|
|
1045 |
msgid "Available variables: {site_title}, {order_number}"
|
1046 |
+
msgstr "Tilgængelige variabler: {site_title}, {order_number}"
|
1047 |
|
1048 |
+
#: includes/customizer/class-wc-email-customizer.php:289
|
1049 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
|
1050 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
|
1051 |
msgid ""
|
1052 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
1053 |
"{customer_last_name}, {customer_username}, {order_number}"
|
1054 |
msgstr ""
|
1055 |
+
"tilgængelige variabler: {site_title}, {customer_email}, {customer_first_name}"
|
1056 |
+
", {customer_last_name}, {customer_username}, {order_number}"
|
1057 |
|
1058 |
+
#: includes/customizer/class-wc-email-customizer.php:309
|
1059 |
msgid "Display tracking details"
|
1060 |
+
msgstr "Vis sporingsdetaljer"
|
1061 |
|
1062 |
+
#: includes/customizer/class-wc-email-customizer.php:325
|
1063 |
msgid "Display order details"
|
1064 |
+
msgstr "Vis ordredetaljer"
|
1065 |
|
1066 |
+
#: includes/customizer/class-wc-email-customizer.php:342
|
1067 |
msgid "Display Shipping Address"
|
1068 |
+
msgstr "Vis forsendelsesadresse"
|
1069 |
|
1070 |
+
#: includes/customizer/class-wc-email-customizer.php:359
|
1071 |
msgid "Display Billing Address"
|
1072 |
+
msgstr "Vis faktureringsadresse"
|
1073 |
|
1074 |
+
#: includes/customizer/class-wc-email-customizer.php:376
|
1075 |
msgid "Enable Google Analytics tracking"
|
1076 |
+
msgstr "Aktivér Google Analytics-sporing"
|
1077 |
|
1078 |
+
#: includes/customizer/class-wc-email-customizer.php:394
|
1079 |
msgid ""
|
1080 |
"This will be appended to URL in the email content – e.g. "
|
1081 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1082 |
msgstr ""
|
1083 |
+
"Dette føjes til URL i e-mail-indholdet - f.eks. utm_source = ast & "
|
1084 |
+
"utm_medium = email & utm_campaign = leveret"
|
1085 |
|
1086 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:123
|
1087 |
msgid "Your order #{order_number} is Failed Attempt"
|
1088 |
msgstr "Din ordre # {order_nummer} er mislykket"
|
1089 |
|
1090 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1091 |
msgid ""
|
1092 |
"Hi there. we thought you'd like to know that your recent order from "
|
1093 |
"{site_title} is Failed Attempt"
|
1095 |
"Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
|
1096 |
"mislykket forsøg"
|
1097 |
|
1098 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:156
|
1099 |
msgid "Failed Attempt shipment status email"
|
1100 |
msgstr "Mislykket Forsøg på e-mail med forsendelsesstatus"
|
1101 |
|
1102 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:171
|
1103 |
msgid "Enable Failed Attempt shipment status email"
|
1104 |
msgstr "Aktivér mislykket forsøg på e-mail med status for forsendelse"
|
1105 |
|
1106 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:126
|
1107 |
msgid "Your order #{order_number} is in transit"
|
1108 |
msgstr ""
|
1109 |
"Din ordre # {order_number} er i transit\n"
|
1110 |
|
1111 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1112 |
msgid ""
|
1113 |
"Hi there. we thought you'd like to know that your recent order from "
|
1114 |
"{site_title} is in transit"
|
1116 |
"Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
1117 |
"er i transit"
|
1118 |
|
1119 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:159
|
1120 |
msgid "In Transit shipment status email"
|
1121 |
msgstr ""
|
1122 |
"I transitforsendelse status email\n"
|
1123 |
|
1124 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:174
|
1125 |
msgid "Enable In Transit shipment status email"
|
1126 |
msgstr "Aktivér e-mail i transitforsendelsesstatus"
|
1127 |
|
1128 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
|
1129 |
msgid "Your order #{order_number} is out for delivery"
|
1130 |
msgstr "Din ordre # {order_number} er ude for levering"
|
1131 |
|
1132 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1133 |
msgid ""
|
1134 |
"Hi there. we thought you'd like to know that your recent order from "
|
1135 |
"{site_title} is out for delivery."
|
1137 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
1138 |
"er ude for levering."
|
1139 |
|
1140 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
|
1141 |
msgid "Out For Delivery shipment status email"
|
1142 |
msgstr ""
|
1143 |
"Out For Delivery forsendelse status email\n"
|
1144 |
|
1145 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
|
1146 |
msgid "Enable Out For Delivery shipment status email"
|
1147 |
msgstr "Aktivér Send e-mail til afsendelsesstatus for levering"
|
1148 |
|
1149 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:123
|
1150 |
msgid "Your order #{order_number} has returned to sender"
|
1151 |
msgstr "Din ordre # {order_number} er returneret til afsenderen"
|
1152 |
|
1153 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1154 |
msgid ""
|
1155 |
"Hi there. we thought you'd like to know that your recent order from "
|
1156 |
"{site_title} has been returned to sender."
|
1158 |
"Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
|
1159 |
"er blevet returneret til afsenderen."
|
1160 |
|
1161 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:156
|
1162 |
msgid "Return To Sender shipment status email"
|
1163 |
msgstr ""
|
1164 |
"Returner til afsendelsesstatus for afsendelsesstatus\n"
|
1165 |
|
1166 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:171
|
1167 |
msgid "Enable Return To Sender shipment status email"
|
1168 |
msgstr ""
|
1169 |
"Aktivér Send e-mail til afsendelse af afsendelsesstatus\n"
|
1170 |
|
1171 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:144
|
1172 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:496
|
1173 |
+
#: templates/emails/tracking-info.php:203
|
1174 |
+
#: templates/myaccount/tracking-info.php:144
|
1175 |
msgid "Provider"
|
1176 |
msgstr "Fragtfirma"
|
1177 |
|
1178 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:145
|
1179 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:518
|
1180 |
+
#: templates/emails/tracking-info.php:232
|
1181 |
+
#: templates/myaccount/tracking-info.php:171
|
|
|
1182 |
msgid "Tracking Number"
|
1183 |
msgstr "Tracking nummer"
|
1184 |
|
1185 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:146
|
1186 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:539
|
1187 |
msgid "Shipped Date"
|
1188 |
msgstr ""
|
1189 |
"Afsendt dato\n"
|
1190 |
|
1191 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:184
|
1192 |
+
msgid "Select an order to preview and design the tracking info display."
|
|
|
|
|
1193 |
msgstr ""
|
1194 |
+
"Vælg en ordre for at få vist og designe visningen af sporingsinfo.\n"
|
|
|
|
|
1195 |
|
1196 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:204
|
1197 |
msgid "Tracking Display Position"
|
1198 |
msgstr "Sporing af skærmposition"
|
1199 |
|
1200 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:208
|
1201 |
msgid "Before Order Details"
|
1202 |
msgstr "Før ordredetaljer"
|
1203 |
|
1204 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:209
|
1205 |
msgid "After Order Details"
|
1206 |
msgstr "Efter ordredetaljer"
|
1207 |
|
1208 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:224
|
1209 |
+
msgid "Tracking Header text"
|
1210 |
+
msgstr ""
|
1211 |
+
"Sporing af overskriftstekst\n"
|
1212 |
|
1213 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:231
|
|
|
1214 |
msgid "Tracking Information"
|
1215 |
msgstr "Sporing Oplysninger"
|
1216 |
|
1217 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:246
|
1218 |
msgid "Additional text after header"
|
1219 |
msgstr "Yderligere tekst efter overskrift"
|
1220 |
|
1221 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:267
|
1222 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:270
|
1223 |
+
msgid "Tracking display template"
|
1224 |
+
msgstr ""
|
1225 |
+
"Sporing af skærmskabelon\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
1226 |
|
1227 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
1228 |
+
msgid "Select Template"
|
1229 |
+
msgstr ""
|
1230 |
+
"Vælg skabelon\n"
|
1231 |
|
1232 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:275
|
1233 |
+
msgid "Table Layout"
|
1234 |
+
msgstr ""
|
1235 |
+
"Tabellayout\n"
|
1236 |
|
1237 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:291
|
1238 |
+
msgid "Simple Layout Design"
|
1239 |
+
msgstr ""
|
1240 |
+
"Simpelt layoutdesign\n"
|
1241 |
|
1242 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:306
|
1243 |
+
msgid "Provider font size"
|
1244 |
+
msgstr ""
|
1245 |
+
"Udbyderens skriftstørrelse\n"
|
1246 |
|
1247 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:323
|
1248 |
+
msgid "Provider font color"
|
1249 |
+
msgstr ""
|
1250 |
+
"Udbyderens fontfarve\n"
|
1251 |
|
1252 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:339
|
1253 |
+
msgid "Show bottom border"
|
1254 |
+
msgstr ""
|
1255 |
+
"Vis nederste kant\n"
|
1256 |
|
1257 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:356
|
1258 |
+
msgid "Bottom border color"
|
1259 |
+
msgstr ""
|
1260 |
+
"Nederste kantfarve\n"
|
1261 |
|
1262 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
1263 |
+
msgid "Table layout Design"
|
1264 |
+
msgstr ""
|
1265 |
+
"Tabellayout Design\n"
|
1266 |
|
1267 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:389
|
1268 |
+
msgid "Display shipping provider name"
|
1269 |
msgstr ""
|
1270 |
+
"Vis forsendelsesudbyderens navn\n"
|
1271 |
|
1272 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:406
|
1273 |
+
msgid "Display shipping provider image"
|
1274 |
msgstr ""
|
1275 |
+
"Vis forsendelsesudbyders billede\n"
|
1276 |
|
1277 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:423
|
1278 |
+
msgid "Hide the ship date"
|
1279 |
+
msgstr ""
|
1280 |
+
"Skjul skibets dato\n"
|
|
|
1281 |
|
1282 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:440
|
1283 |
+
msgid "Use tracking number as a link"
|
1284 |
+
msgstr "Brug sporingsnummer som et link"
|
1285 |
|
1286 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:457
|
1287 |
+
msgid "Table Headers"
|
1288 |
+
msgstr ""
|
1289 |
+
"Bordoverskrifter\n"
|
1290 |
|
1291 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:472
|
1292 |
+
msgid "Hide Table Headers"
|
1293 |
+
msgstr ""
|
1294 |
+
"Skjul tabeloverskrifter\n"
|
1295 |
|
1296 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:489
|
1297 |
+
msgid "Provider header text"
|
1298 |
+
msgstr ""
|
1299 |
+
"Udbyderens hovedtekst\n"
|
1300 |
|
1301 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:511
|
1302 |
+
msgid "Tracking Number header text"
|
1303 |
+
msgstr ""
|
1304 |
+
"Sporing af nummeroverskriftstekst\n"
|
1305 |
|
1306 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:532
|
1307 |
+
msgid "Ship date header text"
|
1308 |
+
msgstr ""
|
1309 |
+
"Send datoens overskriftstekst\n"
|
1310 |
|
1311 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:554
|
1312 |
+
msgid "Track Label"
|
1313 |
+
msgstr "Sporetiket"
|
1314 |
|
1315 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:571
|
1316 |
+
msgid "Track header text"
|
1317 |
+
msgstr ""
|
1318 |
+
"Spor overskriftstekst\n"
|
1319 |
|
1320 |
#: includes/customizer/class-wc-tracking-info-customizer.php:593
|
1321 |
+
msgid "Headers font size"
|
1322 |
msgstr ""
|
1323 |
+
"Headers skriftstørrelse\n"
|
1324 |
|
1325 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:610
|
1326 |
+
msgid "Headers font color"
|
1327 |
msgstr ""
|
1328 |
+
"Headers fontfarve\n"
|
1329 |
|
1330 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:626
|
1331 |
+
msgid "Table Content"
|
1332 |
+
msgstr "Table Content"
|
1333 |
|
1334 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:641
|
1335 |
+
msgid "Padding"
|
1336 |
+
msgstr "polstring"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1337 |
|
1338 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:661
|
1339 |
+
msgid "Background color"
|
1340 |
+
msgstr "Baggrundsfarve"
|
1341 |
|
1342 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:677
|
1343 |
+
msgid "Border color"
|
1344 |
msgstr ""
|
1345 |
+
"Border farve\n"
|
1346 |
|
1347 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:693
|
1348 |
+
msgid "Border size"
|
1349 |
msgstr ""
|
1350 |
+
"Border størrelse\n"
|
1351 |
|
1352 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
1353 |
+
msgid "Content Text align"
|
1354 |
msgstr ""
|
1355 |
+
"Juster indholdstekst\n"
|
1356 |
|
1357 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:739
|
1358 |
+
msgid "Content font color"
|
1359 |
msgstr ""
|
1360 |
+
"Indhold font farve\n"
|
1361 |
|
1362 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:755
|
1363 |
+
msgid "Content font size"
|
1364 |
msgstr ""
|
1365 |
+
"Indholdsstørrelse\n"
|
1366 |
|
1367 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:772
|
1368 |
+
msgid "Content line height"
|
1369 |
msgstr ""
|
1370 |
+
"Indholdslinjehøjde\n"
|
1371 |
|
1372 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:793
|
1373 |
+
msgid "Content font weight"
|
1374 |
msgstr ""
|
1375 |
+
"Indhold skrifttype vægt\n"
|
1376 |
|
1377 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:815
|
1378 |
+
msgid "Tracking Link"
|
1379 |
+
msgstr "Sporingslink"
|
1380 |
|
1381 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:829
|
1382 |
+
msgid "Font Color"
|
1383 |
msgstr ""
|
1384 |
+
"Skrift farve\n"
|
1385 |
|
1386 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:845
|
1387 |
+
msgid "Background Color"
|
1388 |
+
msgstr "Baggrundsfarve"
|
1389 |
+
|
1390 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:860
|
1391 |
+
msgid "Border"
|
1392 |
+
msgstr "Grænse"
|
1393 |
+
|
1394 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:912
|
1395 |
msgid ""
|
1396 |
+
"To preview the tracking display, please add tracking information to at least "
|
1397 |
+
"one order and choose it in the preview order selection."
|
1398 |
msgstr ""
|
1399 |
+
"Hvis du vil se en forhåndsvisning af sporingsdisplayet, skal du tilføje "
|
1400 |
+
"sporingsoplysninger til mindst en ordre og vælge dem i valg af "
|
1401 |
+
"forhåndsvisning af forhåndsvisning.\n"
|
1402 |
|
1403 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
|
1404 |
+
msgid "Your {site_title} order is now partially shipped"
|
1405 |
+
msgstr "Din {site_title} ordre er nu delvist sendt"
|
1406 |
|
1407 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
1408 |
+
msgid ""
|
1409 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
1410 |
+
"{site_title} has been partially shipped."
|
1411 |
msgstr ""
|
1412 |
+
"Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
|
1413 |
+
"delvist sendt.\n"
|
1414 |
|
1415 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
|
1416 |
+
msgid "Enable Partially Shipped order status email"
|
1417 |
+
msgstr "Aktivér delvis afsendt ordre-status-e-mail"
|
|
|
|
|
1418 |
|
1419 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
|
1420 |
+
msgid "Your {site_title} order is now updated tracking"
|
1421 |
msgstr ""
|
1422 |
+
"Din {site_title} ordre er nu opdateret sporing\n"
|
1423 |
|
1424 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1425 |
+
msgid ""
|
1426 |
+
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
1427 |
+
"recent order from {site_title} has been updated."
|
|
|
1428 |
msgstr ""
|
1429 |
+
"Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
|
1430 |
+
"ordre fra {site_title} er blevet opdateret.\n"
|
1431 |
|
1432 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
|
1433 |
+
msgid "Enable Updated Tracking order status email"
|
1434 |
msgstr ""
|
1435 |
+
"Aktivér e-mail med opdateret sporingsordrestatus\n"
|
1436 |
|
1437 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
1438 |
+
msgid "Delivered order"
|
1439 |
+
msgstr "Leveret ordre"
|
1440 |
|
1441 |
+
#: includes/emails/class-shipment-delivered-email.php:33
|
1442 |
+
msgid ""
|
1443 |
+
"Order delivered emails are sent to customers when their orders are marked "
|
1444 |
+
"delivered and usually indicate that their orders have been shipped."
|
1445 |
msgstr ""
|
1446 |
+
"Ordrer leverede e-mails sendes til kunderne, når deres ordrer er mærket "
|
1447 |
+
"leveret og angiver normalt, at deres ordrer er blevet sendt."
|
1448 |
|
1449 |
+
#: includes/emails/class-shipment-delivered-email.php:280
|
1450 |
+
msgid "Click Here"
|
1451 |
+
msgstr "Klik her"
|
1452 |
+
|
1453 |
+
#: includes/emails/class-shipment-delivered-email.php:281
|
1454 |
msgid "Edit in customizer"
|
1455 |
+
msgstr "Rediger i brugerdefineret"
|
1456 |
|
1457 |
+
#: includes/views/admin_options_bulk_upload.php:10
|
1458 |
msgid "Upload CSV"
|
1459 |
msgstr "Upload CSV"
|
1460 |
|
1461 |
+
#: includes/views/admin_options_bulk_upload.php:20
|
1462 |
msgid ""
|
1463 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1464 |
"added)"
|
1466 |
"Erstat sporingsinformation, hvis der eksisterer? (hvis ikke markeret, vil "
|
1467 |
"sporingsoplysningerne blive tilføjet)"
|
1468 |
|
1469 |
+
#: includes/views/admin_options_bulk_upload.php:29
|
1470 |
+
#: includes/views/admin_options_shipping_provider.php:120
|
1471 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
1472 |
msgid "Upload"
|
1473 |
msgstr "Upload"
|
1474 |
|
1475 |
+
#: includes/views/admin_options_bulk_upload.php:31
|
|
|
|
|
1476 |
msgid "Settings Saved."
|
1477 |
msgstr "Indstillinger gemt."
|
1478 |
|
1479 |
+
#: includes/views/admin_options_bulk_upload.php:41
|
1480 |
+
msgid "Upload Progress - "
|
1481 |
+
msgstr "Upload Progress -"
|
1482 |
+
|
1483 |
+
#: includes/views/admin_options_bulk_upload.php:50
|
1484 |
+
msgid "Sample CSV"
|
1485 |
+
msgstr "Eksempel på CSV"
|
1486 |
+
|
1487 |
+
#: includes/views/admin_options_bulk_upload.php:55
|
1488 |
msgid "You can download an example of the csv file:"
|
1489 |
msgstr "Puedes descargar un ejemplo del archivo csv:"
|
1490 |
|
1491 |
+
#: includes/views/admin_options_bulk_upload.php:58
|
1492 |
msgid "Download sample csv file"
|
1493 |
msgstr "Download prøve csv fil"
|
1494 |
|
1495 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
1496 |
msgid ""
|
1497 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1498 |
msgstr ""
|
1499 |
"Para obtener instrucciones detalladas sobre cómo cargar información de "
|
1500 |
"seguimiento de forma masiva, consulte nuestra"
|
1501 |
|
1502 |
+
#: includes/views/admin_options_settings.php:15
|
1503 |
+
#: includes/views/admin_trackship_dashboard.php:62
|
1504 |
+
msgid "General Settings"
|
1505 |
+
msgstr "Generelle indstillinger"
|
1506 |
|
1507 |
+
#: includes/views/admin_options_settings.php:26
|
1508 |
+
#: includes/views/admin_options_settings.php:181
|
1509 |
+
#: includes/views/admin_trackship_dashboard.php:73
|
1510 |
+
#: includes/views/admin_tracking_page_settings.php:101
|
1511 |
+
msgid "Save Changes"
|
1512 |
+
msgstr "Gem ændringer"
|
1513 |
|
1514 |
+
#: includes/views/admin_options_settings.php:40
|
1515 |
+
msgid "Tracking Info Display"
|
1516 |
+
msgstr "Tracking Info Display"
|
|
|
1517 |
|
1518 |
+
#: includes/views/admin_options_settings.php:49
|
1519 |
+
msgid "You can customize the tracking info display on emails and my account"
|
1520 |
+
msgstr "Du kan tilpasse visningen af sporingsinfo på e-mails og min konto"
|
|
|
1521 |
|
1522 |
+
#: includes/views/admin_options_settings.php:52
|
1523 |
+
msgid "Launch Customizer"
|
1524 |
+
msgstr "Start Customizer"
|
1525 |
+
|
1526 |
+
#: includes/views/admin_options_settings.php:62
|
1527 |
+
msgid "Custom Order Statuses"
|
1528 |
msgstr ""
|
1529 |
+
"Status for tilpasset ordre\n"
|
1530 |
|
1531 |
+
#: includes/views/admin_options_settings.php:94
|
1532 |
+
#: includes/views/admin_options_settings.php:129
|
1533 |
+
#: includes/views/admin_options_settings.php:163
|
1534 |
+
msgid "Light Font"
|
1535 |
+
msgstr ""
|
1536 |
+
"Let skrift\n"
|
1537 |
|
1538 |
+
#: includes/views/admin_options_settings.php:95
|
1539 |
+
#: includes/views/admin_options_settings.php:130
|
1540 |
+
#: includes/views/admin_options_settings.php:164
|
1541 |
+
msgid "Dark Font"
|
1542 |
+
msgstr ""
|
1543 |
+
"Mørk skrifttype\n"
|
1544 |
+
|
1545 |
+
#: includes/views/admin_options_settings.php:99
|
1546 |
+
#: includes/views/admin_options_settings.php:134
|
1547 |
+
#: includes/views/admin_options_settings.php:168
|
1548 |
+
msgid "Send Email"
|
1549 |
+
msgstr ""
|
1550 |
+
"Send e-mail\n"
|
1551 |
+
|
1552 |
+
#: includes/views/admin_options_settings.php:190
|
1553 |
+
#, php-format
|
1554 |
+
msgid ""
|
1555 |
+
"<strong>Note:</strong> - If you use the custom order status, when you "
|
1556 |
+
"deactivate the plugin, you must register the order status, otherwise these "
|
1557 |
+
"orders will not display on your orders admin. You can find more information "
|
1558 |
+
"and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
|
1559 |
+
"php here."
|
1560 |
+
msgstr ""
|
1561 |
+
"Bemærk: - Hvis du bruger den tilpassede ordrestatus, skal du registrere "
|
1562 |
+
"ordrestatus, når du deaktiverer plugin, ellers vises disse ordrer ikke på "
|
1563 |
+
"din ordreradministrator. Du kan finde mere information og kodestykket, der "
|
1564 |
+
"skal bruges i features.php her.\n"
|
1565 |
+
|
1566 |
+
#: includes/views/admin_options_shipping_provider.php:12
|
1567 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1568 |
+
#: includes/views/zorem_admin_sidebar.php:18
|
1569 |
+
#: includes/views/admin_options_addons.php:109
|
1570 |
+
msgid "Active"
|
1571 |
+
msgstr "Aktiv"
|
1572 |
+
|
1573 |
+
#: includes/views/admin_options_shipping_provider.php:13
|
1574 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1575 |
+
msgid "Inactive"
|
1576 |
+
msgstr "inaktive"
|
1577 |
+
|
1578 |
+
#: includes/views/admin_options_shipping_provider.php:14
|
1579 |
+
msgid "Custom"
|
1580 |
+
msgstr "Brugerdefinerede"
|
1581 |
+
|
1582 |
+
#: includes/views/admin_options_shipping_provider.php:20
|
1583 |
+
msgid "Search by provider / country"
|
1584 |
+
msgstr "Søg efter udbyder / land"
|
1585 |
+
|
1586 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1587 |
+
msgid "Reset all:"
|
1588 |
+
msgstr ""
|
1589 |
+
"Genstart alt:\n"
|
1590 |
+
|
1591 |
+
#: includes/views/admin_options_shipping_provider.php:26
|
1592 |
+
#: includes/views/admin_options_shipping_provider.php:177
|
1593 |
+
#: includes/views/admin_options_shipping_provider.php:184
|
1594 |
+
msgid "Sync Shipping Providers"
|
1595 |
+
msgstr "Synkroniseringsforsendelser"
|
1596 |
|
1597 |
+
#: includes/views/admin_options_shipping_provider.php:102
|
1598 |
msgid "Add Custom Shipping Provider"
|
1599 |
msgstr "Tilføj Tilpasset forsendelsesleverandør"
|
1600 |
|
1601 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
1602 |
+
#: includes/views/admin_options_shipping_provider.php:146
|
1603 |
+
msgid "Shipping Country"
|
1604 |
msgstr "Forsendelsesland"
|
1605 |
|
1606 |
+
#: includes/views/admin_options_shipping_provider.php:110
|
1607 |
+
#: includes/views/admin_options_shipping_provider.php:147
|
1608 |
msgid "Global"
|
1609 |
+
msgstr "Global"
|
1610 |
+
|
1611 |
+
#: includes/views/admin_options_shipping_provider.php:126
|
1612 |
+
#: includes/views/admin_options_shipping_provider.php:163
|
1613 |
+
msgid "How to add Tracking URL"
|
1614 |
+
msgstr "Sådan tilføjes sporings-URL"
|
1615 |
|
1616 |
+
#: includes/views/admin_options_shipping_provider.php:139
|
1617 |
msgid "Edit Custom Shipping Provider"
|
1618 |
msgstr "Rediger leverandør af tilpasset forsendelse"
|
1619 |
|
1620 |
+
#: includes/views/admin_options_shipping_provider.php:178
|
1621 |
+
msgid ""
|
1622 |
+
"Syncing the shipping providers list add or updates the pre-set shipping "
|
1623 |
+
"providers and will not effect custom shipping providers."
|
1624 |
+
msgstr ""
|
1625 |
+
"Synkronisering af leverandørlisten tilføj eller opdaterer de "
|
1626 |
+
"forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
|
1627 |
+
"forsendelsesleverandører."
|
1628 |
|
1629 |
+
#: includes/views/admin_options_shipping_provider.php:180
|
1630 |
msgid "Providers Added"
|
1631 |
msgstr "Udbydere tilføjet"
|
1632 |
|
1633 |
+
#: includes/views/admin_options_shipping_provider.php:181
|
1634 |
msgid "Providers Updated"
|
1635 |
msgstr "Udbydere opdateret"
|
1636 |
|
1637 |
+
#: includes/views/admin_options_shipping_provider.php:182
|
1638 |
msgid "Providers Deleted"
|
1639 |
msgstr "Udbydere er slettet"
|
1640 |
|
1641 |
+
#: includes/views/admin_options_trackship_integration.php:17
|
1642 |
+
#: includes/views/admin_tracking_page_settings.php:7
|
|
|
|
|
|
|
|
|
1643 |
msgid "Tracking Page"
|
1644 |
msgstr "Tracking Page"
|
1645 |
|
1646 |
+
#: includes/views/admin_options_trackship_integration.php:20
|
1647 |
msgid "Shipment Status Notifications"
|
1648 |
+
msgstr ""
|
1649 |
+
"Notifikationer om forsendelsesstatus\n"
|
1650 |
+
|
1651 |
+
#: includes/views/admin_options_trackship_integration.php:23
|
1652 |
+
msgid "Tools"
|
1653 |
+
msgstr "Værktøj"
|
1654 |
+
|
1655 |
+
#: includes/views/zorem_admin_sidebar.php:15
|
1656 |
+
#: includes/views/admin_options_addons.php:90
|
1657 |
+
msgid "Get This Add-on >"
|
1658 |
+
msgstr ""
|
1659 |
+
"Hent denne tilføjelse>\n"
|
1660 |
+
|
1661 |
+
#: includes/views/zorem_admin_sidebar.php:27
|
1662 |
+
msgid "Upgrade to PRO"
|
1663 |
+
msgstr ""
|
1664 |
+
"Opgrader til Pro\n"
|
1665 |
+
|
1666 |
+
#: includes/views/admin_options_tools.php:23
|
1667 |
+
msgid ""
|
1668 |
+
"You can send all your orders from the last 30 days to get shipment status "
|
1669 |
+
"from TrackShip:"
|
1670 |
+
msgstr ""
|
1671 |
+
"Du kan sende alle dine ordrer fra de sidste 30 dage for at få "
|
1672 |
+
"forsendelsesstatus fra TrackShip:"
|
1673 |
+
|
1674 |
+
#: includes/views/admin_options_addons.php:20
|
1675 |
+
msgid "TrackShip"
|
1676 |
+
msgstr "TrackShip"
|
1677 |
+
|
1678 |
+
#: includes/views/admin_options_addons.php:36
|
1679 |
+
msgid ""
|
1680 |
+
"TracksShip is a premium shipment tracking API flatform that fully integrates "
|
1681 |
+
"with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
|
1682 |
+
"the order management workflows, reduces customer inquiries, reduces time "
|
1683 |
+
"spent on customer service, and improves the post-purchase experience and "
|
1684 |
+
"satisfaction of your customers."
|
1685 |
+
msgstr ""
|
1686 |
+
"TracksShip er en premium-forsendelses-API-flatform, der fuldt ud integreres "
|
1687 |
+
"med WooCommerce med Advanced Shipment Tracking. TrackShip automatiserer "
|
1688 |
+
"orderstyringsarbejdsgange, reducerer kundeforespørgsler, reducerer tiden, "
|
1689 |
+
"der bruges på kundeservice og forbedrer dine kunders oplevelse efter købet "
|
1690 |
+
"og tilfredshed.\n"
|
1691 |
+
|
1692 |
+
#: includes/views/admin_options_addons.php:37
|
1693 |
+
msgid ""
|
1694 |
+
"You must have account TracksShip and connect your store in order to activate "
|
1695 |
+
"these advanced features:"
|
1696 |
+
msgstr ""
|
1697 |
+
"Du skal have konto TracksShip og forbinde din butik for at aktivere disse "
|
1698 |
+
"avancerede funktioner:\n"
|
1699 |
+
|
1700 |
+
#: includes/views/admin_options_addons.php:51
|
1701 |
+
msgid "SIGNUP NOW"
|
1702 |
+
msgstr ""
|
1703 |
+
"TILMELD DIG NU\n"
|
1704 |
+
|
1705 |
+
#: includes/views/admin_options_addons.php:80
|
1706 |
+
msgid ""
|
1707 |
+
"The Tracking Per Item add-on extends the AST plugin and allows you to attach "
|
1708 |
+
"tracking numbers to specific line items and to line item quantities."
|
1709 |
+
msgstr ""
|
1710 |
+
"Tilføjelsen Tracking per Item udvider AST-pluginet og giver dig mulighed for "
|
1711 |
+
"at knytte sporingsnumre til specifikke linjeposter og til "
|
1712 |
+
"linjeposteremængder.\n"
|
1713 |
|
1714 |
+
#: includes/views/admin_options_addons.php:110
|
1715 |
+
msgid "Deactivate"
|
1716 |
+
msgstr "Deaktiver"
|
1717 |
|
1718 |
+
#: includes/views/admin_options_addons.php:112
|
1719 |
+
msgid "Activate"
|
1720 |
+
msgstr "Activate"
|
1721 |
|
1722 |
+
#: includes/views/admin_tracking_page_settings.php:39
|
1723 |
+
msgid ""
|
1724 |
+
"Note - If you select a different page than the Shipment Tracking page, add "
|
1725 |
+
"the [wcast-track-order] shortcode to the selected page content."
|
1726 |
+
msgstr ""
|
1727 |
+
"Bemærk - Hvis du vælger en anden side end siden med sporing af forsendelse, "
|
1728 |
+
"tilføj kortkoden [wcast-track-order] til det valgte sideindhold.\n"
|
1729 |
+
|
1730 |
+
#: includes/views/admin_tracking_page_settings.php:39
|
1731 |
+
msgid "more info"
|
1732 |
+
msgstr ""
|
1733 |
+
"mere info\n"
|
1734 |
+
|
1735 |
+
#: includes/views/admin_tracking_page_settings.php:66
|
1736 |
+
msgid "Text Color"
|
1737 |
+
msgstr ""
|
1738 |
+
"Tekstfarve\n"
|
1739 |
+
|
1740 |
+
#: includes/views/admin_tracking_page_settings.php:72
|
1741 |
+
msgid "Border Color"
|
1742 |
+
msgstr ""
|
1743 |
+
"Kantfarve\n"
|
1744 |
+
|
1745 |
+
#: includes/views/admin_tracking_page_settings.php:88
|
1746 |
+
msgid "Hide tracking event details"
|
1747 |
+
msgstr ""
|
1748 |
+
"Skjul detaljer om sporingsbegivenhed\n"
|
1749 |
+
|
1750 |
+
#: includes/views/admin_tracking_page_settings.php:110
|
1751 |
+
msgid "Preview"
|
1752 |
+
msgstr "Eksempel"
|
1753 |
+
|
1754 |
+
#: includes/views/admin_status_notifications.php:3
|
1755 |
msgid "Shipment Status Notifications "
|
1756 |
msgstr "Notifikationer om forsendelsesstatus"
|
1757 |
|
1758 |
+
#: includes/views/admin_status_notifications.php:27
|
1759 |
msgid ""
|
1760 |
"Carrier has accepted or picked up shipment from shipper. The shipment is on "
|
1761 |
"the way."
|
1763 |
"Luftfartsselskab har accepteret eller hentet forsendelse fra afsender. "
|
1764 |
"Forsendelsen er på vej."
|
1765 |
|
1766 |
+
#: includes/views/admin_status_notifications.php:41
|
1767 |
msgid "Shipment is returned to sender"
|
1768 |
msgstr "Forsendelse returneres til afsenderen"
|
1769 |
|
1770 |
+
#: includes/views/admin_status_notifications.php:55
|
1771 |
msgid "The shipment is ready to pickup."
|
1772 |
msgstr "Forsendelsen er klar til afhentning."
|
1773 |
|
1774 |
+
#: includes/views/admin_status_notifications.php:68
|
1775 |
msgid "Carrier is about to deliver the shipment"
|
1776 |
msgstr "Carrier er ved at levere forsendelsen"
|
1777 |
|
1778 |
+
#: includes/views/admin_status_notifications.php:82
|
1779 |
msgid "The shipment was delivered successfully"
|
1780 |
msgstr "Forsendelsen blev leveret med succes"
|
1781 |
|
1782 |
+
#: includes/views/admin_status_notifications.php:83
|
1783 |
msgid ""
|
1784 |
"You already have delivered email enabled, to enable this email you'll need "
|
1785 |
"to disable the order status delivered in settings."
|
1787 |
"Du har allerede leveret e-mail aktiveret, for at aktivere denne e-mail skal "
|
1788 |
"du deaktivere ordrestatus leveret i indstillinger."
|
1789 |
|
1790 |
+
#: includes/views/admin_status_notifications.php:97
|
1791 |
msgid ""
|
1792 |
"Carrier attempted to deliver but failed, and usually leaves a notice and "
|
1793 |
"will try to deliver the package again."
|
1795 |
"Luftfartsselskab forsøgte at levere, men mislykkedes, og efterlader normalt "
|
1796 |
"en meddelelse og vil forsøge at levere pakken igen."
|
1797 |
|
1798 |
+
# Udbyderens navn
|
1799 |
+
#: templates/emails/tracking-info.php:225
|
1800 |
+
#: templates/myaccount/tracking-info.php:166
|
1801 |
+
msgid "Provider Name"
|
1802 |
+
msgstr "Udbyderens navn"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1803 |
|
1804 |
#. %s: Order ID.
|
1805 |
+
#: templates/emails/wcast-email-order-details.php:47
|
1806 |
#, php-format
|
1807 |
msgid "Order number: %s"
|
1808 |
msgstr ""
|
1809 |
"Ordrenummer:% s\n"
|
1810 |
|
1811 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
|
1812 |
+
msgid "Cannot create existing order shipment tracking."
|
1813 |
+
msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
|
1814 |
+
|
1815 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
|
1816 |
+
msgid "Invalid order ID."
|
1817 |
+
msgstr "Ugyldigt ordre-ID."
|
1818 |
+
|
1819 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
|
1820 |
+
msgid "Special character not allowd in tracking number"
|
1821 |
+
msgstr "Specialtegn er ikke tilladt i sporingsnummer"
|
1822 |
+
|
1823 |
+
#. Name of the plugin
|
1824 |
+
msgid "Advanced Shipment Tracking for WooCommerce"
|
1825 |
msgstr ""
|
1826 |
+
"Avanceret forsendelsesporing til WooCommerce\n"
|
1827 |
|
1828 |
+
#. Description of the plugin
|
1829 |
+
msgid ""
|
1830 |
+
"Add shipment tracking information to your WooCommerce orders and provide "
|
1831 |
+
"customers with an easy way to track their orders. Shipment tracking Info "
|
1832 |
+
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
1833 |
+
"order complete email."
|
1834 |
+
msgstr ""
|
1835 |
+
"Tilføj forsendelsessporingsoplysninger til dine WooCommerce-ordrer og giver "
|
1836 |
+
"kunderne en nem måde at spore deres ordrer på. Forsendelsessporingsinfo "
|
1837 |
+
"vises på kundekonti (i ordrepanelet) og i WooCommerce fuldstændig e-mail."
|
lang/woo-advanced-shipment-tracking-de_DE.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-de_DE.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: German\n"
|
9 |
"Language: de_DE\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,9 +12,9 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
-
"X-Loco-Version: 2.3.
|
16 |
|
17 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
@@ -23,8 +23,13 @@ msgstr ""
|
|
23 |
"Bitte installieren und aktivieren Sie% sWooCommerce% s für WooCommerce "
|
24 |
"Advanced Shipment Tracking!\n"
|
25 |
|
26 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
28 |
#, php-format
|
29 |
msgid ""
|
30 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
@@ -34,496 +39,483 @@ msgid ""
|
|
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:
|
39 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1144
|
40 |
-
msgid "Shipped"
|
41 |
-
msgstr "Versandt"
|
42 |
-
|
43 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:226
|
44 |
-
#, php-format
|
45 |
-
msgid "Shipped <span class=\"count\">(%s)</span>"
|
46 |
-
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
47 |
-
msgstr[0] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
|
48 |
-
msgstr[1] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
|
49 |
-
|
50 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:240
|
51 |
-
msgid "Change status to shipped"
|
52 |
-
msgstr "Status in versandt ändern"
|
53 |
-
|
54 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:250
|
55 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:279
|
56 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1594
|
57 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1785
|
58 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2190
|
59 |
-
#: includes/customizer/class-wcast-customizer.php:104
|
60 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:115
|
61 |
-
#: includes/views/admin_options_trackship_integration.php:134
|
62 |
-
msgid "Delivered"
|
63 |
-
msgstr "Geliefert"
|
64 |
-
|
65 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:255
|
66 |
-
#, php-format
|
67 |
-
msgid "Delivered <span class=\"count\">(%s)</span>"
|
68 |
-
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
69 |
-
msgstr[0] "Geliefert <span class = \"count\"> (% s) </ span>"
|
70 |
-
msgstr[1] "Geliefert <span class = \"count\"> (% s) </ span>"
|
71 |
-
|
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 "Aktualisiertes Tracking"
|
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] "Tracking <span class = \"count\"> (% s) </ span> aktualisiert"
|
82 |
-
msgstr[1] "Tracking <span class = \"count\"> (% s) </ span> aktualisiert"
|
83 |
-
|
84 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:320
|
85 |
-
msgid "Change status to delivered"
|
86 |
-
msgstr "Status in Auslieferung ändern"
|
87 |
-
|
88 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:523
|
89 |
msgid "Shipment status"
|
90 |
msgstr "Versandstatus"
|
91 |
|
92 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
93 |
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:
|
99 |
-
|
100 |
-
msgstr "Auftrag"
|
101 |
-
|
102 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:668
|
103 |
-
msgid "Item"
|
104 |
-
msgstr "Artikel"
|
105 |
-
|
106 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:669
|
107 |
-
msgid "Line Item"
|
108 |
-
msgstr "Werbebuchung"
|
109 |
-
|
110 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:670
|
111 |
-
msgid "Class"
|
112 |
-
msgstr "Klasse"
|
113 |
-
|
114 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
115 |
-
msgid "Delete the selected rates?"
|
116 |
-
msgstr "Die ausgewählten Tarife löschen?"
|
117 |
-
|
118 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:672
|
119 |
-
msgid "Duplicate the selected rates?"
|
120 |
-
msgstr "Die ausgewählten Tarife duplizieren?"
|
121 |
-
|
122 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:673
|
123 |
-
msgid "Really want to bulk change all provider status?"
|
124 |
-
msgstr "Wollen Sie wirklich alle Anbieterstatus ändern?"
|
125 |
-
|
126 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:674
|
127 |
-
#: includes/views/admin_options_settings.php:26
|
128 |
msgid "Data saved successfully."
|
129 |
msgstr "Daten erfolgreich gespeichert."
|
130 |
|
131 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
132 |
msgid "Really delete this entry? This will not be undo."
|
133 |
msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
|
134 |
|
135 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
136 |
msgid "You can upload only csv file."
|
137 |
msgstr "Sie können nur eine CSV-Datei hochladen."
|
138 |
|
139 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
140 |
msgid "This browser does not support HTML5."
|
141 |
msgstr "Dieser Browser unterstützt kein HTML5."
|
142 |
|
143 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
144 |
msgid "Please upload a valid CSV file."
|
145 |
msgstr "Laden Sie eine gültige CSV-Datei hoch."
|
146 |
|
147 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
148 |
msgid "Shipping Providers"
|
149 |
-
msgstr "
|
150 |
-
|
151 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:739
|
152 |
-
msgid "Settings"
|
153 |
-
msgstr "die Einstellungen"
|
154 |
|
155 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
156 |
msgid "Bulk Upload"
|
157 |
-
msgstr "
|
|
|
158 |
|
159 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
160 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
msgstr ""
|
|
|
162 |
|
163 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
msgid "Connected"
|
165 |
msgstr ""
|
166 |
"In Verbindung gebracht\n"
|
167 |
|
168 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
169 |
-
|
170 |
-
"
|
171 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
msgstr ""
|
173 |
-
"
|
174 |
-
"Sendungsverfolgungsaktualisierungen in Echtzeit, ohne Ihren "
|
175 |
-
"Händleradministrator zu verlassen.\n"
|
176 |
|
177 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
178 |
#, php-format
|
179 |
-
msgid ""
|
180 |
-
"You must have account and connect your store to %s in order to activate "
|
181 |
-
"these advanced features."
|
182 |
msgstr ""
|
183 |
-
"
|
184 |
-
"diese erweiterten Funktionen zu aktivieren.\n"
|
185 |
|
186 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
187 |
#, php-format
|
188 |
-
msgid "
|
189 |
msgstr ""
|
190 |
-
"
|
191 |
-
"\n"
|
192 |
-
|
193 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:988
|
194 |
-
msgid "TrackShip Connection Status"
|
195 |
-
msgstr "TrackShip-Verbindungsstatus"
|
196 |
|
197 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
198 |
-
#: includes/emails/class-shipment-delivered-email.php:226
|
199 |
msgid "Enable/Disable"
|
200 |
-
msgstr "
|
|
|
201 |
|
202 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
203 |
msgid "Set order status Delivered when order is delivered"
|
204 |
msgstr ""
|
205 |
"Setzt den Bestellstatus Ausgeliefert, wenn die Bestellung ausgeliefert wird\n"
|
206 |
|
207 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
208 |
-
#, php-format
|
209 |
-
msgid ""
|
210 |
-
"You have %s %s orders that you can track with TrackShip, you can send these "
|
211 |
-
"shipments to TrackShip in Bulk."
|
212 |
-
msgstr ""
|
213 |
-
|
214 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1009
|
215 |
-
msgid "Get Shipment Status"
|
216 |
-
msgstr ""
|
217 |
-
|
218 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1047
|
219 |
msgid ""
|
220 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
221 |
"for the tracking page to work."
|
222 |
msgstr ""
|
|
|
|
|
223 |
|
224 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
225 |
msgid "Select Tracking Page"
|
226 |
msgstr ""
|
227 |
"Wählen Sie Tracking-Seite\n"
|
228 |
|
229 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
230 |
-
#: includes/customizer/class-wc-tracking-page-customizer.php:150
|
231 |
-
msgid "Remove Trackship branding from tracking page"
|
232 |
-
msgstr ""
|
233 |
-
"Entfernen Sie das Trackship-Branding von der Tracking-Seite\n"
|
234 |
-
|
235 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1069
|
236 |
msgid "Use the tracking page in the customer email/my account tracking link"
|
237 |
msgstr ""
|
238 |
"Verwenden Sie die Tracking-Seite in der Kunden-E-Mail / meinem Konto-"
|
239 |
"Tracking-Link\n"
|
240 |
|
241 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
msgid "Select primary color for tracking page"
|
243 |
msgstr ""
|
244 |
"Wählen Sie die Primärfarbe für die Verfolgungsseite aus\n"
|
245 |
|
246 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
247 |
msgid "Select content border color for tracking page"
|
248 |
msgstr ""
|
249 |
-
"Wählen Sie die Farbe des Inhaltsrahmens für die
|
250 |
|
251 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
252 |
-
|
253 |
-
|
254 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
msgstr ""
|
|
|
256 |
|
257 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
258 |
msgid ""
|
259 |
"This means that the 'mark as <span class='shipped_label'>shipped</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:
|
264 |
-
msgid "
|
265 |
-
msgstr "Abgeschlossen"
|
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 |
|
273 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
274 |
msgid ""
|
275 |
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
276 |
"will be selected by default when adding tracking info to orders."
|
277 |
msgstr ""
|
|
|
|
|
278 |
|
279 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
280 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
281 |
msgstr ""
|
282 |
-
"Benennen Sie den
|
283 |
|
284 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
285 |
-
msgid "On which
|
286 |
msgstr ""
|
287 |
-
"In welcher E-Mail
|
288 |
-
"
|
289 |
-
|
290 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1170
|
291 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2192
|
292 |
-
msgid "Cancelled"
|
293 |
-
msgstr "Abgebrochen"
|
294 |
-
|
295 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1171
|
296 |
-
msgid "Customer Invoice"
|
297 |
-
msgstr "Kundenrechnung"
|
298 |
-
|
299 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1172
|
300 |
-
msgid "Refunded"
|
301 |
-
msgstr "Erstattet"
|
302 |
|
303 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
304 |
-
msgid "Processing"
|
305 |
-
msgstr "wird bearbeitet"
|
306 |
-
|
307 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1174
|
308 |
-
msgid "Failed"
|
309 |
-
msgstr "Gescheitert"
|
310 |
-
|
311 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1182
|
312 |
msgid "Show tracking info in Invoice"
|
313 |
-
msgstr "
|
|
|
314 |
|
315 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
316 |
msgid "Show tracking info in Packing Slip"
|
317 |
-
msgstr "
|
|
|
318 |
|
319 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
320 |
-
msgid "Enable
|
321 |
msgstr ""
|
322 |
-
"
|
323 |
|
324 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
325 |
msgid ""
|
326 |
"if you enable the delivered item, you will have the option to send delivered "
|
327 |
"email notifications."
|
328 |
msgstr ""
|
329 |
-
"Wenn Sie
|
330 |
-
"
|
331 |
|
332 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
333 |
-
msgid "Delivered
|
334 |
-
msgstr "
|
|
|
335 |
|
336 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
337 |
-
|
338 |
-
#: includes/customizer/class-wc-email-customizer.php:155
|
339 |
-
msgid "Delivered order status email"
|
340 |
msgstr ""
|
341 |
-
"
|
342 |
|
343 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
344 |
-
#: includes/
|
345 |
-
#: includes/
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
#: includes/
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
msgid ""
|
355 |
-
"
|
356 |
-
"
|
357 |
msgstr ""
|
358 |
-
"
|
359 |
-
"
|
360 |
|
361 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
362 |
-
msgid "
|
363 |
-
msgstr "
|
|
|
364 |
|
365 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
366 |
-
msgid "
|
367 |
-
msgstr "
|
|
|
368 |
|
369 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
370 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
msgid ""
|
372 |
-
"
|
373 |
-
"
|
374 |
-
"in order to see these orders in the orders admin. You can find the snippet "
|
375 |
-
"to use in functions.php %s or we can set to change all your \"delivered\" "
|
376 |
-
"order to \"completed\"."
|
377 |
-
msgstr ""
|
378 |
-
"BITTE BEACHTEN SIE - Wenn Sie den benutzerdefinierten Bestellstatus "
|
379 |
-
"\"Geliefert\" verwenden und das Plugin deaktivieren, müssen Sie diesen "
|
380 |
-
"Bestellstatus in function.php registrieren, um diese Bestellungen im "
|
381 |
-
"Bestelladministrator anzuzeigen. Sie finden das zu verwendende Snippet in "
|
382 |
-
"functions.php% s, oder wir können festlegen, dass alle Ihre \"gelieferten\" "
|
383 |
-
"Bestellungen auf \"erledigt\" geändert werden."
|
384 |
-
|
385 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1560
|
386 |
-
msgid "Get shipment status"
|
387 |
msgstr ""
|
388 |
-
"
|
|
|
389 |
|
390 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
msgid "In Transit"
|
396 |
msgstr ""
|
397 |
"Im Transit\n"
|
398 |
|
399 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
400 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
401 |
-
#: includes/customizer/class-wcast-customizer.php:
|
402 |
msgid "Pre Transit"
|
403 |
msgstr ""
|
404 |
"Pre Transit\n"
|
405 |
|
406 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
407 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
msgstr ""
|
409 |
-
"
|
410 |
|
411 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
412 |
-
#: includes/
|
413 |
-
#: includes/customizer/class-
|
414 |
-
#: includes/
|
|
|
415 |
msgid "Available For Pickup"
|
416 |
msgstr ""
|
417 |
"Zur Abholung bereit\n"
|
418 |
|
419 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
420 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
421 |
-
#: includes/customizer/class-wcast-customizer.php:
|
422 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
423 |
-
#: includes/views/
|
424 |
msgid "Return To Sender"
|
425 |
msgstr ""
|
426 |
"Zurück an den Absender\n"
|
427 |
|
428 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
429 |
-
|
430 |
-
|
431 |
-
|
|
|
|
|
|
|
432 |
|
433 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
434 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
435 |
msgid "Unknown"
|
436 |
-
msgstr ""
|
437 |
-
"unbekannte\n"
|
438 |
|
439 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
440 |
msgid "Pending TrackShip"
|
441 |
msgstr ""
|
442 |
"Ausstehendes TrackShip\n"
|
443 |
|
444 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
445 |
-
|
|
|
446 |
msgstr ""
|
447 |
-
"
|
448 |
|
449 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
450 |
-
|
|
|
451 |
msgstr ""
|
452 |
"Träger nicht unterstützt\n"
|
453 |
|
454 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
455 |
msgid "Invalid User Key"
|
456 |
msgstr ""
|
|
|
457 |
|
458 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
459 |
-
msgid "
|
460 |
-
msgstr "
|
|
|
461 |
|
462 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
463 |
msgid "Shipped Order"
|
464 |
msgstr "Versandauftrag"
|
465 |
|
466 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
467 |
msgid "Mark order as delivered"
|
468 |
-
msgstr "
|
|
|
469 |
|
470 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
471 |
msgid "Add Tracking"
|
472 |
msgstr ""
|
|
|
473 |
|
474 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
475 |
msgid "Change order status to"
|
476 |
-
msgstr "
|
|
|
477 |
|
478 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
479 |
-
#: includes/views/admin_options_shipping_provider.php:
|
480 |
#, php-format
|
481 |
msgid "You don't have any %s shipping providers."
|
482 |
msgstr "Sie haben keine% s Versandanbieter."
|
483 |
|
484 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
485 |
-
#: includes/
|
486 |
-
|
487 |
-
msgid "view details"
|
488 |
-
msgstr "view details"
|
489 |
-
|
490 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2146
|
491 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2158
|
492 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2170
|
493 |
-
msgid "hide details"
|
494 |
-
msgstr "Details ausblenden"
|
495 |
-
|
496 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2188
|
497 |
-
msgid "Available for Pickup"
|
498 |
-
msgstr ""
|
499 |
-
|
500 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2189
|
501 |
-
msgid "Out for Delivery"
|
502 |
-
msgstr ""
|
503 |
-
|
504 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2191
|
505 |
-
#: includes/customizer/class-wcast-customizer.php:112
|
506 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:113
|
507 |
-
#: includes/views/admin_options_trackship_integration.php:149
|
508 |
-
msgid "Failed Attempt"
|
509 |
-
msgstr "Misslungener Versuch"
|
510 |
-
|
511 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2193
|
512 |
-
msgid "Carrier Unsupported"
|
513 |
-
msgstr ""
|
514 |
-
|
515 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2195
|
516 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:457
|
517 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:813
|
518 |
-
msgid "Invalid Tracking Number"
|
519 |
msgstr ""
|
520 |
-
"
|
521 |
|
522 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
523 |
msgid "Filter by shipment status"
|
524 |
msgstr ""
|
|
|
525 |
|
526 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
527 |
msgid ""
|
528 |
"To track your order please enter your Order ID in the box below and press "
|
529 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
@@ -534,179 +526,386 @@ msgstr ""
|
|
534 |
"auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
|
535 |
"sollen, mitgeteilt.\n"
|
536 |
|
537 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
538 |
-
|
539 |
-
msgstr "Auftragsnummer"
|
540 |
-
|
541 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:139
|
542 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:140
|
543 |
msgid "Found in your order confirmation email."
|
544 |
msgstr ""
|
545 |
"Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
|
546 |
|
547 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
548 |
msgid "Order Email"
|
549 |
msgstr ""
|
550 |
"E-Mail bestellen\n"
|
551 |
|
552 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
553 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
554 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
555 |
-
#: includes/class-wc-
|
556 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
557 |
-
#:
|
558 |
-
#:
|
559 |
-
#: templates/emails/tracking-info.php:152
|
560 |
-
#: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
|
561 |
msgid "Track"
|
562 |
-
msgstr "
|
563 |
|
564 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
565 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
566 |
#, php-format
|
567 |
msgid "Shipment - %s (out of %s)"
|
568 |
msgstr ""
|
569 |
"Versand -% s (von% s)\n"
|
570 |
|
571 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
572 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
573 |
-
msgid "
|
574 |
-
msgstr "
|
575 |
|
576 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
577 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
578 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
579 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
580 |
-
|
581 |
-
|
|
|
|
|
|
|
582 |
|
583 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
584 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
585 |
msgid "Tracking Details"
|
586 |
msgstr "Verfolgungsdetails"
|
587 |
|
588 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
589 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
590 |
msgid "view more"
|
591 |
msgstr "mehr sehen"
|
592 |
|
593 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
594 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
595 |
msgid "view less"
|
596 |
msgstr "weniger anzeigen"
|
597 |
|
598 |
-
|
599 |
-
#: includes/class-wc-advanced-shipment-tracking
|
600 |
-
|
601 |
-
msgid ""
|
602 |
-
"We added many improvements to %1$s, please help and give us a review :) "
|
603 |
-
"Thanks!"
|
604 |
-
msgstr ""
|
605 |
-
"Wir haben% 1 $ s viele Verbesserungen hinzugefügt. Bitte helfen Sie uns und "
|
606 |
-
"geben Sie uns eine Bewertung :) Danke!"
|
607 |
-
|
608 |
-
#: includes/class-wc-advanced-shipment-tracking.php:93
|
609 |
-
#: includes/class-wc-advanced-shipment-tracking.php:244
|
610 |
-
#: includes/customizer/class-wcast-customizer.php:30
|
611 |
msgid "Shipment Tracking"
|
612 |
msgstr "Sendungsverfolgung"
|
613 |
|
614 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
615 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
616 |
-
|
617 |
-
|
|
|
618 |
|
619 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
620 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
621 |
-
|
622 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
623 |
|
624 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
625 |
msgid "Add Tracking Number"
|
626 |
-
msgstr ""
|
627 |
|
628 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
629 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
630 |
msgid "Provider:"
|
631 |
msgstr "Anbieter:"
|
632 |
|
633 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
634 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
635 |
msgid "Tracking number:"
|
636 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
|
637 |
|
638 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
639 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
640 |
msgid "Date shipped:"
|
641 |
msgstr "Lieferdatum:"
|
642 |
|
643 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
644 |
-
#:
|
645 |
-
|
646 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
647 |
|
648 |
#. 1: shipping date
|
649 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
650 |
-
#: templates/pip/tracking-info.php:29
|
651 |
#, php-format
|
652 |
msgid "Shipped on %s"
|
653 |
msgstr "Versand auf% s"
|
654 |
|
655 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
656 |
-
msgid "Delete"
|
657 |
-
msgstr "Löschen"
|
658 |
-
|
659 |
-
#: includes/class-wc-advanced-shipment-tracking.php:365
|
660 |
msgid "Add Tracking Info"
|
661 |
msgstr "Tracking-Info hinzufügen"
|
662 |
|
663 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
664 |
msgid "Select Provider"
|
665 |
msgstr "Wählen Sie Provider aus"
|
666 |
|
667 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
668 |
msgid "Save Tracking"
|
669 |
msgstr "Tracking speichern"
|
670 |
|
671 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
672 |
msgid "Preview:"
|
673 |
msgstr "Vorschau:"
|
674 |
|
675 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
676 |
-
|
677 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
678 |
|
679 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
msgid "Shipment Status Emails"
|
681 |
msgstr "Sendungsstatus-E-Mails"
|
682 |
|
683 |
-
#: includes/customizer/class-wcast-customizer.php:
|
684 |
msgid "Tracking info display"
|
685 |
msgstr ""
|
686 |
"Tracking-Info-Anzeige\n"
|
687 |
|
688 |
-
#: includes/customizer/class-wcast-customizer.php:
|
689 |
-
|
|
|
690 |
msgstr ""
|
691 |
-
"
|
692 |
-
"anpassen."
|
693 |
|
694 |
-
#: includes/customizer/class-wcast-customizer.php:
|
695 |
-
#: includes/customizer/class-wc-
|
696 |
-
|
697 |
-
msgid "Out For Delivery"
|
698 |
msgstr ""
|
699 |
-
"
|
700 |
|
701 |
-
#: includes/customizer/class-wcast-customizer.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
702 |
msgid "Select order to preview"
|
703 |
msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
|
704 |
|
705 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
706 |
msgid "Your order #{order_number} is available for pickup"
|
707 |
msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
|
708 |
|
709 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
710 |
msgid ""
|
711 |
"Hi there. we thought you'd like to know that your recent order from "
|
712 |
"{site_title} is available for pickup."
|
@@ -714,219 +913,175 @@ msgstr ""
|
|
714 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
715 |
"{site_title} zur Abholung verfügbar ist."
|
716 |
|
717 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
718 |
msgid "Available For Pickup shipment status email"
|
719 |
msgstr "Verfügbar für Abholung Versandstatus E-Mail"
|
720 |
|
721 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
722 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
723 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
724 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
725 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
726 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
727 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
728 |
msgid "This section lets you customize the Email Content."
|
729 |
msgstr "In diesem Abschnitt können Sie den E-Mail-Inhalt anpassen."
|
730 |
|
731 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
732 |
msgid "Enable Available For Pickup shipment status email"
|
733 |
msgstr "Versandstatus-E-Mail für Abholung aktivieren"
|
734 |
|
735 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
736 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
737 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
738 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
739 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
740 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
741 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
742 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
743 |
msgid "Preview order"
|
744 |
msgstr "Vorschau der Bestellung"
|
745 |
|
746 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
747 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
748 |
-
#: includes/customizer/class-wc-
|
749 |
-
#: includes/customizer/class-wc-
|
750 |
-
#: includes/customizer/class-wc-
|
751 |
-
#: includes/customizer/class-wc-
|
752 |
-
|
753 |
-
msgstr "Zu"
|
754 |
-
|
755 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
|
756 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:200
|
757 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:197
|
758 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:200
|
759 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
|
760 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:201
|
761 |
-
msgid ""
|
762 |
-
"Enter emails here or use variables such as {customer_email}. Multiple emails "
|
763 |
-
"can be separated by commas."
|
764 |
-
msgstr ""
|
765 |
-
"Geben Sie hier E-Mails ein oder verwenden Sie Variablen wie {customer_email}."
|
766 |
-
" Mehrere E-Mails können durch Kommas getrennt werden."
|
767 |
-
|
768 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
|
769 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:206
|
770 |
-
#: includes/customizer/class-wc-email-customizer.php:218
|
771 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
772 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:206
|
773 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
774 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:207
|
775 |
msgid "E.g. {customer.email}, admin@example.org"
|
776 |
msgstr "Z.B. {customer.email}, admin@example.org"
|
777 |
|
778 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
779 |
-
#: includes/customizer/class-wc-
|
780 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
781 |
-
#: includes/customizer/class-wc-
|
782 |
-
#: includes/customizer/class-wc-
|
783 |
-
#: includes/customizer/class-wc-
|
784 |
-
#: includes/customizer/class-wc-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
#: includes/customizer/class-wc-
|
789 |
-
#: includes/customizer/class-wc-
|
790 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:222
|
791 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:244
|
792 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:219
|
793 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:241
|
794 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:222
|
795 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:244
|
796 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
|
797 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
|
798 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:223
|
799 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:245
|
800 |
msgid "Available placeholders: {site_title}, {order_number}"
|
801 |
msgstr "Verfügbare Platzhalter: {site_title}, {order_number}"
|
802 |
|
803 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
804 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
805 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
806 |
-
#: includes/customizer/class-wc-
|
807 |
-
#: includes/customizer/class-wc-
|
808 |
-
#: includes/customizer/class-wc-
|
809 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:229
|
810 |
-
msgid "Please enter email subject here"
|
811 |
-
msgstr "Bitte geben Sie hier den E-Mail-Betreff ein"
|
812 |
-
|
813 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
|
814 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:243
|
815 |
-
#: includes/customizer/class-wc-email-customizer.php:257
|
816 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:240
|
817 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:243
|
818 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
|
819 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:244
|
820 |
-
#: includes/emails/class-shipment-delivered-email.php:250
|
821 |
-
msgid "Email heading"
|
822 |
-
msgstr "E-Mail-Überschrift"
|
823 |
-
|
824 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
|
825 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:250
|
826 |
-
#: includes/customizer/class-wc-email-customizer.php:264
|
827 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:247
|
828 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:250
|
829 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
|
830 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
831 |
-
msgid "Please enter email heading here"
|
832 |
-
msgstr "Bitte geben Sie hier die E-Mail-Überschrift ein"
|
833 |
-
|
834 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
|
835 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:265
|
836 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:262
|
837 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:265
|
838 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
|
839 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:266
|
840 |
msgid "Show tracking details"
|
841 |
msgstr "Tracking-Details anzeigen"
|
842 |
|
843 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
844 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
845 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
846 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
847 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
848 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
849 |
msgid "Show order details"
|
850 |
msgstr ""
|
851 |
"Bestelldetails anzeigen\n"
|
852 |
|
853 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
854 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
855 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
856 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
857 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
858 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
859 |
msgid "Show billing address"
|
860 |
msgstr ""
|
861 |
"Rechnungsadresse anzeigen\n"
|
862 |
|
863 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
864 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
865 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
866 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
867 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
868 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
869 |
msgid "Show shipping address"
|
870 |
msgstr ""
|
871 |
"Lieferadresse anzeigen\n"
|
872 |
|
873 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
874 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
875 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
876 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
877 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
878 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
879 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
880 |
msgid "Google Analytics link tracking"
|
881 |
msgstr ""
|
|
|
882 |
|
883 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
884 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
885 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
886 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
887 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
888 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
889 |
msgid "This will be appended to URL in the email content"
|
890 |
msgstr ""
|
891 |
-
|
892 |
-
|
893 |
-
#: includes/customizer/class-wc-
|
894 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
895 |
-
#: includes/customizer/class-wc-
|
896 |
-
#: includes/customizer/class-wc-
|
897 |
-
#: includes/customizer/class-wc-
|
898 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
899 |
msgid "Email content"
|
900 |
msgstr "E-Mail-Inhalt"
|
901 |
|
902 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
903 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
904 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
905 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
906 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
907 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
908 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
909 |
msgid "Available placeholders"
|
910 |
msgstr ""
|
911 |
"Verfügbare Platzhalter\n"
|
912 |
|
913 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
914 |
-
#: includes/customizer/class-wc-
|
915 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
916 |
-
#: includes/customizer/class-wc-
|
917 |
-
#: includes/customizer/class-wc-
|
918 |
-
#: includes/customizer/class-wc-
|
919 |
-
#: includes/customizer/class-wc-
|
920 |
-
#: includes/customizer/class-wc-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
926 |
msgid "Your order #{order_number} has been delivered"
|
927 |
msgstr ""
|
|
|
928 |
|
929 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
|
|
930 |
msgid ""
|
931 |
"Hi there. we thought you'd like to know that your recent order from "
|
932 |
"{site_title} has been Delivered."
|
@@ -934,94 +1089,91 @@ msgstr ""
|
|
934 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
935 |
"{site_title} geliefert wurde.\n"
|
936 |
|
937 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
938 |
msgid "Delivered shipment status email"
|
939 |
msgstr "Versandstatus E-Mail geliefert"
|
940 |
|
941 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
942 |
msgid "Enable Delivered shipment status email"
|
943 |
msgstr "Versandstatus-E-Mail aktivieren"
|
944 |
|
945 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
946 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
947 |
msgid "Your {site_title} order is now delivered"
|
948 |
msgstr ""
|
949 |
"Ihre {site_title} Bestellung wird jetzt geliefert\n"
|
950 |
|
951 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
952 |
-
#: includes/emails/class-shipment-delivered-email.php:102
|
953 |
-
msgid "Thanks for shopping with us"
|
954 |
-
msgstr ""
|
955 |
-
"Vielen Dank für Ihren Einkauf bei uns\n"
|
956 |
-
|
957 |
-
#: includes/customizer/class-wc-email-customizer.php:124
|
958 |
-
msgid "Hi there. Your recent order on {site_title} has been delivered."
|
959 |
-
msgstr ""
|
960 |
-
"Hallo. Ihre letzte Bestellung auf {site_title} wurde geliefert.\n"
|
961 |
-
|
962 |
-
#: includes/customizer/class-wc-email-customizer.php:171
|
963 |
msgid "Enable Delivered order status email"
|
964 |
msgstr ""
|
965 |
"Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
|
966 |
|
967 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
968 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
969 |
msgid "Please select a order..."
|
970 |
msgstr ""
|
971 |
"Bitte wählen Sie eine Bestellung aus ...\n"
|
972 |
|
973 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
978 |
-
|
979 |
-
"Enter emails use variables such as {customer_email}. Multiple emails can be "
|
980 |
-
"separated by commas."
|
981 |
-
msgstr ""
|
982 |
-
|
983 |
-
#: includes/customizer/class-wc-email-customizer.php:235
|
984 |
-
#: includes/customizer/class-wc-email-customizer.php:258
|
985 |
msgid "Available variables: {site_title}, {order_number}"
|
986 |
msgstr ""
|
|
|
987 |
|
988 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
|
|
|
|
989 |
msgid ""
|
990 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
991 |
"{customer_last_name}, {customer_username}, {order_number}"
|
992 |
msgstr ""
|
|
|
|
|
993 |
|
994 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
995 |
msgid "Display tracking details"
|
996 |
msgstr ""
|
|
|
997 |
|
998 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
999 |
msgid "Display order details"
|
1000 |
msgstr ""
|
|
|
1001 |
|
1002 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1003 |
msgid "Display Shipping Address"
|
1004 |
msgstr ""
|
|
|
1005 |
|
1006 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1007 |
msgid "Display Billing Address"
|
1008 |
msgstr ""
|
|
|
1009 |
|
1010 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1011 |
msgid "Enable Google Analytics tracking"
|
1012 |
msgstr ""
|
|
|
1013 |
|
1014 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1015 |
msgid ""
|
1016 |
"This will be appended to URL in the email content – e.g. "
|
1017 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1018 |
msgstr ""
|
|
|
|
|
1019 |
|
1020 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1021 |
msgid "Your order #{order_number} is Failed Attempt"
|
1022 |
msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
|
1023 |
|
1024 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1025 |
msgid ""
|
1026 |
"Hi there. we thought you'd like to know that your recent order from "
|
1027 |
"{site_title} is Failed Attempt"
|
@@ -1029,20 +1181,20 @@ msgstr ""
|
|
1029 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
|
1030 |
"{site_title} fehlgeschlagen ist"
|
1031 |
|
1032 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1033 |
msgid "Failed Attempt shipment status email"
|
1034 |
msgstr "Fehler beim Versenden der Sendungsstatus-E-Mail"
|
1035 |
|
1036 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1037 |
msgid "Enable Failed Attempt shipment status email"
|
1038 |
msgstr "Versandstatus-E-Mail für fehlgeschlagenen Versuch aktivieren"
|
1039 |
|
1040 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1041 |
msgid "Your order #{order_number} is in transit"
|
1042 |
msgstr ""
|
1043 |
"Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
|
1044 |
|
1045 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1046 |
msgid ""
|
1047 |
"Hi there. we thought you'd like to know that your recent order from "
|
1048 |
"{site_title} is in transit"
|
@@ -1050,21 +1202,21 @@ msgstr ""
|
|
1050 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1051 |
"{site_title} unterwegs ist\n"
|
1052 |
|
1053 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1054 |
msgid "In Transit shipment status email"
|
1055 |
msgstr "In Transit Sendungsstatus E-Mail"
|
1056 |
|
1057 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1058 |
msgid "Enable In Transit shipment status email"
|
1059 |
msgstr ""
|
1060 |
"Sendungsstatus-E-Mail in Transit aktivieren\n"
|
1061 |
|
1062 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1063 |
msgid "Your order #{order_number} is out for delivery"
|
1064 |
msgstr ""
|
1065 |
"Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
|
1066 |
|
1067 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1068 |
msgid ""
|
1069 |
"Hi there. we thought you'd like to know that your recent order from "
|
1070 |
"{site_title} is out for delivery."
|
@@ -1072,20 +1224,20 @@ msgstr ""
|
|
1072 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1073 |
"{site_title} nicht lieferbar ist.\n"
|
1074 |
|
1075 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1076 |
msgid "Out For Delivery shipment status email"
|
1077 |
msgstr "Out For Delivery Versandstatus-E-Mail"
|
1078 |
|
1079 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1080 |
msgid "Enable Out For Delivery shipment status email"
|
1081 |
msgstr "Sendungsstatus-E-Mail für die Auslieferung aktivieren"
|
1082 |
|
1083 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1084 |
msgid "Your order #{order_number} has returned to sender"
|
1085 |
msgstr ""
|
1086 |
"Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
|
1087 |
|
1088 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1089 |
msgid ""
|
1090 |
"Hi there. we thought you'd like to know that your recent order from "
|
1091 |
"{site_title} has been returned to sender."
|
@@ -1093,288 +1245,316 @@ msgstr ""
|
|
1093 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1094 |
"{site_title} an den Absender zurückgeschickt wurde.\n"
|
1095 |
|
1096 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1097 |
msgid "Return To Sender shipment status email"
|
1098 |
msgstr "Sendungsstatus-E-Mail an Absender zurücksenden"
|
1099 |
|
1100 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1101 |
msgid "Enable Return To Sender shipment status email"
|
1102 |
msgstr ""
|
1103 |
"Aktivieren Sie die Sendungsstatus-E-Mail für die Rücksendung an den Absender"
|
1104 |
|
1105 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1106 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1107 |
-
#:
|
1108 |
-
#: templates/
|
1109 |
msgid "Provider"
|
1110 |
msgstr "Anbieter"
|
1111 |
|
1112 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1113 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1114 |
-
#:
|
1115 |
-
#: templates/
|
1116 |
-
#: templates/myaccount/view-order.php:111
|
1117 |
msgid "Tracking Number"
|
1118 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
|
1119 |
|
1120 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1121 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1122 |
msgid "Shipped Date"
|
1123 |
msgstr "Versanddatum"
|
1124 |
|
1125 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1126 |
-
msgid ""
|
1127 |
-
"select from last 20 orders one order that you added tracking info in order "
|
1128 |
-
"to preview and design the tracking info table."
|
1129 |
msgstr ""
|
1130 |
-
"Wählen Sie
|
1131 |
-
"Tracking-Informationen
|
1132 |
-
"in der Vorschau anzuzeigen und zu gestalten.\n"
|
1133 |
|
1134 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1135 |
msgid "Tracking Display Position"
|
1136 |
msgstr "Verfolgung der Anzeigeposition"
|
1137 |
|
1138 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1139 |
msgid "Before Order Details"
|
1140 |
msgstr "Vor der Bestellung Details"
|
1141 |
|
1142 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1143 |
msgid "After Order Details"
|
1144 |
msgstr "Nach Auftragsdetails"
|
1145 |
|
1146 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1147 |
-
msgid "
|
1148 |
-
msgstr "
|
|
|
1149 |
|
1150 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1151 |
-
#: templates/pip/tracking-info.php:17
|
1152 |
msgid "Tracking Information"
|
1153 |
msgstr "Tracking-Informationen"
|
1154 |
|
1155 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1156 |
msgid "Additional text after header"
|
1157 |
msgstr "Zusätzlicher Text nach Kopfzeile"
|
1158 |
|
1159 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
msgid "Display Shipment Provider image"
|
1165 |
-
msgstr "Bild des Versandanbieters anzeigen"
|
1166 |
-
|
1167 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:277
|
1168 |
-
msgid "Hide date"
|
1169 |
-
msgstr "Datum ausblenden"
|
1170 |
|
1171 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1172 |
-
msgid "
|
1173 |
-
msgstr "
|
|
|
1174 |
|
1175 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1176 |
-
msgid "
|
1177 |
-
msgstr "
|
|
|
1178 |
|
1179 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1180 |
-
msgid "
|
1181 |
-
msgstr "
|
|
|
1182 |
|
1183 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1184 |
-
msgid "
|
1185 |
-
msgstr "
|
|
|
1186 |
|
1187 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1188 |
-
msgid "
|
1189 |
-
msgstr "
|
|
|
1190 |
|
1191 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1192 |
-
msgid "
|
1193 |
msgstr ""
|
1194 |
-
"
|
1195 |
|
1196 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1197 |
-
msgid "
|
1198 |
-
msgstr "
|
|
|
1199 |
|
1200 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1201 |
-
msgid "
|
1202 |
msgstr ""
|
1203 |
-
"
|
1204 |
|
1205 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1206 |
-
msgid "
|
1207 |
-
msgstr "
|
|
|
1208 |
|
1209 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1210 |
-
msgid "
|
1211 |
msgstr ""
|
1212 |
-
"
|
1213 |
|
1214 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
msgstr "Wählen"
|
1219 |
|
1220 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1221 |
-
msgid "
|
1222 |
-
msgstr "
|
|
|
1223 |
|
1224 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1225 |
-
msgid "
|
1226 |
-
msgstr "
|
|
|
1227 |
|
1228 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1229 |
-
msgid "
|
1230 |
-
msgstr "
|
|
|
1231 |
|
1232 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1233 |
-
msgid "
|
1234 |
-
msgstr "
|
|
|
1235 |
|
1236 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1237 |
-
msgid "
|
1238 |
-
msgstr "
|
|
|
1239 |
|
1240 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1241 |
-
msgid "
|
1242 |
-
msgstr "
|
|
|
1243 |
|
1244 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1245 |
-
msgid "
|
1246 |
-
msgstr "
|
1247 |
|
1248 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1249 |
-
msgid "
|
1250 |
-
msgstr "
|
|
|
1251 |
|
1252 |
#: includes/customizer/class-wc-tracking-info-customizer.php:593
|
1253 |
-
msgid "
|
1254 |
-
msgstr "
|
|
|
1255 |
|
1256 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1257 |
-
msgid "
|
1258 |
msgstr ""
|
1259 |
-
"
|
1260 |
|
1261 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1262 |
-
msgid "
|
1263 |
-
msgstr "
|
|
|
1264 |
|
1265 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1266 |
-
msgid "
|
1267 |
-
msgstr "
|
1268 |
|
1269 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1270 |
-
msgid "
|
1271 |
-
msgstr "
|
|
|
1272 |
|
1273 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1274 |
-
msgid "
|
1275 |
-
msgstr "
|
1276 |
|
1277 |
-
#: includes/customizer/class-wc-tracking-
|
1278 |
-
msgid "
|
1279 |
msgstr ""
|
1280 |
-
"
|
1281 |
|
1282 |
-
#: includes/customizer/class-wc-tracking-
|
1283 |
-
msgid "
|
1284 |
msgstr ""
|
1285 |
-
"
|
1286 |
|
1287 |
-
#: includes/customizer/class-wc-tracking-
|
1288 |
-
msgid "
|
1289 |
msgstr ""
|
1290 |
-
"
|
1291 |
|
1292 |
-
#: includes/customizer/class-wc-tracking-
|
1293 |
-
msgid "
|
1294 |
msgstr ""
|
1295 |
-
"
|
1296 |
|
1297 |
-
#: includes/customizer/class-wc-tracking-
|
1298 |
-
msgid "
|
1299 |
-
msgstr ""
|
1300 |
-
"Tracking-Info-Breite (px)\n"
|
1301 |
|
1302 |
-
#: includes/customizer/class-wc-tracking-
|
1303 |
-
msgid "
|
1304 |
msgstr ""
|
1305 |
-
"
|
1306 |
|
1307 |
-
#: includes/customizer/class-wc-tracking-
|
1308 |
-
msgid "Tracking
|
1309 |
msgstr ""
|
1310 |
-
"
|
1311 |
|
1312 |
-
#: includes/customizer/class-wc-tracking-
|
1313 |
-
msgid "
|
1314 |
msgstr ""
|
1315 |
-
"Schriftfarbe
|
1316 |
|
1317 |
-
#: includes/customizer/class-wc-tracking-
|
1318 |
-
msgid "
|
1319 |
msgstr ""
|
1320 |
-
"
|
1321 |
|
1322 |
-
#: includes/
|
1323 |
-
msgid "
|
1324 |
-
msgstr ""
|
1325 |
|
1326 |
-
#: includes/
|
1327 |
msgid ""
|
1328 |
-
"
|
1329 |
-
"
|
1330 |
msgstr ""
|
|
|
|
|
|
|
1331 |
|
1332 |
-
#: includes/
|
1333 |
-
msgid "
|
1334 |
msgstr ""
|
|
|
1335 |
|
1336 |
-
#: includes/
|
1337 |
-
msgid "
|
|
|
|
|
1338 |
msgstr ""
|
|
|
|
|
1339 |
|
1340 |
-
|
1341 |
-
|
1342 |
-
#, php-format
|
1343 |
-
msgid "Enter recipients (comma separated) for this email. Defaults to %s."
|
1344 |
msgstr ""
|
|
|
1345 |
|
1346 |
-
#: includes/
|
1347 |
-
msgid "
|
1348 |
msgstr ""
|
|
|
1349 |
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
msgid "Available placeholders: %s"
|
1355 |
msgstr ""
|
|
|
|
|
1356 |
|
1357 |
-
#: includes/
|
1358 |
-
msgid "
|
1359 |
msgstr ""
|
|
|
|
|
1360 |
|
1361 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1362 |
-
msgid "
|
1363 |
msgstr ""
|
|
|
1364 |
|
1365 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1366 |
-
msgid "
|
|
|
|
|
1367 |
msgstr ""
|
|
|
|
|
|
|
1368 |
|
1369 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
|
|
|
|
|
|
|
|
|
|
1370 |
msgid "Edit in customizer"
|
1371 |
msgstr ""
|
|
|
1372 |
|
1373 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1374 |
msgid "Upload CSV"
|
1375 |
msgstr "CSV hochladen"
|
1376 |
|
1377 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1378 |
msgid ""
|
1379 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1380 |
"added)"
|
@@ -1382,134 +1562,307 @@ msgstr ""
|
|
1382 |
"Tracking-Info ersetzen, falls vorhanden? (wenn nicht markiert, werden die "
|
1383 |
"Tracking-Informationen hinzugefügt)"
|
1384 |
|
1385 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1386 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1387 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1388 |
msgid "Upload"
|
1389 |
msgstr "Hochladen"
|
1390 |
|
1391 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1392 |
-
#: includes/views/admin_options_trackship_integration.php:27
|
1393 |
-
#: includes/views/admin_options_trackship_integration.php:45
|
1394 |
msgid "Settings Saved."
|
1395 |
msgstr "Einstellungen gespeichert."
|
1396 |
|
1397 |
-
#: includes/views/admin_options_bulk_upload.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1398 |
msgid "You can download an example of the csv file:"
|
1399 |
msgstr "Sie können ein Beispiel für die CSV-Datei herunterladen:"
|
1400 |
|
1401 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1402 |
msgid "Download sample csv file"
|
1403 |
msgstr "Laden Sie die Beispiel-CSV-Datei herunter"
|
1404 |
|
1405 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1406 |
msgid ""
|
1407 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1408 |
msgstr ""
|
1409 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1410 |
|
1411 |
-
#: includes/views/
|
1412 |
-
|
1413 |
-
|
|
|
1414 |
|
1415 |
-
#: includes/views/
|
1416 |
-
|
1417 |
-
|
|
|
|
|
|
|
|
|
1418 |
|
1419 |
-
#: includes/views/admin_options_settings.php:
|
1420 |
-
|
1421 |
-
msgid "General"
|
1422 |
msgstr ""
|
1423 |
-
"
|
1424 |
|
1425 |
-
#: includes/views/admin_options_settings.php:
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
|
|
1429 |
|
1430 |
-
#: includes/views/admin_options_settings.php:
|
1431 |
-
msgid "
|
1432 |
msgstr ""
|
1433 |
-
"
|
1434 |
|
1435 |
-
#: includes/views/admin_options_settings.php:
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
|
1440 |
-
#: includes/views/admin_options_settings.php:
|
1441 |
-
#: includes/views/
|
1442 |
-
#: includes/views/
|
1443 |
-
msgid "
|
1444 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1445 |
|
1446 |
-
#: includes/views/admin_options_shipping_provider.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1447 |
msgid "Add Custom Shipping Provider"
|
1448 |
msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
|
1449 |
|
1450 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1451 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1452 |
-
msgid "
|
1453 |
-
msgstr "
|
|
|
1454 |
|
1455 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1456 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1457 |
msgid "Global"
|
|
|
|
|
|
|
|
|
|
|
1458 |
msgstr ""
|
|
|
1459 |
|
1460 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1461 |
msgid "Edit Custom Shipping Provider"
|
1462 |
msgstr "Benutzerdefinierten Versandanbieter bearbeiten"
|
1463 |
|
1464 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
|
1473 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1474 |
msgid "Providers Added"
|
1475 |
msgstr "Anbieter hinzugefügt"
|
1476 |
|
1477 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1478 |
msgid "Providers Updated"
|
1479 |
msgstr "Anbieter aktualisiert"
|
1480 |
|
1481 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1482 |
msgid "Providers Deleted"
|
1483 |
msgstr "Anbieter gelöscht"
|
1484 |
|
1485 |
-
#: includes/views/
|
1486 |
-
|
1487 |
-
msgstr "Schließen"
|
1488 |
-
|
1489 |
-
#: includes/views/admin_options_trackship_integration.php:13
|
1490 |
-
#: includes/views/admin_options_trackship_integration.php:35
|
1491 |
msgid "Tracking Page"
|
1492 |
msgstr "Tracking-Seite"
|
1493 |
|
1494 |
-
#: includes/views/admin_options_trackship_integration.php:
|
1495 |
msgid "Shipment Status Notifications"
|
1496 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1497 |
|
1498 |
-
#: includes/views/
|
1499 |
-
msgid "
|
1500 |
-
msgstr "
|
|
|
1501 |
|
1502 |
-
#: includes/views/
|
1503 |
-
msgid "
|
1504 |
msgstr ""
|
1505 |
-
"
|
1506 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1507 |
|
1508 |
-
#: includes/views/
|
1509 |
msgid "Shipment Status Notifications "
|
1510 |
msgstr "Benachrichtigungen zum Sendungsstatus"
|
1511 |
|
1512 |
-
#: includes/views/
|
1513 |
msgid ""
|
1514 |
"Carrier has accepted or picked up shipment from shipper. The shipment is on "
|
1515 |
"the way."
|
@@ -1517,23 +1870,23 @@ msgstr ""
|
|
1517 |
"Der Spediteur hat die Sendung vom Versender angenommen oder abgeholt. Die "
|
1518 |
"Sendung ist unterwegs."
|
1519 |
|
1520 |
-
#: includes/views/
|
1521 |
msgid "Shipment is returned to sender"
|
1522 |
msgstr "Die Sendung wird an den Absender zurückgeschickt"
|
1523 |
|
1524 |
-
#: includes/views/
|
1525 |
msgid "The shipment is ready to pickup."
|
1526 |
msgstr "Die Sendung ist zur Abholung bereit."
|
1527 |
|
1528 |
-
#: includes/views/
|
1529 |
msgid "Carrier is about to deliver the shipment"
|
1530 |
msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern"
|
1531 |
|
1532 |
-
#: includes/views/
|
1533 |
msgid "The shipment was delivered successfully"
|
1534 |
msgstr "Die Sendung wurde erfolgreich zugestellt"
|
1535 |
|
1536 |
-
#: includes/views/
|
1537 |
msgid ""
|
1538 |
"You already have delivered email enabled, to enable this email you'll need "
|
1539 |
"to disable the order status delivered in settings."
|
@@ -1542,7 +1895,7 @@ msgstr ""
|
|
1542 |
"aktivieren, müssen Sie den in den Einstellungen angegebenen Bestellstatus "
|
1543 |
"deaktivieren."
|
1544 |
|
1545 |
-
#: includes/views/
|
1546 |
msgid ""
|
1547 |
"Carrier attempted to deliver but failed, and usually leaves a notice and "
|
1548 |
"will try to deliver the package again."
|
@@ -1551,44 +1904,47 @@ msgstr ""
|
|
1551 |
"Normalerweise hinterlässt er eine Nachricht und versucht, das Paket erneut "
|
1552 |
"zuzustellen."
|
1553 |
|
1554 |
-
#:
|
1555 |
-
|
1556 |
-
|
|
|
1557 |
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
#: includes/views/zorem_admin_ts_sidebar.php:5
|
1563 |
-
msgid "Dashboard"
|
1564 |
msgstr ""
|
|
|
1565 |
|
1566 |
-
#: includes/
|
1567 |
-
msgid "
|
1568 |
msgstr ""
|
|
|
1569 |
|
1570 |
-
#:
|
1571 |
-
msgid "
|
1572 |
-
msgstr "Status"
|
1573 |
-
|
1574 |
-
#: templates/emails/wcast-email-order-details.php:26
|
1575 |
-
msgid "Order Details"
|
1576 |
msgstr ""
|
1577 |
-
"
|
1578 |
|
1579 |
-
|
1580 |
-
|
1581 |
-
#, php-format
|
1582 |
-
msgid "Order number: %s"
|
1583 |
msgstr ""
|
1584 |
-
"
|
1585 |
|
1586 |
-
|
1587 |
-
msgid "
|
1588 |
msgstr ""
|
1589 |
-
"
|
1590 |
|
1591 |
-
|
1592 |
-
msgid "
|
1593 |
-
|
1594 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2020-01-08 08:09+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-01-08 08:16+0000\n"
|
7 |
+
"Last-Translator: John <gaurav1092@zorem.com>\n"
|
8 |
"Language-Team: German\n"
|
9 |
"Language: de_DE\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.3.1; wp-5.3.2"
|
16 |
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:117
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
23 |
"Bitte installieren und aktivieren Sie% sWooCommerce% s für WooCommerce "
|
24 |
"Advanced Shipment Tracking!\n"
|
25 |
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:254
|
27 |
+
#, php-format
|
28 |
+
msgid "Your order was shipped with %s and your tracking code is: %s"
|
29 |
+
msgstr ""
|
30 |
+
"Ihre Bestellung wurde mit% s verschickt und Ihr Tracking-Code lautet:% s"
|
31 |
+
|
32 |
+
#: woocommerce-advanced-shipment-tracking.php:465
|
33 |
#, php-format
|
34 |
msgid ""
|
35 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
39 |
"php here or you can manually change all your \"delivered\" order to "
|
40 |
"\"completed\" before deactivating the plugin."
|
41 |
msgstr ""
|
42 |
+
"<strong> BITTE BEACHTEN: </ strong> Wenn Sie den benutzerdefinierten "
|
43 |
+
"Bestellstatus \"Geliefert\" verwenden und das Plugin deaktivieren, müssen "
|
44 |
+
"Sie diesen Bestellstatus in function.php registrieren, um diese Bestellungen "
|
45 |
+
"im Bestelladministrator anzuzeigen. Sie finden das <a href=\"%s\" "
|
46 |
+
"target=\"blank\"> Snippet </a>, das Sie in functions.php verwenden können, "
|
47 |
+
"oder Sie können alle \"gelieferten\" Bestellungen manuell in \"erledigt\" "
|
48 |
+
"ändern, bevor Sie das Plugin deaktivieren."
|
49 |
|
50 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
msgid "Shipment status"
|
52 |
msgstr "Versandstatus"
|
53 |
|
54 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:427
|
55 |
+
#: includes/class-wc-advanced-shipment-welcome.php:310
|
56 |
msgid ""
|
57 |
"Get Shipment Status is limited to 100 orders at a time, please select up to "
|
58 |
"100 orders."
|
59 |
msgstr ""
|
60 |
+
"Der Status \"Sendung abrufen\" ist jeweils auf 100 Bestellungen begrenzt. "
|
61 |
+
"Wählen Sie bis zu 100 Bestellungen aus.\n"
|
62 |
|
63 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:462
|
64 |
+
#: includes/class-wc-advanced-shipment-welcome.php:343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
msgid "Data saved successfully."
|
66 |
msgstr "Daten erfolgreich gespeichert."
|
67 |
|
68 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:463
|
69 |
+
#: includes/class-wc-advanced-shipment-welcome.php:344
|
70 |
msgid "Really delete this entry? This will not be undo."
|
71 |
msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
|
72 |
|
73 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:464
|
74 |
+
#: includes/class-wc-advanced-shipment-welcome.php:345
|
75 |
msgid "You can upload only csv file."
|
76 |
msgstr "Sie können nur eine CSV-Datei hochladen."
|
77 |
|
78 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:465
|
79 |
+
#: includes/class-wc-advanced-shipment-welcome.php:346
|
80 |
msgid "This browser does not support HTML5."
|
81 |
msgstr "Dieser Browser unterstützt kein HTML5."
|
82 |
|
83 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:466
|
84 |
+
#: includes/class-wc-advanced-shipment-welcome.php:347
|
85 |
msgid "Please upload a valid CSV file."
|
86 |
msgstr "Laden Sie eine gültige CSV-Datei hoch."
|
87 |
|
88 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
89 |
msgid "Shipping Providers"
|
90 |
+
msgstr ""
|
91 |
+
"Versandanbieter\n"
|
|
|
|
|
|
|
92 |
|
93 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:537
|
94 |
msgid "Bulk Upload"
|
95 |
+
msgstr ""
|
96 |
+
"Bulk-Upload\n"
|
97 |
|
98 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:543
|
99 |
+
msgid "Add-ons"
|
100 |
+
msgstr ""
|
101 |
+
"Add-Ons\n"
|
102 |
+
|
103 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:546
|
104 |
+
#: includes/class-wc-advanced-shipment-welcome.php:222
|
105 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
106 |
+
#: includes/views/admin_trackship_dashboard.php:51
|
107 |
+
msgid "Documentation"
|
108 |
+
msgstr "Dokumentation"
|
109 |
+
|
110 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:547
|
111 |
+
msgid "How to Video"
|
112 |
msgstr ""
|
113 |
+
"Video erstellen\n"
|
114 |
|
115 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:695
|
116 |
+
msgid "Custom Statuses"
|
117 |
+
msgstr ""
|
118 |
+
"Benutzerdefinierte Status\n"
|
119 |
+
|
120 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
121 |
+
#: includes/class-wc-advanced-shipment-welcome.php:188
|
122 |
+
#: includes/views/zorem_admin_sidebar.php:29
|
123 |
+
#: includes/views/admin_options_addons.php:46
|
124 |
+
#: includes/views/admin_trackship_dashboard.php:17
|
125 |
msgid "Connected"
|
126 |
msgstr ""
|
127 |
"In Verbindung gebracht\n"
|
128 |
|
129 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:874
|
130 |
+
#, php-format
|
131 |
+
msgid "%s %s orders with tracking info"
|
132 |
+
msgstr ""
|
133 |
+
"% s% s Bestellungen mit Tracking-Informationen\n"
|
134 |
+
|
135 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
136 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:884
|
137 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:893
|
138 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1841
|
139 |
+
#: includes/views/admin_options_tools.php:14
|
140 |
+
msgid "Get Shipment Status"
|
141 |
msgstr ""
|
142 |
+
"Sendungsstatus abrufen\n"
|
|
|
|
|
143 |
|
144 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:883
|
145 |
#, php-format
|
146 |
+
msgid "%s %s orders with “TrackShip balance is 0”"
|
|
|
|
|
147 |
msgstr ""
|
148 |
+
"% s% s Bestellungen mit \"TrackShip-Guthaben ist 0\"\n"
|
|
|
149 |
|
150 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
151 |
#, php-format
|
152 |
+
msgid "%s %s orders with “Please do connection”"
|
153 |
msgstr ""
|
154 |
+
"% s% s Bestellungen mit \"Bitte Verbindung herstellen\"\n"
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:930
|
|
|
157 |
msgid "Enable/Disable"
|
158 |
+
msgstr ""
|
159 |
+
"Aktivieren/deaktivieren\n"
|
160 |
|
161 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:936
|
162 |
msgid "Set order status Delivered when order is delivered"
|
163 |
msgstr ""
|
164 |
"Setzt den Bestellstatus Ausgeliefert, wenn die Bestellung ausgeliefert wird\n"
|
165 |
|
166 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
msgid ""
|
168 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
169 |
"for the tracking page to work."
|
170 |
msgstr ""
|
171 |
+
"Sie müssen den Shortcode [wcast-track-order] zum \"Seitennamen\" hinzufügen, "
|
172 |
+
"damit die Tracking-Seite funktioniert.\n"
|
173 |
|
174 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:976
|
175 |
+
#: includes/views/admin_tracking_page_settings.php:24
|
176 |
msgid "Select Tracking Page"
|
177 |
msgstr ""
|
178 |
"Wählen Sie Tracking-Seite\n"
|
179 |
|
180 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:984
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
msgid "Use the tracking page in the customer email/my account tracking link"
|
182 |
msgstr ""
|
183 |
"Verwenden Sie die Tracking-Seite in der Kunden-E-Mail / meinem Konto-"
|
184 |
"Tracking-Link\n"
|
185 |
|
186 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:990
|
187 |
+
#: includes/views/admin_tracking_page_settings.php:49
|
188 |
+
msgid "Tracking Page Layout"
|
189 |
+
msgstr ""
|
190 |
+
"Seitenlayout verfolgen\n"
|
191 |
+
|
192 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
193 |
msgid "Select primary color for tracking page"
|
194 |
msgstr ""
|
195 |
"Wählen Sie die Primärfarbe für die Verfolgungsseite aus\n"
|
196 |
|
197 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1007
|
198 |
msgid "Select content border color for tracking page"
|
199 |
msgstr ""
|
200 |
+
"Wählen Sie die Farbe des Inhaltsrahmens für die Verfolgungsseite aus\n"
|
201 |
|
202 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1013
|
203 |
+
#: includes/views/admin_tracking_page_settings.php:83
|
204 |
+
msgid "Hide Shipping Provider Image"
|
205 |
+
msgstr ""
|
206 |
+
"Bild des Versandanbieters ausblenden\n"
|
207 |
+
|
208 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
209 |
+
msgid "Hide tracking events details"
|
210 |
+
msgstr ""
|
211 |
+
"Details zu Verfolgungsereignissen ausblenden\n"
|
212 |
+
|
213 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1025
|
214 |
+
#: includes/views/admin_tracking_page_settings.php:93
|
215 |
+
msgid "Remove TrackShip branding"
|
216 |
+
msgstr ""
|
217 |
+
"Entfernen Sie das TrackShip-Branding\n"
|
218 |
+
|
219 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1042
|
220 |
+
msgid "License Key"
|
221 |
+
msgstr ""
|
222 |
+
"Lizenzschlüssel\n"
|
223 |
+
|
224 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
225 |
+
msgid "Valid License to make All feature work correctly"
|
226 |
+
msgstr ""
|
227 |
+
"Gültige Lizenz, damit alle Funktionen ordnungsgemäß funktionieren\n"
|
228 |
+
|
229 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1193
|
230 |
+
msgid "\">click here</a> to activate it."
|
231 |
+
msgstr ""
|
232 |
+
"\"> klicke hier um es zu aktivieren.\n"
|
233 |
+
|
234 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1226
|
235 |
+
#: includes/class-wc-advanced-shipment-tracking.php:185
|
236 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:303
|
237 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:439
|
238 |
+
msgid "Shipped"
|
239 |
+
msgstr "Versendet"
|
240 |
+
|
241 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1227
|
242 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
243 |
msgstr ""
|
244 |
+
"Standard \"Als versandt markieren\"\n"
|
245 |
|
246 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1228
|
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 |
+
"Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
|
252 |
+
"Bestellungen standardmäßig die Option \"Als versandt markieren\" ausgewählt "
|
253 |
+
"wird.\n"
|
254 |
|
255 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1231
|
256 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
msgstr ""
|
258 |
+
"Standard \"Als erledigt markieren\"\n"
|
259 |
|
260 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1232
|
261 |
msgid ""
|
262 |
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
263 |
"will be selected by default when adding tracking info to orders."
|
264 |
msgstr ""
|
265 |
+
"Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu Aufträgen "
|
266 |
+
"standardmäßig die Option \"Als erledigt markieren\" ausgewählt wird.\n"
|
267 |
|
268 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1298
|
269 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
270 |
msgstr ""
|
271 |
+
"Benennen Sie den Auftragsstatus \"Abgeschlossen\" in \"Versandt\" um.\n"
|
272 |
|
273 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1311
|
274 |
+
msgid "On which order status email to include the shipment tracking info?"
|
275 |
msgstr ""
|
276 |
+
"In welcher Auftragsstatus-E-Mail werden die Sendungsverfolgungsinformationen "
|
277 |
+
"angegeben?\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
|
279 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1317
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
msgid "Show tracking info in Invoice"
|
281 |
+
msgstr ""
|
282 |
+
"Tracking-Informationen in Rechnung anzeigen\n"
|
283 |
|
284 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1323
|
285 |
msgid "Show tracking info in Packing Slip"
|
286 |
+
msgstr ""
|
287 |
+
"Tracking-Informationen im Packzettel anzeigen\n"
|
288 |
|
289 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1340
|
290 |
+
msgid "Enable custom order status “Delivered\""
|
291 |
msgstr ""
|
292 |
+
"Kundenauftragsstatus \"Geliefert\" aktivieren\n"
|
293 |
|
294 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1341
|
295 |
msgid ""
|
296 |
"if you enable the delivered item, you will have the option to send delivered "
|
297 |
"email notifications."
|
298 |
msgstr ""
|
299 |
+
"Wenn Sie das gelieferte Objekt aktivieren, haben Sie die Möglichkeit, "
|
300 |
+
"zugestellte E-Mail-Benachrichtigungen zu senden.\n"
|
301 |
|
302 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1347
|
303 |
+
msgid "Delivered Label color"
|
304 |
+
msgstr ""
|
305 |
+
"Gelieferte Etikettenfarbe\n"
|
306 |
|
307 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1353
|
308 |
+
msgid "Delivered Label font color"
|
|
|
|
|
309 |
msgstr ""
|
310 |
+
"Gelieferte Label-Schriftfarbe\n"
|
311 |
|
312 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1356
|
313 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1398
|
314 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1440
|
315 |
+
msgid "Light"
|
316 |
+
msgstr "Licht"
|
317 |
+
|
318 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1357
|
319 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1399
|
320 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1441
|
321 |
+
msgid "Dark"
|
322 |
+
msgstr "Dunkel"
|
323 |
+
|
324 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1364
|
325 |
+
msgid "Enable the Delivered order status email"
|
326 |
+
msgstr ""
|
327 |
+
"Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
|
328 |
+
|
329 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1382
|
330 |
+
msgid "Enable custom order status “Updated Tracking\""
|
331 |
+
msgstr ""
|
332 |
+
"Aktivieren Sie den benutzerdefinierten Auftragsstatus \"Aktualisiertes "
|
333 |
+
"Tracking\".\n"
|
334 |
+
|
335 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1383
|
336 |
msgid ""
|
337 |
+
"if you enable the delivered item, you will have the option to send Updated "
|
338 |
+
"Tracking email notifications."
|
339 |
msgstr ""
|
340 |
+
"Wenn Sie das gelieferte Objekt aktivieren, können Sie Benachrichtigungen "
|
341 |
+
"über aktualisierte Sendungsverfolgungs-E-Mails senden.\n"
|
342 |
|
343 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1389
|
344 |
+
msgid "Updated Tracking Label color"
|
345 |
+
msgstr ""
|
346 |
+
"Die Farbe des Tracking-Labels wurde aktualisiert\n"
|
347 |
|
348 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1395
|
349 |
+
msgid "Updated Tracking Label font color"
|
350 |
+
msgstr ""
|
351 |
+
"Die Schriftfarbe des Tracking-Labels wurde aktualisiert\n"
|
352 |
|
353 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1406
|
354 |
+
msgid "Enable the Updated Tracking order status email"
|
355 |
+
msgstr ""
|
356 |
+
"Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
|
357 |
+
"Sendungsverfolgung\n"
|
358 |
+
|
359 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1424
|
360 |
+
msgid "Enable custom order status “Partially Shipped\""
|
361 |
+
msgstr ""
|
362 |
+
"Status der benutzerdefinierten Bestellung aktivieren \"Teilweise versandt\"\n"
|
363 |
+
|
364 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1425
|
365 |
msgid ""
|
366 |
+
"if you enable the Partially Shipped item, you will have the option to send "
|
367 |
+
"Partially Shipped email notifications."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
msgstr ""
|
369 |
+
"Wenn Sie die Option \"Teilweise versandt\" aktivieren, haben Sie die "
|
370 |
+
"Möglichkeit, Teilweise versandte E-Mail-Benachrichtigungen zu senden.\n"
|
371 |
|
372 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1431
|
373 |
+
msgid "Partially Shipped Label color"
|
374 |
+
msgstr ""
|
375 |
+
"Teilversand Etikettenfarbe\n"
|
376 |
+
|
377 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1437
|
378 |
+
msgid "Partially Shipped Label font color"
|
379 |
+
msgstr ""
|
380 |
+
"Teilweise versandt Schriftfarbe der Beschriftung\n"
|
381 |
+
|
382 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1448
|
383 |
+
msgid "Enable the Partially Shipped order status email"
|
384 |
+
msgstr ""
|
385 |
+
"Aktivieren Sie die Status-E-Mail für teilweise versendete Bestellungen\n"
|
386 |
+
|
387 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1874
|
388 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2395
|
389 |
+
#: includes/customizer/class-wcast-customizer.php:92
|
390 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:127
|
391 |
+
#: includes/views/admin_status_notifications.php:25
|
392 |
msgid "In Transit"
|
393 |
msgstr ""
|
394 |
"Im Transit\n"
|
395 |
|
396 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1877
|
397 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2394
|
398 |
+
#: includes/customizer/class-wcast-customizer.php:84
|
399 |
msgid "Pre Transit"
|
400 |
msgstr ""
|
401 |
"Pre Transit\n"
|
402 |
|
403 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1880
|
404 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2072
|
405 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2398
|
406 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:137
|
407 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:182
|
408 |
+
#: includes/customizer/class-wcast-customizer.php:122
|
409 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:125
|
410 |
+
#: includes/views/admin_options_settings.php:80
|
411 |
+
#: includes/views/admin_status_notifications.php:80
|
412 |
+
msgid "Delivered"
|
413 |
+
msgstr "Geliefert"
|
414 |
+
|
415 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1883
|
416 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2397
|
417 |
+
#: includes/customizer/class-wcast-customizer.php:114
|
418 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
|
419 |
+
#: includes/views/admin_status_notifications.php:66
|
420 |
+
msgid "Out For Delivery"
|
421 |
msgstr ""
|
422 |
+
"Raus zur Lieferung\n"
|
423 |
|
424 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1886
|
425 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2396
|
426 |
+
#: includes/customizer/class-wcast-customizer.php:107
|
427 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
|
428 |
+
#: includes/views/admin_status_notifications.php:53
|
429 |
msgid "Available For Pickup"
|
430 |
msgstr ""
|
431 |
"Zur Abholung bereit\n"
|
432 |
|
433 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1889
|
434 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2402
|
435 |
+
#: includes/customizer/class-wcast-customizer.php:100
|
436 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:124
|
437 |
+
#: includes/views/admin_status_notifications.php:39
|
438 |
msgid "Return To Sender"
|
439 |
msgstr ""
|
440 |
"Zurück an den Absender\n"
|
441 |
|
442 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1892
|
443 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2399
|
444 |
+
#: includes/customizer/class-wcast-customizer.php:130
|
445 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:124
|
446 |
+
#: includes/views/admin_status_notifications.php:95
|
447 |
+
msgid "Failed Attempt"
|
448 |
+
msgstr "Misslungener Versuch"
|
449 |
|
450 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1895
|
451 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2393
|
452 |
msgid "Unknown"
|
453 |
+
msgstr "Unbekannt"
|
|
|
454 |
|
455 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1898
|
456 |
msgid "Pending TrackShip"
|
457 |
msgstr ""
|
458 |
"Ausstehendes TrackShip\n"
|
459 |
|
460 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1901
|
461 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2403
|
462 |
+
msgid "Invalid Tracking Number"
|
463 |
msgstr ""
|
464 |
+
"Ungültige Tracking-Nummer\n"
|
465 |
|
466 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
467 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2401
|
468 |
+
msgid "Carrier Unsupported"
|
469 |
msgstr ""
|
470 |
"Träger nicht unterstützt\n"
|
471 |
|
472 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1907
|
473 |
msgid "Invalid User Key"
|
474 |
msgstr ""
|
475 |
+
"Ungültiger Benutzerschlüssel\n"
|
476 |
|
477 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1910
|
478 |
+
msgid "Wrong Shipping Provider"
|
479 |
+
msgstr ""
|
480 |
+
"Falscher Versandanbieter\n"
|
481 |
|
482 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2026
|
483 |
msgid "Shipped Order"
|
484 |
msgstr "Versandauftrag"
|
485 |
|
486 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2050
|
487 |
msgid "Mark order as delivered"
|
488 |
+
msgstr ""
|
489 |
+
"Bestellung als geliefert markieren\n"
|
490 |
|
491 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2057
|
492 |
msgid "Add Tracking"
|
493 |
msgstr ""
|
494 |
+
"Tracking hinzufügen\n"
|
495 |
|
496 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2084
|
497 |
msgid "Change order status to"
|
498 |
+
msgstr ""
|
499 |
+
"Ändern Sie den Auftragsstatus in\n"
|
500 |
|
501 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2187
|
502 |
+
#: includes/views/admin_options_shipping_provider.php:96
|
503 |
#, php-format
|
504 |
msgid "You don't have any %s shipping providers."
|
505 |
msgstr "Sie haben keine% s Versandanbieter."
|
506 |
|
507 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2192
|
508 |
+
#: includes/views/admin_options_shipping_provider.php:27
|
509 |
+
msgid "Add Custom Provider"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
msgstr ""
|
511 |
+
"Benutzerdefinierten Anbieter hinzufügen\n"
|
512 |
|
513 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2408
|
514 |
msgid "Filter by shipment status"
|
515 |
msgstr ""
|
516 |
+
"Filtern nach Sendungsstatus\n"
|
517 |
|
518 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:148
|
519 |
msgid ""
|
520 |
"To track your order please enter your Order ID in the box below and press "
|
521 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
526 |
"auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
|
527 |
"sollen, mitgeteilt.\n"
|
528 |
|
529 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:149
|
530 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
|
|
|
|
|
|
|
|
531 |
msgid "Found in your order confirmation email."
|
532 |
msgstr ""
|
533 |
"Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
|
534 |
|
535 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
536 |
msgid "Order Email"
|
537 |
msgstr ""
|
538 |
"E-Mail bestellen\n"
|
539 |
|
540 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:153
|
541 |
+
#: includes/class-wc-advanced-shipment-tracking.php:728
|
542 |
+
#: includes/class-wc-advanced-shipment-tracking.php:851
|
543 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:147
|
544 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:578
|
545 |
+
#: templates/emails/tracking-info.php:256
|
546 |
+
#: templates/myaccount/tracking-info.php:191
|
|
|
|
|
547 |
msgid "Track"
|
548 |
+
msgstr "Verfolgen"
|
549 |
|
550 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:221
|
551 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:238
|
552 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:398
|
553 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:415
|
554 |
#, php-format
|
555 |
msgid "Shipment - %s (out of %s)"
|
556 |
msgstr ""
|
557 |
"Versand -% s (von% s)\n"
|
558 |
|
559 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:251
|
560 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:428
|
561 |
+
msgid "Tracking details not found in TrackShip"
|
562 |
+
msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
|
563 |
|
564 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:462
|
565 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:492
|
566 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:862
|
567 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:880
|
568 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1015
|
569 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1033
|
570 |
+
msgid "Est. Delivery Date"
|
571 |
+
msgstr ""
|
572 |
+
"Europäische Sommerzeit. Lieferdatum\n"
|
573 |
|
574 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:618
|
575 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:708
|
576 |
msgid "Tracking Details"
|
577 |
msgstr "Verfolgungsdetails"
|
578 |
|
579 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:699
|
580 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:789
|
581 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1004
|
582 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1118
|
583 |
msgid "view more"
|
584 |
msgstr "mehr sehen"
|
585 |
|
586 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:700
|
587 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:790
|
588 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1005
|
589 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1119
|
590 |
msgid "view less"
|
591 |
msgstr "weniger anzeigen"
|
592 |
|
593 |
+
#: includes/class-wc-advanced-shipment-tracking.php:95
|
594 |
+
#: includes/class-wc-advanced-shipment-tracking.php:265
|
595 |
+
#: includes/customizer/class-wcast-customizer.php:31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596 |
msgid "Shipment Tracking"
|
597 |
msgstr "Sendungsverfolgung"
|
598 |
|
599 |
+
#: includes/class-wc-advanced-shipment-tracking.php:184
|
600 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
601 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:438
|
602 |
+
msgid "Mark as Shipped?"
|
603 |
+
msgstr "Als versandt markieren?"
|
604 |
|
605 |
+
#: includes/class-wc-advanced-shipment-tracking.php:187
|
606 |
+
#: includes/class-wc-advanced-shipment-tracking.php:390
|
607 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:441
|
608 |
+
msgid "Mark as Completed?"
|
609 |
+
msgstr "Als erledigt markieren?"
|
610 |
+
|
611 |
+
#: includes/class-wc-advanced-shipment-tracking.php:188
|
612 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
613 |
+
msgid "Completed"
|
614 |
+
msgstr "vollendet, fertiggestellt"
|
615 |
|
616 |
+
#: includes/class-wc-advanced-shipment-tracking.php:195
|
617 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:450
|
618 |
msgid "Add Tracking Number"
|
619 |
+
msgstr "Tracking-Nummer hinzufügen"
|
620 |
|
621 |
+
#: includes/class-wc-advanced-shipment-tracking.php:198
|
622 |
+
#: includes/class-wc-advanced-shipment-tracking.php:203
|
623 |
+
#: includes/class-wc-advanced-shipment-tracking.php:408
|
624 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:453
|
625 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:455
|
626 |
msgid "Provider:"
|
627 |
msgstr "Anbieter:"
|
628 |
|
629 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
630 |
+
#: includes/class-wc-advanced-shipment-tracking.php:446
|
631 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:475
|
632 |
msgid "Tracking number:"
|
633 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
|
634 |
|
635 |
+
#: includes/class-wc-advanced-shipment-tracking.php:227
|
636 |
+
#: includes/class-wc-advanced-shipment-tracking.php:454
|
637 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
638 |
msgid "Date shipped:"
|
639 |
msgstr "Lieferdatum:"
|
640 |
|
641 |
+
#: includes/class-wc-advanced-shipment-tracking.php:236
|
642 |
+
#: includes/class-wc-advanced-shipment-tracking.php:466
|
643 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:488
|
644 |
+
msgid "Mark order as:"
|
645 |
+
msgstr "Bestellung markieren als:"
|
646 |
+
|
647 |
+
#: includes/class-wc-advanced-shipment-tracking.php:239
|
648 |
+
#: includes/class-wc-advanced-shipment-tracking.php:469
|
649 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
650 |
+
msgid "Partial Shipped"
|
651 |
+
msgstr "Teilweise versandt"
|
652 |
+
|
653 |
+
#: includes/class-wc-advanced-shipment-tracking.php:281
|
654 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
655 |
+
msgid "Track Shipment"
|
656 |
+
msgstr ""
|
657 |
+
"Sendung verfolgen\n"
|
658 |
|
659 |
#. 1: shipping date
|
660 |
+
#: includes/class-wc-advanced-shipment-tracking.php:290
|
|
|
661 |
#, php-format
|
662 |
msgid "Shipped on %s"
|
663 |
msgstr "Versand auf% s"
|
664 |
|
665 |
+
#: includes/class-wc-advanced-shipment-tracking.php:404
|
|
|
|
|
|
|
|
|
666 |
msgid "Add Tracking Info"
|
667 |
msgstr "Tracking-Info hinzufügen"
|
668 |
|
669 |
+
#: includes/class-wc-advanced-shipment-tracking.php:409
|
670 |
msgid "Select Provider"
|
671 |
msgstr "Wählen Sie Provider aus"
|
672 |
|
673 |
+
#: includes/class-wc-advanced-shipment-tracking.php:482
|
674 |
msgid "Save Tracking"
|
675 |
msgstr "Tracking speichern"
|
676 |
|
677 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
678 |
msgid "Preview:"
|
679 |
msgstr "Vorschau:"
|
680 |
|
681 |
+
#: includes/class-wc-advanced-shipment-tracking.php:702
|
682 |
+
#, php-format
|
683 |
+
msgid ""
|
684 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
685 |
+
msgstr ""
|
686 |
+
"Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
|
687 |
+
"Tracking-Nummer% s gelöscht"
|
688 |
+
|
689 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1092
|
690 |
+
#, php-format
|
691 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
692 |
+
msgstr ""
|
693 |
+
"Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
|
694 |
+
|
695 |
+
#: includes/class-wc-advanced-shipment-welcome.php:38
|
696 |
+
#: includes/class-wc-advanced-shipment-welcome.php:39
|
697 |
+
msgid "Welcome to Advanced Shipment Tracking"
|
698 |
+
msgstr "Willkommen bei Advanced Shipment Tracking"
|
699 |
+
|
700 |
+
#: includes/class-wc-advanced-shipment-welcome.php:90
|
701 |
+
#: includes/class-wc-advanced-shipment-welcome.php:129
|
702 |
+
#: includes/class-wc-advanced-shipment-welcome.php:147
|
703 |
+
msgid "Save and Continue"
|
704 |
+
msgstr "Speichern und fortfahren"
|
705 |
+
|
706 |
+
#: includes/class-wc-advanced-shipment-welcome.php:177
|
707 |
+
#: includes/views/admin_trackship_dashboard.php:6
|
708 |
+
msgid "Connection status"
|
709 |
+
msgstr "Verbindungsstatus"
|
710 |
+
|
711 |
+
#: includes/class-wc-advanced-shipment-welcome.php:184
|
712 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
713 |
+
msgid "TrackShip Connection Status"
|
714 |
+
msgstr "TrackShip-Verbindungsstatus"
|
715 |
+
|
716 |
+
#: includes/class-wc-advanced-shipment-welcome.php:194
|
717 |
+
#: includes/views/admin_trackship_dashboard.php:23
|
718 |
+
msgid "Trackers Balance"
|
719 |
+
msgstr ""
|
720 |
+
"Tracker-Balance\n"
|
721 |
+
|
722 |
+
#: includes/class-wc-advanced-shipment-welcome.php:202
|
723 |
+
#: includes/views/admin_trackship_dashboard.php:31
|
724 |
+
msgid "Current Plan"
|
725 |
+
msgstr ""
|
726 |
+
"Derzeitiger Plan\n"
|
727 |
+
|
728 |
+
#: includes/class-wc-advanced-shipment-welcome.php:217
|
729 |
+
#: includes/views/admin_options_addons.php:33
|
730 |
+
#: includes/views/admin_trackship_dashboard.php:46
|
731 |
+
msgid ""
|
732 |
+
"You are now connected with TrackShip! TrackShip makes it effortless to "
|
733 |
+
"automate your post shipping operations and get tracking and delivery status "
|
734 |
+
"updates directly in the WooCommerce admin."
|
735 |
+
msgstr ""
|
736 |
+
"Sie sind jetzt mit TrackShip verbunden! Mit TrackShip können Sie Ihre "
|
737 |
+
"Postversandvorgänge mühelos automatisieren und Statusaktualisierungen für "
|
738 |
+
"Sendungsverfolgung und Zustellung direkt im WooCommerce-Administrator "
|
739 |
+
"abrufen.\n"
|
740 |
+
|
741 |
+
#: includes/class-wc-advanced-shipment-welcome.php:223
|
742 |
+
#: includes/views/admin_trackship_dashboard.php:52
|
743 |
+
msgid "TrackShip Dashboard"
|
744 |
+
msgstr ""
|
745 |
+
"TrackShip Dashboard\n"
|
746 |
+
|
747 |
+
#: includes/class-wc-advanced-shipment-welcome.php:253
|
748 |
+
msgid "Save"
|
749 |
+
msgstr "speichern"
|
750 |
+
|
751 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:142
|
752 |
+
#, php-format
|
753 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
754 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
755 |
+
msgstr[0] ""
|
756 |
+
"Geliefert <span class=\"count\">(%s)</span>\n"
|
757 |
+
msgstr[1] ""
|
758 |
+
"Geliefert <span class=\"count\">(%s)</span>\n"
|
759 |
+
|
760 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:151
|
761 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:197
|
762 |
+
#: includes/views/admin_options_settings.php:149
|
763 |
+
msgid "Updated Tracking"
|
764 |
+
msgstr ""
|
765 |
+
"Aktualisiertes Tracking\n"
|
766 |
+
|
767 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:156
|
768 |
+
#, php-format
|
769 |
+
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
770 |
+
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
771 |
+
msgstr[0] ""
|
772 |
+
"Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
|
773 |
+
msgstr[1] ""
|
774 |
+
"Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
|
775 |
+
|
776 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:165
|
777 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:211
|
778 |
+
#: includes/views/admin_options_settings.php:115
|
779 |
+
msgid "Partially Shipped"
|
780 |
+
msgstr ""
|
781 |
+
"zum Teil versandt\n"
|
782 |
+
|
783 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:170
|
784 |
+
#, php-format
|
785 |
+
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
786 |
+
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
787 |
+
msgstr[0] ""
|
788 |
+
"Teilweise versandt <span class=\"count\">(%s)</span>\n"
|
789 |
+
msgstr[1] ""
|
790 |
+
"Teilweise versandt <span class=\"count\">(%s)</span>\n"
|
791 |
+
|
792 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:270
|
793 |
+
msgid "Change status to delivered"
|
794 |
+
msgstr ""
|
795 |
+
"Ändern Sie den Status in geliefert\n"
|
796 |
+
|
797 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:279
|
798 |
+
msgid "Change status to Updated Tracking"
|
799 |
+
msgstr ""
|
800 |
+
"Ändern Sie den Status in \"Aktualisiertes Tracking\"\n"
|
801 |
+
|
802 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:288
|
803 |
+
msgid "Change status to Partially Shipped"
|
804 |
+
msgstr ""
|
805 |
+
"Ändern Sie den Status in Teilweise versandt\n"
|
806 |
+
|
807 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:320
|
808 |
+
#, php-format
|
809 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
810 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
811 |
+
msgstr[0] ""
|
812 |
+
"Versand <span class=\"count\">(%s)</span>\n"
|
813 |
+
msgstr[1] ""
|
814 |
+
"Versand <span class=\"count\">(%s)</span>\n"
|
815 |
|
816 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:334
|
817 |
+
msgid "Change status to shipped"
|
818 |
+
msgstr ""
|
819 |
+
"Ändern Sie den Status in \"Versand\"\n"
|
820 |
+
|
821 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:518
|
822 |
+
msgid "Resend delivered order notification"
|
823 |
+
msgstr ""
|
824 |
+
"Senden Sie die gelieferte Bestellbenachrichtigung erneut\n"
|
825 |
+
|
826 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:730
|
827 |
+
msgid "Shipment Providers"
|
828 |
+
msgstr ""
|
829 |
+
"Versandanbieter\n"
|
830 |
+
|
831 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:733
|
832 |
+
msgid "Shipment Status"
|
833 |
+
msgstr ""
|
834 |
+
"Versandstatus\n"
|
835 |
+
|
836 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:736
|
837 |
+
msgid "Tracking issues"
|
838 |
+
msgstr ""
|
839 |
+
"Verfolgung von Problemen\n"
|
840 |
+
|
841 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:742
|
842 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:750
|
843 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
844 |
+
msgid "data not available."
|
845 |
+
msgstr ""
|
846 |
+
"keine Daten verfügbar.\n"
|
847 |
+
|
848 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:773
|
849 |
+
msgid "View more on TrackShip"
|
850 |
+
msgstr ""
|
851 |
+
"Erfahren Sie mehr über TrackShip\n"
|
852 |
+
|
853 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:911
|
854 |
+
msgid "There are some issue with sync, Please Retry."
|
855 |
+
msgstr ""
|
856 |
+
"Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
|
857 |
+
"\n"
|
858 |
+
|
859 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:926
|
860 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:941
|
861 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:956
|
862 |
+
msgid "view details"
|
863 |
+
msgstr ""
|
864 |
+
"Details anzeigen\n"
|
865 |
+
|
866 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:927
|
867 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:942
|
868 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:957
|
869 |
+
msgid "hide details"
|
870 |
+
msgstr ""
|
871 |
+
"Details ausblenden\n"
|
872 |
+
|
873 |
+
#: includes/customizer/class-wcast-customizer.php:40
|
874 |
msgid "Shipment Status Emails"
|
875 |
msgstr "Sendungsstatus-E-Mails"
|
876 |
|
877 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
878 |
msgid "Tracking info display"
|
879 |
msgstr ""
|
880 |
"Tracking-Info-Anzeige\n"
|
881 |
|
882 |
+
#: includes/customizer/class-wcast-customizer.php:60
|
883 |
+
#: includes/customizer/class-wc-email-customizer.php:163
|
884 |
+
msgid "Delivered order status email"
|
885 |
msgstr ""
|
886 |
+
"Bestellstatus per E-Mail zugestellt\n"
|
|
|
887 |
|
888 |
+
#: includes/customizer/class-wcast-customizer.php:68
|
889 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
|
890 |
+
msgid "Partially Shipped status email"
|
|
|
891 |
msgstr ""
|
892 |
+
"Teilweise versendete Status-E-Mail\n"
|
893 |
|
894 |
+
#: includes/customizer/class-wcast-customizer.php:76
|
895 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
|
896 |
+
msgid "Updated Tracking status email"
|
897 |
+
msgstr ""
|
898 |
+
"Aktualisierte Tracking-Status-E-Mail\n"
|
899 |
+
|
900 |
+
#: includes/customizer/class-wcast-customizer.php:411
|
901 |
msgid "Select order to preview"
|
902 |
msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
|
903 |
|
904 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
|
905 |
msgid "Your order #{order_number} is available for pickup"
|
906 |
msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
|
907 |
|
908 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
909 |
msgid ""
|
910 |
"Hi there. we thought you'd like to know that your recent order from "
|
911 |
"{site_title} is available for pickup."
|
913 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
914 |
"{site_title} zur Abholung verfügbar ist."
|
915 |
|
916 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
|
917 |
msgid "Available For Pickup shipment status email"
|
918 |
msgstr "Verfügbar für Abholung Versandstatus E-Mail"
|
919 |
|
920 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
|
921 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:158
|
922 |
+
#: includes/customizer/class-wc-email-customizer.php:164
|
923 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:157
|
924 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:160
|
925 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
|
926 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:157
|
927 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
|
928 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
|
929 |
msgid "This section lets you customize the Email Content."
|
930 |
msgstr "In diesem Abschnitt können Sie den E-Mail-Inhalt anpassen."
|
931 |
|
932 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
|
933 |
msgid "Enable Available For Pickup shipment status email"
|
934 |
msgstr "Versandstatus-E-Mail für Abholung aktivieren"
|
935 |
|
936 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
937 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:188
|
938 |
+
#: includes/customizer/class-wc-email-customizer.php:197
|
939 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:187
|
940 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:191
|
941 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
|
942 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:187
|
943 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:183
|
944 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
|
945 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
|
946 |
msgid "Preview order"
|
947 |
msgstr "Vorschau der Bestellung"
|
948 |
|
949 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
|
950 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:216
|
951 |
+
#: includes/customizer/class-wc-email-customizer.php:226
|
952 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:215
|
953 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:219
|
954 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
|
955 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
956 |
msgid "E.g. {customer.email}, admin@example.org"
|
957 |
msgstr "Z.B. {customer.email}, admin@example.org"
|
958 |
|
959 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
|
960 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
|
961 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:232
|
962 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:254
|
963 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:231
|
964 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:253
|
965 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:235
|
966 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
967 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
|
968 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
|
969 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:231
|
970 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:253
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
971 |
msgid "Available placeholders: {site_title}, {order_number}"
|
972 |
msgstr "Verfügbare Platzhalter: {site_title}, {order_number}"
|
973 |
|
974 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
975 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:275
|
976 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:274
|
977 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:278
|
978 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
|
979 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
980 |
msgid "Show tracking details"
|
981 |
msgstr "Tracking-Details anzeigen"
|
982 |
|
983 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
|
984 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:291
|
985 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:290
|
986 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:294
|
987 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
|
988 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
989 |
msgid "Show order details"
|
990 |
msgstr ""
|
991 |
"Bestelldetails anzeigen\n"
|
992 |
|
993 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
|
994 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:307
|
995 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:306
|
996 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:310
|
997 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
|
998 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:306
|
999 |
msgid "Show billing address"
|
1000 |
msgstr ""
|
1001 |
"Rechnungsadresse anzeigen\n"
|
1002 |
|
1003 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
|
1004 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:324
|
1005 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:323
|
1006 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
1007 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
|
1008 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:323
|
1009 |
msgid "Show shipping address"
|
1010 |
msgstr ""
|
1011 |
"Lieferadresse anzeigen\n"
|
1012 |
|
1013 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
|
1014 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:340
|
1015 |
+
#: includes/customizer/class-wc-email-customizer.php:393
|
1016 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:339
|
1017 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:364
|
1018 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
|
1019 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:339
|
1020 |
msgid "Google Analytics link tracking"
|
1021 |
msgstr ""
|
1022 |
+
"Google Analytics-Linkverfolgung\n"
|
1023 |
|
1024 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
|
1025 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:341
|
1026 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:340
|
1027 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:365
|
1028 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
|
1029 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:340
|
1030 |
msgid "This will be appended to URL in the email content"
|
1031 |
msgstr ""
|
1032 |
+
"Dies wird an die URL im E-Mail-Inhalt angehängt\n"
|
1033 |
+
|
1034 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
|
1035 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:362
|
1036 |
+
#: includes/customizer/class-wc-email-customizer.php:288
|
1037 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:361
|
1038 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:344
|
1039 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
|
1040 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:361
|
1041 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
|
1042 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
|
1043 |
msgid "Email content"
|
1044 |
msgstr "E-Mail-Inhalt"
|
1045 |
|
1046 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
|
1047 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:383
|
1048 |
+
#: includes/customizer/class-wc-email-customizer.php:414
|
1049 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:382
|
1050 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:386
|
1051 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
|
1052 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:382
|
1053 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
|
1054 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
|
1055 |
msgid "Available placeholders"
|
1056 |
msgstr ""
|
1057 |
"Verfügbare Platzhalter\n"
|
1058 |
|
1059 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
|
1060 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
|
1061 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:440
|
1062 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:447
|
1063 |
+
#: includes/customizer/class-wc-email-customizer.php:447
|
1064 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:439
|
1065 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:447
|
1066 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:442
|
1067 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:450
|
1068 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
|
1069 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
|
1070 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:438
|
1071 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:446
|
1072 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
|
1073 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
|
1074 |
+
msgid "Please select order to preview."
|
1075 |
+
msgstr ""
|
1076 |
+
"Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
|
1077 |
+
|
1078 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:124
|
1079 |
msgid "Your order #{order_number} has been delivered"
|
1080 |
msgstr ""
|
1081 |
+
"Ihre Bestellung Nr. {Order_number} wurde geliefert\n"
|
1082 |
|
1083 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1084 |
+
#: includes/customizer/class-wc-email-customizer.php:132
|
1085 |
msgid ""
|
1086 |
"Hi there. we thought you'd like to know that your recent order from "
|
1087 |
"{site_title} has been Delivered."
|
1089 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1090 |
"{site_title} geliefert wurde.\n"
|
1091 |
|
1092 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:157
|
1093 |
msgid "Delivered shipment status email"
|
1094 |
msgstr "Versandstatus E-Mail geliefert"
|
1095 |
|
1096 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:172
|
1097 |
msgid "Enable Delivered shipment status email"
|
1098 |
msgstr "Versandstatus-E-Mail aktivieren"
|
1099 |
|
1100 |
+
#: includes/customizer/class-wc-email-customizer.php:130
|
1101 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1102 |
msgid "Your {site_title} order is now delivered"
|
1103 |
msgstr ""
|
1104 |
"Ihre {site_title} Bestellung wird jetzt geliefert\n"
|
1105 |
|
1106 |
+
#: includes/customizer/class-wc-email-customizer.php:179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1107 |
msgid "Enable Delivered order status email"
|
1108 |
msgstr ""
|
1109 |
"Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
|
1110 |
|
1111 |
+
#: includes/customizer/class-wc-email-customizer.php:201
|
1112 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:187
|
1113 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
|
1114 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
|
1115 |
msgid "Please select a order..."
|
1116 |
msgstr ""
|
1117 |
"Bitte wählen Sie eine Bestellung aus ...\n"
|
1118 |
|
1119 |
+
#: includes/customizer/class-wc-email-customizer.php:243
|
1120 |
+
#: includes/customizer/class-wc-email-customizer.php:266
|
1121 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
|
1122 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
|
1123 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
|
1124 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
|
|
|
|
|
|
|
|
|
|
|
|
|
1125 |
msgid "Available variables: {site_title}, {order_number}"
|
1126 |
msgstr ""
|
1127 |
+
"Verfügbare Variablen: {site_title}, {order_number}\n"
|
1128 |
|
1129 |
+
#: includes/customizer/class-wc-email-customizer.php:289
|
1130 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
|
1131 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
|
1132 |
msgid ""
|
1133 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
1134 |
"{customer_last_name}, {customer_username}, {order_number}"
|
1135 |
msgstr ""
|
1136 |
+
"verfügbare Variablen: {site_title}, {customer_email}, {customer_first_name}, "
|
1137 |
+
"{customer_last_name}, {customer_username}, {order_number}\n"
|
1138 |
|
1139 |
+
#: includes/customizer/class-wc-email-customizer.php:309
|
1140 |
msgid "Display tracking details"
|
1141 |
msgstr ""
|
1142 |
+
"Tracking-Details anzeigen\n"
|
1143 |
|
1144 |
+
#: includes/customizer/class-wc-email-customizer.php:325
|
1145 |
msgid "Display order details"
|
1146 |
msgstr ""
|
1147 |
+
"Bestelldetails anzeigen\n"
|
1148 |
|
1149 |
+
#: includes/customizer/class-wc-email-customizer.php:342
|
1150 |
msgid "Display Shipping Address"
|
1151 |
msgstr ""
|
1152 |
+
"Lieferadresse anzeigen\n"
|
1153 |
|
1154 |
+
#: includes/customizer/class-wc-email-customizer.php:359
|
1155 |
msgid "Display Billing Address"
|
1156 |
msgstr ""
|
1157 |
+
"Rechnungsadresse anzeigen\n"
|
1158 |
|
1159 |
+
#: includes/customizer/class-wc-email-customizer.php:376
|
1160 |
msgid "Enable Google Analytics tracking"
|
1161 |
msgstr ""
|
1162 |
+
"Aktivieren Sie das Google Analytics-Tracking\n"
|
1163 |
|
1164 |
+
#: includes/customizer/class-wc-email-customizer.php:394
|
1165 |
msgid ""
|
1166 |
"This will be appended to URL in the email content – e.g. "
|
1167 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1168 |
msgstr ""
|
1169 |
+
"Dies wird an die URL im E-Mail-Inhalt angehängt - z. utm_source = ast & "
|
1170 |
+
"utm_medium = email & utm_campaign = geliefert\n"
|
1171 |
|
1172 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:123
|
1173 |
msgid "Your order #{order_number} is Failed Attempt"
|
1174 |
msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
|
1175 |
|
1176 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1177 |
msgid ""
|
1178 |
"Hi there. we thought you'd like to know that your recent order from "
|
1179 |
"{site_title} is Failed Attempt"
|
1181 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
|
1182 |
"{site_title} fehlgeschlagen ist"
|
1183 |
|
1184 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:156
|
1185 |
msgid "Failed Attempt shipment status email"
|
1186 |
msgstr "Fehler beim Versenden der Sendungsstatus-E-Mail"
|
1187 |
|
1188 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:171
|
1189 |
msgid "Enable Failed Attempt shipment status email"
|
1190 |
msgstr "Versandstatus-E-Mail für fehlgeschlagenen Versuch aktivieren"
|
1191 |
|
1192 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:126
|
1193 |
msgid "Your order #{order_number} is in transit"
|
1194 |
msgstr ""
|
1195 |
"Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
|
1196 |
|
1197 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1198 |
msgid ""
|
1199 |
"Hi there. we thought you'd like to know that your recent order from "
|
1200 |
"{site_title} is in transit"
|
1202 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1203 |
"{site_title} unterwegs ist\n"
|
1204 |
|
1205 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:159
|
1206 |
msgid "In Transit shipment status email"
|
1207 |
msgstr "In Transit Sendungsstatus E-Mail"
|
1208 |
|
1209 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:174
|
1210 |
msgid "Enable In Transit shipment status email"
|
1211 |
msgstr ""
|
1212 |
"Sendungsstatus-E-Mail in Transit aktivieren\n"
|
1213 |
|
1214 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
|
1215 |
msgid "Your order #{order_number} is out for delivery"
|
1216 |
msgstr ""
|
1217 |
"Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
|
1218 |
|
1219 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1220 |
msgid ""
|
1221 |
"Hi there. we thought you'd like to know that your recent order from "
|
1222 |
"{site_title} is out for delivery."
|
1224 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1225 |
"{site_title} nicht lieferbar ist.\n"
|
1226 |
|
1227 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
|
1228 |
msgid "Out For Delivery shipment status email"
|
1229 |
msgstr "Out For Delivery Versandstatus-E-Mail"
|
1230 |
|
1231 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
|
1232 |
msgid "Enable Out For Delivery shipment status email"
|
1233 |
msgstr "Sendungsstatus-E-Mail für die Auslieferung aktivieren"
|
1234 |
|
1235 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:123
|
1236 |
msgid "Your order #{order_number} has returned to sender"
|
1237 |
msgstr ""
|
1238 |
"Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
|
1239 |
|
1240 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1241 |
msgid ""
|
1242 |
"Hi there. we thought you'd like to know that your recent order from "
|
1243 |
"{site_title} has been returned to sender."
|
1245 |
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1246 |
"{site_title} an den Absender zurückgeschickt wurde.\n"
|
1247 |
|
1248 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:156
|
1249 |
msgid "Return To Sender shipment status email"
|
1250 |
msgstr "Sendungsstatus-E-Mail an Absender zurücksenden"
|
1251 |
|
1252 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:171
|
1253 |
msgid "Enable Return To Sender shipment status email"
|
1254 |
msgstr ""
|
1255 |
"Aktivieren Sie die Sendungsstatus-E-Mail für die Rücksendung an den Absender"
|
1256 |
|
1257 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:144
|
1258 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:496
|
1259 |
+
#: templates/emails/tracking-info.php:203
|
1260 |
+
#: templates/myaccount/tracking-info.php:144
|
1261 |
msgid "Provider"
|
1262 |
msgstr "Anbieter"
|
1263 |
|
1264 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:145
|
1265 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:518
|
1266 |
+
#: templates/emails/tracking-info.php:232
|
1267 |
+
#: templates/myaccount/tracking-info.php:171
|
|
|
1268 |
msgid "Tracking Number"
|
1269 |
msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
|
1270 |
|
1271 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:146
|
1272 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:539
|
1273 |
msgid "Shipped Date"
|
1274 |
msgstr "Versanddatum"
|
1275 |
|
1276 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:184
|
1277 |
+
msgid "Select an order to preview and design the tracking info display."
|
|
|
|
|
1278 |
msgstr ""
|
1279 |
+
"Wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen und die Anzeige "
|
1280 |
+
"der Tracking-Informationen zu gestalten.\n"
|
|
|
1281 |
|
1282 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:204
|
1283 |
msgid "Tracking Display Position"
|
1284 |
msgstr "Verfolgung der Anzeigeposition"
|
1285 |
|
1286 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:208
|
1287 |
msgid "Before Order Details"
|
1288 |
msgstr "Vor der Bestellung Details"
|
1289 |
|
1290 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:209
|
1291 |
msgid "After Order Details"
|
1292 |
msgstr "Nach Auftragsdetails"
|
1293 |
|
1294 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:224
|
1295 |
+
msgid "Tracking Header text"
|
1296 |
+
msgstr ""
|
1297 |
+
"Tracking-Header-Text\n"
|
1298 |
|
1299 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:231
|
|
|
1300 |
msgid "Tracking Information"
|
1301 |
msgstr "Tracking-Informationen"
|
1302 |
|
1303 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:246
|
1304 |
msgid "Additional text after header"
|
1305 |
msgstr "Zusätzlicher Text nach Kopfzeile"
|
1306 |
|
1307 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:267
|
1308 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:270
|
1309 |
+
msgid "Tracking display template"
|
1310 |
+
msgstr ""
|
1311 |
+
"Tracking-Display-Vorlage\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
1312 |
|
1313 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
1314 |
+
msgid "Select Template"
|
1315 |
+
msgstr ""
|
1316 |
+
"Vorlage auswählen\n"
|
1317 |
|
1318 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:275
|
1319 |
+
msgid "Table Layout"
|
1320 |
+
msgstr ""
|
1321 |
+
"Tabellenlayout\n"
|
1322 |
|
1323 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:291
|
1324 |
+
msgid "Simple Layout Design"
|
1325 |
+
msgstr ""
|
1326 |
+
"Einfaches Layout Design\n"
|
1327 |
|
1328 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:306
|
1329 |
+
msgid "Provider font size"
|
1330 |
+
msgstr ""
|
1331 |
+
"Provider-Schriftgröße\n"
|
1332 |
|
1333 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:323
|
1334 |
+
msgid "Provider font color"
|
1335 |
+
msgstr ""
|
1336 |
+
"Provider-Schriftfarbe\n"
|
1337 |
|
1338 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:339
|
1339 |
+
msgid "Show bottom border"
|
1340 |
msgstr ""
|
1341 |
+
"Zeige unteren Rand\n"
|
1342 |
|
1343 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:356
|
1344 |
+
msgid "Bottom border color"
|
1345 |
+
msgstr ""
|
1346 |
+
"Farbe des unteren Randes\n"
|
1347 |
|
1348 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
1349 |
+
msgid "Table layout Design"
|
1350 |
msgstr ""
|
1351 |
+
"Tabellenlayout Design\n"
|
1352 |
|
1353 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:389
|
1354 |
+
msgid "Display shipping provider name"
|
1355 |
+
msgstr ""
|
1356 |
+
"Name des Versandanbieters anzeigen\n"
|
1357 |
|
1358 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:406
|
1359 |
+
msgid "Display shipping provider image"
|
1360 |
msgstr ""
|
1361 |
+
"Bild des Versandanbieters anzeigen\n"
|
1362 |
|
1363 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:423
|
1364 |
+
msgid "Hide the ship date"
|
1365 |
+
msgstr ""
|
1366 |
+
"Verstecken Sie das Versanddatum\n"
|
|
|
1367 |
|
1368 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:440
|
1369 |
+
msgid "Use tracking number as a link"
|
1370 |
+
msgstr ""
|
1371 |
+
"Verwenden Sie die Tracking-Nummer als Link\n"
|
1372 |
|
1373 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:457
|
1374 |
+
msgid "Table Headers"
|
1375 |
+
msgstr ""
|
1376 |
+
"Tabellenüberschriften\n"
|
1377 |
|
1378 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:472
|
1379 |
+
msgid "Hide Table Headers"
|
1380 |
+
msgstr ""
|
1381 |
+
"Tabellenüberschriften ausblenden\n"
|
1382 |
|
1383 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:489
|
1384 |
+
msgid "Provider header text"
|
1385 |
+
msgstr ""
|
1386 |
+
"Provider-Header-Text\n"
|
1387 |
|
1388 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:511
|
1389 |
+
msgid "Tracking Number header text"
|
1390 |
+
msgstr ""
|
1391 |
+
"Tracking-Nummer-Header-Text\n"
|
1392 |
|
1393 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:532
|
1394 |
+
msgid "Ship date header text"
|
1395 |
+
msgstr ""
|
1396 |
+
"Versanddatum Kopfzeilentext\n"
|
1397 |
|
1398 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:554
|
1399 |
+
msgid "Track Label"
|
1400 |
+
msgstr "Track Label"
|
1401 |
|
1402 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:571
|
1403 |
+
msgid "Track header text"
|
1404 |
+
msgstr ""
|
1405 |
+
"Verfolgen Sie den Header-Text\n"
|
1406 |
|
1407 |
#: includes/customizer/class-wc-tracking-info-customizer.php:593
|
1408 |
+
msgid "Headers font size"
|
1409 |
+
msgstr ""
|
1410 |
+
"Schriftgröße der Überschriften\n"
|
1411 |
|
1412 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:610
|
1413 |
+
msgid "Headers font color"
|
1414 |
msgstr ""
|
1415 |
+
"Schriftfarbe der Überschriften\n"
|
1416 |
|
1417 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:626
|
1418 |
+
msgid "Table Content"
|
1419 |
+
msgstr ""
|
1420 |
+
"Tabelleninhalt\n"
|
1421 |
|
1422 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:641
|
1423 |
+
msgid "Padding"
|
1424 |
+
msgstr "Polsterung"
|
1425 |
|
1426 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:661
|
1427 |
+
msgid "Background color"
|
1428 |
+
msgstr ""
|
1429 |
+
"Hintergrundfarbe\n"
|
1430 |
|
1431 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:677
|
1432 |
+
msgid "Border color"
|
1433 |
+
msgstr "Randfarbe"
|
1434 |
|
1435 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:693
|
1436 |
+
msgid "Border size"
|
1437 |
msgstr ""
|
1438 |
+
"Rahmengrösse\n"
|
1439 |
|
1440 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
1441 |
+
msgid "Content Text align"
|
1442 |
msgstr ""
|
1443 |
+
"Inhalt Text ausrichten\n"
|
1444 |
|
1445 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:739
|
1446 |
+
msgid "Content font color"
|
1447 |
msgstr ""
|
1448 |
+
"Schriftfarbe des Inhalts\n"
|
1449 |
|
1450 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:755
|
1451 |
+
msgid "Content font size"
|
1452 |
msgstr ""
|
1453 |
+
"Schriftgröße des Inhalts\n"
|
1454 |
|
1455 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:772
|
1456 |
+
msgid "Content line height"
|
1457 |
+
msgstr "Höhe der Inhaltszeile"
|
|
|
1458 |
|
1459 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:793
|
1460 |
+
msgid "Content font weight"
|
1461 |
msgstr ""
|
1462 |
+
"Schriftgröße des Inhalts\n"
|
1463 |
|
1464 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:815
|
1465 |
+
msgid "Tracking Link"
|
1466 |
msgstr ""
|
1467 |
+
"Tracking-Link\n"
|
1468 |
|
1469 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:829
|
1470 |
+
msgid "Font Color"
|
1471 |
msgstr ""
|
1472 |
+
"Schriftfarbe\n"
|
1473 |
|
1474 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:845
|
1475 |
+
msgid "Background Color"
|
1476 |
msgstr ""
|
1477 |
+
"Hintergrundfarbe\n"
|
1478 |
|
1479 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:860
|
1480 |
+
msgid "Border"
|
1481 |
+
msgstr "Rand"
|
1482 |
|
1483 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:912
|
1484 |
msgid ""
|
1485 |
+
"To preview the tracking display, please add tracking information to at least "
|
1486 |
+
"one order and choose it in the preview order selection."
|
1487 |
msgstr ""
|
1488 |
+
"Um eine Vorschau der Tracking-Anzeige anzuzeigen, fügen Sie mindestens einer "
|
1489 |
+
"Bestellung Tracking-Informationen hinzu und wählen Sie diese in der Auswahl "
|
1490 |
+
"der Vorschau-Bestellung aus.\n"
|
1491 |
|
1492 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
|
1493 |
+
msgid "Your {site_title} order is now partially shipped"
|
1494 |
msgstr ""
|
1495 |
+
"Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
|
1496 |
|
1497 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
1498 |
+
msgid ""
|
1499 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
1500 |
+
"{site_title} has been partially shipped."
|
1501 |
msgstr ""
|
1502 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
|
1503 |
+
"{site_title} teilweise versendet wurde.\n"
|
1504 |
|
1505 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
|
1506 |
+
msgid "Enable Partially Shipped order status email"
|
|
|
|
|
1507 |
msgstr ""
|
1508 |
+
"Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
|
1509 |
|
1510 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
|
1511 |
+
msgid "Your {site_title} order is now updated tracking"
|
1512 |
msgstr ""
|
1513 |
+
"Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
|
1514 |
|
1515 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1516 |
+
msgid ""
|
1517 |
+
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
1518 |
+
"recent order from {site_title} has been updated."
|
|
|
1519 |
msgstr ""
|
1520 |
+
"Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
|
1521 |
+
"letzte Bestellung von {site_title} aktualisiert wurde.\n"
|
1522 |
|
1523 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
|
1524 |
+
msgid "Enable Updated Tracking order status email"
|
1525 |
msgstr ""
|
1526 |
+
"Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
|
1527 |
+
"Sendungsverfolgung\n"
|
1528 |
|
1529 |
+
#: includes/emails/class-shipment-delivered-email.php:32
|
1530 |
+
msgid "Delivered order"
|
1531 |
msgstr ""
|
1532 |
+
"Gelieferte Bestellung\n"
|
1533 |
|
1534 |
+
#: includes/emails/class-shipment-delivered-email.php:33
|
1535 |
+
msgid ""
|
1536 |
+
"Order delivered emails are sent to customers when their orders are marked "
|
1537 |
+
"delivered and usually indicate that their orders have been shipped."
|
1538 |
msgstr ""
|
1539 |
+
"Von der Bestellung zugestellte E-Mails werden an Kunden gesendet, wenn ihre "
|
1540 |
+
"Bestellungen als zugestellt markiert sind und in der Regel angeben, dass "
|
1541 |
+
"ihre Bestellungen versandt wurden.\n"
|
1542 |
|
1543 |
+
#: includes/emails/class-shipment-delivered-email.php:280
|
1544 |
+
msgid "Click Here"
|
1545 |
+
msgstr ""
|
1546 |
+
"Klick hier\n"
|
1547 |
+
|
1548 |
+
#: includes/emails/class-shipment-delivered-email.php:281
|
1549 |
msgid "Edit in customizer"
|
1550 |
msgstr ""
|
1551 |
+
"Bearbeiten Sie im Customizer\n"
|
1552 |
|
1553 |
+
#: includes/views/admin_options_bulk_upload.php:10
|
1554 |
msgid "Upload CSV"
|
1555 |
msgstr "CSV hochladen"
|
1556 |
|
1557 |
+
#: includes/views/admin_options_bulk_upload.php:20
|
1558 |
msgid ""
|
1559 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1560 |
"added)"
|
1562 |
"Tracking-Info ersetzen, falls vorhanden? (wenn nicht markiert, werden die "
|
1563 |
"Tracking-Informationen hinzugefügt)"
|
1564 |
|
1565 |
+
#: includes/views/admin_options_bulk_upload.php:29
|
1566 |
+
#: includes/views/admin_options_shipping_provider.php:120
|
1567 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
1568 |
msgid "Upload"
|
1569 |
msgstr "Hochladen"
|
1570 |
|
1571 |
+
#: includes/views/admin_options_bulk_upload.php:31
|
|
|
|
|
1572 |
msgid "Settings Saved."
|
1573 |
msgstr "Einstellungen gespeichert."
|
1574 |
|
1575 |
+
#: includes/views/admin_options_bulk_upload.php:41
|
1576 |
+
msgid "Upload Progress - "
|
1577 |
+
msgstr "Upload-Fortschritt -"
|
1578 |
+
|
1579 |
+
#: includes/views/admin_options_bulk_upload.php:50
|
1580 |
+
msgid "Sample CSV"
|
1581 |
+
msgstr ""
|
1582 |
+
"Beispiel CSV\n"
|
1583 |
+
|
1584 |
+
#: includes/views/admin_options_bulk_upload.php:55
|
1585 |
msgid "You can download an example of the csv file:"
|
1586 |
msgstr "Sie können ein Beispiel für die CSV-Datei herunterladen:"
|
1587 |
|
1588 |
+
#: includes/views/admin_options_bulk_upload.php:58
|
1589 |
msgid "Download sample csv file"
|
1590 |
msgstr "Laden Sie die Beispiel-CSV-Datei herunter"
|
1591 |
|
1592 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
1593 |
msgid ""
|
1594 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1595 |
msgstr ""
|
1596 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1597 |
|
1598 |
+
#: includes/views/admin_options_settings.php:15
|
1599 |
+
#: includes/views/admin_trackship_dashboard.php:62
|
1600 |
+
msgid "General Settings"
|
1601 |
+
msgstr "Allgemeine Einstellungen"
|
1602 |
|
1603 |
+
#: includes/views/admin_options_settings.php:26
|
1604 |
+
#: includes/views/admin_options_settings.php:181
|
1605 |
+
#: includes/views/admin_trackship_dashboard.php:73
|
1606 |
+
#: includes/views/admin_tracking_page_settings.php:101
|
1607 |
+
msgid "Save Changes"
|
1608 |
+
msgstr ""
|
1609 |
+
"Änderungen speichern\n"
|
1610 |
|
1611 |
+
#: includes/views/admin_options_settings.php:40
|
1612 |
+
msgid "Tracking Info Display"
|
|
|
1613 |
msgstr ""
|
1614 |
+
"Tracking-Info-Anzeige\n"
|
1615 |
|
1616 |
+
#: includes/views/admin_options_settings.php:49
|
1617 |
+
msgid "You can customize the tracking info display on emails and my account"
|
1618 |
+
msgstr ""
|
1619 |
+
"Sie können die Anzeige der Tracking-Informationen in E-Mails und in meinem "
|
1620 |
+
"Konto anpassen\n"
|
1621 |
|
1622 |
+
#: includes/views/admin_options_settings.php:52
|
1623 |
+
msgid "Launch Customizer"
|
1624 |
msgstr ""
|
1625 |
+
"Starten Sie den Customizer\n"
|
1626 |
|
1627 |
+
#: includes/views/admin_options_settings.php:62
|
1628 |
+
msgid "Custom Order Statuses"
|
1629 |
+
msgstr ""
|
1630 |
+
"Benutzerdefinierte Auftragsstatus\n"
|
1631 |
|
1632 |
+
#: includes/views/admin_options_settings.php:94
|
1633 |
+
#: includes/views/admin_options_settings.php:129
|
1634 |
+
#: includes/views/admin_options_settings.php:163
|
1635 |
+
msgid "Light Font"
|
1636 |
+
msgstr ""
|
1637 |
+
"Leichte Schrift\n"
|
1638 |
+
|
1639 |
+
#: includes/views/admin_options_settings.php:95
|
1640 |
+
#: includes/views/admin_options_settings.php:130
|
1641 |
+
#: includes/views/admin_options_settings.php:164
|
1642 |
+
msgid "Dark Font"
|
1643 |
+
msgstr ""
|
1644 |
+
"Dunkle Schrift\n"
|
1645 |
+
|
1646 |
+
#: includes/views/admin_options_settings.php:99
|
1647 |
+
#: includes/views/admin_options_settings.php:134
|
1648 |
+
#: includes/views/admin_options_settings.php:168
|
1649 |
+
msgid "Send Email"
|
1650 |
+
msgstr ""
|
1651 |
+
"E-Mail senden\n"
|
1652 |
+
|
1653 |
+
#: includes/views/admin_options_settings.php:190
|
1654 |
+
#, php-format
|
1655 |
+
msgid ""
|
1656 |
+
"<strong>Note:</strong> - If you use the custom order status, when you "
|
1657 |
+
"deactivate the plugin, you must register the order status, otherwise these "
|
1658 |
+
"orders will not display on your orders admin. You can find more information "
|
1659 |
+
"and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
|
1660 |
+
"php here."
|
1661 |
+
msgstr ""
|
1662 |
+
"Hinweis: - Wenn Sie den benutzerdefinierten Bestellstatus verwenden und das "
|
1663 |
+
"Plug-in deaktivieren, müssen Sie den Bestellstatus registrieren. Andernfalls "
|
1664 |
+
"werden diese Bestellungen nicht in Ihrem Bestelladministrator angezeigt. "
|
1665 |
+
"Weitere Informationen und das Code-Snippet zur Verwendung in functions.php "
|
1666 |
+
"finden Sie hier.\n"
|
1667 |
+
|
1668 |
+
#: includes/views/admin_options_shipping_provider.php:12
|
1669 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1670 |
+
#: includes/views/zorem_admin_sidebar.php:18
|
1671 |
+
#: includes/views/admin_options_addons.php:109
|
1672 |
+
msgid "Active"
|
1673 |
+
msgstr "Aktiv"
|
1674 |
+
|
1675 |
+
#: includes/views/admin_options_shipping_provider.php:13
|
1676 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1677 |
+
msgid "Inactive"
|
1678 |
+
msgstr "Inaktiv"
|
1679 |
+
|
1680 |
+
#: includes/views/admin_options_shipping_provider.php:14
|
1681 |
+
msgid "Custom"
|
1682 |
+
msgstr "Benutzerdefiniert"
|
1683 |
+
|
1684 |
+
#: includes/views/admin_options_shipping_provider.php:20
|
1685 |
+
msgid "Search by provider / country"
|
1686 |
+
msgstr ""
|
1687 |
+
"Suche nach Anbieter / Land\n"
|
1688 |
+
|
1689 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1690 |
+
msgid "Reset all:"
|
1691 |
+
msgstr ""
|
1692 |
+
"Alles zurücksetzen:\n"
|
1693 |
|
1694 |
+
#: includes/views/admin_options_shipping_provider.php:26
|
1695 |
+
#: includes/views/admin_options_shipping_provider.php:177
|
1696 |
+
#: includes/views/admin_options_shipping_provider.php:184
|
1697 |
+
msgid "Sync Shipping Providers"
|
1698 |
+
msgstr ""
|
1699 |
+
"Versandanbieter synchronisieren\n"
|
1700 |
+
|
1701 |
+
#: includes/views/admin_options_shipping_provider.php:102
|
1702 |
msgid "Add Custom Shipping Provider"
|
1703 |
msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
|
1704 |
|
1705 |
+
#: includes/views/admin_options_shipping_provider.php:109
|
1706 |
+
#: includes/views/admin_options_shipping_provider.php:146
|
1707 |
+
msgid "Shipping Country"
|
1708 |
+
msgstr ""
|
1709 |
+
"Lieferungsland\n"
|
1710 |
|
1711 |
+
#: includes/views/admin_options_shipping_provider.php:110
|
1712 |
+
#: includes/views/admin_options_shipping_provider.php:147
|
1713 |
msgid "Global"
|
1714 |
+
msgstr "Global"
|
1715 |
+
|
1716 |
+
#: includes/views/admin_options_shipping_provider.php:126
|
1717 |
+
#: includes/views/admin_options_shipping_provider.php:163
|
1718 |
+
msgid "How to add Tracking URL"
|
1719 |
msgstr ""
|
1720 |
+
"So fügen Sie eine Tracking-URL hinzu\n"
|
1721 |
|
1722 |
+
#: includes/views/admin_options_shipping_provider.php:139
|
1723 |
msgid "Edit Custom Shipping Provider"
|
1724 |
msgstr "Benutzerdefinierten Versandanbieter bearbeiten"
|
1725 |
|
1726 |
+
#: includes/views/admin_options_shipping_provider.php:178
|
1727 |
+
msgid ""
|
1728 |
+
"Syncing the shipping providers list add or updates the pre-set shipping "
|
1729 |
+
"providers and will not effect custom shipping providers."
|
1730 |
+
msgstr ""
|
1731 |
+
"Durch das Synchronisieren der Versandanbieterliste werden die "
|
1732 |
+
"voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
|
1733 |
+
"Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
|
1734 |
|
1735 |
+
#: includes/views/admin_options_shipping_provider.php:180
|
1736 |
msgid "Providers Added"
|
1737 |
msgstr "Anbieter hinzugefügt"
|
1738 |
|
1739 |
+
#: includes/views/admin_options_shipping_provider.php:181
|
1740 |
msgid "Providers Updated"
|
1741 |
msgstr "Anbieter aktualisiert"
|
1742 |
|
1743 |
+
#: includes/views/admin_options_shipping_provider.php:182
|
1744 |
msgid "Providers Deleted"
|
1745 |
msgstr "Anbieter gelöscht"
|
1746 |
|
1747 |
+
#: includes/views/admin_options_trackship_integration.php:17
|
1748 |
+
#: includes/views/admin_tracking_page_settings.php:7
|
|
|
|
|
|
|
|
|
1749 |
msgid "Tracking Page"
|
1750 |
msgstr "Tracking-Seite"
|
1751 |
|
1752 |
+
#: includes/views/admin_options_trackship_integration.php:20
|
1753 |
msgid "Shipment Status Notifications"
|
1754 |
+
msgstr ""
|
1755 |
+
"Benachrichtigungen zum Sendungsstatus\n"
|
1756 |
+
|
1757 |
+
#: includes/views/admin_options_trackship_integration.php:23
|
1758 |
+
msgid "Tools"
|
1759 |
+
msgstr "Werkzeuge"
|
1760 |
+
|
1761 |
+
#: includes/views/zorem_admin_sidebar.php:15
|
1762 |
+
#: includes/views/admin_options_addons.php:90
|
1763 |
+
msgid "Get This Add-on >"
|
1764 |
+
msgstr ""
|
1765 |
+
"Holen Sie sich dieses Add-on>\n"
|
1766 |
+
|
1767 |
+
#: includes/views/zorem_admin_sidebar.php:27
|
1768 |
+
msgid "Upgrade to PRO"
|
1769 |
+
msgstr ""
|
1770 |
+
"Upgrade auf PRO\n"
|
1771 |
+
|
1772 |
+
#: includes/views/admin_options_tools.php:23
|
1773 |
+
msgid ""
|
1774 |
+
"You can send all your orders from the last 30 days to get shipment status "
|
1775 |
+
"from TrackShip:"
|
1776 |
+
msgstr ""
|
1777 |
+
"Sie können alle Ihre Bestellungen der letzten 30 Tage senden, um den "
|
1778 |
+
"Sendungsstatus von TrackShip zu erhalten:\n"
|
1779 |
+
|
1780 |
+
#: includes/views/admin_options_addons.php:20
|
1781 |
+
msgid "TrackShip"
|
1782 |
+
msgstr "TrackShip"
|
1783 |
+
|
1784 |
+
#: includes/views/admin_options_addons.php:36
|
1785 |
+
msgid ""
|
1786 |
+
"TracksShip is a premium shipment tracking API flatform that fully integrates "
|
1787 |
+
"with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
|
1788 |
+
"the order management workflows, reduces customer inquiries, reduces time "
|
1789 |
+
"spent on customer service, and improves the post-purchase experience and "
|
1790 |
+
"satisfaction of your customers."
|
1791 |
+
msgstr ""
|
1792 |
+
"TracksShip ist eine Premium-Sendungsverfolgungs-API-Plattform, die mit der "
|
1793 |
+
"erweiterten Sendungsverfolgung vollständig in WooCommerce integriert ist. "
|
1794 |
+
"TrackShip automatisiert die Auftragsverwaltungsabläufe, reduziert "
|
1795 |
+
"Kundenanfragen, verkürzt den Zeitaufwand für den Kundenservice und "
|
1796 |
+
"verbessert die Erfahrung und Zufriedenheit Ihrer Kunden nach dem Kauf.\n"
|
1797 |
+
|
1798 |
+
#: includes/views/admin_options_addons.php:37
|
1799 |
+
msgid ""
|
1800 |
+
"You must have account TracksShip and connect your store in order to activate "
|
1801 |
+
"these advanced features:"
|
1802 |
+
msgstr ""
|
1803 |
+
"Sie müssen über ein TrackShip-Konto verfügen und eine Verbindung zu Ihrem "
|
1804 |
+
"Geschäft herstellen, um diese erweiterten Funktionen zu aktivieren:\n"
|
1805 |
+
|
1806 |
+
#: includes/views/admin_options_addons.php:51
|
1807 |
+
msgid "SIGNUP NOW"
|
1808 |
+
msgstr ""
|
1809 |
+
"JETZT REGISTRIEREN\n"
|
1810 |
+
|
1811 |
+
#: includes/views/admin_options_addons.php:80
|
1812 |
+
msgid ""
|
1813 |
+
"The Tracking Per Item add-on extends the AST plugin and allows you to attach "
|
1814 |
+
"tracking numbers to specific line items and to line item quantities."
|
1815 |
+
msgstr ""
|
1816 |
+
"Das Add-On Sendungsverfolgung erweitert das AST-Plug-In und ermöglicht Ihnen,"
|
1817 |
+
" Sendungsverfolgungsnummern an bestimmte Werbebuchungen und "
|
1818 |
+
"Werbebuchungsmengen anzuhängen.\n"
|
1819 |
+
|
1820 |
+
#: includes/views/admin_options_addons.php:110
|
1821 |
+
msgid "Deactivate"
|
1822 |
+
msgstr "Deaktivieren"
|
1823 |
+
|
1824 |
+
#: includes/views/admin_options_addons.php:112
|
1825 |
+
msgid "Activate"
|
1826 |
+
msgstr ""
|
1827 |
+
"aktivieren Sie\n"
|
1828 |
+
|
1829 |
+
#: includes/views/admin_tracking_page_settings.php:39
|
1830 |
+
msgid ""
|
1831 |
+
"Note - If you select a different page than the Shipment Tracking page, add "
|
1832 |
+
"the [wcast-track-order] shortcode to the selected page content."
|
1833 |
+
msgstr ""
|
1834 |
+
"Hinweis - Wenn Sie eine andere Seite als die Seite \"Sendungsverfolgung\" "
|
1835 |
+
"auswählen, fügen Sie dem ausgewählten Seiteninhalt den Shortcode [wcast-"
|
1836 |
+
"track-order] hinzu.\n"
|
1837 |
|
1838 |
+
#: includes/views/admin_tracking_page_settings.php:39
|
1839 |
+
msgid "more info"
|
1840 |
+
msgstr ""
|
1841 |
+
"Mehr Info\n"
|
1842 |
|
1843 |
+
#: includes/views/admin_tracking_page_settings.php:66
|
1844 |
+
msgid "Text Color"
|
1845 |
msgstr ""
|
1846 |
+
"Textfarbe\n"
|
1847 |
+
|
1848 |
+
#: includes/views/admin_tracking_page_settings.php:72
|
1849 |
+
msgid "Border Color"
|
1850 |
+
msgstr "Randfarbe"
|
1851 |
+
|
1852 |
+
#: includes/views/admin_tracking_page_settings.php:88
|
1853 |
+
msgid "Hide tracking event details"
|
1854 |
+
msgstr ""
|
1855 |
+
"Tracking-Ereignisdetails ausblenden\n"
|
1856 |
+
|
1857 |
+
#: includes/views/admin_tracking_page_settings.php:110
|
1858 |
+
msgid "Preview"
|
1859 |
+
msgstr "Vorschau"
|
1860 |
|
1861 |
+
#: includes/views/admin_status_notifications.php:3
|
1862 |
msgid "Shipment Status Notifications "
|
1863 |
msgstr "Benachrichtigungen zum Sendungsstatus"
|
1864 |
|
1865 |
+
#: includes/views/admin_status_notifications.php:27
|
1866 |
msgid ""
|
1867 |
"Carrier has accepted or picked up shipment from shipper. The shipment is on "
|
1868 |
"the way."
|
1870 |
"Der Spediteur hat die Sendung vom Versender angenommen oder abgeholt. Die "
|
1871 |
"Sendung ist unterwegs."
|
1872 |
|
1873 |
+
#: includes/views/admin_status_notifications.php:41
|
1874 |
msgid "Shipment is returned to sender"
|
1875 |
msgstr "Die Sendung wird an den Absender zurückgeschickt"
|
1876 |
|
1877 |
+
#: includes/views/admin_status_notifications.php:55
|
1878 |
msgid "The shipment is ready to pickup."
|
1879 |
msgstr "Die Sendung ist zur Abholung bereit."
|
1880 |
|
1881 |
+
#: includes/views/admin_status_notifications.php:68
|
1882 |
msgid "Carrier is about to deliver the shipment"
|
1883 |
msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern"
|
1884 |
|
1885 |
+
#: includes/views/admin_status_notifications.php:82
|
1886 |
msgid "The shipment was delivered successfully"
|
1887 |
msgstr "Die Sendung wurde erfolgreich zugestellt"
|
1888 |
|
1889 |
+
#: includes/views/admin_status_notifications.php:83
|
1890 |
msgid ""
|
1891 |
"You already have delivered email enabled, to enable this email you'll need "
|
1892 |
"to disable the order status delivered in settings."
|
1895 |
"aktivieren, müssen Sie den in den Einstellungen angegebenen Bestellstatus "
|
1896 |
"deaktivieren."
|
1897 |
|
1898 |
+
#: includes/views/admin_status_notifications.php:97
|
1899 |
msgid ""
|
1900 |
"Carrier attempted to deliver but failed, and usually leaves a notice and "
|
1901 |
"will try to deliver the package again."
|
1904 |
"Normalerweise hinterlässt er eine Nachricht und versucht, das Paket erneut "
|
1905 |
"zuzustellen."
|
1906 |
|
1907 |
+
#: templates/emails/tracking-info.php:225
|
1908 |
+
#: templates/myaccount/tracking-info.php:166
|
1909 |
+
msgid "Provider Name"
|
1910 |
+
msgstr "Anbietername"
|
1911 |
|
1912 |
+
#. %s: Order ID.
|
1913 |
+
#: templates/emails/wcast-email-order-details.php:47
|
1914 |
+
#, php-format
|
1915 |
+
msgid "Order number: %s"
|
|
|
|
|
1916 |
msgstr ""
|
1917 |
+
"Bestellnummer:% s\n"
|
1918 |
|
1919 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
|
1920 |
+
msgid "Cannot create existing order shipment tracking."
|
1921 |
msgstr ""
|
1922 |
+
"Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
|
1923 |
|
1924 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
|
1925 |
+
msgid "Invalid order ID."
|
|
|
|
|
|
|
|
|
1926 |
msgstr ""
|
1927 |
+
"Ungültige Bestellnummer.\n"
|
1928 |
|
1929 |
+
#: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
|
1930 |
+
msgid "Special character not allowd in tracking number"
|
|
|
|
|
1931 |
msgstr ""
|
1932 |
+
"Sonderzeichen in Tracking-Nummer nicht zulässig\n"
|
1933 |
|
1934 |
+
#. Name of the plugin
|
1935 |
+
msgid "Advanced Shipment Tracking for WooCommerce"
|
1936 |
msgstr ""
|
1937 |
+
"Erweiterte Sendungsverfolgung für WooCommerce\n"
|
1938 |
|
1939 |
+
#. Description of the plugin
|
1940 |
+
msgid ""
|
1941 |
+
"Add shipment tracking information to your WooCommerce orders and provide "
|
1942 |
+
"customers with an easy way to track their orders. Shipment tracking Info "
|
1943 |
+
"will appear in customers accounts (in the order panel) and in WooCommerce "
|
1944 |
+
"order complete email."
|
1945 |
+
msgstr ""
|
1946 |
+
"Fügen Sie Sendungsverfolgungsinformationen zu Ihren WooCommerce-Bestellungen "
|
1947 |
+
"hinzu und bieten Sie Kunden eine einfache Möglichkeit, ihre Bestellungen zu "
|
1948 |
+
"verfolgen. Sendungsverfolgungsinformationen werden in den Kundenkonten (im "
|
1949 |
+
"Bestellfeld) und in der vollständigen E-Mail für Bestellungen von "
|
1950 |
+
"WooCommerce angezeigt.\n"
|
lang/woo-advanced-shipment-tracking-el.mo
CHANGED
Binary file
|
lang/woo-advanced-shipment-tracking-el.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Greek\n"
|
9 |
"Language: el\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
@@ -12,9 +12,9 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
-
"X-Loco-Version: 2.3.
|
16 |
|
17 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
@@ -23,8 +23,12 @@ msgstr ""
|
|
23 |
"Παρακαλούμε εγκαταστήστε και ενεργοποιήστε %sWooCommerce%s for WooCommerce "
|
24 |
"Advanced Shipment Tracking!"
|
25 |
|
26 |
-
#: woocommerce-advanced-shipment-tracking.php:
|
27 |
-
|
|
|
|
|
|
|
|
|
28 |
#, php-format
|
29 |
msgid ""
|
30 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
@@ -34,497 +38,454 @@ msgid ""
|
|
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:
|
39 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1144
|
40 |
-
msgid "Shipped"
|
41 |
-
msgstr "Στάλθηκε"
|
42 |
-
|
43 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:226
|
44 |
-
#, php-format
|
45 |
-
msgid "Shipped <span class=\"count\">(%s)</span>"
|
46 |
-
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
47 |
-
msgstr[0] "Στάλθηκε <span class=\"count\">(%s)</span>"
|
48 |
-
msgstr[1] "Στάλθηκαν <span class=\"count\">(%s)</span>"
|
49 |
-
|
50 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:240
|
51 |
-
msgid "Change status to shipped"
|
52 |
-
msgstr "Αλλαγή κατάστασης σε απεστάλει"
|
53 |
-
|
54 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:250
|
55 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:279
|
56 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1594
|
57 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1785
|
58 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2190
|
59 |
-
#: includes/customizer/class-wcast-customizer.php:104
|
60 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:115
|
61 |
-
#: includes/views/admin_options_trackship_integration.php:134
|
62 |
-
msgid "Delivered"
|
63 |
-
msgstr "Παραδόθηκε"
|
64 |
-
|
65 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:255
|
66 |
-
#, php-format
|
67 |
-
msgid "Delivered <span class=\"count\">(%s)</span>"
|
68 |
-
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
69 |
-
msgstr[0] "Παραδόθηκε <span class=\"count\">(%s)</span>"
|
70 |
-
msgstr[1] "Παραδόθηκαν <span class=\"count\">(%s)</span>"
|
71 |
-
|
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 "Ενημερωμένη παρακολούθηση"
|
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] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
82 |
-
msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
83 |
-
|
84 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:320
|
85 |
-
msgid "Change status to delivered"
|
86 |
-
msgstr "Αλλαγή κατάστασης σε παραδόθηκε"
|
87 |
-
|
88 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:523
|
89 |
msgid "Shipment status"
|
90 |
-
msgstr "Κατάσταση
|
91 |
|
92 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
93 |
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:
|
99 |
-
|
100 |
-
msgstr "Παραγγελία"
|
101 |
-
|
102 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:668
|
103 |
-
msgid "Item"
|
104 |
-
msgstr "Αντικείμενο"
|
105 |
-
|
106 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:669
|
107 |
-
msgid "Line Item"
|
108 |
-
msgstr "Στοιχείο γραμμής"
|
109 |
-
|
110 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:670
|
111 |
-
msgid "Class"
|
112 |
-
msgstr "Κλάση"
|
113 |
-
|
114 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:671
|
115 |
-
msgid "Delete the selected rates?"
|
116 |
-
msgstr "Να διαγραφούν οι επιλεγμένες τιμές;"
|
117 |
-
|
118 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:672
|
119 |
-
msgid "Duplicate the selected rates?"
|
120 |
-
msgstr "Να αντιγραφούν οι επιλεγμένες τιμές;"
|
121 |
-
|
122 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:673
|
123 |
-
msgid "Really want to bulk change all provider status?"
|
124 |
-
msgstr "Θέλετε πράγματι να αλλάξετε μαζικά την κατάσταση όλων των παροχέων;"
|
125 |
-
|
126 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:674
|
127 |
-
#: includes/views/admin_options_settings.php:26
|
128 |
msgid "Data saved successfully."
|
129 |
msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
|
130 |
|
131 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
132 |
msgid "Really delete this entry? This will not be undo."
|
133 |
msgstr ""
|
134 |
"Θέλετε πραγματικά να διαγράψετε αυτή την εγγραφή; Η ενέργεια αυτή δεν μπορεί "
|
135 |
"να αναιρεθεί."
|
136 |
|
137 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
138 |
msgid "You can upload only csv file."
|
139 |
msgstr "Μπορείτε να ανεβάσετε μόνο το αρχείο csv."
|
140 |
|
141 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
142 |
msgid "This browser does not support HTML5."
|
143 |
msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
|
144 |
|
145 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
146 |
msgid "Please upload a valid CSV file."
|
147 |
msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
|
148 |
|
149 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
150 |
msgid "Shipping Providers"
|
151 |
msgstr "Προμηθευτές αποστολής"
|
152 |
|
153 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
154 |
-
msgid "Settings"
|
155 |
-
msgstr "Ρυθμίσεις"
|
156 |
-
|
157 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
158 |
msgid "Bulk Upload"
|
159 |
-
msgstr "Μαζική
|
160 |
|
161 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
162 |
-
msgid "
|
163 |
-
msgstr ""
|
164 |
|
165 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
msgid "Connected"
|
167 |
msgstr ""
|
168 |
"Συνδεδεμένος\n"
|
169 |
|
170 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
171 |
-
|
172 |
-
"
|
173 |
-
"
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
|
|
|
|
|
|
|
|
178 |
|
179 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
180 |
#, php-format
|
181 |
-
msgid ""
|
182 |
-
"
|
183 |
-
"these advanced features."
|
184 |
-
msgstr ""
|
185 |
-
"Πρέπει να έχετε λογαριασμό και να συνδέσετε το κατάστημά σας στο% s για να "
|
186 |
-
"ενεργοποιήσετε αυτές τις προηγμένες λειτουργίες.\n"
|
187 |
|
188 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
189 |
#, php-format
|
190 |
-
msgid "
|
191 |
-
msgstr ""
|
192 |
-
"50 δωρεάν trackers για κάθε νέο λογαριασμό! Βρείτε τον λογαριασμό σας% s "
|
193 |
-
"τώρα >>"
|
194 |
|
195 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
196 |
-
msgid "TrackShip Connection Status"
|
197 |
-
msgstr "Κατάσταση σύνδεσης TrackShip"
|
198 |
-
|
199 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:995
|
200 |
-
#: includes/emails/class-shipment-delivered-email.php:226
|
201 |
msgid "Enable/Disable"
|
202 |
-
msgstr "
|
203 |
|
204 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
205 |
msgid "Set order status Delivered when order is delivered"
|
206 |
msgstr ""
|
207 |
-
"Ορισμός σειράς παραγγελίας Παραδίδεται κατά την παράδοση της
|
208 |
|
209 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
210 |
-
#, php-format
|
211 |
-
msgid ""
|
212 |
-
"You have %s %s orders that you can track with TrackShip, you can send these "
|
213 |
-
"shipments to TrackShip in Bulk."
|
214 |
-
msgstr ""
|
215 |
-
|
216 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1009
|
217 |
-
msgid "Get Shipment Status"
|
218 |
-
msgstr ""
|
219 |
-
|
220 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1047
|
221 |
msgid ""
|
222 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
223 |
"for the tracking page to work."
|
224 |
msgstr ""
|
|
|
|
|
225 |
|
226 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
227 |
msgid "Select Tracking Page"
|
228 |
-
msgstr ""
|
229 |
-
"Επιλέξτε Σελίδα παρακολούθησης\n"
|
230 |
-
|
231 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1063
|
232 |
-
#: includes/customizer/class-wc-tracking-page-customizer.php:150
|
233 |
-
msgid "Remove Trackship branding from tracking page"
|
234 |
-
msgstr ""
|
235 |
-
"Καταργήστε την επωνυμία Trackship από τη σελίδα παρακολούθησης\n"
|
236 |
|
237 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
238 |
msgid "Use the tracking page in the customer email/my account tracking link"
|
239 |
msgstr ""
|
240 |
"Χρησιμοποιήστε τη σελίδα παρακολούθησης στη σύνδεση ηλεκτρονικού "
|
241 |
-
"ταχυδρομείου πελάτη / λογαριασμού παρακολούθησης
|
242 |
|
243 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
244 |
-
|
|
|
245 |
msgstr ""
|
246 |
-
"
|
|
|
|
|
|
|
|
|
247 |
|
248 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
249 |
msgid "Select content border color for tracking page"
|
250 |
msgstr ""
|
251 |
-
"Επιλέξτε το χρώμα περιγράμματος περιεχομένου για τη σελίδα
|
252 |
|
253 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
254 |
-
|
255 |
-
|
256 |
-
"state"
|
257 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
|
259 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
msgid ""
|
261 |
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
262 |
"will be selected by default when adding tracking info to orders."
|
263 |
msgstr ""
|
|
|
|
|
|
|
264 |
|
265 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
266 |
-
msgid "
|
267 |
-
msgstr "Ολοκληρώθηκε το"
|
268 |
-
|
269 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1149
|
270 |
-
msgid ""
|
271 |
-
"Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
|
272 |
-
"state"
|
273 |
msgstr ""
|
|
|
274 |
|
275 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
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 |
|
281 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
282 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
283 |
-
msgstr "Μετονομασία της κατάστασης \"Ολοκληρωμένη\" σε \"Στάλθηκε\""
|
284 |
-
|
285 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1169
|
286 |
-
msgid "On which customer order status email to include tracking info?"
|
287 |
msgstr ""
|
288 |
-
"
|
289 |
-
"
|
290 |
|
291 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1171
|
297 |
-
msgid "Customer Invoice"
|
298 |
-
msgstr "τιμολόγιο πελάτη"
|
299 |
-
|
300 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1172
|
301 |
-
msgid "Refunded"
|
302 |
-
msgstr "Επιστροφή χρημάτων"
|
303 |
-
|
304 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1173
|
305 |
-
msgid "Processing"
|
306 |
-
msgstr "Επεξεργασία"
|
307 |
-
|
308 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1174
|
309 |
-
msgid "Failed"
|
310 |
-
msgstr "Απέτυχε"
|
311 |
|
312 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
313 |
msgid "Show tracking info in Invoice"
|
314 |
msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο τιμολόγιο"
|
315 |
|
316 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
317 |
msgid "Show tracking info in Packing Slip"
|
318 |
msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο πακέτο συσκευασίας"
|
319 |
|
320 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
321 |
-
msgid "Enable
|
322 |
-
msgstr ""
|
323 |
-
"Ενεργοποίηση νέας προσαρμοσμένης κατάστασης παραγγελίας - \"Παραδόθηκε\""
|
324 |
|
325 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
326 |
msgid ""
|
327 |
"if you enable the delivered item, you will have the option to send delivered "
|
328 |
"email notifications."
|
329 |
msgstr ""
|
330 |
-
"
|
331 |
-
"
|
332 |
|
333 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
334 |
-
msgid "Delivered
|
335 |
-
msgstr "Χρώμα
|
336 |
|
337 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
338 |
-
|
339 |
-
|
340 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
msgstr ""
|
342 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
343 |
|
344 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
345 |
-
#: includes/views/admin_options_trackship_integration.php:80
|
346 |
-
#: includes/views/admin_options_trackship_integration.php:94
|
347 |
-
#: includes/views/admin_options_trackship_integration.php:108
|
348 |
-
#: includes/views/admin_options_trackship_integration.php:121
|
349 |
-
#: includes/views/admin_options_trackship_integration.php:135
|
350 |
-
#: includes/views/admin_options_trackship_integration.php:150
|
351 |
-
msgid "Edit"
|
352 |
-
msgstr "Επεξεργασία"
|
353 |
-
|
354 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:1236
|
355 |
msgid ""
|
356 |
-
"
|
357 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
msgstr ""
|
359 |
-
"
|
360 |
-
"απενεργοποιείτε την προσθήκη"
|
361 |
|
362 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
363 |
-
msgid "
|
364 |
-
msgstr "
|
|
|
365 |
|
366 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
367 |
-
msgid "
|
368 |
-
msgstr "
|
|
|
|
|
369 |
|
370 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
371 |
-
|
|
|
|
|
|
|
|
|
372 |
msgid ""
|
373 |
-
"
|
374 |
-
"
|
375 |
-
"in order to see these orders in the orders admin. You can find the snippet "
|
376 |
-
"to use in functions.php %s or we can set to change all your \"delivered\" "
|
377 |
-
"order to \"completed\"."
|
378 |
msgstr ""
|
379 |
-
"
|
380 |
-
"
|
381 |
-
|
382 |
-
|
383 |
-
"
|
384 |
-
|
|
|
|
|
|
|
|
|
385 |
|
386 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
387 |
-
msgid "
|
388 |
msgstr ""
|
389 |
-
"
|
|
|
390 |
|
391 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
392 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
393 |
-
#: includes/customizer/class-wcast-customizer.php:
|
394 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
395 |
-
#: includes/views/
|
396 |
msgid "In Transit"
|
397 |
msgstr ""
|
398 |
"Στη διαμετακόμιση\n"
|
399 |
|
400 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
401 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
402 |
-
#: includes/customizer/class-wcast-customizer.php:
|
403 |
msgid "Pre Transit"
|
404 |
msgstr ""
|
405 |
"Pre Transit\n"
|
406 |
|
407 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
408 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
msgstr ""
|
410 |
-
"
|
411 |
|
412 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
413 |
-
#: includes/
|
414 |
-
#: includes/customizer/class-
|
415 |
-
#: includes/
|
|
|
416 |
msgid "Available For Pickup"
|
417 |
msgstr ""
|
418 |
"Διαθέσιμο για παραλαβή\n"
|
419 |
|
420 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
421 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
422 |
-
#: includes/customizer/class-wcast-customizer.php:
|
423 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
424 |
-
#: includes/views/
|
425 |
msgid "Return To Sender"
|
426 |
msgstr ""
|
427 |
"Επιστροφή στον αποστολέα\n"
|
428 |
|
429 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
430 |
-
|
431 |
-
|
432 |
-
|
|
|
|
|
|
|
433 |
|
434 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
435 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
436 |
msgid "Unknown"
|
437 |
-
msgstr ""
|
438 |
-
"Αγνωστος\n"
|
439 |
|
440 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
441 |
msgid "Pending TrackShip"
|
442 |
-
msgstr ""
|
443 |
-
"Εκκρεμεί το TrackShip\n"
|
444 |
|
445 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
446 |
-
|
447 |
-
|
448 |
-
"Μη
|
449 |
|
450 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
451 |
-
|
452 |
-
|
453 |
-
"Ο μεταφορέας δεν
|
454 |
|
455 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
456 |
msgid "Invalid User Key"
|
457 |
-
msgstr ""
|
458 |
|
459 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
460 |
-
msgid "
|
461 |
-
msgstr "
|
462 |
|
463 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
464 |
msgid "Shipped Order"
|
465 |
msgstr "Αποστολή Παραγγελίας"
|
466 |
|
467 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
468 |
msgid "Mark order as delivered"
|
469 |
msgstr "Σημειώστε την παραγγελία όπως παραδόθηκε"
|
470 |
|
471 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
472 |
msgid "Add Tracking"
|
473 |
-
msgstr ""
|
474 |
|
475 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
476 |
msgid "Change order status to"
|
477 |
msgstr "Αλλαγή κατάστασης παραγγελίας σε"
|
478 |
|
479 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
480 |
-
#: includes/views/admin_options_shipping_provider.php:
|
481 |
#, php-format
|
482 |
msgid "You don't have any %s shipping providers."
|
483 |
msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
|
484 |
|
485 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
486 |
-
#: includes/
|
487 |
-
|
488 |
-
|
489 |
-
msgstr "δείτε λεπτομέρειες"
|
490 |
-
|
491 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2146
|
492 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2158
|
493 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2170
|
494 |
-
msgid "hide details"
|
495 |
-
msgstr "Κρύψε τις λεπτομέρειες"
|
496 |
-
|
497 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2188
|
498 |
-
msgid "Available for Pickup"
|
499 |
-
msgstr ""
|
500 |
-
|
501 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2189
|
502 |
-
msgid "Out for Delivery"
|
503 |
-
msgstr ""
|
504 |
-
|
505 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2191
|
506 |
-
#: includes/customizer/class-wcast-customizer.php:112
|
507 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:113
|
508 |
-
#: includes/views/admin_options_trackship_integration.php:149
|
509 |
-
msgid "Failed Attempt"
|
510 |
-
msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
|
511 |
-
|
512 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2193
|
513 |
-
msgid "Carrier Unsupported"
|
514 |
-
msgstr ""
|
515 |
-
|
516 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:2195
|
517 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:457
|
518 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:813
|
519 |
-
msgid "Invalid Tracking Number"
|
520 |
-
msgstr ""
|
521 |
-
"Μη έγκυρος αριθμός παρακολούθησης\n"
|
522 |
|
523 |
-
#: includes/class-wc-advanced-shipment-tracking-admin.php:
|
524 |
msgid "Filter by shipment status"
|
525 |
-
msgstr ""
|
526 |
|
527 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
528 |
msgid ""
|
529 |
"To track your order please enter your Order ID in the box below and press "
|
530 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
@@ -535,181 +496,359 @@ msgstr ""
|
|
535 |
" Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
|
536 |
"να έχετε λάβει.\n"
|
537 |
|
538 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
539 |
-
|
540 |
-
msgstr ""
|
541 |
-
"Αριθμός Παραγγελίας\n"
|
542 |
-
|
543 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:139
|
544 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:140
|
545 |
msgid "Found in your order confirmation email."
|
546 |
msgstr ""
|
547 |
"Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
|
548 |
|
549 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
550 |
msgid "Order Email"
|
551 |
msgstr ""
|
552 |
"Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
|
553 |
|
554 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
555 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
556 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
557 |
-
#: includes/class-wc-
|
558 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
559 |
-
#:
|
560 |
-
#:
|
561 |
-
#: templates/emails/tracking-info.php:152
|
562 |
-
#: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
|
563 |
msgid "Track"
|
564 |
msgstr "Παρακολούθηση"
|
565 |
|
566 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
567 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
568 |
#, php-format
|
569 |
msgid "Shipment - %s (out of %s)"
|
570 |
msgstr ""
|
571 |
"Αποστολή -% s (από% s)\n"
|
572 |
|
573 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
574 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
575 |
-
msgid "
|
576 |
-
msgstr "
|
577 |
|
578 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
579 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
580 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
581 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
582 |
-
|
583 |
-
|
|
|
|
|
|
|
584 |
|
585 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
586 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
587 |
msgid "Tracking Details"
|
588 |
msgstr "Στοιχεία παρακολούθησης"
|
589 |
|
590 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
591 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
592 |
msgid "view more"
|
593 |
msgstr "Δείτε περισσότερα"
|
594 |
|
595 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
596 |
-
#: includes/class-wc-advanced-shipment-tracking-front.php:
|
|
|
|
|
597 |
msgid "view less"
|
598 |
msgstr "δείτε λιγότερο"
|
599 |
|
600 |
-
|
601 |
-
#: includes/class-wc-advanced-shipment-tracking
|
602 |
-
|
603 |
-
msgid ""
|
604 |
-
"We added many improvements to %1$s, please help and give us a review :) "
|
605 |
-
"Thanks!"
|
606 |
-
msgstr ""
|
607 |
-
"Προσθέσαμε πολλές βελτιώσεις στο% 1 $ s, παρακαλώ βοηθήστε και δώστε μας μια "
|
608 |
-
"κριτική :) Ευχαριστώ!"
|
609 |
-
|
610 |
-
#: includes/class-wc-advanced-shipment-tracking.php:93
|
611 |
-
#: includes/class-wc-advanced-shipment-tracking.php:244
|
612 |
-
#: includes/customizer/class-wcast-customizer.php:30
|
613 |
msgid "Shipment Tracking"
|
614 |
msgstr "Παρακολούθηση Αποστολής"
|
615 |
|
616 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
617 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
618 |
-
|
619 |
-
|
|
|
620 |
|
621 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
622 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
623 |
-
|
624 |
-
|
|
|
625 |
|
626 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
627 |
msgid "Add Tracking Number"
|
628 |
-
msgstr ""
|
629 |
|
630 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
631 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
|
|
|
|
632 |
msgid "Provider:"
|
633 |
msgstr "Μεταφορέας:"
|
634 |
|
635 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
636 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
637 |
msgid "Tracking number:"
|
638 |
msgstr "Αριθμός Παρακολούθησης:"
|
639 |
|
640 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
641 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
|
|
642 |
msgid "Date shipped:"
|
643 |
msgstr "Ημερομηνία αποστολής:"
|
644 |
|
645 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
646 |
-
#:
|
647 |
-
|
648 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
649 |
|
650 |
#. 1: shipping date
|
651 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
652 |
-
#: templates/pip/tracking-info.php:29
|
653 |
#, php-format
|
654 |
msgid "Shipped on %s"
|
655 |
msgstr "Στάλθηκε στις %s"
|
656 |
|
657 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
658 |
-
msgid "Delete"
|
659 |
-
msgstr "Διαγραφή"
|
660 |
-
|
661 |
-
#: includes/class-wc-advanced-shipment-tracking.php:365
|
662 |
msgid "Add Tracking Info"
|
663 |
msgstr "Προσθήκη Παρακολούθησης"
|
664 |
|
665 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
666 |
msgid "Select Provider"
|
667 |
msgstr "Επιλογή Παροχέα"
|
668 |
|
669 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
670 |
msgid "Save Tracking"
|
671 |
msgstr "Αποθήκευση Παρακολούθησης"
|
672 |
|
673 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
674 |
msgid "Preview:"
|
675 |
msgstr "Επισκόπηση:"
|
676 |
|
677 |
-
#: includes/class-wc-advanced-shipment-tracking.php:
|
678 |
-
|
679 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
|
681 |
-
#: includes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
682 |
msgid "Shipment Status Emails"
|
683 |
msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
|
684 |
|
685 |
-
#: includes/customizer/class-wcast-customizer.php:
|
686 |
msgid "Tracking info display"
|
687 |
msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
|
688 |
|
689 |
-
#: includes/customizer/class-wcast-customizer.php:
|
690 |
-
|
|
|
691 |
msgstr ""
|
692 |
-
"
|
693 |
-
"πληροφοριών παρακολούθησης"
|
694 |
|
695 |
-
#: includes/customizer/class-wcast-customizer.php:
|
696 |
-
#: includes/customizer/class-wc-
|
697 |
-
|
698 |
-
|
|
|
|
|
|
|
|
|
699 |
msgstr ""
|
700 |
-
"
|
701 |
|
702 |
-
#: includes/customizer/class-wcast-customizer.php:
|
703 |
msgid "Select order to preview"
|
704 |
msgstr ""
|
705 |
"Επιλέξτε παραγγελία για προεπισκόπηση\n"
|
706 |
|
707 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
708 |
msgid "Your order #{order_number} is available for pickup"
|
709 |
msgstr ""
|
710 |
"Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
|
711 |
|
712 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
713 |
msgid ""
|
714 |
"Hi there. we thought you'd like to know that your recent order from "
|
715 |
"{site_title} is available for pickup."
|
@@ -717,225 +856,178 @@ msgstr ""
|
|
717 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
718 |
"από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
|
719 |
|
720 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
721 |
msgid "Available For Pickup shipment status email"
|
722 |
msgstr ""
|
723 |
"Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής\n"
|
724 |
|
725 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
726 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
727 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
728 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
729 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
730 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
731 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
732 |
msgid "This section lets you customize the Email Content."
|
733 |
msgstr ""
|
734 |
"Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
|
735 |
"ταχυδρομείου.\n"
|
736 |
|
737 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
738 |
msgid "Enable Available For Pickup shipment status email"
|
739 |
msgstr ""
|
740 |
"Ενεργοποιήστε το Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής"
|
741 |
|
742 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
743 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
744 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
745 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
746 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
747 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
748 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
749 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
750 |
msgid "Preview order"
|
751 |
msgstr ""
|
752 |
"Προεπισκόπηση σειράς\n"
|
753 |
|
754 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
755 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
756 |
-
#: includes/customizer/class-wc-
|
757 |
-
#: includes/customizer/class-wc-
|
758 |
-
#: includes/customizer/class-wc-
|
759 |
-
#: includes/customizer/class-wc-
|
760 |
-
|
761 |
-
msgstr "Προς"
|
762 |
-
|
763 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
|
764 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:200
|
765 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:197
|
766 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:200
|
767 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
|
768 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:201
|
769 |
-
msgid ""
|
770 |
-
"Enter emails here or use variables such as {customer_email}. Multiple emails "
|
771 |
-
"can be separated by commas."
|
772 |
-
msgstr ""
|
773 |
-
"Εισάγετε emails εδώ ή χρησιμοποιήστε μεταβλητές όπως {customer_email}. "
|
774 |
-
"Πολλαπλά emails μπορούν να διαχωριστούν με κόμμα."
|
775 |
-
|
776 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
|
777 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:206
|
778 |
-
#: includes/customizer/class-wc-email-customizer.php:218
|
779 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:203
|
780 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:206
|
781 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
|
782 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:207
|
783 |
msgid "E.g. {customer.email}, admin@example.org"
|
784 |
msgstr "Πχ: {customer.email}, admin@example.org"
|
785 |
|
786 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
787 |
-
#: includes/customizer/class-wc-
|
788 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
789 |
-
#: includes/customizer/class-wc-
|
790 |
-
#: includes/customizer/class-wc-
|
791 |
-
#: includes/customizer/class-wc-
|
792 |
-
#: includes/customizer/class-wc-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
#: includes/customizer/class-wc-
|
797 |
-
#: includes/customizer/class-wc-
|
798 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:222
|
799 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:244
|
800 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:219
|
801 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:241
|
802 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:222
|
803 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:244
|
804 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
|
805 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
|
806 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:223
|
807 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:245
|
808 |
msgid "Available placeholders: {site_title}, {order_number}"
|
809 |
msgstr "Διαθέσιμοι εντολοδότες: {site_title}, {order_number}"
|
810 |
|
811 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
812 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
813 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
814 |
-
#: includes/customizer/class-wc-
|
815 |
-
#: includes/customizer/class-wc-
|
816 |
-
#: includes/customizer/class-wc-
|
817 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:229
|
818 |
-
msgid "Please enter email subject here"
|
819 |
-
msgstr "Παρακαλούμε εισάγετε το θέμα email εδώ"
|
820 |
-
|
821 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
|
822 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:243
|
823 |
-
#: includes/customizer/class-wc-email-customizer.php:257
|
824 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:240
|
825 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:243
|
826 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
|
827 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:244
|
828 |
-
#: includes/emails/class-shipment-delivered-email.php:250
|
829 |
-
msgid "Email heading"
|
830 |
-
msgstr "Κεφαλίδα email"
|
831 |
-
|
832 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
|
833 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:250
|
834 |
-
#: includes/customizer/class-wc-email-customizer.php:264
|
835 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:247
|
836 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:250
|
837 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
|
838 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:251
|
839 |
-
msgid "Please enter email heading here"
|
840 |
-
msgstr "Παρακαλούμε εισάγετε την κεφαλίδα email εδώ"
|
841 |
-
|
842 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
|
843 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:265
|
844 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:262
|
845 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:265
|
846 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
|
847 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:266
|
848 |
msgid "Show tracking details"
|
849 |
msgstr ""
|
850 |
"Εμφάνιση λεπτομερειών παρακολούθησης\n"
|
851 |
|
852 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
853 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
854 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
855 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
856 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
857 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
858 |
msgid "Show order details"
|
859 |
msgstr ""
|
860 |
"Εμφάνιση λεπτομερειών παραγγελίας\n"
|
861 |
|
862 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
863 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
864 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
865 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
866 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
867 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
868 |
msgid "Show billing address"
|
869 |
msgstr ""
|
870 |
"Εμφάνιση διεύθυνσης χρέωσης\n"
|
871 |
|
872 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
873 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
874 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
875 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
876 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
877 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
878 |
msgid "Show shipping address"
|
879 |
msgstr ""
|
880 |
"Εμφάνιση της διεύθυνσης αποστολής\n"
|
881 |
|
882 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
883 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
884 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
885 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
886 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
887 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
888 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
889 |
msgid "Google Analytics link tracking"
|
890 |
-
msgstr ""
|
891 |
-
|
892 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
893 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
894 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
895 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
896 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
897 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
898 |
msgid "This will be appended to URL in the email content"
|
899 |
msgstr ""
|
900 |
-
|
901 |
-
|
902 |
-
#: includes/customizer/class-wc-
|
903 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
904 |
-
#: includes/customizer/class-wc-
|
905 |
-
#: includes/customizer/class-wc-
|
906 |
-
#: includes/customizer/class-wc-
|
907 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
908 |
msgid "Email content"
|
909 |
msgstr "Περιεχόμενο email"
|
910 |
|
911 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
912 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
913 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
914 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
915 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
916 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
917 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
|
|
|
|
918 |
msgid "Available placeholders"
|
919 |
msgstr ""
|
920 |
"Διαθέσιμες επιλογές κράτησης θέσης\n"
|
921 |
|
922 |
-
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:
|
923 |
-
#: includes/customizer/class-wc-
|
924 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
925 |
-
#: includes/customizer/class-wc-
|
926 |
-
#: includes/customizer/class-wc-
|
927 |
-
#: includes/customizer/class-wc-
|
928 |
-
#: includes/customizer/class-wc-
|
929 |
-
#: includes/customizer/class-wc-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
#: includes/customizer/class-wc-
|
|
|
|
|
|
|
|
|
|
|
|
|
935 |
msgid "Your order #{order_number} has been delivered"
|
936 |
-
msgstr ""
|
937 |
|
938 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
|
|
939 |
msgid ""
|
940 |
"Hi there. we thought you'd like to know that your recent order from "
|
941 |
"{site_title} has been Delivered."
|
@@ -943,95 +1035,87 @@ msgstr ""
|
|
943 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
944 |
"από {site_title} έχει παραδοθεί.\n"
|
945 |
|
946 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
947 |
msgid "Delivered shipment status email"
|
948 |
msgstr ""
|
949 |
"Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
|
950 |
|
951 |
-
#: includes/customizer/class-wc-delivered-email-customizer.php:
|
952 |
msgid "Enable Delivered shipment status email"
|
953 |
msgstr "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής"
|
954 |
|
955 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
956 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
957 |
msgid "Your {site_title} order is now delivered"
|
958 |
msgstr ""
|
959 |
"Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
|
960 |
|
961 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
962 |
-
#: includes/emails/class-shipment-delivered-email.php:102
|
963 |
-
msgid "Thanks for shopping with us"
|
964 |
-
msgstr ""
|
965 |
-
"Ευχαριστούμε που ψωνίζεις μαζί μας\n"
|
966 |
-
|
967 |
-
#: includes/customizer/class-wc-email-customizer.php:124
|
968 |
-
msgid "Hi there. Your recent order on {site_title} has been delivered."
|
969 |
-
msgstr ""
|
970 |
-
"Γεια σου. Η πρόσφατη σας παραγγελία στο {site_title} έχει παραδοθεί.\n"
|
971 |
-
|
972 |
-
#: includes/customizer/class-wc-email-customizer.php:171
|
973 |
msgid "Enable Delivered order status email"
|
974 |
msgstr ""
|
975 |
"Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
|
976 |
|
977 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
978 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
979 |
msgid "Please select a order..."
|
980 |
msgstr ""
|
981 |
"Παρακαλώ επιλέξτε παραγγελία ...\n"
|
982 |
|
983 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
988 |
-
|
989 |
-
"Enter emails use variables such as {customer_email}. Multiple emails can be "
|
990 |
-
"separated by commas."
|
991 |
-
msgstr ""
|
992 |
-
|
993 |
-
#: includes/customizer/class-wc-email-customizer.php:235
|
994 |
-
#: includes/customizer/class-wc-email-customizer.php:258
|
995 |
msgid "Available variables: {site_title}, {order_number}"
|
996 |
-
msgstr ""
|
997 |
|
998 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
|
|
|
|
999 |
msgid ""
|
1000 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
1001 |
"{customer_last_name}, {customer_username}, {order_number}"
|
1002 |
msgstr ""
|
|
|
|
|
1003 |
|
1004 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1005 |
msgid "Display tracking details"
|
1006 |
-
msgstr ""
|
1007 |
|
1008 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1009 |
msgid "Display order details"
|
1010 |
-
msgstr ""
|
1011 |
|
1012 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1013 |
msgid "Display Shipping Address"
|
1014 |
-
msgstr ""
|
1015 |
|
1016 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1017 |
msgid "Display Billing Address"
|
1018 |
-
msgstr ""
|
1019 |
|
1020 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1021 |
msgid "Enable Google Analytics tracking"
|
1022 |
-
msgstr ""
|
1023 |
|
1024 |
-
#: includes/customizer/class-wc-email-customizer.php:
|
1025 |
msgid ""
|
1026 |
"This will be appended to URL in the email content – e.g. "
|
1027 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1028 |
msgstr ""
|
|
|
|
|
|
|
1029 |
|
1030 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1031 |
msgid "Your order #{order_number} is Failed Attempt"
|
1032 |
msgstr "Η παραγγελία σας # {order_number} απέτυχε"
|
1033 |
|
1034 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1035 |
msgid ""
|
1036 |
"Hi there. we thought you'd like to know that your recent order from "
|
1037 |
"{site_title} is Failed Attempt"
|
@@ -1039,23 +1123,23 @@ msgstr ""
|
|
1039 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1040 |
"από το {site_title} απέτυχε"
|
1041 |
|
1042 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1043 |
msgid "Failed Attempt shipment status email"
|
1044 |
msgstr ""
|
1045 |
"Αποτυχία ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής απόπειρας αποστολής"
|
1046 |
|
1047 |
-
#: includes/customizer/class-wc-failure-email-customizer.php:
|
1048 |
msgid "Enable Failed Attempt shipment status email"
|
1049 |
msgstr ""
|
1050 |
"Ενεργοποίηση αποτυχημένης προσπάθειας ηλεκτρονικού ταχυδρομείου κατάστασης "
|
1051 |
"αποστολής"
|
1052 |
|
1053 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1054 |
msgid "Your order #{order_number} is in transit"
|
1055 |
msgstr ""
|
1056 |
"Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
|
1057 |
|
1058 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1059 |
msgid ""
|
1060 |
"Hi there. we thought you'd like to know that your recent order from "
|
1061 |
"{site_title} is in transit"
|
@@ -1063,23 +1147,23 @@ msgstr ""
|
|
1063 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1064 |
"από το {site_title} βρίσκεται σε διαμετακόμιση\n"
|
1065 |
|
1066 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1067 |
msgid "In Transit shipment status email"
|
1068 |
msgstr ""
|
1069 |
"Στο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής διαμετακόμισης\n"
|
1070 |
|
1071 |
-
#: includes/customizer/class-wc-intransit-email-customizer.php:
|
1072 |
msgid "Enable In Transit shipment status email"
|
1073 |
msgstr ""
|
1074 |
"Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής κατά τη "
|
1075 |
"μεταφορά\n"
|
1076 |
|
1077 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1078 |
msgid "Your order #{order_number} is out for delivery"
|
1079 |
msgstr ""
|
1080 |
"Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
|
1081 |
|
1082 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1083 |
msgid ""
|
1084 |
"Hi there. we thought you'd like to know that your recent order from "
|
1085 |
"{site_title} is out for delivery."
|
@@ -1087,21 +1171,21 @@ msgstr ""
|
|
1087 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1088 |
"από το {site_title} είναι έξω για παράδοση.\n"
|
1089 |
|
1090 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1091 |
msgid "Out For Delivery shipment status email"
|
1092 |
msgstr ""
|
1093 |
"Έξοδος για την αποστολή του ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
|
1094 |
|
1095 |
-
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:
|
1096 |
msgid "Enable Out For Delivery shipment status email"
|
1097 |
msgstr "Ενεργοποίηση μηνύματος κατάστασης παράδοσης αποστολής"
|
1098 |
|
1099 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1100 |
msgid "Your order #{order_number} has returned to sender"
|
1101 |
msgstr ""
|
1102 |
"Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
|
1103 |
|
1104 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1105 |
msgid ""
|
1106 |
"Hi there. we thought you'd like to know that your recent order from "
|
1107 |
"{site_title} has been returned to sender."
|
@@ -1109,295 +1193,302 @@ msgstr ""
|
|
1109 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1110 |
"από {site_title} έχει επιστραφεί στον αποστολέα.\n"
|
1111 |
|
1112 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1113 |
msgid "Return To Sender shipment status email"
|
1114 |
msgstr ""
|
1115 |
"Επιστροφή στο μήνυμα αποστολής αποστολής αποστολέα\n"
|
1116 |
|
1117 |
-
#: includes/customizer/class-wc-returntosender-email-customizer.php:
|
1118 |
msgid "Enable Return To Sender shipment status email"
|
1119 |
msgstr ""
|
1120 |
"Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής επιστροφής σε "
|
1121 |
"αποστολέα"
|
1122 |
|
1123 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1124 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1125 |
-
#:
|
1126 |
-
#: templates/
|
1127 |
msgid "Provider"
|
1128 |
msgstr "Μεταφορέας"
|
1129 |
|
1130 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1131 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1132 |
-
#:
|
1133 |
-
#: templates/
|
1134 |
-
#: templates/myaccount/view-order.php:111
|
1135 |
msgid "Tracking Number"
|
1136 |
msgstr "Αριθμός"
|
1137 |
|
1138 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1139 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1140 |
msgid "Shipped Date"
|
1141 |
msgstr ""
|
1142 |
"Ημερομηνία αποστολής\n"
|
1143 |
|
1144 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1145 |
-
msgid ""
|
1146 |
-
"select from last 20 orders one order that you added tracking info in order "
|
1147 |
-
"to preview and design the tracking info table."
|
1148 |
msgstr ""
|
1149 |
-
"
|
1150 |
-
"
|
1151 |
-
"πληροφοριών παρακολούθησης.\n"
|
1152 |
|
1153 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1154 |
msgid "Tracking Display Position"
|
1155 |
msgstr "Παρακολούθηση θέσης προβολής"
|
1156 |
|
1157 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1158 |
msgid "Before Order Details"
|
1159 |
msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
|
1160 |
|
1161 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1162 |
msgid "After Order Details"
|
1163 |
msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
|
1164 |
|
1165 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1166 |
-
msgid "
|
1167 |
-
msgstr "
|
|
|
1168 |
|
1169 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1170 |
-
#: templates/pip/tracking-info.php:17
|
1171 |
msgid "Tracking Information"
|
1172 |
msgstr "Πληροφορίες Παρακολούθησης"
|
1173 |
|
1174 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1175 |
msgid "Additional text after header"
|
1176 |
msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
|
1177 |
|
1178 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1179 |
msgid "Table Layout"
|
1180 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1181 |
|
1182 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1183 |
-
msgid "
|
1184 |
-
msgstr "
|
|
|
|
|
|
|
|
|
1185 |
|
1186 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1187 |
-
msgid "
|
1188 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1189 |
|
1190 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1191 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1192 |
msgstr "Κείμενο κεφαλίδας παροχέα"
|
1193 |
|
1194 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1195 |
-
msgid "Tracking Number
|
1196 |
-
msgstr "
|
|
|
1197 |
|
1198 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1199 |
-
msgid "
|
1200 |
-
msgstr "
|
|
|
1201 |
|
1202 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1203 |
msgid "Track Label"
|
1204 |
msgstr "Ετικέτα διαδρομής"
|
1205 |
|
1206 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1207 |
-
msgid "Track
|
1208 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
1209 |
|
1210 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1211 |
-
msgid "
|
1212 |
msgstr ""
|
1213 |
-
"
|
1214 |
|
1215 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
|
|
|
|
|
|
|
|
1216 |
msgid "Padding"
|
1217 |
msgstr ""
|
1218 |
"Υλικό παραγεμίσματος\n"
|
1219 |
|
1220 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1221 |
msgid "Background color"
|
1222 |
msgstr ""
|
1223 |
"Χρώμα του φόντου\n"
|
1224 |
|
1225 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1226 |
msgid "Border color"
|
1227 |
msgstr ""
|
1228 |
"Χρώμα πλαισίου\n"
|
1229 |
|
1230 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1231 |
msgid "Border size"
|
1232 |
msgstr ""
|
1233 |
"Μέγεθος περιθωρίου\n"
|
1234 |
|
1235 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1236 |
-
|
1237 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:511
|
1238 |
-
msgid "Select"
|
1239 |
-
msgstr "Επιλογή"
|
1240 |
-
|
1241 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:499
|
1242 |
-
msgid "Table text align"
|
1243 |
-
msgstr "Ευθυγράμμιση κειμένου πίνακα"
|
1244 |
-
|
1245 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:504
|
1246 |
-
msgid "Left"
|
1247 |
msgstr ""
|
1248 |
-
"
|
1249 |
-
|
1250 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:505
|
1251 |
-
msgid "Right"
|
1252 |
-
msgstr "σωστά"
|
1253 |
-
|
1254 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:506
|
1255 |
-
msgid "Center"
|
1256 |
-
msgstr "Κέντρο"
|
1257 |
|
1258 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1259 |
-
msgid "
|
1260 |
-
msgstr "
|
1261 |
|
1262 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1263 |
-
msgid "
|
1264 |
-
msgstr "
|
1265 |
|
1266 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1267 |
-
msgid "Table content font size"
|
1268 |
-
msgstr "Μέγεθος γραμματοσειράς περιεχομένου πίνακα"
|
1269 |
-
|
1270 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:577
|
1271 |
-
msgid "Table content font color"
|
1272 |
-
msgstr "Χρώμα γραμματοσειράς περιεχομένου πίνακα"
|
1273 |
-
|
1274 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:593
|
1275 |
msgid "Content line height"
|
1276 |
msgstr ""
|
1277 |
"Το ύψος της γραμμής περιεχομένου\n"
|
1278 |
|
1279 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1280 |
msgid "Content font weight"
|
1281 |
msgstr ""
|
1282 |
"Βάρος γραμματοσειράς περιεχομένου\n"
|
1283 |
|
1284 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:
|
1285 |
-
msgid "
|
1286 |
-
msgstr "Σύνδεσμος διαδρομής"
|
1287 |
-
|
1288 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:650
|
1289 |
-
msgid "Track Link Font Color"
|
1290 |
-
msgstr "Χρώμα γραμματοσειράς γραμμής σύνδεσης"
|
1291 |
-
|
1292 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:666
|
1293 |
-
msgid "Track Link Background Color"
|
1294 |
-
msgstr "Χρώμα φόντου συνδέσμου διαδρομής"
|
1295 |
-
|
1296 |
-
#: includes/customizer/class-wc-tracking-info-customizer.php:681
|
1297 |
-
msgid "Track link Border"
|
1298 |
-
msgstr "Γραμμή συνδέσμου γραμμής"
|
1299 |
-
|
1300 |
-
#: includes/customizer/class-wc-tracking-page-customizer.php:167
|
1301 |
-
msgid "Header Color"
|
1302 |
msgstr ""
|
1303 |
-
"
|
1304 |
|
1305 |
-
#: includes/customizer/class-wc-tracking-
|
1306 |
-
msgid "
|
1307 |
msgstr ""
|
1308 |
-
"Χρώμα
|
1309 |
|
1310 |
-
#: includes/customizer/class-wc-tracking-
|
1311 |
-
msgid "
|
1312 |
msgstr ""
|
1313 |
-
"
|
1314 |
|
1315 |
-
#: includes/customizer/class-wc-tracking-
|
1316 |
-
msgid "
|
1317 |
-
msgstr ""
|
1318 |
-
"Πληροφορίες παρακολούθησης Χρώμα περιγράμματος\n"
|
1319 |
|
1320 |
-
#: includes/customizer/class-wc-tracking-
|
1321 |
-
msgid "
|
|
|
|
|
1322 |
msgstr ""
|
1323 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
1324 |
|
1325 |
-
#: includes/customizer/class-wc-
|
1326 |
-
msgid "
|
|
|
|
|
1327 |
msgstr ""
|
1328 |
-
"
|
|
|
|
|
|
|
|
|
|
|
1329 |
|
1330 |
-
#: includes/customizer/class-wc-tracking-
|
1331 |
-
msgid "
|
1332 |
msgstr ""
|
1333 |
-
"
|
1334 |
|
1335 |
-
#: includes/customizer/class-wc-tracking-
|
1336 |
-
msgid "
|
|
|
|
|
1337 |
msgstr ""
|
1338 |
-
"
|
|
|
1339 |
|
1340 |
-
#: includes/customizer/class-wc-tracking-
|
1341 |
-
msgid "Tracking
|
1342 |
msgstr ""
|
1343 |
-
"
|
1344 |
|
1345 |
#: includes/emails/class-shipment-delivered-email.php:32
|
1346 |
msgid "Delivered order"
|
1347 |
-
msgstr ""
|
1348 |
|
1349 |
#: includes/emails/class-shipment-delivered-email.php:33
|
1350 |
msgid ""
|
1351 |
"Order delivered emails are sent to customers when their orders are marked "
|
1352 |
"delivered and usually indicate that their orders have been shipped."
|
1353 |
msgstr ""
|
|
|
|
|
|
|
1354 |
|
1355 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1356 |
-
msgid "
|
1357 |
-
msgstr ""
|
1358 |
-
|
1359 |
-
#: includes/emails/class-shipment-delivered-email.php:232
|
1360 |
-
msgid "Recipient(s)"
|
1361 |
-
msgstr ""
|
1362 |
-
|
1363 |
-
#. %s: WP admin email
|
1364 |
-
#: includes/emails/class-shipment-delivered-email.php:235
|
1365 |
-
#, php-format
|
1366 |
-
msgid "Enter recipients (comma separated) for this email. Defaults to %s."
|
1367 |
-
msgstr ""
|
1368 |
-
|
1369 |
-
#: includes/emails/class-shipment-delivered-email.php:241
|
1370 |
-
msgid "Subject"
|
1371 |
-
msgstr ""
|
1372 |
-
|
1373 |
-
#. %s: list of placeholders
|
1374 |
-
#: includes/emails/class-shipment-delivered-email.php:245
|
1375 |
-
#: includes/emails/class-shipment-delivered-email.php:254
|
1376 |
-
#, php-format
|
1377 |
-
msgid "Available placeholders: %s"
|
1378 |
-
msgstr ""
|
1379 |
-
|
1380 |
-
#: includes/emails/class-shipment-delivered-email.php:259
|
1381 |
-
msgid "Email type"
|
1382 |
-
msgstr ""
|
1383 |
-
|
1384 |
-
#: includes/emails/class-shipment-delivered-email.php:261
|
1385 |
-
msgid "Choose which format of email to send."
|
1386 |
-
msgstr ""
|
1387 |
|
1388 |
-
#: includes/emails/class-shipment-delivered-email.php:
|
1389 |
-
msgid "\" >Click Here</a>"
|
1390 |
-
msgstr ""
|
1391 |
-
|
1392 |
-
#: includes/emails/class-shipment-delivered-email.php:270
|
1393 |
msgid "Edit in customizer"
|
1394 |
-
msgstr ""
|
1395 |
|
1396 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1397 |
msgid "Upload CSV"
|
1398 |
msgstr "Μεταφόρτωση CSV"
|
1399 |
|
1400 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1401 |
msgid ""
|
1402 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1403 |
"added)"
|
@@ -1405,134 +1496,300 @@ msgstr ""
|
|
1405 |
"Να αντικατασταθούν οι πληροφορίες παρακολούθησης εάν υπάρχουν; (αν δεν έχει "
|
1406 |
"επιλεγεί, θα προστεθούν οι πληροφορίες παρακολούθησης)"
|
1407 |
|
1408 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1409 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1410 |
-
#: includes/views/admin_options_shipping_provider.php:
|
1411 |
msgid "Upload"
|
1412 |
msgstr "Μεταφόρτωση"
|
1413 |
|
1414 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1415 |
-
#: includes/views/admin_options_trackship_integration.php:27
|
1416 |
-
#: includes/views/admin_options_trackship_integration.php:45
|
1417 |
msgid "Settings Saved."
|
1418 |
msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
|
1419 |
|
1420 |
-
#: includes/views/admin_options_bulk_upload.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1421 |
msgid "You can download an example of the csv file:"
|
1422 |
msgstr "Μπορείτε να κατεβάσετε ένα παράδειγμα του αρχείου csv:"
|
1423 |
|
1424 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1425 |
msgid "Download sample csv file"
|
1426 |
msgstr "Κάντε λήψη δείγματος αρχείου csv"
|
1427 |
|
1428 |
-
#: includes/views/admin_options_bulk_upload.php:
|
1429 |
msgid ""
|
1430 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1431 |
msgstr ""
|
1432 |
"Για λεπτομερείς οδηγίες σχετικά με τον τρόπο μαζικής αποστολής πληροφοριών "
|
1433 |
"παρακολούθησης, ανατρέξτε στη σελίδα μας"
|
1434 |
|
1435 |
-
#: includes/views/
|
1436 |
-
|
1437 |
-
|
|
|
1438 |
|
1439 |
-
#: includes/views/
|
1440 |
-
|
1441 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1442 |
|
1443 |
-
#: includes/views/admin_options_settings.php:
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
|
|
1447 |
|
1448 |
-
#: includes/views/admin_options_settings.php:
|
1449 |
-
|
1450 |
-
|
1451 |
-
msgstr "Παραδοθείσα κατάσταση παραγγελίας"
|
1452 |
|
1453 |
-
#: includes/views/admin_options_settings.php:
|
1454 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1455 |
msgstr ""
|
1456 |
-
"
|
1457 |
|
1458 |
-
#: includes/views/admin_options_settings.php:
|
1459 |
-
#: includes/views/
|
1460 |
-
|
1461 |
-
|
|
|
|
|
1462 |
|
1463 |
-
#: includes/views/admin_options_settings.php:
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2020-01-08 08:09+0000\n"
|
6 |
+
"PO-Revision-Date: 2020-01-08 08:19+0000\n"
|
7 |
+
"Last-Translator: John <gaurav1092@zorem.com>\n"
|
8 |
"Language-Team: Greek\n"
|
9 |
"Language: el\n"
|
10 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"X-Generator: Loco https://localise.biz/\n"
|
15 |
+
"X-Loco-Version: 2.3.1; wp-5.3.2"
|
16 |
|
17 |
+
#: woocommerce-advanced-shipment-tracking.php:117
|
18 |
#, php-format
|
19 |
msgid ""
|
20 |
"Please install and activate %sWooCommerce%s for WooCommerce Advanced "
|
23 |
"Παρακαλούμε εγκαταστήστε και ενεργοποιήστε %sWooCommerce%s for WooCommerce "
|
24 |
"Advanced Shipment Tracking!"
|
25 |
|
26 |
+
#: woocommerce-advanced-shipment-tracking.php:254
|
27 |
+
#, php-format
|
28 |
+
msgid "Your order was shipped with %s and your tracking code is: %s"
|
29 |
+
msgstr "Η παραγγελία σας εστάλη με% s και ο κωδικός παρακολούθησης είναι:% s"
|
30 |
+
|
31 |
+
#: woocommerce-advanced-shipment-tracking.php:465
|
32 |
#, php-format
|
33 |
msgid ""
|
34 |
"<strong>PLEASE NOTE</strong> - If you use the custom order status "
|
38 |
"php here or you can manually change all your \"delivered\" order to "
|
39 |
"\"completed\" before deactivating the plugin."
|
40 |
msgstr ""
|
41 |
+
"<strong> ΠΑΡΑΚΑΛΟΥΜΕ ΣΗΜΕΙΩΣΗ </ strong> - Εάν χρησιμοποιείτε την κατάσταση "
|
42 |
+
"προσαρμοσμένης παραγγελίας \"Παράδοση\", όταν απενεργοποιείτε την προσθήκη, "
|
43 |
+
"πρέπει να καταχωρήσετε αυτήν την κατάσταση παραγγελίας στο function.php για "
|
44 |
+
"να δείτε αυτές τις παραγγελίες στις εντολές admin. Μπορείτε να βρείτε το <a "
|
45 |
+
"href=\"%s\" target=\"blank\"> απόσπασμα </a> για να το χρησιμοποιήσετε στη "
|
46 |
+
"σελίδα functions.php εδώ ή μπορείτε να αλλάξετε με μη αυτόματο τρόπο όλη την "
|
47 |
+
"παραγγελία σας ως \"ολοκληρωμένη\" πριν απενεργοποιήσετε την προσθήκη."
|
48 |
|
49 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Shipment status"
|
51 |
+
msgstr "Κατάσταση αποστολής"
|
52 |
|
53 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:427
|
54 |
+
#: includes/class-wc-advanced-shipment-welcome.php:310
|
55 |
msgid ""
|
56 |
"Get Shipment Status is limited to 100 orders at a time, please select up to "
|
57 |
"100 orders."
|
58 |
msgstr ""
|
59 |
+
"Η λήψη της Κατάστασης αποστολής περιορίζεται σε 100 παραγγελίες τη φορά, "
|
60 |
+
"παρακαλούμε επιλέξτε έως και 100 παραγγελίες."
|
61 |
|
62 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:462
|
63 |
+
#: includes/class-wc-advanced-shipment-welcome.php:343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
msgid "Data saved successfully."
|
65 |
msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
|
66 |
|
67 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:463
|
68 |
+
#: includes/class-wc-advanced-shipment-welcome.php:344
|
69 |
msgid "Really delete this entry? This will not be undo."
|
70 |
msgstr ""
|
71 |
"Θέλετε πραγματικά να διαγράψετε αυτή την εγγραφή; Η ενέργεια αυτή δεν μπορεί "
|
72 |
"να αναιρεθεί."
|
73 |
|
74 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:464
|
75 |
+
#: includes/class-wc-advanced-shipment-welcome.php:345
|
76 |
msgid "You can upload only csv file."
|
77 |
msgstr "Μπορείτε να ανεβάσετε μόνο το αρχείο csv."
|
78 |
|
79 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:465
|
80 |
+
#: includes/class-wc-advanced-shipment-welcome.php:346
|
81 |
msgid "This browser does not support HTML5."
|
82 |
msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
|
83 |
|
84 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:466
|
85 |
+
#: includes/class-wc-advanced-shipment-welcome.php:347
|
86 |
msgid "Please upload a valid CSV file."
|
87 |
msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
|
88 |
|
89 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:535
|
90 |
msgid "Shipping Providers"
|
91 |
msgstr "Προμηθευτές αποστολής"
|
92 |
|
93 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:537
|
|
|
|
|
|
|
|
|
94 |
msgid "Bulk Upload"
|
95 |
+
msgstr "Μαζική μεταφόρτωση"
|
96 |
|
97 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:543
|
98 |
+
msgid "Add-ons"
|
99 |
+
msgstr "Πρόσθετα"
|
100 |
|
101 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:546
|
102 |
+
#: includes/class-wc-advanced-shipment-welcome.php:222
|
103 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
104 |
+
#: includes/views/admin_trackship_dashboard.php:51
|
105 |
+
msgid "Documentation"
|
106 |
+
msgstr "Απόδειξη με έγγραφα"
|
107 |
+
|
108 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:547
|
109 |
+
msgid "How to Video"
|
110 |
+
msgstr "Πώς να Βίντεο"
|
111 |
+
|
112 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:695
|
113 |
+
msgid "Custom Statuses"
|
114 |
+
msgstr "Προσαρμοσμένες καταστάσεις"
|
115 |
+
|
116 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:742
|
117 |
+
#: includes/class-wc-advanced-shipment-welcome.php:188
|
118 |
+
#: includes/views/zorem_admin_sidebar.php:29
|
119 |
+
#: includes/views/admin_options_addons.php:46
|
120 |
+
#: includes/views/admin_trackship_dashboard.php:17
|
121 |
msgid "Connected"
|
122 |
msgstr ""
|
123 |
"Συνδεδεμένος\n"
|
124 |
|
125 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:874
|
126 |
+
#, php-format
|
127 |
+
msgid "%s %s orders with tracking info"
|
128 |
+
msgstr "% s% s παραγγελίες με πληροφορίες παρακολούθησης"
|
129 |
+
|
130 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:875
|
131 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:884
|
132 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:893
|
133 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1841
|
134 |
+
#: includes/views/admin_options_tools.php:14
|
135 |
+
msgid "Get Shipment Status"
|
136 |
+
msgstr "Λήψη κατάστασης αποστολής"
|
137 |
|
138 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:883
|
139 |
#, php-format
|
140 |
+
msgid "%s %s orders with “TrackShip balance is 0”"
|
141 |
+
msgstr "Οι εντολές% s% s με \"Το υπόλοιπο TrackShip είναι 0\""
|
|
|
|
|
|
|
|
|
142 |
|
143 |
#: includes/class-wc-advanced-shipment-tracking-admin.php:892
|
144 |
#, php-format
|
145 |
+
msgid "%s %s orders with “Please do connection”"
|
146 |
+
msgstr "% s% s παραγγελίες με \"Παρακαλώ κάντε σύνδεση\""
|
|
|
|
|
147 |
|
148 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:930
|
|
|
|
|
|
|
|
|
|
|
149 |
msgid "Enable/Disable"
|
150 |
+
msgstr "Ενεργοποιώ απενεργοποιώ"
|
151 |
|
152 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:936
|
153 |
msgid "Set order status Delivered when order is delivered"
|
154 |
msgstr ""
|
155 |
+
"Ορισμός σειράς παραγγελίας Παραδίδεται κατά την παράδοση της παραγγελίας"
|
156 |
|
157 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
msgid ""
|
159 |
"You must add the shortcode [wcast-track-order] to the \"page name\" in order "
|
160 |
"for the tracking page to work."
|
161 |
msgstr ""
|
162 |
+
"Πρέπει να προσθέσετε το shortcode [wcast-track-order] στο \"όνομα σελίδας\" "
|
163 |
+
"για να λειτουργήσει η σελίδα παρακολούθησης."
|
164 |
|
165 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:976
|
166 |
+
#: includes/views/admin_tracking_page_settings.php:24
|
167 |
msgid "Select Tracking Page"
|
168 |
+
msgstr "Επιλέξτε Σελίδα παρακολούθησης"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:984
|
171 |
msgid "Use the tracking page in the customer email/my account tracking link"
|
172 |
msgstr ""
|
173 |
"Χρησιμοποιήστε τη σελίδα παρακολούθησης στη σύνδεση ηλεκτρονικού "
|
174 |
+
"ταχυδρομείου πελάτη / λογαριασμού παρακολούθησης λογαριασμού"
|
175 |
|
176 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:990
|
177 |
+
#: includes/views/admin_tracking_page_settings.php:49
|
178 |
+
msgid "Tracking Page Layout"
|
179 |
msgstr ""
|
180 |
+
"Παρακολούθηση διάταξης σελίδας\n"
|
181 |
+
|
182 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1001
|
183 |
+
msgid "Select primary color for tracking page"
|
184 |
+
msgstr "Επιλέξτε το αρχικό χρώμα για τη σελίδα παρακολούθησης"
|
185 |
|
186 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1007
|
187 |
msgid "Select content border color for tracking page"
|
188 |
msgstr ""
|
189 |
+
"Επιλέξτε το χρώμα περιγράμματος περιεχομένου για τη σελίδα παρακολούθησης"
|
190 |
|
191 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1013
|
192 |
+
#: includes/views/admin_tracking_page_settings.php:83
|
193 |
+
msgid "Hide Shipping Provider Image"
|
|
|
194 |
msgstr ""
|
195 |
+
"Απόκρυψη εικόνας παροχέα αποστολής\n"
|
196 |
+
|
197 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1019
|
198 |
+
msgid "Hide tracking events details"
|
199 |
+
msgstr "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης"
|
200 |
+
|
201 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1025
|
202 |
+
#: includes/views/admin_tracking_page_settings.php:93
|
203 |
+
msgid "Remove TrackShip branding"
|
204 |
+
msgstr "Αφαιρέστε το branding του TrackShip"
|
205 |
|
206 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1042
|
207 |
+
msgid "License Key"
|
208 |
+
msgstr "Κλειδί άδειας χρήσης"
|
209 |
+
|
210 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1044
|
211 |
+
msgid "Valid License to make All feature work correctly"
|
212 |
+
msgstr "Ισχύει Άδεια για να λειτουργήσει σωστά το All"
|
213 |
+
|
214 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1193
|
215 |
+
msgid "\">click here</a> to activate it."
|
216 |
+
msgstr "\"> κάντε κλικ εδώ </a> για να την ενεργοποιήσετε."
|
217 |
+
|
218 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1226
|
219 |
+
#: includes/class-wc-advanced-shipment-tracking.php:185
|
220 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:303
|
221 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:439
|
222 |
+
msgid "Shipped"
|
223 |
+
msgstr "Αποστέλλονται"
|
224 |
+
|
225 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1227
|
226 |
+
msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
|
227 |
+
msgstr ""
|
228 |
+
"Προεπιλεγμένο \"ως <span class =\" shipped_label \"> απεσταλμένο </ span>\""
|
229 |
+
|
230 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1228
|
231 |
msgid ""
|
232 |
"This means that the 'mark as <span class='shipped_label'>shipped</span>' "
|
233 |
"will be selected by default when adding tracking info to orders."
|
234 |
msgstr ""
|
235 |
+
"Αυτό σημαίνει ότι το σήμα ως <span class = 'shipped_label'> αποσταλεί </ "
|
236 |
+
"span> θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
|
237 |
+
"παρακολούθησης σε παραγγελίες."
|
238 |
|
239 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1231
|
240 |
+
msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
msgstr ""
|
242 |
+
"Προεπιλεγμένο \"ως <span class =\" shipped_label \"> ολοκληρώθηκε </ span>\""
|
243 |
|
244 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1232
|
245 |
msgid ""
|
246 |
"This means that the 'mark as <span class='shipped_label'>completed</span>' "
|
247 |
"will be selected by default when adding tracking info to orders."
|
248 |
msgstr ""
|
249 |
+
"Αυτό σημαίνει ότι το σήμα ως <span class = 'shipped_label'> ολοκληρώθηκε </ "
|
250 |
+
"span> θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
|
251 |
+
"παρακολούθησης σε παραγγελίες."
|
252 |
|
253 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1298
|
254 |
msgid "Rename the “Completed” Order status to “Shipped”"
|
|
|
|
|
|
|
|
|
255 |
msgstr ""
|
256 |
+
"Μετονομάστε την κατάσταση της παραγγελίας \"Ολοκληρωμένη\" σε "
|
257 |
+
"\"Αποστέλλονται\""
|
258 |
|
259 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1311
|
260 |
+
msgid "On which order status email to include the shipment tracking info?"
|
261 |
+
msgstr ""
|
262 |
+
"Σε ποιο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας "
|
263 |
+
"συμπεριλαμβάνονται οι πληροφορίες παρακολούθησης αποστολής;"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
|
265 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1317
|
266 |
msgid "Show tracking info in Invoice"
|
267 |
msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο τιμολόγιο"
|
268 |
|
269 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1323
|
270 |
msgid "Show tracking info in Packing Slip"
|
271 |
msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο πακέτο συσκευασίας"
|
272 |
|
273 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1340
|
274 |
+
msgid "Enable custom order status “Delivered\""
|
275 |
+
msgstr "Ενεργοποίηση της κατάστασης προσαρμοσμένης παραγγελίας \"Παραδόθηκε\""
|
|
|
276 |
|
277 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1341
|
278 |
msgid ""
|
279 |
"if you enable the delivered item, you will have the option to send delivered "
|
280 |
"email notifications."
|
281 |
msgstr ""
|
282 |
+
"αν ενεργοποιήσετε το παραδοθέν στοιχείο, θα έχετε την επιλογή να στέλνετε "
|
283 |
+
"ειδοποιήσεις μέσω ηλεκτρονικού ταχυδρομείου."
|
284 |
|
285 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1347
|
286 |
+
msgid "Delivered Label color"
|
287 |
+
msgstr "Χρώμα ετικετών που παραδίδεται"
|
288 |
|
289 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1353
|
290 |
+
msgid "Delivered Label font color"
|
291 |
+
msgstr "Χρώμα γραμματοσειράς ετικετών που παραδίδεται"
|
292 |
+
|
293 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1356
|
294 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1398
|
295 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1440
|
296 |
+
msgid "Light"
|
297 |
+
msgstr "Φως"
|
298 |
+
|
299 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1357
|
300 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1399
|
301 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1441
|
302 |
+
msgid "Dark"
|
303 |
+
msgstr "Σκοτάδι"
|
304 |
+
|
305 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1364
|
306 |
+
msgid "Enable the Delivered order status email"
|
307 |
msgstr ""
|
308 |
+
"Ενεργοποιήστε το μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας"
|
309 |
+
|
310 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1382
|
311 |
+
msgid "Enable custom order status “Updated Tracking\""
|
312 |
+
msgstr ""
|
313 |
+
"Ενεργοποίηση της κατάστασης προσαρμοσμένης παραγγελίας \"Ενημερωμένη "
|
314 |
+
"παρακολούθηση\"\n"
|
315 |
|
316 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1383
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
msgid ""
|
318 |
+
"if you enable the delivered item, you will have the option to send Updated "
|
319 |
+
"Tracking email notifications."
|
320 |
+
msgstr ""
|
321 |
+
"αν ενεργοποιήσετε το παραδοθέν στοιχείο, θα έχετε την επιλογή να στείλετε "
|
322 |
+
"ενημερωμένες ειδοποιήσεις ηλεκτρονικού ταχυδρομείου παρακολούθησης.\n"
|
323 |
+
|
324 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1389
|
325 |
+
msgid "Updated Tracking Label color"
|
326 |
msgstr ""
|
327 |
+
"Ενημερωμένο χρώμα ετικέτας παρακολούθησης\n"
|
|
|
328 |
|
329 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1395
|
330 |
+
msgid "Updated Tracking Label font color"
|
331 |
+
msgstr ""
|
332 |
+
"Ενημερωμένο χρώμα γραμματοσειράς γραμματοσειράς παρακολούθησης\n"
|
333 |
|
334 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1406
|
335 |
+
msgid "Enable the Updated Tracking order status email"
|
336 |
+
msgstr ""
|
337 |
+
"Ενεργοποιήστε το ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης "
|
338 |
+
"εντολής παρακολούθησης\n"
|
339 |
|
340 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1424
|
341 |
+
msgid "Enable custom order status “Partially Shipped\""
|
342 |
+
msgstr ""
|
343 |
+
"Ενεργοποίηση της κατάστασης προσαρμοσμένης παραγγελίας \"Μερική αποστολή\""
|
344 |
+
|
345 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1425
|
346 |
msgid ""
|
347 |
+
"if you enable the Partially Shipped item, you will have the option to send "
|
348 |
+
"Partially Shipped email notifications."
|
|
|
|
|
|
|
349 |
msgstr ""
|
350 |
+
"αν ενεργοποιήσετε το στοιχείο Μερικώς αποστέλλονται, θα έχετε την επιλογή να "
|
351 |
+
"στέλνετε ειδοποιήσεις ηλεκτρονικού ταχυδρομείου μερικώς αποστέλλονται."
|
352 |
+
|
353 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1431
|
354 |
+
msgid "Partially Shipped Label color"
|
355 |
+
msgstr "Παρουσιάστηκε μερικώς χρώμα ετικέτας"
|
356 |
+
|
357 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1437
|
358 |
+
msgid "Partially Shipped Label font color"
|
359 |
+
msgstr "Παρουσιάστηκε μερικώς χρώμα γραμματοσειράς ετικετών"
|
360 |
|
361 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1448
|
362 |
+
msgid "Enable the Partially Shipped order status email"
|
363 |
msgstr ""
|
364 |
+
"Ενεργοποιήστε το μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας που "
|
365 |
+
"αποστέλλονται εν μέρει"
|
366 |
|
367 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1874
|
368 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2395
|
369 |
+
#: includes/customizer/class-wcast-customizer.php:92
|
370 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:127
|
371 |
+
#: includes/views/admin_status_notifications.php:25
|
372 |
msgid "In Transit"
|
373 |
msgstr ""
|
374 |
"Στη διαμετακόμιση\n"
|
375 |
|
376 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1877
|
377 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2394
|
378 |
+
#: includes/customizer/class-wcast-customizer.php:84
|
379 |
msgid "Pre Transit"
|
380 |
msgstr ""
|
381 |
"Pre Transit\n"
|
382 |
|
383 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1880
|
384 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2072
|
385 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2398
|
386 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:137
|
387 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:182
|
388 |
+
#: includes/customizer/class-wcast-customizer.php:122
|
389 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:125
|
390 |
+
#: includes/views/admin_options_settings.php:80
|
391 |
+
#: includes/views/admin_status_notifications.php:80
|
392 |
+
msgid "Delivered"
|
393 |
+
msgstr "Παραδόθηκε"
|
394 |
+
|
395 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1883
|
396 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2397
|
397 |
+
#: includes/customizer/class-wcast-customizer.php:114
|
398 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
|
399 |
+
#: includes/views/admin_status_notifications.php:66
|
400 |
+
msgid "Out For Delivery"
|
401 |
msgstr ""
|
402 |
+
"Out για παράδοση\n"
|
403 |
|
404 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1886
|
405 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2396
|
406 |
+
#: includes/customizer/class-wcast-customizer.php:107
|
407 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
|
408 |
+
#: includes/views/admin_status_notifications.php:53
|
409 |
msgid "Available For Pickup"
|
410 |
msgstr ""
|
411 |
"Διαθέσιμο για παραλαβή\n"
|
412 |
|
413 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1889
|
414 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2402
|
415 |
+
#: includes/customizer/class-wcast-customizer.php:100
|
416 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:124
|
417 |
+
#: includes/views/admin_status_notifications.php:39
|
418 |
msgid "Return To Sender"
|
419 |
msgstr ""
|
420 |
"Επιστροφή στον αποστολέα\n"
|
421 |
|
422 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1892
|
423 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2399
|
424 |
+
#: includes/customizer/class-wcast-customizer.php:130
|
425 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:124
|
426 |
+
#: includes/views/admin_status_notifications.php:95
|
427 |
+
msgid "Failed Attempt"
|
428 |
+
msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
|
429 |
|
430 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1895
|
431 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2393
|
432 |
msgid "Unknown"
|
433 |
+
msgstr "Αγνωστος"
|
|
|
434 |
|
435 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1898
|
436 |
msgid "Pending TrackShip"
|
437 |
+
msgstr "Εκκρεμεί το TrackShip"
|
|
|
438 |
|
439 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1901
|
440 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2403
|
441 |
+
msgid "Invalid Tracking Number"
|
442 |
+
msgstr "Μη έγκυρος αριθμός παρακολούθησης"
|
443 |
|
444 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1904
|
445 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2401
|
446 |
+
msgid "Carrier Unsupported"
|
447 |
+
msgstr "Ο μεταφορέας δεν υποστηρίζεται"
|
448 |
|
449 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1907
|
450 |
msgid "Invalid User Key"
|
451 |
+
msgstr "Μη έγκυρο κλειδί χρήστη"
|
452 |
|
453 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:1910
|
454 |
+
msgid "Wrong Shipping Provider"
|
455 |
+
msgstr "Δυστυχώς αποστολέας αποστολής"
|
456 |
|
457 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2026
|
458 |
msgid "Shipped Order"
|
459 |
msgstr "Αποστολή Παραγγελίας"
|
460 |
|
461 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2050
|
462 |
msgid "Mark order as delivered"
|
463 |
msgstr "Σημειώστε την παραγγελία όπως παραδόθηκε"
|
464 |
|
465 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2057
|
466 |
msgid "Add Tracking"
|
467 |
+
msgstr "Προσθήκη παρακολούθησης"
|
468 |
|
469 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2084
|
470 |
msgid "Change order status to"
|
471 |
msgstr "Αλλαγή κατάστασης παραγγελίας σε"
|
472 |
|
473 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2187
|
474 |
+
#: includes/views/admin_options_shipping_provider.php:96
|
475 |
#, php-format
|
476 |
msgid "You don't have any %s shipping providers."
|
477 |
msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
|
478 |
|
479 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2192
|
480 |
+
#: includes/views/admin_options_shipping_provider.php:27
|
481 |
+
msgid "Add Custom Provider"
|
482 |
+
msgstr "Προσθέστε προσαρμοσμένο παροχέα"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
483 |
|
484 |
+
#: includes/class-wc-advanced-shipment-tracking-admin.php:2408
|
485 |
msgid "Filter by shipment status"
|
486 |
+
msgstr "Φιλτράρετε κατά κατάσταση αποστολής"
|
487 |
|
488 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:148
|
489 |
msgid ""
|
490 |
"To track your order please enter your Order ID in the box below and press "
|
491 |
"the \"Track\" button. This was given to you on your receipt and in the "
|
496 |
" Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
|
497 |
"να έχετε λάβει.\n"
|
498 |
|
499 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:149
|
500 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
|
|
|
|
|
|
|
|
|
|
501 |
msgid "Found in your order confirmation email."
|
502 |
msgstr ""
|
503 |
"Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
|
504 |
|
505 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:150
|
506 |
msgid "Order Email"
|
507 |
msgstr ""
|
508 |
"Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
|
509 |
|
510 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:153
|
511 |
+
#: includes/class-wc-advanced-shipment-tracking.php:728
|
512 |
+
#: includes/class-wc-advanced-shipment-tracking.php:851
|
513 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:147
|
514 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:578
|
515 |
+
#: templates/emails/tracking-info.php:256
|
516 |
+
#: templates/myaccount/tracking-info.php:191
|
|
|
|
|
517 |
msgid "Track"
|
518 |
msgstr "Παρακολούθηση"
|
519 |
|
520 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:221
|
521 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:238
|
522 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:398
|
523 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:415
|
524 |
#, php-format
|
525 |
msgid "Shipment - %s (out of %s)"
|
526 |
msgstr ""
|
527 |
"Αποστολή -% s (από% s)\n"
|
528 |
|
529 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:251
|
530 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:428
|
531 |
+
msgid "Tracking details not found in TrackShip"
|
532 |
+
msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
|
533 |
|
534 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:462
|
535 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:492
|
536 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:862
|
537 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:880
|
538 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1015
|
539 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1033
|
540 |
+
msgid "Est. Delivery Date"
|
541 |
+
msgstr ""
|
542 |
+
"Est. Ημερομηνία παράδοσης\n"
|
543 |
|
544 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:618
|
545 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:708
|
546 |
msgid "Tracking Details"
|
547 |
msgstr "Στοιχεία παρακολούθησης"
|
548 |
|
549 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:699
|
550 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:789
|
551 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1004
|
552 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1118
|
553 |
msgid "view more"
|
554 |
msgstr "Δείτε περισσότερα"
|
555 |
|
556 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:700
|
557 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:790
|
558 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1005
|
559 |
+
#: includes/class-wc-advanced-shipment-tracking-front.php:1119
|
560 |
msgid "view less"
|
561 |
msgstr "δείτε λιγότερο"
|
562 |
|
563 |
+
#: includes/class-wc-advanced-shipment-tracking.php:95
|
564 |
+
#: includes/class-wc-advanced-shipment-tracking.php:265
|
565 |
+
#: includes/customizer/class-wcast-customizer.php:31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
msgid "Shipment Tracking"
|
567 |
msgstr "Παρακολούθηση Αποστολής"
|
568 |
|
569 |
+
#: includes/class-wc-advanced-shipment-tracking.php:184
|
570 |
+
#: includes/class-wc-advanced-shipment-tracking.php:387
|
571 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:438
|
572 |
+
msgid "Mark as Shipped?"
|
573 |
+
msgstr "Ορίστε ως αποστολέα;"
|
574 |
|
575 |
+
#: includes/class-wc-advanced-shipment-tracking.php:187
|
576 |
+
#: includes/class-wc-advanced-shipment-tracking.php:390
|
577 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:441
|
578 |
+
msgid "Mark as Completed?"
|
579 |
+
msgstr "Σημειώστε ως ολοκληρωμένο;"
|
580 |
|
581 |
+
#: includes/class-wc-advanced-shipment-tracking.php:188
|
582 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:442
|
583 |
+
msgid "Completed"
|
584 |
+
msgstr "Ολοκληρώθηκε το"
|
585 |
+
|
586 |
+
#: includes/class-wc-advanced-shipment-tracking.php:195
|
587 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:450
|
588 |
msgid "Add Tracking Number"
|
589 |
+
msgstr "Προσθέστε τον αριθμό παρακολούθησης"
|
590 |
|
591 |
+
#: includes/class-wc-advanced-shipment-tracking.php:198
|
592 |
+
#: includes/class-wc-advanced-shipment-tracking.php:203
|
593 |
+
#: includes/class-wc-advanced-shipment-tracking.php:408
|
594 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:453
|
595 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:455
|
596 |
msgid "Provider:"
|
597 |
msgstr "Μεταφορέας:"
|
598 |
|
599 |
+
#: includes/class-wc-advanced-shipment-tracking.php:223
|
600 |
+
#: includes/class-wc-advanced-shipment-tracking.php:446
|
601 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:475
|
602 |
msgid "Tracking number:"
|
603 |
msgstr "Αριθμός Παρακολούθησης:"
|
604 |
|
605 |
+
#: includes/class-wc-advanced-shipment-tracking.php:227
|
606 |
+
#: includes/class-wc-advanced-shipment-tracking.php:454
|
607 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:479
|
608 |
msgid "Date shipped:"
|
609 |
msgstr "Ημερομηνία αποστολής:"
|
610 |
|
611 |
+
#: includes/class-wc-advanced-shipment-tracking.php:236
|
612 |
+
#: includes/class-wc-advanced-shipment-tracking.php:466
|
613 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:488
|
614 |
+
msgid "Mark order as:"
|
615 |
+
msgstr "Σημειώστε την τάξη ως:"
|
616 |
+
|
617 |
+
#: includes/class-wc-advanced-shipment-tracking.php:239
|
618 |
+
#: includes/class-wc-advanced-shipment-tracking.php:469
|
619 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:491
|
620 |
+
msgid "Partial Shipped"
|
621 |
+
msgstr "Μερική αποστολή"
|
622 |
+
|
623 |
+
#: includes/class-wc-advanced-shipment-tracking.php:281
|
624 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
625 |
+
msgid "Track Shipment"
|
626 |
+
msgstr "Παρακολούθηση αποστολής"
|
627 |
|
628 |
#. 1: shipping date
|
629 |
+
#: includes/class-wc-advanced-shipment-tracking.php:290
|
|
|
630 |
#, php-format
|
631 |
msgid "Shipped on %s"
|
632 |
msgstr "Στάλθηκε στις %s"
|
633 |
|
634 |
+
#: includes/class-wc-advanced-shipment-tracking.php:404
|
|
|
|
|
|
|
|
|
635 |
msgid "Add Tracking Info"
|
636 |
msgstr "Προσθήκη Παρακολούθησης"
|
637 |
|
638 |
+
#: includes/class-wc-advanced-shipment-tracking.php:409
|
639 |
msgid "Select Provider"
|
640 |
msgstr "Επιλογή Παροχέα"
|
641 |
|
642 |
+
#: includes/class-wc-advanced-shipment-tracking.php:482
|
643 |
msgid "Save Tracking"
|
644 |
msgstr "Αποθήκευση Παρακολούθησης"
|
645 |
|
646 |
+
#: includes/class-wc-advanced-shipment-tracking.php:483
|
647 |
msgid "Preview:"
|
648 |
msgstr "Επισκόπηση:"
|
649 |
|
650 |
+
#: includes/class-wc-advanced-shipment-tracking.php:702
|
651 |
+
#, php-format
|
652 |
+
msgid ""
|
653 |
+
"Tracking info was deleted for tracking provider %s with tracking number %s"
|
654 |
+
msgstr ""
|
655 |
+
"Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
|
656 |
+
"με τον αριθμό παρακολούθησης% s"
|
657 |
+
|
658 |
+
#: includes/class-wc-advanced-shipment-tracking.php:1092
|
659 |
+
#, php-format
|
660 |
+
msgid "Order was shipped with %s and tracking number is: %s"
|
661 |
+
msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
|
662 |
+
|
663 |
+
#: includes/class-wc-advanced-shipment-welcome.php:38
|
664 |
+
#: includes/class-wc-advanced-shipment-welcome.php:39
|
665 |
+
msgid "Welcome to Advanced Shipment Tracking"
|
666 |
+
msgstr ""
|
667 |
+
"Καλώς ήρθατε στην Προηγμένη παρακολούθηση αποστολής\n"
|
668 |
+
|
669 |
+
#: includes/class-wc-advanced-shipment-welcome.php:90
|
670 |
+
#: includes/class-wc-advanced-shipment-welcome.php:129
|
671 |
+
#: includes/class-wc-advanced-shipment-welcome.php:147
|
672 |
+
msgid "Save and Continue"
|
673 |
+
msgstr "Αποθήκευση και συνέχεια"
|
674 |
+
|
675 |
+
#: includes/class-wc-advanced-shipment-welcome.php:177
|
676 |
+
#: includes/views/admin_trackship_dashboard.php:6
|
677 |
+
msgid "Connection status"
|
678 |
+
msgstr "Κατάσταση σύνδεσης"
|
679 |
+
|
680 |
+
#: includes/class-wc-advanced-shipment-welcome.php:184
|
681 |
+
#: includes/views/admin_trackship_dashboard.php:13
|
682 |
+
msgid "TrackShip Connection Status"
|
683 |
+
msgstr "Κατάσταση σύνδεσης TrackShip"
|
684 |
+
|
685 |
+
#: includes/class-wc-advanced-shipment-welcome.php:194
|
686 |
+
#: includes/views/admin_trackship_dashboard.php:23
|
687 |
+
msgid "Trackers Balance"
|
688 |
+
msgstr "Ισορροπία ιχνηλάτη"
|
689 |
+
|
690 |
+
#: includes/class-wc-advanced-shipment-welcome.php:202
|
691 |
+
#: includes/views/admin_trackship_dashboard.php:31
|
692 |
+
msgid "Current Plan"
|
693 |
+
msgstr "Τρέχον Σχέδιο"
|
694 |
+
|
695 |
+
#: includes/class-wc-advanced-shipment-welcome.php:217
|
696 |
+
#: includes/views/admin_options_addons.php:33
|
697 |
+
#: includes/views/admin_trackship_dashboard.php:46
|
698 |
+
msgid ""
|
699 |
+
"You are now connected with TrackShip! TrackShip makes it effortless to "
|
700 |
+
"automate your post shipping operations and get tracking and delivery status "
|
701 |
+
"updates directly in the WooCommerce admin."
|
702 |
+
msgstr ""
|
703 |
+
"Τώρα είστε συνδεδεμένοι με το TrackShip! Το TrackShip καθιστά εύκολη την "
|
704 |
+
"αυτοματοποίηση των λειτουργιών αποστολής μετά την αποστολή και την ενημέρωση "
|
705 |
+
"για την παρακολούθηση και την παράδοση απευθείας στον διαχειριστή του "
|
706 |
+
"WooCommerce."
|
707 |
|
708 |
+
#: includes/class-wc-advanced-shipment-welcome.php:223
|
709 |
+
#: includes/views/admin_trackship_dashboard.php:52
|
710 |
+
msgid "TrackShip Dashboard"
|
711 |
+
msgstr "Πίνακα ελέγχου TrackShip"
|
712 |
+
|
713 |
+
#: includes/class-wc-advanced-shipment-welcome.php:253
|
714 |
+
msgid "Save"
|
715 |
+
msgstr "Σώσει"
|
716 |
+
|
717 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:142
|
718 |
+
#, php-format
|
719 |
+
msgid "Delivered <span class=\"count\">(%s)</span>"
|
720 |
+
msgid_plural "Delivered <span class=\"count\">(%s)</span>"
|
721 |
+
msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
|
722 |
+
msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
|
723 |
+
|
724 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:151
|
725 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:197
|
726 |
+
#: includes/views/admin_options_settings.php:149
|
727 |
+
msgid "Updated Tracking"
|
728 |
+
msgstr "Ενημερωμένη παρακολούθηση"
|
729 |
+
|
730 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:156
|
731 |
+
#, php-format
|
732 |
+
msgid "Updated Tracking <span class=\"count\">(%s)</span>"
|
733 |
+
msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
|
734 |
+
msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
735 |
+
msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
|
736 |
+
|
737 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:165
|
738 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:211
|
739 |
+
#: includes/views/admin_options_settings.php:115
|
740 |
+
msgid "Partially Shipped"
|
741 |
+
msgstr "Μερικώς αποστέλλονται"
|
742 |
+
|
743 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:170
|
744 |
+
#, php-format
|
745 |
+
msgid "Partially Shipped <span class=\"count\">(%s)</span>"
|
746 |
+
msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
|
747 |
+
msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
|
748 |
+
msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
|
749 |
+
|
750 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:270
|
751 |
+
msgid "Change status to delivered"
|
752 |
+
msgstr "Αλλάξτε την κατάσταση στην παραγγελία"
|
753 |
+
|
754 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:279
|
755 |
+
msgid "Change status to Updated Tracking"
|
756 |
+
msgstr ""
|
757 |
+
"Αλλάξτε την κατάσταση στην ενημερωμένη παρακολούθηση\n"
|
758 |
+
|
759 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:288
|
760 |
+
msgid "Change status to Partially Shipped"
|
761 |
+
msgstr "Αλλάξτε την κατάσταση σε Μερική αποστολή"
|
762 |
+
|
763 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:320
|
764 |
+
#, php-format
|
765 |
+
msgid "Shipped <span class=\"count\">(%s)</span>"
|
766 |
+
msgid_plural "Shipped <span class=\"count\">(%s)</span>"
|
767 |
+
msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
|
768 |
+
msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
|
769 |
+
|
770 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:334
|
771 |
+
msgid "Change status to shipped"
|
772 |
+
msgstr "Αλλάξτε την κατάσταση αποστολής"
|
773 |
+
|
774 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:518
|
775 |
+
msgid "Resend delivered order notification"
|
776 |
+
msgstr "Επαναλάβετε την ειδοποίηση παραγγελίας"
|
777 |
+
|
778 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:730
|
779 |
+
msgid "Shipment Providers"
|
780 |
+
msgstr "Παροχείς αποστολής"
|
781 |
+
|
782 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:733
|
783 |
+
msgid "Shipment Status"
|
784 |
+
msgstr "Κατάσταση αποστολής"
|
785 |
+
|
786 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:736
|
787 |
+
msgid "Tracking issues"
|
788 |
+
msgstr "Παρακολούθηση ζητημάτων"
|
789 |
+
|
790 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:742
|
791 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:750
|
792 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:767
|
793 |
+
msgid "data not available."
|
794 |
+
msgstr "τα δεδομένα δεν είναι διαθέσιμα."
|
795 |
+
|
796 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:773
|
797 |
+
msgid "View more on TrackShip"
|
798 |
+
msgstr "Δείτε περισσότερα στο TrackShip"
|
799 |
+
|
800 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:911
|
801 |
+
msgid "There are some issue with sync, Please Retry."
|
802 |
+
msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
|
803 |
+
|
804 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:926
|
805 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:941
|
806 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:956
|
807 |
+
msgid "view details"
|
808 |
+
msgstr "δείτε λεπτομέρειες"
|
809 |
+
|
810 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:927
|
811 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:942
|
812 |
+
#: includes/class-wc-advanced-shipment-tracking-settings.php:957
|
813 |
+
msgid "hide details"
|
814 |
+
msgstr "Κρύψε τις λεπτομέρειες"
|
815 |
+
|
816 |
+
#: includes/customizer/class-wcast-customizer.php:40
|
817 |
msgid "Shipment Status Emails"
|
818 |
msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
|
819 |
|
820 |
+
#: includes/customizer/class-wcast-customizer.php:52
|
821 |
msgid "Tracking info display"
|
822 |
msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
|
823 |
|
824 |
+
#: includes/customizer/class-wcast-customizer.php:60
|
825 |
+
#: includes/customizer/class-wc-email-customizer.php:163
|
826 |
+
msgid "Delivered order status email"
|
827 |
msgstr ""
|
828 |
+
"Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
|
|
|
829 |
|
830 |
+
#: includes/customizer/class-wcast-customizer.php:68
|
831 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
|
832 |
+
msgid "Partially Shipped status email"
|
833 |
+
msgstr "Μερική αποστολή μηνύματος κατάστασης κατάστασης"
|
834 |
+
|
835 |
+
#: includes/customizer/class-wcast-customizer.php:76
|
836 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
|
837 |
+
msgid "Updated Tracking status email"
|
838 |
msgstr ""
|
839 |
+
"Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παρακολούθησης\n"
|
840 |
|
841 |
+
#: includes/customizer/class-wcast-customizer.php:411
|
842 |
msgid "Select order to preview"
|
843 |
msgstr ""
|
844 |
"Επιλέξτε παραγγελία για προεπισκόπηση\n"
|
845 |
|
846 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
|
847 |
msgid "Your order #{order_number} is available for pickup"
|
848 |
msgstr ""
|
849 |
"Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
|
850 |
|
851 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
|
852 |
msgid ""
|
853 |
"Hi there. we thought you'd like to know that your recent order from "
|
854 |
"{site_title} is available for pickup."
|
856 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
857 |
"από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
|
858 |
|
859 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
|
860 |
msgid "Available For Pickup shipment status email"
|
861 |
msgstr ""
|
862 |
"Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής\n"
|
863 |
|
864 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
|
865 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:158
|
866 |
+
#: includes/customizer/class-wc-email-customizer.php:164
|
867 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:157
|
868 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:160
|
869 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
|
870 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:157
|
871 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
|
872 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
|
873 |
msgid "This section lets you customize the Email Content."
|
874 |
msgstr ""
|
875 |
"Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
|
876 |
"ταχυδρομείου.\n"
|
877 |
|
878 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
|
879 |
msgid "Enable Available For Pickup shipment status email"
|
880 |
msgstr ""
|
881 |
"Ενεργοποιήστε το Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής"
|
882 |
|
883 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
|
884 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:188
|
885 |
+
#: includes/customizer/class-wc-email-customizer.php:197
|
886 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:187
|
887 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:191
|
888 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
|
889 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:187
|
890 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:183
|
891 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
|
892 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
|
893 |
msgid "Preview order"
|
894 |
msgstr ""
|
895 |
"Προεπισκόπηση σειράς\n"
|
896 |
|
897 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
|
898 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:216
|
899 |
+
#: includes/customizer/class-wc-email-customizer.php:226
|
900 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:215
|
901 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:219
|
902 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
|
903 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
904 |
msgid "E.g. {customer.email}, admin@example.org"
|
905 |
msgstr "Πχ: {customer.email}, admin@example.org"
|
906 |
|
907 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
|
908 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
|
909 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:232
|
910 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:254
|
911 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:231
|
912 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:253
|
913 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:235
|
914 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:257
|
915 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
|
916 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
|
917 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:231
|
918 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:253
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
919 |
msgid "Available placeholders: {site_title}, {order_number}"
|
920 |
msgstr "Διαθέσιμοι εντολοδότες: {site_title}, {order_number}"
|
921 |
|
922 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
|
923 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:275
|
924 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:274
|
925 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:278
|
926 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
|
927 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
928 |
msgid "Show tracking details"
|
929 |
msgstr ""
|
930 |
"Εμφάνιση λεπτομερειών παρακολούθησης\n"
|
931 |
|
932 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
|
933 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:291
|
934 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:290
|
935 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:294
|
936 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
|
937 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:290
|
938 |
msgid "Show order details"
|
939 |
msgstr ""
|
940 |
"Εμφάνιση λεπτομερειών παραγγελίας\n"
|
941 |
|
942 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
|
943 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:307
|
944 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:306
|
945 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:310
|
946 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
|
947 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:306
|
948 |
msgid "Show billing address"
|
949 |
msgstr ""
|
950 |
"Εμφάνιση διεύθυνσης χρέωσης\n"
|
951 |
|
952 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
|
953 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:324
|
954 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:323
|
955 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:327
|
956 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
|
957 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:323
|
958 |
msgid "Show shipping address"
|
959 |
msgstr ""
|
960 |
"Εμφάνιση της διεύθυνσης αποστολής\n"
|
961 |
|
962 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
|
963 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:340
|
964 |
+
#: includes/customizer/class-wc-email-customizer.php:393
|
965 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:339
|
966 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:364
|
967 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
|
968 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:339
|
969 |
msgid "Google Analytics link tracking"
|
970 |
+
msgstr "Παρακολούθηση συνδέσμου Google Analytics"
|
971 |
+
|
972 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
|
973 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:341
|
974 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:340
|
975 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:365
|
976 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
|
977 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:340
|
978 |
msgid "This will be appended to URL in the email content"
|
979 |
msgstr ""
|
980 |
+
"Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
|
981 |
+
|
982 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
|
983 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:362
|
984 |
+
#: includes/customizer/class-wc-email-customizer.php:288
|
985 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:361
|
986 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:344
|
987 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
|
988 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:361
|
989 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
|
990 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
|
991 |
msgid "Email content"
|
992 |
msgstr "Περιεχόμενο email"
|
993 |
|
994 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
|
995 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:383
|
996 |
+
#: includes/customizer/class-wc-email-customizer.php:414
|
997 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:382
|
998 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:386
|
999 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
|
1000 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:382
|
1001 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
|
1002 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
|
1003 |
msgid "Available placeholders"
|
1004 |
msgstr ""
|
1005 |
"Διαθέσιμες επιλογές κράτησης θέσης\n"
|
1006 |
|
1007 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
|
1008 |
+
#: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
|
1009 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:440
|
1010 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:447
|
1011 |
+
#: includes/customizer/class-wc-email-customizer.php:447
|
1012 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:439
|
1013 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:447
|
1014 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:442
|
1015 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:450
|
1016 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
|
1017 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
|
1018 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:438
|
1019 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:446
|
1020 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
|
1021 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
|
1022 |
+
msgid "Please select order to preview."
|
1023 |
+
msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
|
1024 |
+
|
1025 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:124
|
1026 |
msgid "Your order #{order_number} has been delivered"
|
1027 |
+
msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
|
1028 |
|
1029 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:126
|
1030 |
+
#: includes/customizer/class-wc-email-customizer.php:132
|
1031 |
msgid ""
|
1032 |
"Hi there. we thought you'd like to know that your recent order from "
|
1033 |
"{site_title} has been Delivered."
|
1035 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1036 |
"από {site_title} έχει παραδοθεί.\n"
|
1037 |
|
1038 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:157
|
1039 |
msgid "Delivered shipment status email"
|
1040 |
msgstr ""
|
1041 |
"Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
|
1042 |
|
1043 |
+
#: includes/customizer/class-wc-delivered-email-customizer.php:172
|
1044 |
msgid "Enable Delivered shipment status email"
|
1045 |
msgstr "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής"
|
1046 |
|
1047 |
+
#: includes/customizer/class-wc-email-customizer.php:130
|
1048 |
+
#: includes/emails/class-shipment-delivered-email.php:94
|
1049 |
msgid "Your {site_title} order is now delivered"
|
1050 |
msgstr ""
|
1051 |
"Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
|
1052 |
|
1053 |
+
#: includes/customizer/class-wc-email-customizer.php:179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1054 |
msgid "Enable Delivered order status email"
|
1055 |
msgstr ""
|
1056 |
"Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
|
1057 |
|
1058 |
+
#: includes/customizer/class-wc-email-customizer.php:201
|
1059 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:187
|
1060 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
|
1061 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
|
1062 |
msgid "Please select a order..."
|
1063 |
msgstr ""
|
1064 |
"Παρακαλώ επιλέξτε παραγγελία ...\n"
|
1065 |
|
1066 |
+
#: includes/customizer/class-wc-email-customizer.php:243
|
1067 |
+
#: includes/customizer/class-wc-email-customizer.php:266
|
1068 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
|
1069 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
|
1070 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
|
1071 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
|
|
|
|
|
|
|
|
|
|
|
|
|
1072 |
msgid "Available variables: {site_title}, {order_number}"
|
1073 |
+
msgstr "Διαθέσιμες μεταβλητές: {site_title}, {order_number}"
|
1074 |
|
1075 |
+
#: includes/customizer/class-wc-email-customizer.php:289
|
1076 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
|
1077 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
|
1078 |
msgid ""
|
1079 |
"available variables: {site_title}, {customer_email}, {customer_first_name}, "
|
1080 |
"{customer_last_name}, {customer_username}, {order_number}"
|
1081 |
msgstr ""
|
1082 |
+
"διαθέσιμες μεταβλητές: {site_title}, {customer_email}, {customer_first_name},"
|
1083 |
+
" {customer_last_name}, {customer_username}, {αριθμός_παραγγελίας}"
|
1084 |
|
1085 |
+
#: includes/customizer/class-wc-email-customizer.php:309
|
1086 |
msgid "Display tracking details"
|
1087 |
+
msgstr "Προβολή λεπτομερειών παρακολούθησης"
|
1088 |
|
1089 |
+
#: includes/customizer/class-wc-email-customizer.php:325
|
1090 |
msgid "Display order details"
|
1091 |
+
msgstr "Εμφάνιση λεπτομερειών παραγγελίας"
|
1092 |
|
1093 |
+
#: includes/customizer/class-wc-email-customizer.php:342
|
1094 |
msgid "Display Shipping Address"
|
1095 |
+
msgstr "Εμφάνιση της διεύθυνσης αποστολής"
|
1096 |
|
1097 |
+
#: includes/customizer/class-wc-email-customizer.php:359
|
1098 |
msgid "Display Billing Address"
|
1099 |
+
msgstr "Εμφάνιση της διεύθυνσης χρέωσης"
|
1100 |
|
1101 |
+
#: includes/customizer/class-wc-email-customizer.php:376
|
1102 |
msgid "Enable Google Analytics tracking"
|
1103 |
+
msgstr "Ενεργοποιήστε την παρακολούθηση του Google Analytics"
|
1104 |
|
1105 |
+
#: includes/customizer/class-wc-email-customizer.php:394
|
1106 |
msgid ""
|
1107 |
"This will be appended to URL in the email content – e.g. "
|
1108 |
"utm_source=ast&utm_medium=email&utm_campaign=delivered"
|
1109 |
msgstr ""
|
1110 |
+
"Αυτό θα προσαρτηθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού "
|
1111 |
+
"ταχυδρομείου - π.χ. utm_source = ast & utm_medium = email & utm_campaign = "
|
1112 |
+
"παραδόθηκε"
|
1113 |
|
1114 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:123
|
1115 |
msgid "Your order #{order_number} is Failed Attempt"
|
1116 |
msgstr "Η παραγγελία σας # {order_number} απέτυχε"
|
1117 |
|
1118 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:125
|
1119 |
msgid ""
|
1120 |
"Hi there. we thought you'd like to know that your recent order from "
|
1121 |
"{site_title} is Failed Attempt"
|
1123 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1124 |
"από το {site_title} απέτυχε"
|
1125 |
|
1126 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:156
|
1127 |
msgid "Failed Attempt shipment status email"
|
1128 |
msgstr ""
|
1129 |
"Αποτυχία ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής απόπειρας αποστολής"
|
1130 |
|
1131 |
+
#: includes/customizer/class-wc-failure-email-customizer.php:171
|
1132 |
msgid "Enable Failed Attempt shipment status email"
|
1133 |
msgstr ""
|
1134 |
"Ενεργοποίηση αποτυχημένης προσπάθειας ηλεκτρονικού ταχυδρομείου κατάστασης "
|
1135 |
"αποστολής"
|
1136 |
|
1137 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:126
|
1138 |
msgid "Your order #{order_number} is in transit"
|
1139 |
msgstr ""
|
1140 |
"Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
|
1141 |
|
1142 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:128
|
1143 |
msgid ""
|
1144 |
"Hi there. we thought you'd like to know that your recent order from "
|
1145 |
"{site_title} is in transit"
|
1147 |
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1148 |
"από το {site_title} βρίσκεται σε διαμετακόμιση\n"
|
1149 |
|
1150 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:159
|
1151 |
msgid "In Transit shipment status email"
|
1152 |
msgstr ""
|
1153 |
"Στο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής διαμετακόμισης\n"
|
1154 |
|
1155 |
+
#: includes/customizer/class-wc-intransit-email-customizer.php:174
|
1156 |
msgid "Enable In Transit shipment status email"
|
1157 |
msgstr ""
|
1158 |
"Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής κατά τη "
|
1159 |
"μεταφορά\n"
|
1160 |
|
1161 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
|
1162 |
msgid "Your order #{order_number} is out for delivery"
|
1163 |
msgstr ""
|
1164 |
"Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
|
1165 |
|
1166 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
|
1167 |
msgid ""
|
1168 |
"Hi there. we thought you'd like to know that your recent order from "
|
1169 |
"{site_title} is out for delivery."
|
1171 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1172 |
"από το {site_title} είναι έξω για παράδοση.\n"
|
1173 |
|
1174 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
|
1175 |
msgid "Out For Delivery shipment status email"
|
1176 |
msgstr ""
|
1177 |
"Έξοδος για την αποστολή του ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
|
1178 |
|
1179 |
+
#: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
|
1180 |
msgid "Enable Out For Delivery shipment status email"
|
1181 |
msgstr "Ενεργοποίηση μηνύματος κατάστασης παράδοσης αποστολής"
|
1182 |
|
1183 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:123
|
1184 |
msgid "Your order #{order_number} has returned to sender"
|
1185 |
msgstr ""
|
1186 |
"Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
|
1187 |
|
1188 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:125
|
1189 |
msgid ""
|
1190 |
"Hi there. we thought you'd like to know that your recent order from "
|
1191 |
"{site_title} has been returned to sender."
|
1193 |
"Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1194 |
"από {site_title} έχει επιστραφεί στον αποστολέα.\n"
|
1195 |
|
1196 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:156
|
1197 |
msgid "Return To Sender shipment status email"
|
1198 |
msgstr ""
|
1199 |
"Επιστροφή στο μήνυμα αποστολής αποστολής αποστολέα\n"
|
1200 |
|
1201 |
+
#: includes/customizer/class-wc-returntosender-email-customizer.php:171
|
1202 |
msgid "Enable Return To Sender shipment status email"
|
1203 |
msgstr ""
|
1204 |
"Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής επιστροφής σε "
|
1205 |
"αποστολέα"
|
1206 |
|
1207 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:144
|
1208 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:496
|
1209 |
+
#: templates/emails/tracking-info.php:203
|
1210 |
+
#: templates/myaccount/tracking-info.php:144
|
1211 |
msgid "Provider"
|
1212 |
msgstr "Μεταφορέας"
|
1213 |
|
1214 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:145
|
1215 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:518
|
1216 |
+
#: templates/emails/tracking-info.php:232
|
1217 |
+
#: templates/myaccount/tracking-info.php:171
|
|
|
1218 |
msgid "Tracking Number"
|
1219 |
msgstr "Αριθμός"
|
1220 |
|
1221 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:146
|
1222 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:539
|
1223 |
msgid "Shipped Date"
|
1224 |
msgstr ""
|
1225 |
"Ημερομηνία αποστολής\n"
|
1226 |
|
1227 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:184
|
1228 |
+
msgid "Select an order to preview and design the tracking info display."
|
|
|
|
|
1229 |
msgstr ""
|
1230 |
+
"Επιλέξτε μια παραγγελία για να κάνετε προεπισκόπηση και να σχεδιάσετε την "
|
1231 |
+
"οθόνη πληροφοριών παρακολούθησης.\n"
|
|
|
1232 |
|
1233 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:204
|
1234 |
msgid "Tracking Display Position"
|
1235 |
msgstr "Παρακολούθηση θέσης προβολής"
|
1236 |
|
1237 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:208
|
1238 |
msgid "Before Order Details"
|
1239 |
msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
|
1240 |
|
1241 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:209
|
1242 |
msgid "After Order Details"
|
1243 |
msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
|
1244 |
|
1245 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:224
|
1246 |
+
msgid "Tracking Header text"
|
1247 |
+
msgstr ""
|
1248 |
+
"Κείμενο κεφαλίδας εντοπισμού\n"
|
1249 |
|
1250 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:231
|
|
|
1251 |
msgid "Tracking Information"
|
1252 |
msgstr "Πληροφορίες Παρακολούθησης"
|
1253 |
|
1254 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:246
|
1255 |
msgid "Additional text after header"
|
1256 |
msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
|
1257 |
|
1258 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:267
|
1259 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:270
|
1260 |
+
msgid "Tracking display template"
|
1261 |
+
msgstr ""
|
1262 |
+
"Παρακολούθηση πρότυπου προβολής\n"
|
1263 |
+
|
1264 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:274
|
1265 |
+
msgid "Select Template"
|
1266 |
+
msgstr ""
|
1267 |
+
"Επιλέξτε Πρότυπο\n"
|
1268 |
+
|
1269 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:275
|
1270 |
msgid "Table Layout"
|
1271 |
+
msgstr ""
|
1272 |
+
"Διάταξη πίνακα\n"
|
1273 |
+
|
1274 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:291
|
1275 |
+
msgid "Simple Layout Design"
|
1276 |
+
msgstr ""
|
1277 |
+
"Απλό σχέδιο διάταξης\n"
|
1278 |
+
|
1279 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:306
|
1280 |
+
msgid "Provider font size"
|
1281 |
+
msgstr "Μέγεθος γραμματοσειράς παροχέα"
|
1282 |
+
|
1283 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:323
|
1284 |
+
msgid "Provider font color"
|
1285 |
+
msgstr ""
|
1286 |
+
"Χρώμα γραμματοσειράς παροχέα\n"
|
1287 |
+
|
1288 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:339
|
1289 |
+
msgid "Show bottom border"
|
1290 |
+
msgstr "Εμφάνιση περιθωρίου κάτω"
|
1291 |
|
1292 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:356
|
1293 |
+
msgid "Bottom border color"
|
1294 |
+
msgstr "Το χρώμα του κάτω ορίου"
|
1295 |
+
|
1296 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:374
|
1297 |
+
msgid "Table layout Design"
|
1298 |
+
msgstr "Σχέδιο διάταξης πίνακα"
|
1299 |
|
1300 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:389
|
1301 |
+
msgid "Display shipping provider name"
|
1302 |
+
msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
|
1303 |
+
|
1304 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:406
|
1305 |
+
msgid "Display shipping provider image"
|
1306 |
+
msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
|
1307 |
+
|
1308 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:423
|
1309 |
+
msgid "Hide the ship date"
|
1310 |
+
msgstr ""
|
1311 |
+
"Απόκρυψη της ημερομηνίας του πλοίου\n"
|
1312 |
|
1313 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:440
|
1314 |
+
msgid "Use tracking number as a link"
|
1315 |
+
msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
|
1316 |
+
|
1317 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:457
|
1318 |
+
msgid "Table Headers"
|
1319 |
+
msgstr "Κεφαλίδες στον πίνακα"
|
1320 |
+
|
1321 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:472
|
1322 |
+
msgid "Hide Table Headers"
|
1323 |
+
msgstr "Απόκρυψη κεφαλίδων πίνακα"
|
1324 |
+
|
1325 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:489
|
1326 |
+
msgid "Provider header text"
|
1327 |
msgstr "Κείμενο κεφαλίδας παροχέα"
|
1328 |
|
1329 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:511
|
1330 |
+
msgid "Tracking Number header text"
|
1331 |
+
msgstr ""
|
1332 |
+
"Κείμενο κεφαλίδας αριθμού παρακολούθησης\n"
|
1333 |
|
1334 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:532
|
1335 |
+
msgid "Ship date header text"
|
1336 |
+
msgstr ""
|
1337 |
+
"Κείμενο κεφαλίδας ημερομηνίας πλοίου\n"
|
1338 |
|
1339 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:554
|
1340 |
msgid "Track Label"
|
1341 |
msgstr "Ετικέτα διαδρομής"
|
1342 |
|
1343 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:571
|
1344 |
+
msgid "Track header text"
|
1345 |
+
msgstr ""
|
1346 |
+
"Κείμενο κεφαλίδας παρακολούθησης\n"
|
1347 |
+
|
1348 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:593
|
1349 |
+
msgid "Headers font size"
|
1350 |
+
msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
|
1351 |
|
1352 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:610
|
1353 |
+
msgid "Headers font color"
|
1354 |
msgstr ""
|
1355 |
+
"Χρώμα γραμματοσειράς κεφαλίδων\n"
|
1356 |
|
1357 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:626
|
1358 |
+
msgid "Table Content"
|
1359 |
+
msgstr "Περιεχόμενο πίνακα"
|
1360 |
+
|
1361 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:641
|
1362 |
msgid "Padding"
|
1363 |
msgstr ""
|
1364 |
"Υλικό παραγεμίσματος\n"
|
1365 |
|
1366 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:661
|
1367 |
msgid "Background color"
|
1368 |
msgstr ""
|
1369 |
"Χρώμα του φόντου\n"
|
1370 |
|
1371 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:677
|
1372 |
msgid "Border color"
|
1373 |
msgstr ""
|
1374 |
"Χρώμα πλαισίου\n"
|
1375 |
|
1376 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:693
|
1377 |
msgid "Border size"
|
1378 |
msgstr ""
|
1379 |
"Μέγεθος περιθωρίου\n"
|
1380 |
|
1381 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:717
|
1382 |
+
msgid "Content Text align"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1383 |
msgstr ""
|
1384 |
+
"Ευθυγράμμιση κειμένου περιεχομένου\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1385 |
|
1386 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:739
|
1387 |
+
msgid "Content font color"
|
1388 |
+
msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
|
1389 |
|
1390 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:755
|
1391 |
+
msgid "Content font size"
|
1392 |
+
msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
|
1393 |
|
1394 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:772
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1395 |
msgid "Content line height"
|
1396 |
msgstr ""
|
1397 |
"Το ύψος της γραμμής περιεχομένου\n"
|
1398 |
|
1399 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:793
|
1400 |
msgid "Content font weight"
|
1401 |
msgstr ""
|
1402 |
"Βάρος γραμματοσειράς περιεχομένου\n"
|
1403 |
|
1404 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:815
|
1405 |
+
msgid "Tracking Link"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1406 |
msgstr ""
|
1407 |
+
"Σύνδεσμος παρακολούθησης\n"
|
1408 |
|
1409 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:829
|
1410 |
+
msgid "Font Color"
|
1411 |
msgstr ""
|
1412 |
+
"Χρώμα γραμματοσειράς\n"
|
1413 |
|
1414 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:845
|
1415 |
+
msgid "Background Color"
|
1416 |
msgstr ""
|
1417 |
+
"Χρώμα του φόντου\n"
|
1418 |
|
1419 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:860
|
1420 |
+
msgid "Border"
|
1421 |
+
msgstr "Σύνορο"
|
|
|
1422 |
|
1423 |
+
#: includes/customizer/class-wc-tracking-info-customizer.php:912
|
1424 |
+
msgid ""
|
1425 |
+
"To preview the tracking display, please add tracking information to at least "
|
1426 |
+
"one order and choose it in the preview order selection."
|
1427 |
msgstr ""
|
1428 |
+
"Για να κάνετε προεπισκόπηση της οθόνης παρακολούθησης, προσθέστε πληροφορίες "
|
1429 |
+
"παρακολούθησης σε τουλάχιστον μία παραγγελία και επιλέξτε την στην επιλογή "
|
1430 |
+
"σειράς προεπισκόπησης.\n"
|
1431 |
+
|
1432 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
|
1433 |
+
msgid "Your {site_title} order is now partially shipped"
|
1434 |
+
msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
|
1435 |
|
1436 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
|
1437 |
+
msgid ""
|
1438 |
+
"Hi there. we thought you'd like to know that your recent order from "
|
1439 |
+
"{site_title} has been partially shipped."
|
1440 |
msgstr ""
|
1441 |
+
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
|
1442 |
+
"από {site_title} έχει αποσταλεί εν μέρει.\n"
|
1443 |
+
|
1444 |
+
#: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
|
1445 |
+
msgid "Enable Partially Shipped order status email"
|
1446 |
+
msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
|
1447 |
|
1448 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
|
1449 |
+
msgid "Your {site_title} order is now updated tracking"
|
1450 |
msgstr ""
|
1451 |
+
"Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
|
1452 |
|
1453 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
|
1454 |
+
msgid ""
|
1455 |
+
"Hi there. we thought you'd like to know that the shipment tracking for your "
|
1456 |
+
"recent order from {site_title} has been updated."
|
1457 |
msgstr ""
|
1458 |
+
"Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
|
1459 |
+
"για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
|
1460 |
|
1461 |
+
#: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
|
1462 |
+
msgid "Enable Updated Tracking order status email"
|
1463 |
msgstr ""
|
1464 |
+
"Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
|
1465 |
|
1466 |
#: includes/emails/class-shipment-delivered-email.php:32
|
1467 |
msgid "Delivered order"
|
1468 |
+
msgstr "Παραδοθείσα παραγγελία"
|
1469 |
|
1470 |
#: includes/emails/class-shipment-delivered-email.php:33
|
1471 |
msgid ""
|
1472 |
"Order delivered emails are sent to customers when their orders are marked "
|
1473 |
"delivered and usually indicate that their orders have been shipped."
|
1474 |
msgstr ""
|
1475 |
+
"Τα παραδοθέντα ηλεκτρονικά μηνύματα αποστέλλονται στους πελάτες όταν "
|
1476 |
+
"παραγγελθούν οι παραγγελίες τους και συνήθως υποδεικνύουν ότι οι παραγγελίες "
|
1477 |
+
"τους έχουν αποσταλεί."
|
1478 |
|
1479 |
+
#: includes/emails/class-shipment-delivered-email.php:280
|
1480 |
+
msgid "Click Here"
|
1481 |
+
msgstr "Κάντε κλικ ΕΔΩ"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1482 |
|
1483 |
+
#: includes/emails/class-shipment-delivered-email.php:281
|
|
|
|
|
|
|
|
|
1484 |
msgid "Edit in customizer"
|
1485 |
+
msgstr "Επεξεργασία στο customizer"
|
1486 |
|
1487 |
+
#: includes/views/admin_options_bulk_upload.php:10
|
1488 |
msgid "Upload CSV"
|
1489 |
msgstr "Μεταφόρτωση CSV"
|
1490 |
|
1491 |
+
#: includes/views/admin_options_bulk_upload.php:20
|
1492 |
msgid ""
|
1493 |
"Replace tracking info if exists? (if not checked, the tracking info will be "
|
1494 |
"added)"
|
1496 |
"Να αντικατασταθούν οι πληροφορίες παρακολούθησης εάν υπάρχουν; (αν δεν έχει "
|
1497 |
"επιλεγεί, θα προστεθούν οι πληροφορίες παρακολούθησης)"
|
1498 |
|
1499 |
+
#: includes/views/admin_options_bulk_upload.php:29
|
1500 |
+
#: includes/views/admin_options_shipping_provider.php:120
|
1501 |
+
#: includes/views/admin_options_shipping_provider.php:157
|
1502 |
msgid "Upload"
|
1503 |
msgstr "Μεταφόρτωση"
|
1504 |
|
1505 |
+
#: includes/views/admin_options_bulk_upload.php:31
|
|
|
|
|
1506 |
msgid "Settings Saved."
|
1507 |
msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
|
1508 |
|
1509 |
+
#: includes/views/admin_options_bulk_upload.php:41
|
1510 |
+
msgid "Upload Progress - "
|
1511 |
+
msgstr "Πρόοδος Μεταφόρτωσης - "
|
1512 |
+
|
1513 |
+
#: includes/views/admin_options_bulk_upload.php:50
|
1514 |
+
msgid "Sample CSV"
|
1515 |
+
msgstr "Δείγμα CSV"
|
1516 |
+
|
1517 |
+
#: includes/views/admin_options_bulk_upload.php:55
|
1518 |
msgid "You can download an example of the csv file:"
|
1519 |
msgstr "Μπορείτε να κατεβάσετε ένα παράδειγμα του αρχείου csv:"
|
1520 |
|
1521 |
+
#: includes/views/admin_options_bulk_upload.php:58
|
1522 |
msgid "Download sample csv file"
|
1523 |
msgstr "Κάντε λήψη δείγματος αρχείου csv"
|
1524 |
|
1525 |
+
#: includes/views/admin_options_bulk_upload.php:63
|
1526 |
msgid ""
|
1527 |
"For detailed instructions on how to upload tracking info in bulk, see our"
|
1528 |
msgstr ""
|
1529 |
"Για λεπτομερείς οδηγίες σχετικά με τον τρόπο μαζικής αποστολής πληροφοριών "
|
1530 |
"παρακολούθησης, ανατρέξτε στη σελίδα μας"
|
1531 |
|
1532 |
+
#: includes/views/admin_options_settings.php:15
|
1533 |
+
#: includes/views/admin_trackship_dashboard.php:62
|
1534 |
+
msgid "General Settings"
|
1535 |
+
msgstr "Γενικές Ρυθμίσεις"
|
1536 |
|
1537 |
+
#: includes/views/admin_options_settings.php:26
|
1538 |
+
#: includes/views/admin_options_settings.php:181
|
1539 |
+
#: includes/views/admin_trackship_dashboard.php:73
|
1540 |
+
#: includes/views/admin_tracking_page_settings.php:101
|
1541 |
+
msgid "Save Changes"
|
1542 |
+
msgstr "Αποθήκευσε τις αλλαγές"
|
1543 |
+
|
1544 |
+
#: includes/views/admin_options_settings.php:40
|
1545 |
+
msgid "Tracking Info Display"
|
1546 |
+
msgstr "Παρακολούθηση πληροφοριών προβολής"
|
1547 |
|
1548 |
+
#: includes/views/admin_options_settings.php:49
|
1549 |
+
msgid "You can customize the tracking info display on emails and my account"
|
1550 |
+
msgstr ""
|
1551 |
+
"Μπορείτε να προσαρμόσετε την εμφάνιση πληροφοριών παρακολούθησης στα "
|
1552 |
+
"μηνύματα ηλεκτρονικού ταχυδρομείου και στον λογαριασμό μου"
|
1553 |
|
1554 |
+
#: includes/views/admin_options_settings.php:52
|
1555 |
+
msgid "Launch Customizer"
|
1556 |
+
msgstr "Εκκινήστε το Customizer"
|
|
|
1557 |
|
1558 |
+
#: includes/views/admin_options_settings.php:62
|
1559 |
+
msgid "Custom Order Statuses"
|
1560 |
+
msgstr "Κατάσταση προσαρμοσμένων παραγγελιών"
|
1561 |
+
|
1562 |
+
#: includes/views/admin_options_settings.php:94
|
1563 |
+
#: includes/views/admin_options_settings.php:129
|
1564 |
+
#: includes/views/admin_options_settings.php:163
|
1565 |
+
msgid "Light Font"
|
1566 |
+
msgstr "Φως γραμματοσειράς"
|
1567 |
+
|
1568 |
+
#: includes/views/admin_options_settings.php:95
|
1569 |
+
#: includes/views/admin_options_settings.php:130
|
1570 |
+
#: includes/views/admin_options_settings.php:164
|
1571 |
+
msgid "Dark Font"
|
1572 |
msgstr ""
|
1573 |
+
"Σκούρα γραμματοσειρά\n"
|
1574 |
|
1575 |
+
#: includes/views/admin_options_settings.php:99
|
1576 |
+
#: includes/views/admin_options_settings.php:134
|
1577 |
+
#: includes/views/admin_options_settings.php:168
|
1578 |
+
msgid "Send Email"
|
1579 |
+
msgstr ""
|
1580 |
+
"Να στείλετε e-mail\n"
|
1581 |
|
1582 |
+
#: includes/views/admin_options_settings.php:190
|
1583 |
+
#, php-format
|
1584 |
+
msgid ""
|
1585 |
+
"<strong>Note:</strong> - If you use the custom order status, when you "
|
1586 |
+
"deactivate the plugin, you must register the order status, otherwise these "
|
1587 |
+
"orders will not display on your orders admin. You can find more information "
|
1588 |
+
"and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
|
1589 |
+
"php here."
|
1590 |
+
msgstr ""
|
1591 |
+
"Σημείωση: - Εάν χρησιμοποιείτε την κατάσταση της προσαρμοσμένης παραγγελίας, "
|
1592 |
+
"όταν απενεργοποιείτε την προσθήκη, πρέπει να καταχωρήσετε την κατάσταση της "
|
1593 |
+
"παραγγελίας, διαφορετικά αυτές οι εντολές δε θα εμφανιστούν στις εντολές σας "
|
1594 |
+
"admin. Μπορείτε να βρείτε περισσότερες πληροφορίες και το απόσπασμα κώδικα "
|
1595 |
+
"για χρήση στις λειτουργίες.php εδώ.\n"
|
1596 |
+
|
1597 |
+
#: includes/views/admin_options_shipping_provider.php:12
|
1598 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1599 |
+
#: includes/views/zorem_admin_sidebar.php:18
|
1600 |
+
#: includes/views/admin_options_addons.php:109
|
1601 |
+
msgid "Active"
|
1602 |
+
msgstr "Ενεργός"
|
1603 |
+
|
1604 |
+
#: includes/views/admin_options_shipping_provider.php:13
|
1605 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1606 |
+
msgid "Inactive"
|
1607 |
+
msgstr "Αδρανής"
|
1608 |
+
|
1609 |
+
#: includes/views/admin_options_shipping_provider.php:14
|
1610 |
+
msgid "Custom"
|
1611 |
+
msgstr "Εθιμο"
|
1612 |
+
|
1613 |
+
#: includes/views/admin_options_shipping_provider.php:20
|
1614 |
+
msgid "Search by provider / country"
|
1615 |
+
msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
|
1616 |
+
|
1617 |
+
#: includes/views/admin_options_shipping_provider.php:25
|
1618 |
+
msgid "Reset all:"
|
1619 |
+
|